STM Bootloader Driver for Windows 7 64-bit?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: STM Bootloader Driver for Windows 7 64-bit?

Post by dhylands » Mon Nov 16, 2015 6:09 pm

I'm slightly confused by your posts. You seem to be mixing terminology in a way that is non-sensical.

The STM32 has a DFU mode, which is entered by connecting the BOOT0 pin (labelled as DFU on the back of the pyboard) to 3.3v. The visual clue that the pyboard is in DFU mode is that the red/blue & yellow LEDs are dimly lit. It is also possible to enter DFU mode by using the command pyb.bootloader() from the MicroPython REPL.

When in non-DFU mode, MicroPython will be running and the REPL will be available.

You won't find the source code for DFU online. It's built into the STM32F405 ROM and can't be erased.

Due to the way windows drivers work, the driver for DFU mode and the driver for USB-serial mode (when MicroPython is running) are totally different drivers.

Peter.Kenyon
Posts: 70
Joined: Wed Oct 14, 2015 5:07 pm

Re: STM Bootloader Driver for Windows 7 64-bit?

Post by Peter.Kenyon » Tue Nov 17, 2015 7:32 am

fwiw, I'm a windows guy and I can say this all works as expected.
ie put the pyboard into dfu mode (hard or soft).
Run the sfu demo program.

danielm
Posts: 167
Joined: Mon Oct 05, 2015 12:24 pm

Re: STM Bootloader Driver for Windows 7 64-bit?

Post by danielm » Mon Feb 22, 2016 7:42 pm

I just experienced the same issue with Windows 7 64-bit not being able to find DFU driver automatically.

I found the driver in DfuSe installation directory and selected it manually in the driver update process.

In my case the driver is located in this directory:
C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.5\Bin\Driver\Win7\x64

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: STM Bootloader Driver for Windows 7 64-bit?

Post by dhylands » Mon Feb 22, 2016 9:49 pm

I installed dfuse and then put the board in dfu mode and it seemed to install things properly (window 7 - 64 bit)

Post Reply