Pages: [1]   Go Down
Author Topic: Flash manipulation on Due  (Read 352 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello. Is it possible to write to the flash while Arduino is running?
If yes, do you know any tool (beside bossac) to erase only a part of the flash and for partial write starting from a specific zone?
Thanks!
Logged

Offline Offline
Newbie
*
Karma: 4
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

https://github.com/sebnil/DueFlashStorage

By default IDE write the program on bank 1 and with this library you can write data on bank 2. Infact while the program is running in a particular bank, this bank is blocked. There is a way to avoid this by calling the IAP_functions of SAM3X8E that allow you to rewrite the flash freely, but i don't know how to do that. I'm very interesting too about this kind of topic, so if you find something, pls post.
Logged

Pages: [1]   Go Up
Jump to: