I have been developing on a client provided custom board with a C5510A. At my request the client replaced the 8Mbit flash with a 32 Mbit flash. Now CCS4 reports the following when I try to load my target:
C55xx_0: File Loader: Data verification failed at address 0x00800002 Please verify target memory and memory map.
Error found during data verification.
Ensure the linker command file matches the memory map.
I presumed this would leave my base address the same and only change my length from 0x100000 to 0x400000. The only place I know to modify this is in the .TCF file via the Configuration Tool UI
The generated MAP file reports the following:
MEMORY CONFIGURATION
name origin length used unused attr fill
(bytes) (bytes) (bytes) (bytes)
---------------------- -------- --------- -------- -------- ---- --------
VECT 00000200 00000100 00000100 00000000 RWIX
DARAM 00000300 0000fd00 0000e498 00001868 RWIX
SARAM1 00010000 00010000 0000a052 00005fae RWIX
SARAM 00020000 00020000 00000942 0001f6be RWIX
SARAM2 00040000 0000ff00 0000ff00 00000000 RWIX
SDRAM1 00800000 00800000 000ae05e 00751fa2 RWIX
What I would really like is concise documentation on memory mapping WRT custom boards, available tools and best practices.
Also, is there an automated tool for cleaning up the TCF file? It looks like every mod I have ever made is still in there.
Finally, Once I have this flash functional I want to load my HEX file and boot from it. My client was using a high price corelis product to do this but my FPGA IDEs have always provided integrated tools for this. Does CCS4 have some such tool?
Cheers,
Benjamin