Other Parts Discussed in Thread: UNIFLASH
Hello
I am having trouble with programming two applications to flash.
One application is only a constant structure which contains configuration data that will be used by the executable application.
The Configuration Data out file is designed to load to Flash address 0xC0000, and is 0x14a78 bytes long. (Flash Banks 2/3)
The Executable Image out file is designed to load to Flash address 0x00000, ends at 0x5bcd1. (Flash Banks 0/1)
Using Uniflash
- Using Uniflash “Settings & Utilities” I “Erase Entire Flash” and “Perform Blank Check”, all is good, blank confirmed.
- In Uniflash “Settings & Utilities” I select the “Do not erase Flash memory” option.
- I select the configuration parameters out file and load it to the target. Followed by a verify image, and all is fine.
- Using the Uniflash Memory option I can view the memory of the configuration parameters, and all is fine, as already confirmed the image verify.
- I then select the executable image out file load and verify it, all is good.
- When I then go back to verify the initial Configuration Data image loaded to address 0xc0000 it is has been partially erased, I see there are sectors in Bank 2 that have been erased for some unknown reason, Bank 3 data is still in place. I do not understand why data in these sectors were erased.
So data from 0xC0000 to 0xC3FEF shows
FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF followed by 4-32 bits words that are part of the Configuration Data out file.
This pattern is repeated between addresses 0xC0000 to 0xC3FEF, half of my data has been erased in this section.