pyboard is dead, why

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
mhwang1973
Posts: 9
Joined: Tue Jul 11, 2017 9:35 am

pyboard is dead, why

Post by mhwang1973 » Thu Nov 23, 2017 2:00 pm

HI,ALL,
I test pyb.stop() at the end of my main.py, but maybe it make my pyboard dead, because it becomes to be "an unknown device". I have redownloaded firmware of micropython, but no use. accturely, only DFU mode can be recognized.
I don't know why, and how can I deal with it?

thanx in advance.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: pyboard is dead, why

Post by Roberthh » Thu Nov 23, 2017 2:21 pm

pyb.stop() just sets the device temporarily into a low power mode. After reset, it should work again normally. After reloading the formware, did you remove the jumper between the boot and 3.3V pin? And if you are using Windows, did you check that not only the COM port changed?

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

Re: pyboard is dead, why

Post by dhylands » Fri Nov 24, 2017 6:30 am

Also make sure that you're using PYBv1.1 firmware on a PYBv1.1 board, and V1.0 firmware on a v1.0 board.

Flashing the wrong version will cause USB to not work.

mhwang1973
Posts: 9
Joined: Tue Jul 11, 2017 9:35 am

Re: pyboard is dead, why

Post by mhwang1973 » Fri Nov 24, 2017 11:06 am

Thanx to all.

I built the firmware by gcc-arm myself. Yesterday I downloaded the firmware.dfu by DFU deploying. Today, I downloaded the firmware.hex by J-link. There was no change.

Then I was afraid that there was a hardware failure, I decided to download a test.hex to light the LED. After downloading, the board was working as usually. So I downloaded the firmware.hex again by J-Link. Success!
The Pyboard USB device is back. Everything is all right now.

It is amazing.

and thanks for your reply again.

Post Reply