This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

program hangs on startup if not using microlib

This is a general question I will throw out initially, but I can get more specific if necessary. This is something I see a lot in my year or so of development with nordic nRF5x chips. Sometimes I will run an application and it never gets to main(). Breaking in the debugger its hung in a loop somewhere, I assume in C startup. Checking "use microlib" will often fix this sort of issue. I also think that sometimes unchecking "use microlib" will fix the issue. Now, note that once I get my project configured and running things are fine. Usually its when I am upgrading the SDK or porting between nRF5x variants, etc, and my memory ranges might not be quite right or something. Can anyone think of reasons "use microlib" would fix this sort of issue.

Related