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.
Tool/software: Code Composer Studio
Dear team,
When using ccs to debug the TMS570LC4357 development board, I want to run the program in sram, so I modify the cmd link file, and the following error is reported when loading and debugging:
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.
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 */ }
Please help.
Hi Susan,
In linker cmd file, you map the flash to RAM memory range starting at 0x08000000.