Hi David,
yes , i just run this exact example.
But lets continue:
I want to read back the value.
So i just did memcpy , ( before i reset the board)
and i do see that i can read using direct access to the flash.
as i understood, i dont need special function to read from the flash because it is already mapped.
BUT here is a problem.
When i reset the device ( just press the reset , or using putty doing a break command) without reprogramming the flash again ( i am using mbed drag and drop)
When the program is starting again and i am doing the read operation only ( because i though the data will be persistance)
The value i am reading is garbage and not the one the example wrote before.
Can you please explain why?
How do i read the data and make sure it stay there afer reset?
Thanks!