Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:32 25 May 2025 Privacy Policy
Jump to

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 : PicoMite V6.00.02 release candidates - all versions

     Page 46 of 47    
Author Message
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1193
Posted: 06:56pm 19 May 2025
Copy link to clipboard 
Print this post

  Quote  V6.00.02RC24


Just my experience with a virgin RPi Pico 2 (genuine)

@ 378MHz, sitting at the command prompt, USB keeps disconnecting/reconnecting. No matter MMC or TeraTerm.

Tried multiple cables, all the usual stuff.

@ 300MHz for the past 45mins with no problems.

Could well be an issue with this device, only just powered-up for the first time.

Will test other devices tomorrow.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2429
Posted: 08:12pm 19 May 2025
Copy link to clipboard 
Print this post

I got rpi pico 1 and 2 to work at 315000. isn't that the max?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4923
Posted: 08:19pm 19 May 2025
Copy link to clipboard 
Print this post

@Stan,

See first post. 640x480 @ 378 is an option.

@Peter,

RC4 looks good at RP2040 VGA design 2 (running 252MHz).

Volhout
PicomiteVGA PETSCII ROBOTS
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 396
Posted: 11:26pm 19 May 2025
Copy link to clipboard 
Print this post

  stanleyella said  I got rpi pico 1 and 2 to work at 315000. isn't that the max?


378000 is the max for Pico1 and 2 (except Web versions)
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 597
Posted: 01:54pm 20 May 2025
Copy link to clipboard 
Print this post

  toml_12953 said  
  stanleyella said  I got rpi pico 1 and 2 to work at 315000. isn't that the max?


378000 is the max for Pico1 and 2 (except Web versions)


This is only the max for a VGA or HDMI
420MHz is the max for a standard LCD Picomite.
I have one LCD Pico running at 416MHz and another @ 412MHz
Never have managed the full 420MHz reliably long term.
Regards Kevin
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2429
Posted: 06:57pm 20 May 2025
Copy link to clipboard 
Print this post

hmmm.manual option cpuspeed says
NOT ON HDMI VERSIONS
Change the CPU clock speed.
‘speed’ is the CPU clock in KHz in the range of 48000 to 378000.  Speeds
above 133MHz (150MHz for the RP2350) are regarded as overclocking as
that is the specified maximum speed of the standard Raspberry Pi Pico.
For VGA versions valid speeds are 126, 157.5, 252, 315, and 378MHz.
The default is 126MHz.  For other versions the CPU speed will default to
133000 (150000 for RP2350).  
This command must be run at the command prompt (not in a program).
using hdmi usb rpi2340
RUN
> option cpuspeed 378000
Error : Invalid Option
>

I think I'm to old for mmb. can't keep up. must try harder.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7606
Posted: 07:04pm 20 May 2025
Copy link to clipboard 
Print this post

AFAIK you can't change the CPU speed like that on an HDMI version. It's decided by the firmware depending on the HDMI mode.
Edited 2025-05-21 05:05 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2429
Posted: 07:40pm 20 May 2025
Copy link to clipboard 
Print this post

Mick using
> option list
PicoMiteHDMI MMBasic USB RP2350A Edition V6.00.02b0
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION AUTORUN  ON
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD UK, 0, 0, 600, 150
OPTION CPUSPEED (KHz) 315000
OPTION SDCARD GP22, GP6, GP7, GP4
OPTION AUDIO GP0,GP1', ON PWM CHANNEL 0
>this works but maybe need newer manual
thanks for replies
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 597
Posted: 08:16pm 20 May 2025
Copy link to clipboard 
Print this post

Hi Peter,
I have my portable Picomite with a ILI9488 LCD display. (480x320)
I've been using the command OPTION LCD320 ON
while testing the LCD version of the Chess client, in 320x240 mode.
I've now installed RC24 and now get an error.
Error : Only available on 16-bit SSD1963 and IPS_4_16 displays in Lands
Is this likely to stay this way, because I do use LCD320 mode on this display.
Regards, Kevin.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2429
Posted: 08:53pm 20 May 2025
Copy link to clipboard 
Print this post

looking at vga pico and it's set higher. thinking of using it again. vga lets you input sound via 3.5 coax. hdmi don't
 Connected to COM9 at 115200
option list
PicoMiteVGA MMBasic USB RP2350A Edition V6.00.02b8
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD UK, 0, 0, 600, 150
OPTION CPUSPEED (KHz) 378000
OPTION SDCARD GP13, GP10, GP11, GP12
OPTION AUDIO GP0,GP1', ON PWM CHANNEL 0
>what's better hdmi or vga?
Edited 2025-05-21 06:54 by stanleyella
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7606
Posted: 09:30pm 20 May 2025
Copy link to clipboard 
Print this post

