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!