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.
pyboard is dead, why
Re: pyboard is dead, why
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?
Re: pyboard is dead, why
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.
Flashing the wrong version will cause USB to not work.
-
- Posts: 9
- Joined: Tue Jul 11, 2017 9:35 am
Re: pyboard is dead, why
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.
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.