Hello,
I'm trying to burn excellent bootloader from Felix Rusu (lowpowerlab) on anarduino:
https://github.com/LowPowerLab/DualOptiboot
In order to archieve wireless programming capability with Felix libraries.
At the moment the flash appears to program correctly but at reboot the atmel chip doesn't reprogram itself.
I know that Flash CS it's on pin D5 on anarduino (vs. pin D8 moteino) and I've changed this to the optiboot.c file
See interesting lines (307-312):
#define FLASHSS_DDR DDRB //
#define FLASHSS_PORT PORTB // must change to PORTD anarduino
#define FLASHSS PINB0 // must change to D5 (PIND5) anarduino
#define SS PINB2 //
#define FLASH_SELECT { FLASHSS_PORT &= ~(_BV(FLASHSS)); }
#define FLASH_UNSELECT { FLASHSS_PORT |= _BV(FLASHSS); }
Anyone is trying this?
|