hi, I am trying to make the debugger working. but here is the issue I have seen. When I type in break setup. It shows me
wrong # args: should be “break”.
I don’t know what’s going on. Does anyone know what the problem is?
Can you give a little bit more information? Which debugger are you using? What are you trying to do with the debugger?
photon debugger. I am trying to set breakpoint to see how the things go.
Which program do you call the photon debugger? I wrote a guide for installing and using OpenOCD and GDB with the Photon. Are these the instructions you used?
for some reason, when I start working work on it.
I type in
openocd -f interface/ftdi/particle-ftdi.cfg -f target/stm32f2x.cfg -c “gdb_port 3333” -c “$_TARGETNAME configure -rtos FreeRTOS”
and the result turns out like this.
Error: libusb_claim_interface() failed with LIBUSB_ERROR_ACCESS
Error: unable to open ftdi device with vid 0403, pid 6010, description ‘’ and serial '’
I don’t know what happen?
I run it in openocd-0.9.0 folder. I am not sure what the problem is.
When I am trying to unload it by type in the command below
sudo kextunload -b com.apple.driver.AppleUSBFTDI
sudo kextunload FTDIUSBSerialDriver.kext
The command line give me this
Can’t open CFBundle for /Users/MikeLo/openocd-0.9.0/FTDIUSBSerialDriver.kext.
Can’t create FTDIUSBSerialDriver.kext.
My OSX operation system is OS X 10.11.3 (aka OSX El Capitan)