I use the magic baud rate feature a lot to put devices into listening and DFU mode when they are plugged into my computer.
I was wondering if there was a magic baud rate or a similar feature to put a device into safe mode via usb.
I use the magic baud rate feature a lot to put devices into listening and DFU mode when they are plugged into my computer.
I was wondering if there was a magic baud rate or a similar feature to put a device into safe mode via usb.
No, but if you put the device in listening mode you can then send it an L then x and it will go into safe mode.
This works well, thanks.
I can now do this to induce safe mode via USB:
$ po serial open -d /dev/ttyACM0
$ echo "L" > /dev/ttyACM0
$ echo "x" > /dev/ttyACM0
I'm going to incorporate these into a single command like po safe open
.