Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////// Windows DFU included with pinecil firmware updater //////////////
- C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>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: [28e9:0189] ver=0100, devnum=43, cfg=1, intf=0, path="1-9", alt=1, name="@Option Bytes /0x1FFFF800/01*016Be", serial="??"
- Found DFU: [28e9:0189] ver=0100, devnum=43, cfg=1, intf=0, path="1-9", alt=0, name="@Internal Flash /0x08000000/128*001Kg", serial="??"
- C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
- 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/
- Invalid DFU suffix signature
- A valid DFU suffix will be required in a future dfu-util release!!!
- Opening DFU capable USB device...
- ID 28e9:0189
- Run-time device DFU version 011a
- Claiming USB DFU Interface...
- Setting Alternate Setting #0 ...
- Determining device status: state = dfuDNLOAD-IDLE, status = 0
- aborting previous incomplete transfer
- Determining device status: state = dfuIDLE, status = 0
- dfuIDLE, continuing
- DFU mode device DFU version 011a
- Device returned transfer size 2048
- DfuSe interface name: "Internal Flash "
- Performing mass erase, this can take a moment
- Error during special command "MASS_ERASE" get_status
- ////////////// Windows gd32-dfu-utils //////////////
- C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
- 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/
- Invalid DFU suffix signature
- A valid DFU suffix will be required in a future dfu-util release!!!
- Opening DFU capable USB device...
- ID 28e9:0189
- Run-time device DFU version 011a
- Claiming USB DFU Interface...
- Setting Alternate Setting #0 ...
- Determining device status: state = dfuDNLOAD-IDLE, status = 0
- aborting previous incomplete transfer
- Determining device status: state = dfuIDLE, status = 0
- dfuIDLE, continuing
- DFU mode device DFU version 011a
- Device returned transfer size 2048
- GD32 flash memory access detected
- Device model: GD32VF103TB
- Memory segment (0x08000000 - 0801ffff)(rew)
- Erase size 1024, page count 128
- Performing mass erase, this can take a moment
- Error during special command "MASS_ERASE" get_status
- C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>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: [28e9:0189] ver=0100, devnum=42, cfg=1, intf=0, path="1-9", alt=1, name="@Option Bytes /0x1FFFF800/01*016Be", serial="3TBJ"
- Found DFU: [28e9:0189] ver=0100, devnum=42, cfg=1, intf=0, path="1-9", alt=0, name="@Internal Flash /0x08000000/128*001Kg", serial="3TBJ"
- ////////////// linux dfu-utils with minor mod to main.c to remove file id check //////////////
- pi@octopi:~ $ sudo dfu-util -l
- dfu-util 0.10-dev
- Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
- Copyright 2010-2020 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: [28e9:0189] ver=0100, devnum=6, cfg=1, intf=0, path="1-1.4", alt=1, name="@Option Bytes /0x1FFFF800/01*016Be", serial="3TBJ"
- Found DFU: [28e9:0189] ver=0100, devnum=6, cfg=1, intf=0, path="1-1.4", alt=0, name="@Internal Flash /0x08000000/128*001Kg", serial="3TBJ"
- pi@octopi:~ $ sudo dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
- dfu-util 0.10-dev
- Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
- Copyright 2010-2020 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/
- dfu-util: Warning: Invalid DFU suffix signature
- dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
- Opening DFU capable USB device...
- ID 28e9:0189
- Run-time device DFU version 011a
- Claiming USB DFU Interface...
- Setting Alternate Setting #0 ...
- Determining device status: state = dfuIDLE, status = 0
- dfuIDLE, continuing
- DFU mode device DFU version 011a
- Device returned transfer size 2048
- DfuSe interface name: "Internal Flash "
- Found GD32VF103, which reports a bad page size and count for its internal memory.
- Fixed layout based on part number: page size 1024, count 128.
- Performing mass erase, this can take a moment
- dfu-util: Error during special command "MASS_ERASE" get_status
- pi@octopi:~ $ sudo dfu-util -vvv -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
- dfu-util 0.10-dev
- Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
- Copyright 2010-2020 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/
- libusb version 1.0.22 (11312)
- dfu-util: Warning: Invalid DFU suffix signature
- dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
- [timestamp] [threadID] facility level [function call] <message>
- --------------------------------------------------------------------------------
- [ 0.033153] [00000c83] libusb: debug [libusb_get_device_list]
- [ 0.033413] [00000c83] libusb: debug [libusb_get_device_descriptor]
- [ 0.033471] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
- [ 0.033564] [00000c83] libusb: debug [libusb_open] open 1.6
- [ 0.033774] [00000c83] libusb: debug [usbi_add_pollfd] add fd 9 events 4
- [ 0.033880] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x14388a0
- [ 0.033943] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x14388a0
- [ 0.033992] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
- [ 0.034186] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.034261] [00000c83] libusb: debug [handle_events] poll fds modified, reallocating
- [ 0.034339] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.035789] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.035884] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=4
- [ 0.035928] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.035974] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.036028] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x14388a0 has callback 0x76ed6494
- [ 0.036070] [00000c83] libusb: debug [sync_transfer_cb] actual_length=4
- [ 0.036153] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x14388a0
- [ 0.036215] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143a0d0
- [ 0.036256] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143a0d0
- [ 0.036297] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
- [ 0.036401] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.036449] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.038146] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.038212] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=78
- [ 0.038256] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.038301] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.038350] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143a0d0 has callback 0x76ed6494
- [ 0.038391] [00000c83] libusb: debug [sync_transfer_cb] actual_length=78
- [ 0.038442] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143a0d0
- [ 0.038492] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x1437a10
- [ 0.038531] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x1437a10
- [ 0.038571] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
- [ 0.038660] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.038706] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.040396] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.040472] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=4
- [ 0.040515] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.040560] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.040610] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x1437a10 has callback 0x76ed6494
- [ 0.040654] [00000c83] libusb: debug [sync_transfer_cb] actual_length=4
- [ 0.040703] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x1437a10
- [ 0.040755] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143b528
- [ 0.040795] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143b528
- [ 0.040836] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
- [ 0.040929] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.040975] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.042652] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.042724] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=6
- [ 0.042767] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.042811] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.042865] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143b528 has callback 0x76ed6494
- [ 0.042909] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
- [ 0.042960] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143b528
- [ 0.043028] [00000c83] libusb: debug [libusb_close]
- [ 0.043111] [00000c83] libusb: debug [usbi_remove_pollfd] remove fd 9
- [ 0.043258] [00000c83] libusb: debug [libusb_get_device_descriptor]
- [ 0.043306] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
- [ 0.043383] [00000c83] libusb: debug [libusb_get_device_descriptor]
- [ 0.043425] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
- [ 0.043485] [00000c83] libusb: debug [libusb_get_device_descriptor]
- [ 0.043523] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
- [ 0.043577] [00000c83] libusb: debug [libusb_get_device_descriptor]
- [ 0.043615] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
- [ 0.043673] [00000c83] libusb: debug [libusb_get_device_descriptor]
- [ 0.043711] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
- Opening DFU capable USB device...
- [ 0.043816] [00000c83] libusb: debug [libusb_open] open 1.6
- [ 0.044006] [00000c83] libusb: debug [usbi_add_pollfd] add fd 9 events 4
- ID 28e9:0189
- Run-time device DFU version 011a
- Claiming USB DFU Interface...
- [ 0.044247] [00000c83] libusb: debug [libusb_claim_interface] interface 0
- Setting Alternate Setting #0 ...
- [ 0.044564] [00000c83] libusb: debug [libusb_set_interface_alt_setting] interface 0 altsetting 0
- Determining device status: [ 0.046371] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c8d8
- [ 0.046492] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c8d8
- [ 0.046609] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
- [ 0.046795] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.046917] [00000c83] libusb: debug [handle_events] poll fds modified, reallocating
- [ 0.047059] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.049009] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.049179] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=6
- [ 0.049238] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.049518] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.049596] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c8d8 has callback 0x76ed6494
- [ 0.049649] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
- [ 0.049710] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c8d8
- state = dfuDNLOAD-IDLE, status = 0
- aborting previous incomplete transfer
- [ 0.049849] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c960
- [ 0.049923] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c960
- [ 0.049963] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
- [ 0.050294] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.050368] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.051649] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.051736] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=0
- [ 0.051773] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.051813] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.051858] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c960 has callback 0x76ed6494
- [ 0.051894] [00000c83] libusb: debug [sync_transfer_cb] actual_length=0
- [ 0.051934] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c960
- Determining device status: [ 0.052002] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c9e8
- [ 0.052034] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c9e8
- [ 0.052066] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
- [ 0.052152] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.052191] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.053757] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.053818] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=6
- [ 0.053852] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.053888] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.053929] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c9e8 has callback 0x76ed6494
- [ 0.053962] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
- [ 0.054002] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c9e8
- state = dfuIDLE, status = 0
- dfuIDLE, continuing
- DFU mode device DFU version 011a
- Device returned transfer size 2048
- DfuSe interface name: "Internal Flash "
- Memory segment at 0x08000000 128 x 1024 = 131072 (rew)
- Found GD32VF103, which reports a bad page size and count for its internal memory.
- Fixed layout based on part number: page size 1024, count 128.
- Performing mass erase, this can take a moment
- [ 0.054363] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c9e8
- [ 0.054399] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c9e8
- [ 0.054428] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
- [ 0.054513] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.054550] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.056138] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.056198] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=1
- [ 0.056234] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
- [ 0.056269] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.056311] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c9e8 has callback 0x76ed6494
- [ 0.056344] [00000c83] libusb: debug [sync_transfer_cb] actual_length=1
- [ 0.056381] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c9e8
- [ 0.056420] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c9e8
- [ 0.056451] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c9e8
- [ 0.056482] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
- [ 0.056558] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
- [ 0.056594] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
- [ 0.058254] [00000c83] libusb: debug [handle_events] poll() returned 1
- [ 0.058305] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=-32 transferred=6
- [ 0.058340] [00000c83] libusb: debug [handle_control_completion] handling completion status -32
- [ 0.058383] [00000c83] libusb: debug [handle_control_completion] unsupported control request
- [ 0.058416] [00000c83] libusb: debug [disarm_timerfd]
- [ 0.058455] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c9e8 has callback 0x76ed6494
- [ 0.058487] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
- [ 0.058526] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c9e8
- dfu-util: Error during special command "MASS_ERASE" get_status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement