shanteacontrols / OpenDeck

Software and hardware platform for simpler building of MIDI controllers.
https://shanteacontrols.com
Apache License 2.0
618 stars 53 forks source link

Opendeck 1.2.0 stuck in bootloader #134

Closed Solapse closed 2 years ago

Solapse commented 2 years ago

Hi,

I was updating the Opendeck via the mass storage to the last supported 4.0 release and it is stuck in bootloader mode. Any tips on how to resolve this short of doing a manual method via arduino?

If not - I couldn't see any documentation for this board any longer - are there any resources to explain what the pinouts are (I'm guessing it is CONN2)?

paradajz commented 2 years ago

The last supported version for the v1.x.x OpenDeck boards is v4.1.3. However, only the boards with HID bootloader are updateable to this as mentioned here: https://github.com/shanteacontrols/OpenDeck/releases/tag/v3.2.2

So your board actually "officially" supports v3.2.1 as the last firmware. You can manually flash the v4.1.3 if you have avrdude installed on your PC.

The steps are:

1) Download the entire v4.1.3 release 2) In root repository of the repository, enter this command:

paradajz@desktop ~/Downloads/OpenDeck-4.1.3
> ./scripts/flash.sh 

And follow along.

Yes, CONN2 is the ICSP header for flashing. The schematic for this board is actually available here: https://github.com/shanteacontrols/OpenDeck/tree/master/bin/sch/opendeck/v1.2.2

Please let me know if you need more help. As for the buttons/pots/etc pinouts, they are the same as on the new boards.

Solapse commented 2 years ago

Thanks. I've had a go at flashing it, but I'm having problems with AVRdude. It complains that avrconf: "programmer type linuxspi not found". I've looked around and can see that the reset pin is set to 25 in the config.

I'm using a Mega 2560 to flash - followed the guide and added the capacitor as instructed, and put the reset pin to pin 10.

I vaguely remember had some problems like this a long time ago but can't recall what I did to resolve it,

Solapse commented 2 years ago

Ok, you can close this. Managed to use avrdude on windows and decipher what to do from your script. Thanks for the help!