I have my Argon device running OS 1.4.4 attached to the debugger and usb. The debugger is 3de generation I think. I follewed the tutorial https://docs.particle.io/tutorials/developer-tools/workbench/#debugging-3rd-generation-
Particle: Flash for debug should
- put device in dfu mode
- flash a compiled version for debug that I already have onto device
- restart the device
- make it pussible for me to run the debugger
Instead this results in a success for the first 3 but after that device starts flashing red. Code not compiled for debug runs normal.
After that I have to
- detach debugger
- reset the argon with the buttons
- device is put into dfu. Stuck in this mode evan
- particle update
- particle usb dfu argon
- particle flash --usb argon.bin
- attach debugger
- run debug from workbench play button
This outputs another error
e check OUTPUT tab (Adapter Output) for output from /Users/stijnwillems/.particle/toolchains/openocd/0.11.2-adhoc6ea4372.0/bin/openocd Launching server: "/Users/stijnwillems/.particle/toolchains/openocd/0.11.2-adhoc6ea4372.0/bin/openocd" "-c" "gdb_port 50001" "-s" "/Users/stijnwillems/.particle/toolchains/openocd/0.11.2-adhoc6ea4372.0/share/openocd/scripts" "-f" "interface/cmsis-dap.cfg" "-f" "target/nrf52-particle.cfg"
Afther that i do
Particle: Flash application and DeviceOS
Just start it normally and look for serial logging. This is not ideal however.
Any help with this would be appreciated. Thanks