A-STAR revive not working on Ubuntu 16.04.3

A-STAR 32U4 prime SV: Despite existence of /dev/ttyACM0, the system skips this during upload and goes directly to ttyS0 (wrong port), causing failure. Tools menu always indicates correct board/port and programmer (STK 500). Using AVRDUDE. Attempting revive procedure using reset as stated but yellow light never “fades” as stated and the procedure doesn’t work. Program loads OK using external programmer, however. NOTE: Have a 2nd board that does not have this problem.
Any suggestions appreciated.

Hello.

It sounds like the A-Star’s bootloader was probably erased when you used your external programmer to upload some program. You can find the A-Star 32U4 bootloader’s HEX file on its GitHub page, which is linked under “The A-Star 32U4 Bootloader” section of the A-Star 32U4 User’s Guide.

- Amanda

Amanda: OK, thanks. I now have this file, but am not sure what to call it,
where to put it or how to use it. Any tips appreciated.
Steve

Hi, Steve.

The A-Star 32U4 bootloader lets you program our A-Star 32U4 controllers from the Arduino IDE easily without using an ISP programmer, so if you want to use that programming method, then you will need to program the bootloader on to your A-Star. To do that, just upload the file to your A-Star board using AVRDUDE and your external programmer. You do not need to rename or move the A-Star 32U4 bootloader HEX file. The HEX file contains the Blink sketch, which will run by default, so you should see the on-board yellow LED blink indicating that you successfully loaded the A-Star 32U4 Bootloader.

- Amanda

Amanda: OK, problem solved; everything works as expected!
Thanks for your help, much appreciated!
Steve

2 Likes