![]() |
Forum Index : Microcontroller and PC projects : PicoMite V5.07.00b0 - beta firmware
![]() ![]() |
|||||
Author | Message | ||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1958 |
Thanks Peter. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
panky![]() Guru ![]() Joined: 02/10/2012 Location: AustraliaPosts: 1111 |
Regarding documentation, I realise that this is still beta territory but can I put in a request that the final user manual for the Pico be along the lines of Gerry's excellent F4 manual. It is a real PITA having to hunt through several manuals for an answer instead of one consolidated manual covering the hardware and MMBasic. I understand that the maintenance of keeping 'in step' with other manuals and developments is substantial but from a users perspective, hunting through several manuals can get frustrating and error prone. Even a composite MMBasic manual that indicates which platform a particular command or function applies would be an improvement. mixtel90's TINAM is great for the developing Pico scene, thanks - it has been of great assistance to me. I would be willing to take on the task of a complete manual for the Pico if no one else is in the process/intending to produce such a manual. Thanks to Peter for a really exiting new member of the 'mite family. Doug. ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6210 |
My On-line reference is an attempt to do that. https://www.c-com.com.au/mmhelp/index.htm It's the same as what comes with MMEdit with the advantage that I can update each page at any time. I still have to address the PicoMite so no advantage for your current predicament. Jim VK7JH MMedit |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7458 |
As far as I'm aware the PicoMite manual will be a single document, including the PIO stuff as an appendix. Beware that the pinout diagram in the current TINAM is wrong - I screwed up all the SPI pins somehow! Still, nobody noticed... :) Unless there's a demand for it I'm not intending to correct or update TINAM now. It's done its job, I think, and will be made redundant by the official manual. So grab your final "Collector's Edition"s now, while there's some left! :) Edited 2021-09-16 16:56 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3988 |
Maybe fix the pinout diagram for the "Ultimate Collector's Edition"? John |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7458 |
And lose it's lovely "Arts & Crafts" feel? ![]() Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4811 |
Mick, I used your pin diagram to connect the SD card to the pico. And it worked... It is connected to pins 21,22,24,25 Maybe I was lucky.... PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7458 |
If you use OPTION SDCARD a,b,c,d it will work fine, providing those pins don't clash with SYSTEM SPI. That's because the SD card is software driven. If you use OPTION SYSTEM SPI a,b,c OPTION SDCARD d then it may not unless you got a,b &c right by some fluke. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1958 |
Iam still having problems, bought a new 16GB card. In MMEdit I get this... ![]() but when I try to save a file I get an error.. Error : A hard error occurred in the low level disk I/O layer > Warning: SDcard Removed Edit..I moved the sdcard away from the System SPI to pins 21, 22, 24, 25 Edited 2021-09-17 07:48 by palcal "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6210 |
Plug the SDcard int your PC and copy files that way. Then see if you can read them in the pico. Next try to save from the pico command line. If any of those fail, XMODEM is definitely going to fail. Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6210 |
Try this program: open "test.txt" for output as #2 for n = 1 to 100 print #2, "line number "+str$(n) next n close #2 pause 1000 open "test.txt" for input as #2 do input #2,t$ print t$ loop until eof(#2) Also, what CPUspeed do you have set? Jim VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1958 |
I loaded a file to the card on my PC and it shows up in the Pico but if I try to load the file it gives error 'Cannot find the file'. CPU speed is defaule 125000 I loaded your program and got the error 'A hard error occurred in the low level disk I/O layer' "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1958 |
I slowed the CPU down to 48000 and it is working OK. Thanks. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7458 |
Interesting... I've been running SD cards fine even up to top speed on system spi. The PicoMite still uses software access anyway - it swaps the pins to normal digital for SD access then returns them so hardware spi. You might have an oddball card. It's also possible that your supply voltage is a bit dodgy. Some SD cards appreciate at least a capacitor across their supply pins to work properly, sometimes with a low value resistor in series with the supply. It might be worthwhile putting something up to 10uF as close as possible to the SD card, say 2.2uF tantalum. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 9992 |
Definitely sounds like a H/W issue somewhere. Do you have pullups on the SPI pins? these are not needed. As Mick suggests a 2R2 resistor into a 10uF capacitor across the power pins of the SDcard may help. Like him I always run at CPUSPEED 250000 and have not seen SDcard issues despite multiple versions of hack wiring. As always, start simple. Remove all connections to the Pico except the SDcard until that is working and then build from there |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1958 |
Seems OK now, I think maybe bad connection in card holder. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7458 |
Excellent. ![]() Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3298 |
Great tweak, Tom, thanks. Here's an updated video: Picomite MMBasic fileview Link to original post with code needing Tom's enhancement Picomite on Fruit of the Shed ~ Edited 2021-12-16 01:53 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7458 |
That's much better! :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
![]() ![]() |
![]() |