Tool/software:
BLAZAR Cortex M4F 0 core.
CPU reset has been done.
We had previously successfully run Hello World program, now trying to run our program (which runs successfully on a Linux server platform).
After successfully printing a couple of printf statements from a program, data structures within the program start getting accessed. After a few lines of code, we get the message:
BLAZAR_Cortex_M4F_0: Can't Run Target CPU: (Error -1268 @ 0x1090001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.7.0.00130)
Beginning of map file is:
******************************************************************************
TI ARM Clang Linker PC v3.2.2
******************************************************************************
>> Linked Mon Jul 22 10:07:10 2024
OUTPUT FILE NAME: <m3_tx.out>
ENTRY POINT SYMBOL: "_c_int00_noargs" address: 00004031
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
RAM 00000020 ffffffe0 0000562e ffffa9b2 RWIX
SEGMENT ALLOCATION MAP
run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
00000020 00000020 0000234c 00000000 rw-
00000020 00000020 0000234c 00000000 rw- .bss
00002380 00002380 00001f0c 00001f0c r-x
00002380 00002380 00001f0c 00001f0c r-x .text
0000428c 0000428c 000001dd 00000000 rw-
0000428c 0000428c 000001dd 00000000 rw- .data
00004470 00004470 00001000 00000000 rw-
00004470 00004470 00000800 00000000 rw- .stack
00004c70 00004c70 00000800 00000000 rw- .sysmem
00005470 00005470 000001fc 000001fc r--
00005470 00005470 00000171 00000171 r-- .rodata
000055e4 000055e4 00000088 00000088 r-- .cinit