2025-05-22 11:04 PM
Hello,
I'm trying to get running own external loader for CubeMX compiled with CubeIDE.
I have followed this internet source to set-up envirement but without success. Because the CubeMX plugin doesn't work I tried to debug RAM-execution without CubeMX. By starting directly on target HW, the breakpount setted in Init function was served. But all nested function were not jumped-in at all. That leads to programm crash and therefor the pluging doesn't work inside CubeMX. But Plugin-selection inside CubeMX is possible, because parsing of the plugin is okay.
Please can some one explain what the problem with nested functions when executed from RAM. Thanks to every one.
2025-05-23 4:25 AM
Not clear exactly what you're describing.
Calls to sub functions are relative not absolute, so you can't often move a small block of code linked at one address to an entirely different one.
Disassemble the code you're trying to run.