Jana-Marie / Otter-Iron-PRO

USB-PD soldering station for JBC C245 handles.
284 stars 36 forks source link

Firmware programming? #22

Closed BB-BenBridges closed 3 years ago

BB-BenBridges commented 3 years ago

Hi, I'm new to programming STM32 micro's and could do with some help. Do you have any instructions to follow now my device is all built?

Thanks

Jana-Marie commented 3 years ago

Hey! Please follow the programming instructions for the Otter-Iron, they are the same. https://github.com/Jan--Henrik/Otter-Iron#flashing

BB-BenBridges commented 3 years ago

Perfect, thank you! All finished and working. Now just to buy the handle!

swissfreek commented 3 years ago

Sorry, maybe I'm being dense. I saw the instructions on the Otter Iron page, but I don't see where the DFU pins are on the Otter Iron Pro. I can't hold the buttons because it hasn't been flashed yet, right? Thoughts?

jeanthom commented 3 years ago

Hi, there is no pin to short. You just have to press one of the buttons (don't remember which one) while plugging the Otter-Iron to your computer.

jeanthom commented 3 years ago

https://github.com/jeanthom/Otter-Iron-PRO-BOM/issues/6

swissfreek commented 3 years ago

Hi, there is no pin to short. You just have to press one of the buttons (don't remember which one) while plugging the Otter-Iron to your computer.

Ah yes, of course, the schematic shows SW2 is connected to the boot pin. Thanks! Found out my issue wasn't the board, but the fact that the Mac's USB-C ports are super finicky about only having "real" USB-C devices connected to them. When I plugged the iron in through a USB-A adapter (so, C->A->C...) it worked and I was able to flash.