[Logo] Anarduino and HopeRF Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics     [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: rapp28
Forum Index » Profile for rapp28 » Messages posted by rapp28
Author Message
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?
 
Forum Index » Profile for rapp28 » Messages posted by rapp28
Go to:   
Powered by JForum 2.1.9 © JForum Team