This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EMIF not able to access more than 32kB

Other Parts Discussed in Thread: TMS570LS1227

Hi,

I have an asynchronous flash memory connected to the TMS570LS1227 on CE2. When I try to read addresses beyond 32kB (0x60008000) data abort is generated and CE line is not being toggled. When I try to write them, also CE line is not being toggled (but no data abort). Addresses below work fine.

Looking on datasheet of the TMS570LS1227 ( http://www.ti.com/lit/ds/symlink/tms570ls1227.pdf ) page 72 Memory Map I can see, that actual frame size for EMIF Chip Select 2 is 32kB. But the same datasheet on page 86 says that EMIF can work support “3 addressable chip select for asynchronous memories of up to 16MB each”

Moreover the “TMS570LS12x/11x 16/32-Bit RISC Flash Microcontroller Technical Reference Manual”  (http://www.ti.com/lit/ug/spnu515a/spnu515a.pdf) on page 107 specifies actual frame size for EMIF Chip Select 2 to be 16MB.

So is EMIF on TMS570LS1227 able to access more than 32kB? I would guess so, because it has exactly enough address lines to access 16MB. If so, could you please have a look on my code and see what I might have been doing wrong.

Many thanks,

3872.NOR_flash2.zip

  • Hello,

    The LS1227 MCU datasheet is being updated to make this information consistent. There are only 13 address lines, and this combined with the two BA lines gives you the ability to access a total of 32KB per asynchronous memory chip select.

    -Sunil