Other Parts Discussed in Thread: HALCOGEN, , UNIFLASH
Tool/software: TI C/C++ Compiler
Dear all,
I am a beginner in Hercules micro-controller programming.I used Launchxl2-570LC43 for two days without any problem. RTIBlinky example is successfully built using halcogen and ccs8.1. but after loading example_adcdisplay.c in HALcogen, it started to receive this error when starting the debug session. I searched in many threads and used linker generated ECC cmd file with vfill command does not changed this issue. I can connect to the target but couldn't read the core registers stating unable to read.
I observed in one thread that in Arm cortex devices registers which are not mapped to a memory, cannot be read not like in c28x devices. the demo project is running properly but this gel output remains as same. is there some thing wrong with HL_sys_intvecs.asm in the section
resetEntry
b _c_int00
this is my code for linker.cmd file
MEMORY
{
/* USER CODE BEGIN (2) */
#if 0
/* USER CODE END */
VECTORS (X) : origin=0x00000000 length=0x00000020
FLASH0 (RX) : origin=0x00000020 length=0x001FFFE0
FLASH1 (RX) : origin=0x00200000 length=0x00200000
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x0007EB00
/* USER CODE BEGIN (3) */
#endif
VECTORS (X) : origin=0x00000000 length=0x00000020 vfill = 0xffffffff
FLASH0 (RX) : origin=0x00000020 length=0x001FFFE0 vfill = 0xffffffff
FLASH1 (RX) : origin=0x00200000 length=0x00200000 vfill = 0xffffffff
STACKS (RW) : origin=0x08000000 length=0x00001800
RAM (RW) : origin=0x08001800 length=0x0007E800
ECC_VEC (R) : origin=0xf0400000 length=0x4 ECC={ input_range=VECTORS }
ECC_FLA0 (R) : origin=0xf0400000 + 0x4 length=0x3FFFC ECC={ input_range=FLASH0 }
ECC_FLA1 (R) : origin=0xf0440000 length=0x40000 ECC={ input_range=FLASH1 }
/* USER CODE END */
}
/* USER CODE BEGIN (4) */
ECC
{
algo_name : address_mask = 0xfffffff8
hamming_mask = R4
parity_mask = 0x0c
mirroring = F021
}
thanks in advanced for helping me in this.
Thank you.