Go Down

Topic: PROGMEM: real FLASH memory address access (Read 1 time) previous topic - next topic

James C4S

The problem is that I'm removing the bootloader when I make the final deployment of the solution.

John's suggestion isn't to use the Arduino bootloader.  Instead it is to look at how it writes to PROGMEM.  You'll need to write your own bootloader in this case.

Any other form of coding without using the bootloader?

To write to PROGMEM?  No.  Only the bootloader sector can write to PROGMEM.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Nick Gammon

Only the Boot Loader Section is allowed to write into the Application Program Section of FLASH at run time. 

Example code in boot.h (the low-level stuff) and see how it is called in optiboot.c.

Nick Gammon

I've merged the topics, it seems we were discussing almost exactly the same thing in two threads.

Go Up