STM32 discovery board with MicroPython

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
ashok449
Posts: 3
Joined: Wed Oct 22, 2014 6:20 am

STM32 discovery board with MicroPython

Post by ashok449 » Fri Aug 21, 2015 7:39 am

STM32 discovery board console Port driver
Hello All,
I started working/learning micripython using STM32F407 discovery board. The board I'm using is already with micropython (as my colleague used it earlier).

I connected board to Windows PC and in ST Link utility I see this:
12:24:40 : ST-LINK SN : 55FF72065075495446332087
12:24:40 : ST-LINK Firmware version : V2J23S0
12:24:40 : Connected via SWD.
12:24:40 : SWD Frequency = 1,8 MHz.
12:24:40 : Connection mode : Normal.
12:24:40 : Debug in Low Power mode enabled.

and Colored LEDs are blinking, Now I want to run few micropython commands on board.
I connected a different USB cable at CN5 and I don't see any COM port in device manager in windows. Need help.

As of now I don't have a Linux PC to flash new binary on to the board, that's the reason I'm trying on Windows PC

Thanks

User avatar
platforma
Posts: 258
Joined: Thu May 28, 2015 5:08 pm
Location: Japan

Re: STM32 discovery board with MicroPython

Post by platforma » Fri Aug 21, 2015 1:44 pm

I am not all to sure about how you have things set up, but if st utility recognizes the board you should be ready to go. There's also something called STLink/STM32 Virtual COM port driver which is required for the COM port to appear in the device manager. You can find the link from ST to download it if you google the name.

Give that a go if you don't already have it installed!

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

Re: STM32 discovery board with MicroPython

Post by dhylands » Fri Aug 21, 2015 4:23 pm

I've used the STM32F407 Discovery board in the manner described here:
https://github.com/micropython/micropyt ... -Discovery

i.e. connect a jumper wire from PA9 to 5V and plug in the USB cable to CN5 (the micro-USB connector). I use a jumper to put the board in DFU mode. When you build and when you deploy make sure that you specify the BOARD argument:

Code: Select all

make BOARD=STM32F4DISC
make BOARD=STM32F4DISC deploy

Post Reply