free-dmo / free-dmo-stm32

Endless freedom for D.MO 550 series label writer printer.
GNU General Public License v3.0
166 stars 33 forks source link

Unable to upload firmware #29

Closed verisgit closed 1 year ago

verisgit commented 1 year ago

Hi there, I can't figure out your instructions to upload the firmware. The steps say wire and configure the device, which I've done. My understanding was that the entire point of the STM32F103C6T6 version was that the firmware could be installed over micro-usb? Otherwise why are we wiring up the device before installing the firmware (which in all other methods requires alternative wiring and would surely be the first step before installing all the other wires for the Dymo interface?)

https://www.electronicshub.org/how-to-upload-stm32f103c8t6-usb-bootloader Says the STM32F103C6T6 can upload firmware by MicroUSB but then has no instructions on how to do it.

Is there a way to get the firmware to upload without having to solder a USB adapter onto the board?

verisgit commented 1 year ago

I figured it out, and basically gave up on trying to upload firmware by MicroUSB, despite it apparently being possible.

I purchased a USB UART TTL off Amazon, and soldiered on some pins so I could connect and disconnect jumpers to the TX and RX. I used the MicroUSB for power (no need to connect the USB UART cable's 5v. BUT you do need a common ground or nothing will work! so I plugged the USB UART cable's ground wire into the ground on the 4-pin on the end of the board - which worked a treat). I was then able to upload the firmware.