PreenFM > preenfm2 and preenfm3
[Solved] preenfm3 bootloader flashing problem OSX
(1/1)
lokki:
hi there when i try to flash the bootloader i get this on osx:
--- Code: ---XXXX:pfm3_firmware_0.91 lokki$ dfu-util -a0 -d 0×0483:0xdf11 -D p3_boot_1.01.bin -R -s 0×8000000
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/
dfu-util: 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 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 1024
dfu-util: Invalid dfuse address: 0×8000000
--- End code ---
if i do dfu-util -l i get:
--- Code: ---xxxxxx:pfm3_firmware_0.91 lokki$ 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=0200, devnum=9, cfg=1, intf=0, path="20-2", alt=1, name="@Option Bytes /0x5200201C/01*128 e", serial="200364500000"
Found DFU: [0483:df11] ver=0200, devnum=9, cfg=1, intf=0, path="20-2", alt=0, name="@Internal Flash /0x08000000/16*128Kg", serial="200364500000"
xxxx:pfm3_firmware_0.91 lokki$
--- End code ---
so are the docs wrong or is something strange with my preenfm3? i just don't want to mess anything up :-)
lokki:
ok, by looking at this, i guess the docs are indeed wrong...(page 6)
https://www.st.com/content/ccc/resource/training/technical/product_training/group0/1f/4f/b7/85/91/e0/4d/2f/STM32H7-Memory-Flash_FLASH/files/STM32H7-Memory-Flash_FLASH.pdf/_jcr_content/translations/en.STM32H7-Memory-Flash_FLASH.pdf
Xavier:
--- Quote from: lokki on October 17, 2020, 04:56:03 PM ---so are the docs wrong or is something strange with my preenfm3? i just don't want to mess anything up :-)
--- End quote ---
You cannot mess up anything, the preenfm2/3 cannot be bricked.
The error in the doc is the symbol x in the address. It should have been a regular X and it was a weird characater. Sorry.
I just fixed the doc. I also removed -R which was useless.
The firmware zip files contained the correct command which are :
--- Code: ---dfu-util -a0 -d 0×0483:0xdf11 -D p3_boot_1.01.bin -s 0x8000000
dfu-util -a0 -d 0×0483:0xdf11 -D p3_0.3.bin -s 0x8020000
--- End code ---
Navigation
[0] Message Index
Go to full version