I still have to actually understand more about this. But the registers look wrong from the start?
Start address 0x1f7bc, load size 281236 Transfer rate: 20 KB/sec, 13392 bytes/write. (gdb) ls Undefined command: "ls". Try "help". (gdb) info registers r0 0x0 0 r1 0x0 0 r2 0x0 0 r3 0x0 0 r4 0x0 0 r5 0x0 0 r6 0x0 0 r7 0x0 0 r8 0x0 0 r9 0x0 0 r10 0x0 0 r11 0x0 0 r12 0x0 0 sp 0xffffffd8 0xffffffd8 lr 0xfffffff9 -7 pc 0x1f7bc 0x1f7bc <Reset_Handler> xPSR 0x1000003 16777219 fpscr 0x0 0 msp 0xfffffffc 0xfffffffc psp 0x0 0x0 primask 0x0 0 basepri 0x0 0 faultmask 0x0 0 control 0x0 0
@user156811 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I still have to actually understand more about this. But the registers look wrong from the start?