geekhack

geekhack Projects => Making Stuff Together! => Topic started by: supermario802.1 on Mon, 10 September 2018, 22:56:15

Title: How to update/upgrade Soarer's Converter firmware?
Post by: supermario802.1 on Mon, 10 September 2018, 22:56:15
Issuing the command scboot makes the soarer firmware jump to bootloader mode but how do you flash it with a new firmware via the USB?
Title: Re: How to update/upgrade Soarer's Converter firmware?
Post by: Tactile on Tue, 11 September 2018, 00:24:01
Is it running on a Teensy, Pro Micro, or something else? In any case, this is from the Soarer's docs:

Code: [Select]
Loading
The Teensy family have the PJRC bootloader installed and are programmed using PJRC's Teensy Loader, available for all common OS.

Other breakout boards usually have the Atmel DFU bootloader installed and can be programmed using FLIP.
FLIP is available for Windows and Linux. For Mac OS-X, see <Link no longer valid>.

Title: Re: How to update/upgrade Soarer's Converter firmware?
Post by: supermario802.1 on Tue, 11 September 2018, 00:53:14
Im using an atmega32u4 chip. Yes  I can programmed the chip initially with the FLIP(USB) or command line(ISP). But how do you reprogram it again via USB without using ISP?
Title: Re: How to update/upgrade Soarer's Converter firmware?
Post by: supermario802.1 on Tue, 11 September 2018, 04:51:40
The doc  says:

Quote
scboot v1.0+
Causes the converter to jump to the bootloader.

Usage:

scboot
After running this command, the converter should be ready to have new firmware loaded into it. Note that, at this point, the converter will not be working as a keyboard any more! To cancel the bootloader mode, simply disconnect the converter from the computer and reconnect it.

Output:

scboot: looking for Soarer's Converter: found
scboot: sending boot request: ok
device: ok

But when i run it i can still use the keyboard and it does not go to bootloader mode.

[attachimg=1]