Open dhalbert opened 6 years ago
I'm seeing the same issue on a Trinket M0 board with the bootloader customised to use the UART on Sercom2. First attempt to upload fails, second succeeds.
@dominicjprice I don't mean to hijack the topic, but... How'd you customize the M0 to use a hardware UART for bootloading? I need to accomplish the same and I'm trying to dig in right now.
Hi @alexwhittemore, have a look at my fork here https://github.com/dominicjprice/uf2-samdx1 and the projecthoop branch. The bootloader already contained the code for updating over UART, it just needed compiling in (and another method being left out due to size constraints).
What a guy, thank you!
Both the baud rate problem and the not uploading on first try should now be fixed with the PR that went in today
https://github.com/Microsoft/uf2-samd21/issues/42 from @MartinL1: