Command line for Feather RFM95

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mike_adafruit
 
Posts: 6
Joined: Thu Jun 07, 2018 12:00 pm

Command line for Feather RFM95

Post by mike_adafruit »

I am trying to upload, using the command line, binary files created in the Arduino IDE (under Fedora Linux) using a command like

Code: Select all

/home/mg/.arduino15/packages/arduino/tools/bossac/1.7.0/bossac --port=ttyACM0 -e -w -R dev/Feather/Feather_9X_TX-single/Feather_9X_TX-single.ino.feather_m0.bin
It seems to work OK, however I am forced to put the Feather into programming mode (double tap of the reset button).

Is there anyway to avoid that step? (after all, the IDE does it fine!)

Thanks.

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Command line for Feather RFM95

Post by adafruit_support_mike »

To auto-reboot the microcontroller and make it launch the bootloader, you have to open a 1200 baud Serial connection and then close it again. That's the secret-knock the Arduino IDE uses with microcontrollers that handle USB internally.

User avatar
mike_adafruit
 
Posts: 6
Joined: Thu Jun 07, 2018 12:00 pm

Re: Command line for Feather RFM95

Post by mike_adafruit »

Can you suggest an incantation over command line to open and then close that kind of connection?

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”