Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:27 09 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 betas

     Page 13 of 23    
Author Message
mozzie
Senior Member

Joined: 15/06/2020
Location: Australia
Posts: 109
Posted: 05:25pm 08 Feb 2025
Copy link to clipboard 
Print this post

Thanks Peter,
Using 05.08.00 and the Onewire routines for testing so all is good  

Regards,
Lyle.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2394
Posted: 09:01pm 08 Feb 2025
Copy link to clipboard 
Print this post

  cosmic frog said  B:
PLAY MP3 "dirname"

Just reflashed with the VGA Version and got this error - "Error: Invalid address - resetting".

Run it again and it came up with this - "Error : VS1053 not properly installed!"

> option list
PicoMiteVGA MMBasic RP2350A Edition V6.00.02b8
OPTION FLASH SIZE 4194304
OPTION KEYBOARD US
OPTION CPUSPEED (KHz) 252000
OPTION SDCARD GP13, GP10, GP11, GP12
OPTION AUDIO GP6,GP7', ON PWM CHANNEL 3

Dave.

OPTION SDCARD GP13, GP10, GP11, GP12
reset usb vga and same sdcard pins but forgot order and sdcard is soldered so dunno what pin is what but works b: files
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2394
Posted: 09:21pm 08 Feb 2025
Copy link to clipboard 
Print this post

> 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

> b:
> files
B:/
23:15 07-09-2015    5920096  03 - Heroes.mp3
21:36 03-10-2024   65256506  03 - Heroes.wav
19:05 28-07-2020    8802830  adele,tupac,eminem.mp3
21:37 03-10-2024   67081508  adele,tupac,eminem.wav
17:38 28-07-2020    8444268  Biggie,Adele,Tupac.mp3
21:38 03-10-2024   65642084  Biggie,Adele,Tupac.wav
22:16 28-07-2020    5338459  biggie.johnny cash.mp3
21:35 03-10-2024   39577644  biggie.johnny cash.wav
01:11 01-01-2000          0  bootcount
16:48 30-08-2024      44556  sfx-bg.mod
20:35 20-03-2020   49501189  THENOT~1.MP3
21:40 03-10-2024  363818330  THENOT~1.WAV
00:51 31-08-2015    5358571  Track 1 (7).mp3
21:40 03-10-2024   39382504  Track 1 (7).wav
18:49 28-07-2020    7598885  tupac,eminem.mp3
21:41 03-10-2024   54718580  tupac,eminem.wav
0 directories, 16 files
>
motto is keep a text copy of your option files  
Edited 2025-02-09 07:25 by stanleyella
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 219
Posted: 09:34pm 08 Feb 2025
Copy link to clipboard 
Print this post

Test PicoMite MMBasic RP2040 Edition V6.00.02b9 with I2S
Excellent sound with PCM5102A I2S DAC and Multi-point Bluetooth Transmitter and headphones.
Only playing .mp3 files does not work. Test up GP28 and GP5.

[4] Play mp3 "B:/mp3/jazz-intro-251968.mp3"
Error : Only available with VS1053 audio

Greetings,

Jan

> option list
PicoMite MMBasic RP2040 Edition V6.00.02b9
OPTION SYSTEM SPI GP10,GP11,GP24
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION HEARTBEAT OFF
OPTION PICO OFF
OPTION CPUSPEED  252000 'KHz
OPTION DISPLAY 43, 89
OPTION LCDPANEL ST7789_135, RLANDSCAPE,GP8,GP12,GP9,GP25
OPTION SDCARD GP23, GP18, GP19, GP20
OPTION AUDIO I2S GP2,GP28', ON PWM CHANNEL 1
OPTION PLATFORM RP2040-GEEK
> list pins
GP0      1      OFF
GP1      2      OFF
GP2      4      Boot Reserved : I2S BCLK
GP3      5      Boot Reserved : I2S LRCK
GP4      6      OFF
GP5      7      OFF
GP6      9      OFF
GP7      10     OFF
GP8      11     Boot Reserved : LCD DC
GP9      12     Boot Reserved : LCD CS
GP10     14     Boot Reserved : SPI SYSTEM CLK
GP11     15     Boot Reserved : SPI SYSTEM MOSI
GP12     16     Boot Reserved : LCD Reset
GP13     17     OFF
GP14     19     OFF
GP15     20     OFF
GP16     21     OFF
GP17     22     OFF
GP18     24     Boot Reserved : SD CLK
GP19     25     Boot Reserved : SD MOSI
GP20     26     Boot Reserved : SD MISO
GP21     27     OFF
GP22     29     OFF
GP23     41     Boot Reserved : SD CS
GP24     42     Boot Reserved : SPI SYSTEM MISO
GP25     43     Boot Reserved : LCD BACKLIGHT
GP26     31     OFF
GP27     32     OFF
GP28     34     Boot Reserved : I2S DATA
GP29     44     OFF
> memory
Program:
  1K ( 1%) Program (7 lines)
