|
Forum Index : Microcontroller and PC projects : Unix on the Pico Computer 3
| Author | Message | ||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2247 |
Peter I got claude getting USB going in micro-python as a CDC device and it is rock solid after sending a simple text via REP we transferred my 3.3Gig mp.3 collection to the USB stick and got it playing mp.3's with no drama's via USB. Now with my 10.1" IPS touch screen the USB Hub powers the monitor no problems and USB:touch was already in club.py so the touch was plug and play. Now if the work it did with the USB can assist you I can get it to push it to your github for your approval where some items are already there for you. Regards Bryan Edited 2026-09-01 18:17 by Bryan1 |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11815 |
do you mean a usb msc host? |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2247 |
I'm not sure on the terminology but on reading the manual for V.16 it clearly said using a USB was out now my early attempts did prove it so that is why I got claude to write it. I now have all the software on my computer where I cam make my own .uf2 firmware and I did put V.17 in my thread where BT and USB are now available at boot level. With the BT a script does look for a host and when the Flip 6 is pairing it connected before the ticker runs across the screen. Well it doesn't cost anything so if you want I will ask it in the morning to send all the USB data we have to you via your github. Regards Bryan |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2247 |
I'm not sure on the terminology but on reading the manual for V.16 it clearly said using a USB was out now my early attempts did prove it so that is why I got claude to write it. I now have all the software on my computer where I cam make my own .uf2 firmware and I did put V.17 in my thread where BT and USB are now available at boot level. With the BT a script does look for a host and when the Flip 6 is pairing it connected before the ticker runs across the screen. Well it doesn't cost anything so if you want I will ask it in the morning to send all the USB data we have to you via your github. Regards Bryan |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11815 |
My versions run the usb port in host mode. CDC is a client mode. If you are trying to use a usb flash drive then that is USB HOST MSC, nothing to do with CDC. I haven't implemented USB MSC because it is very slow which is caused by limitations in the RP2350/2040 sdk. |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2247 |
Peter I have had a play list going in the background and using the 10.1" touchscreen with no problems all running off the 4 port USB. Now before you ask no I havent done that mod on the usb chip as I use that one USB cable at time resume. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11815 |
Just realised you are talking about micropython and this is the Fuzix thread. Please keep things separate or I'll never keep control of the versions |
||||
| okwatts Regular Member Joined: 27/09/2022 Location: CanadaPosts: 86 |
Tried v.26 and now there are new problems with different messages. There are 2 photos one of the HDMI screen and the other on the console. This is for the Pico Computer 2 but similar has been seen for Pico Computer 3and there are time when the boot goes to completion but the USB keyboard is not recognized either plugging or unplugging or typing. ![]() |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 720 |
With V26, I get no response from the keyboard at all. V25 worked perfectly for me. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11815 |
I haven't announced v0.26 because it is still work in progress. If you jump the gun..... |
||||
| okwatts Regular Member Joined: 27/09/2022 Location: CanadaPosts: 86 |
Mea Culpa! |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 720 |
Et ego! |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11815 |
v0.26 is now available on https://github.com/UKTailwind/FUZIX/releases/tag/pc3-v0.26 This updates the version of TinyUSB to v0.21 and fixes bugs in that release. MMBasic functionality now includes the tilemap command and function and example programs include breakout.bas programmed using the tilemap command. |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 584 |
sorry, wrong thread, deleted .... Edited 2026-09-04 02:34 by ville56 73 de OE1HGA, Gerald |
||||
| okwatts Regular Member Joined: 27/09/2022 Location: CanadaPosts: 86 |
Hi Downloaded all the updates to fuzix and micropython. Tried these on the Pico Computer 2 and 3. Fuzix on PicoComputer 3 boots fine and works with USB keyboard. With PicoComputer 2, with USB keyboard attached gives USB panic and Core(0) Stalled messages as show in picture in previous post. If I disconnect USB keyboard and reboot and login from serial console then attach USB keyboard it is recognized and works properly. A reset or reboot gets to login without panic but USB keyboard is ignored. For Micropython on PicoComputer 2, USB keyboard works fine and never has any issues. When I try MMBasic 6.03.01 on a PicoComputer 2 with the USB keyboard attached it continues to reboot with the Activity Led flashing and the PSRAM message flashing as it reboots. If I remove the USB keyboard until it has booted and then attach it, it is recognized and works fine. Many signals which I hope will point to a problem with a solution for all. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11815 |
okwatts: can you confirm the pc3 is OK in all tests and this is a pc2 issue? Which version of the pc2 do you have - please post a pic of the area round the usb hub chip |
||||
| okwatts Regular Member Joined: 27/09/2022 Location: CanadaPosts: 86 |
Okay I did try a number of combinations. I have my one PicoComputer 3. I have 3 PicoComputer 2's that I have been using, 1 each for Fuzix, Micropython and MMBasic all from the same batch from JLCPCB. I will attach a photo of the Fuzix one. I think I found an issue that was occuring! In sorting through my various combinations I was consistent in my use of USB keyboard, HDMI and Headphones between all boards. The one thing that varied randomly was I had 2 USB C power cables. It appears that one of them (slightly thinner in diameter) was causing most of the grief. It didn't seem to affect the PicoComputer 3 but it did cause unpredictable behaviour on the 3 PicoComputer2 at least on powerup with the USB Keyboard. Once I had unplugged the USB keyboards and let them boot then inserting the USB keyboard worked across the MMBasic, Fuzix boards. It's possible that the power was not settled using the one suspect cable during startup. The other consistent difference for the PC2 boards was that when I ordered them JLCPCB were out of stock for the green diodes for LED3 and the Port indicators. I sourced them from LSMC and soldered them in myself. It is possible that my soldering was not the best especially for LED 3 which feeds the USB chip. In any event I include a picture of the area around the USB hub chip and will be careful with power/console cables and keep my fingers crossed that that is the end of the lesson and story. Apologies for my part in this mess. ![]() Edited 2026-09-04 07:44 by okwatts |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 2076 |
I am burning-in and testing my Pico Computer 3s, atm. I believe that I have experienced some strange behavior with the USB hub but nothing conclusive....might be nothing. I will be heading-over to my other place to grab a variety of devices to fully test. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |