Page 2 of 2

Re: Pyboard does not show as USB device

Posted: Sat Feb 02, 2019 8:40 pm
by lexjam5
Is there actual support for the the Micropy boards, leaving support to a forum is not Support!

Re: Pyboard does not show as USB device

Posted: Sat Feb 02, 2019 8:55 pm
by Roberthh
- 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.

Re: Pyboard does not show as USB device

Posted: Wed Feb 06, 2019 1:45 pm
by lexjam5
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.

Re: Pyboard does not show as USB device

Posted: Wed Feb 06, 2019 2:28 pm
by lexjam5
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.

Re: Pyboard does not show as USB device

Posted: Wed Feb 06, 2019 2:37 pm
by Roberthh
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.

Re: Pyboard does not show as USB device

Posted: Sat Jul 17, 2021 9:51 pm
by Tifanofauvo
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..

Re: Pyboard does not show as USB device

Posted: Mon Jul 19, 2021 2:11 am
by jimmo
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.