This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with Code in internal and external Flash

I'am working on a custom board, based on XC167CI with external flash AMD 29F400 wired to CS0 and we are using Keil uVision9 V3.02 ULINK USB. So we have internal memory at 0xC00000 and external one at 0x00000.
I have to split the code in internal and external code because of speed performance and size.

The XC167 starts external.
Most of the code is locate in the external flash, only fast calculations are in internal memory.
The flash-operation with Keil seems to be OK, but during the verify a problem occurs.

Contents missmatch at: 01D080H (Flash=FFH Required=0DH)! 

I have checked th memory and there is really a FFH at this address. The M66-file shows Code there!!
Does Keil abort the flash-operation???

If I flash the Code only in the external ROM, it works fine.

Any ideas???
Thanks
Alex