No MMBasic Pico system lets you input sound. There is no A/D converter in the Pico. It might be that your monitor has an audio input that only works when VGA video is being used, but that's a different thing. You can get VGA-HDMI converters that have an audio input, but you are stuck with VGA video modes then. DVI doesn't carry audio, HDMI does. That's only one of the differences. The Pico provides DVI, not HDMI.

The Pico firmware is now optimised for DVI/HDMI displays and you'll almost always get better performance using that rather than VGA. The DVI displays are much more flexible.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2429
Posted: 11:03pm 20 May 2025
Copy link to clipboard 
Print this post

using vga for lisajours1.bas as ref with vga and and mode 3 I found a while back. luvvin it.so spent time making hdmi 2350 ... after going back to vga is it bad on 2350a compared to hdmi? both usb 2350
vga seems faster than hdmi..?

 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1193
Posted: 06:33am 21 May 2025
Copy link to clipboard 
Print this post

  PhenixRising said  
  Quote  V6.00.02RC24


Just my experience with a virgin RPi Pico 2 (genuine)

@ 378MHz, sitting at the command prompt, USB keeps disconnecting/reconnecting. No matter MMC or TeraTerm.

Tried multiple cables, all the usual stuff.

@ 300MHz for the past 45mins with no problems.

Could well be an issue with this device, only just powered-up for the first time.

Will test other devices tomorrow.


Quick update: My genuine Pico 2 appears to not like 378MHz when it comes to the console/terminal link.

My "Tiny 2350" has had no problem after being connected for > 24 hours.  
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10094
Posted: 06:41am 21 May 2025
Copy link to clipboard 
Print this post

  Quote  I have my portable Picomite with a ILI9488 LCD display. (480x320)
I've been using the command OPTION LCD320 ON
while testing the LCD version of the Chess client, in 320x240 mode.
I've now installed RC24 and now get an error.
Error : Only available on 16-bit SSD1963 and IPS_4_16 displays in Lands
Is this likely to stay this way, because I do use LCD320 mode on this display.


This functionality was a cludge for the SPI displays with a number of holes so I removed it. I may do it properly at a later date. In the meantime you can use

POKE DISPLAY HRES n
POKE DISPLAY VRES n


These do exactly the same thing (with the same holes)
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 597
Posted: 08:12am 21 May 2025
Copy link to clipboard 
Print this post

  Quote  
POKE DISPLAY HRES n
POKE DISPLAY VRES n


These do exactly the same thing (with the same holes)


Ok thanks Peter, I'll try that, should do me for now, I'll hope for a 'proper' solution in the future. :-)
Regards Kevin.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4923
Posted: 10:37am 21 May 2025
Copy link to clipboard 
Print this post

@Peter,

Kevin has a version of his chess client running on a 480x320 LCD.
In this chess client he uses framebuffer F to build the screen image, and then with framebuffer copy he updates the LCD.

His client uses graphics, and text using a PRINT statement. Using the COLOR command to color the text. This works fine on his 480x320 display.

When I run this same code on a 320x240 (ILI9341) display, I get no text, but I do see the graphics. It seems the PRINT for text does not work on framebuffers. TEXT however works. See below. Only the text "Bye World" is shown (and the line).

 'write to LCD
 
 FRAMEBUFFER Create
 FRAMEBUFFER Write f
 
 cls
 line 50,50,100,100
 print @(10,10)"Hello world"
 text 10,30,"Bye World"
 framebuffer copy f,n
 
 end


Using PRINT on framebuffer F also did not work on 5.09.00rc5, so it has been there for a long time. But how does it work on 480x320.? And how does it work on VGA. Because in VGA you can print to the framebuffer.

I will adapt the chess client to use TEXT instead of the old PRINT.

Volhout
.
Edited 2025-05-21 20:41 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10094
Posted: 10:47am 21 May 2025
Copy link to clipboard 
Print this post

It works if OPTION LCDPANEL CONSOLE is set. Print only works to a local display or framebuffer is the device is in console mode. Of course a VGA system always has this enabled,
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4923
Posted: 10:57am 21 May 2025
Copy link to clipboard 
Print this post

OK, that is why the Game*Mite did not work. Tom avoids OPTION CONSOLE to make sure the display only shows text that is designed to be there, and not any debug messages.
A reason more to re-write the code to TEXT.

Volhout
.
Edited 2025-05-21 20:58 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 597
Posted: 11:09am 21 May 2025
Copy link to clipboard 
Print this post

  Quote  
I will adapt the chess client to use TEXT instead of the old PRINT.

Volhout
.

Hi Harm,
I've almost finished doing it, will upload some time today.
Regards Kevin.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4923
Posted: 11:55am 21 May 2025
Copy link to clipboard 
Print this post

Done, see other thread
I also changed colors
I also updated the INPUT, so each character is display while typed.

Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 46 of 47    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025