127K (99%) Free

Saved Variables:
 16K (100%) Free

RAM:
  0K ( 0%) 0 Variables
  0K ( 0%) General
156K (100%) Free
> run
[4] Play mp3 "B:/mp3/jazz-intro-251968.mp3"
Error : Only available with VS1053 audio
> list
Play volume 40,40
'Play tone 200, 200
'Play wav "B:/wav/tet16cut.wav"
Play mp3 "B:/mp3/jazz-intro-251968.mp3"
'Play sound 1, B, S, 1000, 5
Pause 60000
End
>
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 259
Posted: 09:35pm 08 Feb 2025
Copy link to clipboard 
Print this post

Hello,

I got some issues with the latest beta on a RP2040USB:

when executing "backlight 50,default" it works for the moment but after a restart the only output is: "Error : Syntax" and then locks up. I can then only help myself by clearing the flash and start all over.

My RTC DS3231 works for the moment and after a restart it is resetted to default.
The battery is fine and it happens as well after a "cpu restart" without power cycling.

I got a keyboard attached. In this version it says "unknown device detected....." followed by a column of hex addresses. This is not nice but might be due to the beta..
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10062
Posted: 09:36pm 08 Feb 2025
Copy link to clipboard 
Print this post

  Quote  Play mp3 "B:/mp3/jazz-intro-251968.mp3"
Error : Only available with VS1053 audio

Correct: RP2040 doesn't have enough memory or CPU to decode MP3
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 219
Posted: 09:49pm 08 Feb 2025
Copy link to clipboard 
Print this post

Peter,

Thank you for the quick response. I already had a suspicion and was correct.

Greetings,

Jan
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 528
Posted: 10:23pm 08 Feb 2025
Copy link to clipboard 
Print this post

I think I found another bug,

(PicoMite VGA with PS/2 mouse and PS/2 keyboard) RP2350A V6.00.02b8


OPTION MOUSE GP27,GP28


I REALLY like and use the PS/2 mouse feature in the editor, but if any program executes in MODE 3 and I EDIT again, the mouse function is dead. If I change to MODE 1 or MODE 2 it works again.

Not related to a specific program, but it is a bit annoying to manually type "mode 1 or mode 2" after my executed program runs in mode 3...

So just minor bug (if so)....

P.S.: Only thing I am missing in the editor is scrolling one step down / up via mouse scrollwheel    But maybe there is a reason why this isn't implemented.

Greetings
Daniel
Edited 2025-02-09 09:13 by Amnesie
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10062
Posted: 08:26am 09 Feb 2025
Copy link to clipboard 
Print this post

  Quote  I think I found another bug,

No - this is a limitation.
The mouse only works in the editor in mode 1. This is because it uses the tile mechanism do do the highlighting. If you are in mode 2 the editor automatically switches to mode 1 during the edit hence that also works.

  Quote  when executing "backlight 50,default" it works for the moment but after a restart the only output is: "Error : Syntax" and then locks up. I can then only help myself by clearing the flash and start all over.


Please provide more info - full list of options
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 08:44am 09 Feb 2025
Copy link to clipboard 
Print this post

  matherp said  If you are in mode 2 the editor automatically switches to mode 1 during the edit hence that also works.


Is there a technical reason why regardless of current mode, the Editor can’t always switch to Mode 1?

Then rather than a limitation, the user will always have the mouse functionality.
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 528
Posted: 09:52am 09 Feb 2025
Copy link to clipboard 
Print this post

  WhiteWizzard said  
  matherp said  If you are in mode 2 the editor automatically switches to mode 1 during the edit hence that also works.


Is there a technical reason why regardless of current mode, the Editor can’t always switch to Mode 1?

Then rather than a limitation, the user will always have the mouse functionality.


Yep! This is what I was asking / want to know.
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 293
Posted: 10:08am 09 Feb 2025
Copy link to clipboard 
Print this post

Lastest beta I used with my HDMI/USBR/P2350 was 02b4

Now tried 02b9 and get this https://youtube.com/shorts/HG7AB6jSCKU?feature=share

flash clear/upload/cable change, connect keyboard directly (not using hub) does not change this behaviour. Returning to 02b4 and all works again.
My MMBasic 'sand box'
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 10:14am 09 Feb 2025
Copy link to clipboard 
Print this post

@Peter

Used ‘LIST PINS’ for the first time just now - very useful indeed  

Just asking: would it be trivial to add a ‘PRESS ANY KEY …’ prompt as currently it scrolls up so you can’t then see the start of the list (I.e. in the same way that you currently prompt when using LIST for a  ‘long’ program when it reaches the bottom of the screen.

ALSO seen again a small cosmetic-bug with a font size change (font gets bigger at the command prompt) after LIBRARY SAVE (b8 HDMI)
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10062
Posted: 10:54am 09 Feb 2025
Copy link to clipboard 
Print this post

V6.00.02b10 now available

https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip

Removes diagnostic print in USB connect
Fixes bug in LINE PLOT
Changes initialisation of HDMI pins
For VGA version the I2S PIO now shares with the VGA PIO (PIO0) so PIO 1 is available for use in MMBasic
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4851
Posted: 11:19am 09 Feb 2025
Copy link to clipboard 
Print this post

Peter,

Thanks, I love PIO

Volhout
PicomiteVGA PETSCII ROBOTS
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 11:24am 09 Feb 2025
Copy link to clipboard 
Print this post

@Peter,

In B10, what mA did you set the HDMI pins?
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 259
Posted: 12:39pm 09 Feb 2025
Copy link to clipboard 
Print this post

  matherp said  
  Quote  Please provide more info - full list of options


It happens with a fresh install of PicoMiteRP2040USBV6.00.02b10 and then setting
the option "option lcdpanel ssd1963_7,l,,gp16,noreset". A "backlight 50" will work but setting it as default causes "Error : Syntax" at the next reboot or "cpu restart".

Many thanks for fixing the issue with the RTC which works as expected with this version.
The diagnostic dump has gone but it still says "Unknown Device Connected on channel 3 (pid=&H2, vid=&H1C4F)" which it does not with the stable.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10062
Posted: 01:21pm 09 Feb 2025
Copy link to clipboard 
Print this post

  Quote  The diagnostic dump has gone but it still says "Unknown Device Connected on channel 3 (pid=&H2, vid=&H1C4F)" which it does not with the stable.


This is deliberate. It is an information message to indicate that there is no specific handling for that device in the firmware

  Quote   A "backlight 50" will work but setting it as default causes "Error : Syntax" at the next reboot or "cpu restart".


Thanks. needed the info about SSD1963 to allow me to find it. Will be fixed in next beta. In the meantime don't use the default option with a SSD1963. Should work with other types of display.

  Quote  In B10, what mA did you set the HDMI pins?

Does it work or not?
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 01:51pm 09 Feb 2025
Copy link to clipboard 
Print this post

  matherp said  Does it work or not?


Happy to report back that all three modes work on all screens here.

The RPi monitor at 640 needs to be set with OPTION RESOLUTION 640,252000 (i.e 60Hz as opposed to 75Hz).

Did notice that with a 2m HDMI lead then I could introduce 'jitter' by touching the HDMI pins on the DVI sock which is soldered directly to the Pico (not that I would be doing this - just checking to see if it was possible to see jitter).

This jitter showed as columns of blue pixels on the left-hand side of screen. By moving my finger, I could extended the pixel-columns further towards the right.

However, by using a 30cm HDMI lead, there is zero jitter  

So yes - it does work.

Big THANKS to you & Lyle for getting to the bottom of this niggle........
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 293
Posted: 02:12pm 09 Feb 2025
Copy link to clipboard 
Print this post

@peter

HDMI/USB/RP2350 --> 02b10
Default options, except SD card added OPTION RESOLUTION 1024

Run this


Pause 500
CLS
For a=0 To 30
Print "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Next a
Do
Loop Until KeyDown(0) <>0


Picture is not stable (its something like scanline starts to appear periodicaly) on entering do - loop. Take a look https://youtube.com/shorts/gKkV0EPsqH0?feature=share


Do
Loop Until KeyDown(0) <>0


Tried OPTION RESOLUTION 1024 with both 60 and 75 Khz req seting - same prob
My MMBasic 'sand box'
 
     Page 13 of 23    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025