Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : How to set up a Pico 2 (Pimoroni Plus 2 or RPI) on Olimex-PICO-PC
Author | Message | ||||
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2817 |
I have started this thread rather than dilute other existing RP2350 threads!! Essentially I am confused with how to configure and change the MMBASIC OPTIONs - namely PLATFORM and CPUSPEED. End game is to test the various HDMI outputs for both the Pimoroni Plus 2 and for the standard RPI Pico 2 noting the various 'limitiations' dotted throughout several other threads (i.e. 720P needs CPUSPEED 372000 but Pimoroni limited to 315000). Being fortunate enough to have multpile Pico 2's of both models, and also multiple Olimex modules (RP2040-PICO-PC), I am able to avoid needing to keep plugging the various parts in and out of each other. Another big benefit is that any silly mistakes in wiring/connectivity between the Pico 2 and the uSD socket and HDMI socket have been eliminated. Currently I am trying to configure a standard RPi Pico 2 which has the HDMI b6 firmware installed (non USB). I used OPTION RESET OLIMEX and the following options have been automatically set: At this point, things appear to be as expected; and indeed I am able to read a uSD card inserted into the Olimex SD socket. However, I now want to change to the recommended 372000 speed for testing HDMI at 720P but on doing so I get the following error: So, this error made me think that maybe 372000 is just the 'theoretical speed' and hence I need to set it to the valid value of 378000 from the list - however, it now shows this error: Note the 372000 value in the above error message which I had just previously tried. So, now I'm thinking it is because PLATFORM is set to OLIMEX and perhaps it should be set to HDMIBasic instead. I typed OPTION RESET HDMIBASIC holding out hope it would let me set the cpuspeed value needed for 720P but I noticed the SD pins changed (shown in next image below) so decided to go back to OPTION RESET OLIMEX (hence SD pins now correct once again). [Peter: Note Platform shows 'HDMIbasic' with a lowercase 'b' - trivial, just letting you know] Then having typed OPTION RESET OLIMEX, I thought how about just changing the PLATFORM option to HDMIBasic (leaving the SD pins as they should be). All looked good, so went ahead and changed CPUSPEED once again to 372000 and up popped the same error messages as above concerning invalid speed value (having tried 378000 too). PLEASE can anyone tell me what I need to do to try 720P HDMI as at the moment I seem to be stuck in a 'loop' of contradicatory error messages relating to CPUSPEED. THANKS...... For everything Micromite visit micromite.org Direct Email: whitewizzard@micromite.o |
||||
Sasquatch Guru Joined: 08/05/2020 Location: United StatesPosts: 362 |
Option widescreen on or Option widescreen enable This command will automatically set the CPU speed to 372000 PicoMiteHDMI MMBasic Version 6.00.00b6 OPTION FLASH SIZE 4194304 OPTION KEYBOARD US OPTION CPUSPEED (KHz) 372000 OPTION DISPLAY 22, 40 OPTION HDMI PINS 1, 3, 7, 5 OPTION WIDESCREEN ENABLE OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLIMEX OPTION DEFAULT FONT 3, 1 -Carl |
||||
Print this page |