Skip to content

Why not use dfu-util to upload the firmware? #6

@ferazambuja

Description

@ferazambuja

I've tried the new code, the HAT as expected goes into DFU mode. However, it will not go to the /dev/ttyS0.

Using the USB port on the HAT shows
tail -f /var/log/kern.log
Apr 17 20:48:47 raspberrypi kernel: [ 218.765139] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
Apr 17 20:48:47 raspberrypi kernel: [ 218.897807] usb 1-1.2: New USB device found, idVendor=0483, idProduct=df11
Apr 17 20:48:47 raspberrypi kernel: [ 218.897822] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 17 20:48:47 raspberrypi kernel: [ 218.897831] usb 1-1.2: Product: STM32 BOOTLOADER
Apr 17 20:48:47 raspberrypi kernel: [ 218.897839] usb 1-1.2: Manufacturer: STMicroelectronics
Apr 17 20:48:47 raspberrypi kernel: [ 218.897847] usb 1-1.2: SerialNumber: FFFFFFFEFFFF

pi@raspberrypi:~/Sensly_Install $ dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [0483:df11] ver=2200, devnum=5, cfg=1, intf=0, path="1-1.2", alt=1, name="@option Bytes /0x1FFFF800/01016 e", serial="FFFFFFFEFFFF"
Found DFU: [0483:df11] ver=2200, devnum=5, cfg=1, intf=0, path="1-1.2", alt=0, name="@internal Flash /0x08000000/064
0002Kg", serial="FFFFFFFEFFFF"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions