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.

"Unable to access device memory" error

Other Parts Discussed in Thread: TCI6630K2L

I have a EVMK2L board. I tried to run some programs on the board, and it gave me the following errors:

"

Trouble Writing Memory Block at 0x2ee4b0 on Page 0 of Length 0x1e0: (Error -1190 @ 0x8000) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

"

I am using CCS5, and the targetConfigs is TCI6630K2L. I compiled for little endian and ELF output, and left the linker command file blank.

I actually encountered this error before, and the way I fixed it is to pick a linker command file. Since there is linker command file for TCI6630K2L, I used C6678.cmd as the linker file and it worked.

But this time when I used C6678.cmd file, I got another error which indicates that the linker command file is incompatible:

"Trouble Reading Register ControlRegisters_CSR"

So I have two questions:

1. What is the correct linker command file that I should use for TCI6630K2L, and where can I get it?

2. Some TI engineers on this forum said that you should let the emulator automatically choose the linker file, but how? Apparently if I left the linker command file blank, the program cannot access the correct memory address. So please tell me how to fix this.

Thank you!

  • Hi,

    Memory map for TCI6630K2L and C6678 both device are different. so C6678 command file does not work on TCI6630K2L device.

    Please take a look at below wiki link and refer TCI6630K2L device Memory mapping table on data manual to create a command file.

    Refer MCSDK example project command file: C:\ti\pdk_keystone2_3_01_03_06\packages\ti\platform\evmk2l\platform_test\

    Have you using TI MCSDK example for your testing? If yes, share the project detail.

    Thanks,

  • Thanks, Ganapathi. I used the example that you gave me and did some minor modification, and now it is working.

    I am building FFTW for EVMK2L, and trying to run a simple example with the library. And this is the last step to run the code through the emulator.

    Thanks a lot.