Hi all, I’m developing with the SPE R5 core on the Jetson AGX Orin and have encountered two issues: compilation overflow and runtime freezing.
The compilation error message is as follows:
/home/jhy/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /home/jhy/Jetson/spe-freertos-bsp/spe-freertos-bsp/rt-aux-cpu-demo-fsp/out/t23x/spe.elf section
.text' will not fit in regionbtcm’
/home/jhy/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: region `btcm’ overflowed by 57200 bytes
-
Can the
btcmregion be expanded?
The linker reports that the.textsection doesn’t fit inbtcm. Is code trimming the only solution, or are there ways to increase the size/capacity of thebtcmregion itself? -
Alternative online debugging methods (beyond serial port)?
Even after trimming code or using compile optimizations, the program freezes at runtime. Serial port debugging works, but are there other online debugging tools/techniques (e.g., debuggers, runtime monitors) that can help diagnose the freeze?