Author Topic: Flashing bootloader  (Read 112 times)

STØJ

  • Team member
  • *
  • Posts: 3
    • View Profile
Flashing bootloader
« on: March 04, 2018, 12:57:45 PM »
Hi. I am trying to flash bootloader on my new built PreenFM2 from Pusherman FB group. I get following message when I try to flash bootloader following instructions from PreenFM2 homepage. What am I doing wrong here? 

C:\preenfm2-2.08a\build>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="3-1.7", alt=3, n
ame="@Device Feature/0xFFFF0000/01*004 e", serial="3160397F3034"
Found DFU: [0483:df11] ver=2200, devnum=5, cfg=1, intf=0, path="3-1.7", alt=2, n
ame="@OTP Memory /0x1FFF7800/01*512 e,01*016 e", serial="3160397F3034"
Found DFU: [0483:df11] ver=2200, devnum=5, cfg=1, intf=0, path="3-1.7", alt=1, n
ame="@Option Bytes  /0x1FFFC000/01*016 e", serial="3160397F3034"
Found DFU: [0483:df11] ver=2200, devnum=5, cfg=1, intf=0, path="3-1.7", alt=0, n
ame="@Internal Flash  /0x08000000/04*016Kg,01*064Kg,07*128Kg", serial="3160397F3
034"

C:\preenfm2-2.08a\build> dfu-util -a0 -d 0x0483:0xdf11 -D p2_boot_1.11.bin -R -s
 0x8000000
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 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
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 = 92112
Download        [                         ]   0%            0 bytesERASE_PAGE no
t correctly executed

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 1286
    • View Profile
Re: Flashing bootloader
« Reply #1 on: March 04, 2018, 06:09:35 PM »

Hi,
dfu-util message are never very clear.
So it stops immediatly at 0% ?



STØJ

  • Team member
  • *
  • Posts: 3
    • View Profile
Re: Flashing bootloader
« Reply #2 on: March 04, 2018, 06:42:24 PM »
Yes. It always stops at 0%

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 1286
    • View Profile
Re: Flashing bootloader
« Reply #3 on: March 04, 2018, 08:23:18 PM »
Weird... I never had this problem.
Did you solder the preenf405 yourself or is it a genuine one ?

STØJ

  • Team member
  • *
  • Posts: 3
    • View Profile
Re: Flashing bootloader
« Reply #4 on: March 04, 2018, 08:38:15 PM »
I have solder it myself.