Part Number: CC1352R
Tool/software: TI C/C++ Compiler
Dear all,
I am Juan and I am having trouble with the flash memory when loading a binary into a CC1352R after the first time.
The thing is that:
1.- I set every single position of a sector of the flash memory I generated for non-volatile purposes to 0xFF.
2.- Then, I generate the binary file and with a binary program visualizer, I can see and confirm that these positions were correctly set to 0xFF. That means the flash memory sector is being initialized correctly and I am pointing to the correct addresses.
3.- After that, I let the program (which alters the values of the mentioned memory positions and uses this flash sector for data storage) run.
4.- After a while, I check the values of these memory positions with Flash Programmer 2 and I can see that they were correctly modified.
5.- Finally, the point is that when I upload the binary again to the CC1352R, so I reprogram the device, I check these values with Flash Programmer 2 and remain to the same value they had before reprogramming the device instead of 0xFF as the binary indicate should be.
6.- The behaviour should be as follows: when restarting the device, the sector keeps the values in every memory position (this is working), but when reprogramming the device, all the memory positions in the sector should be initialized to 0xFF, not keeping the values as when a restart happens.
This is such a weird behaviour, so if someone knows more about it or already faced a problem like this, I would be glad if he/she could help me.
Thanks so much in advance.
Best regards,
Juan