Go Down

Topic: New optiboot; beta testers welcome... (Read 130313 times) previous topic - next topic


Hi there,
For those who interested in customizing optiboot and to be able easy call functions located onto bootloader code I just wrote a tutorial from my new project about Ultra Low Power Wireless Arduino Node. This version include also into the bootloader a WS2812 RGB led driver callable from Arduino sketch .
There are 2 articles for the bootloading section.
the project presentation is here. The first part presenting why I customized the bootloader and the real implementation with technical explanations

All bootloading work is based on optiboot 6.2 which work like a charm, thanks to westfw for is great coding on original optiboot.

Do not hesitate to ask any question and use it for your own project.


thanks, i will read it,
do you have your first Karma  ;)
- [Guida] IDE - http://goo.gl/ln6glr
- [Lib] ST7032i LCD I2C - http://goo.gl/GNojT6
- [Lib] PCF8574+HD44780 LCD I2C - http://goo.gl/r7CstH


Hi Guys!
i'll been working on a small plc controller atmega32 based.
I'm using the latest optiboot for the bootloader.
and Arduino IDE for the programming and flashing stuff.

So my question is: I want my application from Arduino IDE to be flashed on EXTERNAL EEPROM.
in optiboot.c i can add an #define SUPPORT_EEPROM, as far as i understood, i should add external eeprom support to flash the application.

But, when i don't add any eeprom, but enable the function, my Arduino IDE still flashed the application, by the logic it shouldn't.

so any support here? someone tried to do something similar?


no, the EEPROM support in optiboot refers to using the serial port (and avrdude) to the internal EEPROM of the chip, as a separate memory type (so that you could load up EEPROM data along with the sketch.)
Note that an AVR can NOT "run an application" from either external or internal EEPROM, only from the flash program memory.)


The Moteino can be wireless programmed and I think it loads the file into a flash chip (over wireless) then invokes a special bootloader that can program the arduino from the flash chip. Maybe you can adapt it's code/bootloader to your needs.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131