Other Parts Discussed in Thread: EK-TM4C1294XL
Tool/software:
Dear All
I've write a easy main.c s follow:
int main(void)
{
// set ports
PortFunctionInit();
return 0;
}
During linking project I 've these warning:
<Linking>
warning #10247-D: creating output section ".text" without a SECTIONS specification
warning #10247-D: creating output section ".const" without a SECTIONS specification
warning #10247-D: creating output section ".cinit" without a SECTIONS specification
warning #10247-D: creating output section ".vtable" without a SECTIONS specification
warning #10247-D: creating output section ".stack" without a SECTIONS specification
Finished building target: "test-arm.out"
Building secondary target: "test-arm.hex"
Invoking: Arm Hex Utility
"C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armhex" --diag_wrap=off -o "test-arm.hex" "test-arm.out"
Translating to Extended Tektronix format...
"test-arm.out" .text ==> .text
"test-arm.out" .const ==> .const
"test-arm.out" .cinit ==> .cinit
Finished building secondary target: "test-arm.hex"
warning: Data is being written to auto-generated file test-arm.x1
warning: Data is being written to auto-generated file test-arm.x2
warning: Data is being written to auto-generated file test-arm.x3
Then the binary is loaded with JTAG interface (XSD200) and firmware start immediatly and stop on this call:
CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M4_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 20.0.0.3178)
So, memory map seems OK and loaded (is my board , not Kit), but software lock on this function:
__attribute__((section(".text:_c_int00_noargs"), used, naked))
void _c_int00_noargs(void)
{
_c_int00_template(0, 1);
}
Questions:
1) is not set memory allocation ?
2) May be a watchdog enable on startup ?
3) Of course, where I wrong ?
Any suggest is apreceid
Regards, Daniele