Flash the user data to a different address


#1

Hi all,
I need to store the userdata starting address 0x100000 rather than the 0x50000. I edited the main function under Link, in line 411 I hard coded the address to 1048576 (the decimal version of 0x100000) , rather than getting it from the metadata. However I ended up erasing the bootloader I guess.

I have seen posts on how to get the board running again, but I still need help on how to flash the userdata starting address 0x100000. My guess is that there is something wrong about the erase function ? also is it possible to begin with to flash it at a different address ? any hints on how ?

thanks