使用ccs调试TMS570LC4357开发板时,想在sram运行程序,于是修改cmd链接文件,加载调试时报如下错误:
CortexR5: Trouble Writing Memory Block at 0x8000000 on Page 0 of Length 0x41c4: (Error -1065 @ 0x0) 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 7.0.188.0)
CortexR5: File Loader: Verification failed: Target failed to write 0x08000000
CortexR5: GEL: File: D:\iot_xw\TMS570LC4357\ccs_demo\lc4357_test\Debug\lc4357_test.out: Load failed.
麻烦请教下为什么不能加载至内部sram呢?
MEMORY
{
/* USER CODE BEGIN (2) */
/* USER CODE END */
VECTORS (X) : origin=0x08000000 length=0x00000020
FLASH0 (RX) : origin=0x08000020 length=0x0000ffff
FLASH1 (RX) : origin=0x08010020 length=0x0000ffff
STACKS (RW) : origin=0x08020020 length=0x00001400
RAM (RW) : origin=0x08021500 length=0x00010000
/* USER CODE BEGIN (3) */
/* USER CODE END */
}
/* USER CODE BEGIN (4) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS
{
/* USER CODE BEGIN (5) */
/* USER CODE END */
.intvecs : {} > VECTORS
.text align(32) : {} > FLASH0 | FLASH1
.const align(32) : {} > FLASH0 | FLASH1
.cinit align(32) : {} > FLASH0 | FLASH1
.pinit align(32) : {} > FLASH0 | FLASH1
.bss : {} > RAM
.data : {} > RAM
.sysmem : {} > RAM
/* USER CODE BEGIN (6) */
/* USER CODE END */
}