Hello,
I would like to add my experience with programming an external Spansion NOR Flash on NXP LPC2478.
Be carefull during writting parameters to the GDB Server. I made a mistake the flash was 16MB and I set a lower address range -> 8MB
(monitor flash CFI = 0x80000000-0x80FFFFFF). (Un)fortunately JLink software reads CFI info to perform write/erase timing and number of sectors etc. This led to a confusion of the JLink (GDBServer assumed 8MB, CFI 16MB) with a result: ERROR: Programming failed @ address 0x81000000 (item verification error).
Based on this experience I assume you cannot virtualy divide the flash into two partitions, one for code 8MB, second for data.
Best
Martin
[edit]
corrected grammatical discrepancy
I would like to add my experience with programming an external Spansion NOR Flash on NXP LPC2478.
Be carefull during writting parameters to the GDB Server. I made a mistake the flash was 16MB and I set a lower address range -> 8MB
(monitor flash CFI = 0x80000000-0x80FFFFFF). (Un)fortunately JLink software reads CFI info to perform write/erase timing and number of sectors etc. This led to a confusion of the JLink (GDBServer assumed 8MB, CFI 16MB) with a result: ERROR: Programming failed @ address 0x81000000 (item verification error).
Based on this experience I assume you cannot virtualy divide the flash into two partitions, one for code 8MB, second for data.
Best
Martin
[edit]
corrected grammatical discrepancy
The post was edited 1 time, last by wella-tabor ().