Have to compile for the appropriate soft machine or it won’t load

When my code was compiled without the soft machine it loaded into low memory which I happened to have previously erased using the nRFgo tool. It worked just fine.  However, if there was a soft-machine in low memory then during the flashing process it says: Error: Flash Download failed  –  “Cortex-M0”

With a soft-machine already loaded into low-memory, I recompiled it with the soft-machine option and it the loaded it and it worked fine.
So the moral of the story is:  If there is a soft-machine loaded in low memory, then the application has to be compiled knowing that, and has to be located above it.  If there is no soft-machine in low-memory then it can be compiled in the ordinary (sans soft-machine) mode and will run just fine.

Leave a Reply