I am trying to flash blinky sample from Nordic SDK into my puckjs v2 via SWD.
I have tried both Segger and PlatformIO. The download seems to be successful but when I run it in debug it stops executing in reset.S line: bl z_platform_init.
Do I need to modify the sample code in any way to run it in puckjs?
The Puck just has a completely standard nRF52832 chip in it, so the samples should work.
However are you completely erasing the device first and also flashing a matching softdevice? Because if you're not using a matching SDK (Puck uses SDK12) then you'll hit problems
I added MCUBoot and it does stop at a breakpoint in main.c now.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem