SOLVED Unable to update Firmware on Duet Mini 5+ Ethernet



  • I was able to update the firmware from beta 2 to beta4

    The Update to Beta4.1 Fails with
    M997 S0
    Operation has been cancelled

    Updating to Beta4.1 via usb is working fine.

    It seems the writing fails
    here is the M122 after the failed firmware update

    M122
    === Diagnostics ===
    RepRapFirmware for Duet 3 Mini 5+ version 3.2-beta4.1 running on Duet 3 Mini5plus Ethernet (standalone mode)
    Board ID: MB72M-P867A-G65J0-40TFS-LJD0Z-Z63P3
    Used output buffers: 1 of 40 (11 max)
    === RTOS ===
    Static ram: 98728
    Dynamic ram: 128300 of which 504 recycled
    Never used RAM 33588, free system stack 200 words
    Tasks: NETWORK(ready,162) ETHERNET(blocked,568) HEAT(blocked,188) CanReceiv(blocked,967) CanSender(blocked,372) CanClock(blocked,363) TMC(blocked,109) MAIN(running,513) IDLE(ready,20) AIN(blocked,272)
    Owned mutexes:
    === Platform ===
    Last reset 00:00:10 ago, cause: watchdog
    Last software reset at 2020-12-14 17:32, reason: User, GCodes spinning, available RAM 33692, slot 1
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00430000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
    Error status: 0x00
    Supply voltage: min 0.0, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 99, reads 2096, writes 9, timeouts 0, DMA errors 0
    Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 99, reads 2096, writes 9, timeouts 0, DMA errors 0
    Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 99, reads 2095, writes 9, timeouts 0, DMA errors 0
    Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 99, reads 2095, writes 9, timeouts 0, DMA errors 0
    Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 99, reads 2096, writes 9, timeouts 0, DMA errors 0
    Driver 5: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 99, reads 2096, writes 9, timeouts 0, DMA errors 0
    Driver 6: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 99, reads 2095, writes 9, timeouts 0, DMA errors 0
    Date/time: 2020-12-14 18:07:06
    Slowest loop: 2.07ms; fastest: 0.12ms
    === Storage ===
    Free file entries: 10
    SD card 0 detected, interface speed: 22.5MBytes/sec
    SD card longest read time 0.6ms, write time 0.0ms, max retries 0
    === Move ===
    FreeDm 169 (min 169), maxWait 0ms, bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === AuxDDARing ===
    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === Heat ===
    Bed heaters = 0 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Movement lock held by null
    HTTP is idle in state(s) 0
    Telnet is idle in state(s) 0
    File is idle in state(s) 0
    USB is idle in state(s) 0
    Aux is idle in state(s) 0
    Trigger is idle in state(s) 0
    Queue is idle in state(s) 0
    LCD is idle in state(s) 0
    SBC is idle in state(s) 0
    Daemon is idle in state(s) 0
    Aux2 is idle in state(s) 0
    Autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 120.00ms; fastest: 0.03ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
    HTTP sessions: 1 of 8
    - Ethernet -
    State: active
    Error counts: 0 0 0 0 0
    Socket states: 5 2 2 2 2 0 0 0
    === CAN ===
    Messages queued 95, send timeouts 93, received 0, lost 0, longest wait 0ms for reply type 0, free buffers 15
    code_text
    


  • i also tried the different iap from https://www.dropbox.com/s/iw2wx23ta226b3c/Duet3_SDiap_Mini5plus.bin?dl=0
    same thing

    the size is different to the one supplied on the usb card.


  • administrators

    Try this IAP. You will need to rename it by removing the "32" from the name.
    Duet3_SDiap32_Mini5plus.bin



  • yes that works.

    i am able to flash all of the files that failed previously


  • administrators

    Thanks for confirming.


Log in to reply