Tool/software:
We are using the AMIC110 µP with the Ethernet/IP stack from TMG and your libraries:
- am335x PDK 1.0.13
- EDMA3 2.12.5
- NDK 3.40.1.01
- SYS/BIOS 6.73.1.01
Everything is working correctly, but after approx. 20-30h after start the system crashes calling _kill() function.
What we`ve seen 2 times was that the output of the debugger stated no free space on the heap.
Or it states:
CortxA8: Unhandled ADP_Stopped exception 0x8049F8F8
CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 9.3.0.00042)
CortxA8: Error: (Error -1170 @ 0x0) Unable to access the DAP. 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 9.3.0.00042)
CortxA8: Unable to determine target status after 20 attempts
CortxA8: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
The size of the heap is 2MBytes, where ~800kBytes are used after initialization and our application doesn`t allocate memory after the initialization.
Once the stop happens all RTOS tasks are no longer working.
Are there any possibillities to debug the heap (check for used/free space). Where exactly is the malloc function located, si I could modify this function ?
Thanks for your support and help