Custom binary > Boot fails (Puck.js flash layout) #2201
Replies: 3 comments
-
Posted at 2017-05-04 by @gfwilliams How are you flashing to the Puck? I guess it might change what you need to do. It's possible that you've just got saved code and/or bonding info which you're not overwriting and which is confusing it. My guess is bonding info as Nordic's handling of bonding info seems totally intolerant to corrupt data. The flash layout is below anyway:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-04 by AntiCat Thank your for your timely reply.
Using the NRF Toolbox.
Isn't the Espruino section followed by free space for arbitrary usage? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-04 by AntiCat It works now! Erasing everything except Softdevice and Bootloader helped. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-05-04 by AntiCat
I've compiled a custom, striped down, Espruino binary ~245 KByte. It fails to boot with all lights lit up.
If I blow up the binary by adding 10 KByte to ~255 with unused .rodata my binary boots as expected. This however defeats the purpose of my build.
Could someone point me to the flash layout used/expected by Puck.JS?
Beta Was this translation helpful? Give feedback.
All reactions