Content originally posted in LPCWare by omegahacker on Thu May 22 17:50:10 MST 2014
I managed to get a viable image to boot the M0 with finally, on my way to getting a FreeRTOS build. It has the appropriate stack pointer, reset vector, etc. The code flashes and LED, and I have confirmed that it works.
The problem now is that as soon as I start the M0, Linux halts (oddly, except for pings...). I'm guessing it might be something to do with an unhandled interrupt on the M4, but I have no idea how to actually find out. Also, the M0 code is way too simple to intentionally fire an interrupt at the M4, so it has to be something that's a side-effect of starting the M0, or my code.
Any ideas?