Bootloader for HY-TinySTM103T
Posted: Sat May 02, 2020 10:57 pm
I normally use a bootloader for BluPill (generic_boot20_pc13.bin) to my full satisfaction.
But I also have a few HY-TinySTM103 boards in the drawer, into which I loaded the bootloader
intended for them (generic_boot20_hytiny.bin). Unfortunately, this bootloader doesn't work
at all and I can't figure out why.
I think the problem is in the incorrect initialization of the USB port, which I conclude
after analyzing the output of the command 'dmesg' of the system terminal.
>dmesg ... for BluePill
[348658.977235] usb 2-4.1: new full-speed USB device number 14 using xhci_hcd
[348659.078858] usb 2-4.1: New USB device found, idVendor=1eaf, idProduct=0004
[348659.078863] usb 2-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[348659.078867] usb 2-4.1: Product: Maple
[348659.078869] usb 2-4.1: Manufacturer: LeafLabs
[348659.079572] cdc_acm 2-4.1:1.0: ttyACM0: USB ACM device
>dmesg ... for HY-Tiny
[348766.520115] usb 2-4.1: new full-speed USB device number 15 using xhci_hcd
[348766.621889] usb 2-4.1: New USB device found, idVendor=1eaf, idProduct=0003
[348766.621895] usb 2-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[348766.621898] usb 2-4.1: Product: Maple 003
[348766.621901] usb 2-4.1: Manufacturer: LeafLabs
[348766.621904] usb 2-4.1: SerialNumber: LLM 003
I returned to STM32 after reading this article ( https://medium.com/@jobenas_25464/how- ... 0250e54e2 ) and the first steps with BluePill
were very promising. BUT I need to work with HY-Tiny STM103.
I lack some information or knowledge, will someone help me with the solution?
I use PlatformIO.
But I also have a few HY-TinySTM103 boards in the drawer, into which I loaded the bootloader
intended for them (generic_boot20_hytiny.bin). Unfortunately, this bootloader doesn't work
at all and I can't figure out why.
I think the problem is in the incorrect initialization of the USB port, which I conclude
after analyzing the output of the command 'dmesg' of the system terminal.
>dmesg ... for BluePill
[348658.977235] usb 2-4.1: new full-speed USB device number 14 using xhci_hcd
[348659.078858] usb 2-4.1: New USB device found, idVendor=1eaf, idProduct=0004
[348659.078863] usb 2-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[348659.078867] usb 2-4.1: Product: Maple
[348659.078869] usb 2-4.1: Manufacturer: LeafLabs
[348659.079572] cdc_acm 2-4.1:1.0: ttyACM0: USB ACM device
>dmesg ... for HY-Tiny
[348766.520115] usb 2-4.1: new full-speed USB device number 15 using xhci_hcd
[348766.621889] usb 2-4.1: New USB device found, idVendor=1eaf, idProduct=0003
[348766.621895] usb 2-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[348766.621898] usb 2-4.1: Product: Maple 003
[348766.621901] usb 2-4.1: Manufacturer: LeafLabs
[348766.621904] usb 2-4.1: SerialNumber: LLM 003
I returned to STM32 after reading this article ( https://medium.com/@jobenas_25464/how- ... 0250e54e2 ) and the first steps with BluePill
were very promising. BUT I need to work with HY-Tiny STM103.
I lack some information or knowledge, will someone help me with the solution?
I use PlatformIO.