Pyboard does not show as USB device

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.
lexjam5
Posts: 4
Joined: Tue Jan 29, 2019 10:09 pm

Re: Pyboard does not show as USB device

Post by lexjam5 » Sat Feb 02, 2019 8:40 pm

Is there actual support for the the Micropy boards, leaving support to a forum is not Support!

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

Re: Pyboard does not show as USB device

Post by Roberthh » Sat Feb 02, 2019 8:55 pm

- Just connecting a Pyboard to USB and working with REPL will not damage it, especially not permanently. You can always recover by erasing the flash and loading anew flash image. This is definitely better than chkdsk.
- USB cables are a constant source of trouble. Take care that you use good cables.
- Attaching the pyboard as file system is also error prone, as you can read in the forum at many places. The reason is, that the PyBoard is attached as mass storage device, but normal mass storage devices have not the ability to do file operations. If you Python code does that, then inconsistencies (=corrupted file system) are to be expected. The only safe method is to disable the mass storage mode in boot.py and use tools like rshell or ampy for file transfer. After I did that, i had never problems with the Pyboard file system again.
- Windows is a pain in that it seems to constantly reassign the pyboard to different com ports. Using rshell helps, because rshell will find the device's com port assignment.

And yes, the forum is an excellent resource for solving problems, both by the amount of collected information and the forum members.

lexjam5
Posts: 4
Joined: Tue Jan 29, 2019 10:09 pm

Re: Pyboard does not show as USB device

Post by lexjam5 » Wed Feb 06, 2019 1:45 pm

I looked up rshell and that is something that I would not put onto my computer!

A support forum might be nice to yack on but it should Never be the Only or the Primary Support. Forum support is never focused on the problem and take for ever to get an answer. To have support function to be left to a community form means that the manufacturer has no resources or does not want to allocate resources to supporting a product!

As we can see there is no solution for this problem yet and it looks like there won' be any time soon.

No need to reply to my comment as I won't be back, But stay tunened as I am having a Forth system ported over to the Micro Py hardware.

lexjam5
Posts: 4
Joined: Tue Jan 29, 2019 10:09 pm

Re: Pyboard does not show as USB device

Post by lexjam5 » Wed Feb 06, 2019 2:28 pm

And for the Pure Python users I have seen Forth Written in Python in about 2 pages of Source Code. And I have seen an Assembler written in Forth in one page of Forth Source code, an Assembler written in Python should be about the same.

I am 73 years old so I don't have infinite time, I want a tool that just works - Now, When I was 30, 40, 50, I felt like spending more time to get things to work. The programming language is not my focus, the process that it will control is the focus of my efforts. The Language is a Tool to use to accomplish a mission.

Now off to the races, Good Luck to All.

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

Re: Pyboard does not show as USB device

Post by Roberthh » Wed Feb 06, 2019 2:37 pm

Good bye, and have a good time.

A few decades ago i had a short contact with Forth. That's when it surfaced. It wasn't my language. But I had friends who were really exited, using it on an Exidy/Tulip Sorcerer computer. Forth might have improved since then. Being able to solve tasks in as few as possible source code characters did not seem to be an advantage for me, epsecially when it comes to maintenance.

Tifanofauvo
Posts: 1
Joined: Sat Jul 17, 2021 9:43 pm

Re: Pyboard does not show as USB device

Post by Tifanofauvo » Sat Jul 17, 2021 9:51 pm

I had the same issue with my pyboard.
I tried to upgrade my pyboard because I was not able to use the REPL mode.
After I upgrade the firmware nothing was working, the pyboard was not recognized as a USB device.
It turns out I was flashing the wrong firmware to my pyboard. I was using a pyboard 1.0 firmware in 1.1 board.
As soon as I flash the correct firmware all came back to normal. Not the REPL mode though. I'm still working on that.
Baby steps.. baby steps..

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Pyboard does not show as USB device

Post by jimmo » Mon Jul 19, 2021 2:11 am

Tifanofauvo wrote:
Sat Jul 17, 2021 9:51 pm
As soon as I flash the correct firmware all came back to normal. Not the REPL mode though. I'm still working on that.
Two ideas:
- Do a full erase flash before flashing the new firmware.
- Try holding down the USR button on power on, and release when both orange and green LEDs are lit. This will erase the filesystem.

Post Reply