Tool/software: Code Composer Studio
I observed something strange with the branch instruction “B _c_int00" preset in the reset vector 0x0000000. This instruction successful execution and control transfer to _c_int00 function seems to be dependent on the location of _c_int00 function in Flash. In “Not working” case below, instruction “B _c_int00” execution is not happening and the PC is incrementing to the next instruction, which is “B Undefined Entry” in the reset vector. CPSR.Mode = 1011, Supervisor, in "Not working" case. Unable to conclude why “B _c_int00” instruction is not executing when the _c_int00 function location in Flash is as per “Not working” case below.
_c_int00 Address in Flash |
"B _c_int00" instruction at reset vector 0x00000000 |
0x0026F4DC |
Working |
0x0026F504 |
Working |
0x0026F57C |
Working |
0x0026F66C |
Working |
0x0026F76C |
Working |
0x0026F7fC |
Working |
0x0026F800 |
Working |
0x0026F808 |
Not working |
0x0026F80C |
Not working |
0x0026F810 |
Not working |
0x0026F824 |
Not working |
0x0026F86C |
Not working |
0x0026F9E8 |
Not working |
0x0026FAE8 |
Not working |
0x0026FBE8 |
Not working |
0x0026FC00 |
Not working |
0x0026FC08 |
Working |
0x0026FCE8 |
Working |
0x0026FDE8 |
Working |
0x0026FEE8 |
Working |
I would like to know what is the issue here? Is it a CCS issue? or silicon issue? or am I missing anything?
CCS Version: 9.3.0.00012
Compiler version: TI v18.12.4.LTS
Regards,
Vishwas HC