PROCESSOR-SDK-AM64X: Program(.out file) is not suspend on main() function

Expert 2781 points
Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: SYSCONFIG, AM67

Tool/software:

Hello,

May I have question about AM64x?

My customer is debugging own booting software.

- custome software based on this project.[mcu_plus_sdk_am64x Dir]\examples\drivers\sciclient\sciclient_ccs_init

- custome point : disableing DDR init only

If load .out file manually in CCS, it not suspend main() function.

In customer reserch,

If R5F CPU register "CPSR" was 0x1F3 (written by CCS manually ), it not suspend on main() function.

If "CPSR" was 0x1D3, it suspend on main() function.

--

Question 1

I believe this issue is occor anything to error before main() function. (because Log output called "CIO console" does not outputed)

I suspect DDR initialize, linker setting,...

Do you have anything to information or idea of another case?

--

Question 2

I think CPSR bit5 depends on another register value.

In ARM manual, it write as depends on SCTLR TE-bit.

My customer believe this bit is configured by bootmode pin.

Is this correct?

And if No-boot-mode, what value is this bit?

Thanks,

GR