I just got up and running with the programmer shield for photon :
- openocd installed and running
- confirmed can send commands through telnet
- able to send commands through gdb.
However, I’m seeing quite a few issues.
break points don’t seem to actually work :: I can see the code running on serial (i connected to the photon directly with an additional usb), but when it reaches the breakpoint in the code, nothing happens in gdb.
code freezes often :: Again, looking through serial, the code just seems to stop; nothing being printed, not actually progressing forward.
Is there some kind of general get started guide on doing this? I don’t know if it’s me breaking things or if this thing is just broken. Any help appreciated!!
EDIT: is it impossible to ‘serial’ into the device and have gdb going at the same time?
EDIT: is it possible that the jtagging/debug process can permanently break a photon? I’m now seeing the same freeze behavior in serial output even after plugging the chip in directly and not running opencd…