DFU Device Can't be Opened

I’m having some trouble trying to upload new fonts onto my Sabertrio. I’ve done everything I can possibly think of (including Zadig and installing new DFU drivers, and contacting Sabertrio and they didn’t give me any new advice). But I keep getting the following error message:

C:/Users/ajbur/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe:C:\Users\ajbur\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\variants\STM32L452RE-ProffieboardV3/linker_scripts/STM32L452RE_FLASH.ld:224: warning: memory region `SRAM2’ not declared
lto-wrapper.exe: warning: using serial compilation of 11 LTRANS jobs
lto-wrapper.exe: note: see the ‘-flto’ option documentation for more information
C:/Users/ajbur/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: start of section .bss changed by 16
Sketch uses 327024 bytes (64%) of program storage space. Maximum is 507904 bytes.
Cannot open DFU device 0483:df1

dfu-util 0.9Cannot open DFU device 0483:df11
Last page at 0x0804fd77 is not writeable

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/

Opening DFU capable USB device…
ID 0483:df11
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 "
Downloading to address = 0x08000000, size = 327032
Failed uploading: uploading error: exit status 74

Here’s the link to my config file: https://drive.google.com/file/d/16xPY22jqiUAOyArj0Jx-aPMMUWySzdwc/view?usp=sharing

Any help would be much appreciated :slight_smile:

Hi there @Streen, I have a theory based on your log… I suspect the actual board might be a V2 not a V3.

Here’s what makes me think that:

  1. DFU handshake was good:
Opening DFU capable USB device... ID 0483:df11
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
  1. Failure was when it checked the address for what would be the last page needed for your 320KB but the bootloader said that address didn’t exist… this would be true if you’re on a 256KB V2 Proffieboard.
Downloading to address = 0x08000000, size = 327032
Last page at 0x0804fd77 is not writeable
  1. You got a comforting 64% message but that is based on the selection of V3 and doesn’t mean it is actually how much space you have. If this is a V2 you are over the space limit.
...\variants\STM32L452RE-ProffieboardV3\linker_scripts\STM32L452RE_FLASH.ld
Sketch uses 327024 bytes (64%) of program storage space. Maximum is 507904 bytes.

You might check with Sabertrio again to verify which board you have (if you can’t access the board enough to see the indicators). Hope this points you in the right direction!

1 Like

THANK YOU!!!

That was it. I was supposed to be on V2 and I WAS overflowing the board.

May the Force be with you, my friend.