Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - urosg

#1
Yes if I erase complete flash then it works as it should.

I have declared the var in my code as "unsigned int *serialNum = (void * )0x0007D000;" and it gets read by the program, but writing of the value to flash is still the problem unless I erase complete flash.

Should I declare anything else?

thanks!
#2
I don't know if I'm doing something wrong or this just doesn't work for me.

I get the serial number in the message box when flashing with FlashMagic and also the file "serialnumbers.txt" is updated, but in number written in flash is not the same as the serial number generated.
...

And while playing around with FlashMagic I just found out when it does and when it doesn't work.

It does work if I DON'T have the "Erase blocks used by Hex file" checked, but if I check this then the "serial" is not written as generated.

How could this be solved?