I have a project with a folder with sources and other with static libraries compiled by me.
I have no compilation errors but when I debug the code I have a problem, it is all fine until i reach a function inside of which there is a call to another function which jumps to 0x0 address. This functions belongs to a static library. I tested to call the destiny function and I can jump perfectly to this function, but if it is called from the other function the process crashes resulting in a jump in 0x0. I dont know either if it's a problem of the linker script or another problem.
Does Anyone have an idea on what might be going on?
Thanks for the response.It is a cortex m3 (lpc1769) the first option is discarted, the second option could be because I'm using a linker script from internet, and the stack's part figures like a piece called dummy_stack, I'm going to try change this option and I will inform about this