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!
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!