I've got a blinky program working, but one thing doesn't work. The code "bl __libc_init_array" gets lost somewhere. I don't get any error, but when I run it, I don't have any blinking.
What am I missing? I believe it is something not setup right on my compiling or link options or something like that. Any ideas?
I checked, and it is not jumping to the default handler or any handler. I also found out it is not returning from a lot of C functions. I believe I don't have my compiler setup right, but I don't know what is missing.
Here's a thread that gives some info that may be useful, off on another tangent.
There is little information supplied here, but a common mis-step is the location of user stack and heap. Check the address of these regions in your linker scatter file.
View all questions in Arm Compilers forum