Part Number: TMS320C6657
Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
I'm using CCS 7.1.0.00014 and the target is a dual C6657 board.
There is nor flash connected to EMIFA as a 16-bit device.
In CCS, if I open a memory browser window at address 0x70000000 and set it to 16-bit Hex - TI style, then I can see the expected 0xFFFF from an empty flash device.
One of the commands the flash can accept is the code 0x98 which is the CFI query. If I manually enter this into the first address then the flash device does not respond. A logic analyser shows that 0xFFFF was written. What appears to be written is the read contents of address 0x70000002, or more generally, write data to even 16-bit addresses appears to be the read data from that address+1. Eg if I write to address 0x70000004 then the actual written data is what resides at address 0x70000006.
If I manually enter the 0x98 code to address 0x70000002 the correct response is received.
If I execute code to access the flash (rather than manually in CCS), then it behaves as expected.
Why?