Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:36 28 Nov 2024 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.00 release candidates - all versions

     Page 6 of 25    
Author Message
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 145
Posted: 09:17pm 05 Oct 2024
Copy link to clipboard 
Print this post

If you manually enter the option list for the RP2040 PicoMite MMBasic Version 6.00.00RC4 and RC5, the USB connection will be disrupted for every option system and option SD card with the pullup message: COM cannot find xx port.
(TeraTerm Version 5.2, TeraTerm Pro version 2.3)
The connection must then be manually restored in Setup/Serial port.
The RAM memory was not cleared properly after the update.

> memory
Program:
  0K ( 0%) Program (0 lines)
132K (100%) Free

Saved Variables:
 16K (100%) Free

RAM:
  0K ( 0%) 0 Variables
 74K (46%) General
 86K (54%) Free
> new

> memory
Program:
  0K ( 0%) Program (0 lines)
132K (100%) Free

Saved Variables:
 16K (100%) Free

RAM:
  0K ( 0%) 0 Variables
  0K ( 0%) General
160K (100%) Free

Jan.
Edited 2024-10-06 07:23 by JanVolk
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 03:07pm 06 Oct 2024
Copy link to clipboard 
Print this post

Thx, but ...

  matherp said  V6.00.00RC5 - mostly trivia


PicoMiteRP2040V6.00.00RC5.zip

PicoMiteRP2350V6.00.00RC5.zip


Blocks changing CPU speed in HDMI versions
Tidies up font changes after errors in HDMI versions <-- e.g. Mode 2, NEW (or I didn't understand the default font. MODE x sets the default font, doesn't it?)
Improves memory overflow detection in EDIT FILE
Fixes bug in MP3 playback after a WAV file is played with a sample frequency other than 44100Hz <-- delete as said: Playback is fine, but the volume is lower, reset and the volume is back to normal. --> Works! play volume 100,100
Fixes Header in OPTION LIST for HDMIUSB version

Edited 2024-10-07 01:14 by homa

Footnote added 2024-10-07 01:15 by homa
I miss a strikethrough e.g. [D]---[/D]
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 03:17pm 06 Oct 2024
Copy link to clipboard 
Print this post

  Quote  MODE x sets the default font, doesn't it?)

No: Only OPTION LCDPANEL CONSOLE fnt or OPTION RESOLUTION or OPTION RESET sets the default font
Edited 2024-10-07 01:17 by matherp
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 161
Posted: 07:28pm 06 Oct 2024
Copy link to clipboard 
Print this post

PicoMiteVGAUSBRP2040V6.00.00RC4

I did not updated RC4 to RC5 for a moment, but nobody indicated, so it might still be  there.

In local editor
F3:Find work
SHIFT+F3 (repeat find) does not work. But Ctrl+G does work!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 09:16pm 06 Oct 2024
Copy link to clipboard 
Print this post

You don't say what keyboard. Local USB, Windows PC, Linux PC, Mac PC?
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 161
Posted: 06:10am 07 Oct 2024
Copy link to clipboard 
Print this post

Firmware is PicoMiteVGAUSBRP2040V6.00.00RC4

I said "local" but I better had to say it`s PICOMITEVGA "built-in full screen editor" (as described in picomite user manual)

Picomite is powered from stable external source, USB keyboard is conected to pico`s USB. So there is no Windows or linux or mac at all.  Just PicomiteVGA, monitor and keyboard.

While editing all works as it should. Marking, copying/cuting/pasting etc.

On pressing F3 (inside built-in editor) and entering search text - it finds it.

But when trying repeat-find e.i. as suggested in bottom menu "Find (use SHIFT-F3 to repeat):"
it does nothing.

But when pressing Ctlr+G it works as expected. Finds that next search item (I do not know how to better describe.)
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 10:18am 07 Oct 2024
Copy link to clipboard 
Print this post

Understood - will fix in next RC
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 218
Posted: 04:24pm 07 Oct 2024
Copy link to clipboard 
Print this post

  matherp said  V6.00.00RC5 - mostly trivia
Improves memory overflow detection in EDIT FILE

Something went wrong with this command!
If in version PicoMite V6.00.00RC4 it somehow worked (even large files were opened), then in version PicoMite V6.00.00RC5 (RP2040, RP2350) it gives an error even on very small files - Error: Out of memory
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 05:23pm 07 Oct 2024
Copy link to clipboard 
Print this post

I think the code is correct. Before it was probably trampling over memory.

Please try my little test program

Dim a%(5000)
For i=0 To 5000:a%(i)=i:Next
Input "File name: ",fname$
Edit File fname$
Print a%(222)
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 218
Posted: 08:51pm 07 Oct 2024
Copy link to clipboard 
Print this post

  matherp said  I think the code is correct. Before it was probably trampling over memory.
Please try my little test program


PicoMite MMBasic Version 6.00.00RC5
Copyright 2011-2024 Geoff Graham
Copyright 2016-2024 Peter Mather

> files
A:/
  <DIR>  .
  <DIR>  ..
00:00 01-01-2000          4  bootcount
00:16 01-01-2000         75  test1.bas
00:16 01-01-2000         20  tested.bas
2 directories, 3 files, 15470592 bytes free
> list
Dim a%(5000)
For i=0 To 5000:a%(i)=i:Next
Input "File name: ",fname$
Edit File fname$
Print a%(222)
> run
File name: tested.bas
[4] Edit File fname$
Error : Out of memory
>
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 08:58pm 07 Oct 2024
Copy link to clipboard 
Print this post

  matherp said  I think the code is correct. Before it was probably trampling over memory.

Please try my little test program

Dim a%(5000)
For i=0 To 5000:a%(i)=i:Next
Input "File name: ",fname$
Edit File fname$
Print a%(222)


RUN
[4] Edit File fname$
Error : Out of memory
>


I confirm the error.

> OPTION LIST
PicoMiteHDMI MMBasic Version 6.00.00RC5
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION CPUSPEED (KHz) 372000
OPTION DISPLAY 30, 80
OPTION RESOLUTION 1280x720
OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5
OPTION DEFAULT FONT 3, 1

Jim
VK7JH
MMedit   MMBasic Help
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 09:18pm 07 Oct 2024
Copy link to clipboard 
Print this post

Is this only on the a: drive? I tested on b:
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 218
Posted: 09:27pm 07 Oct 2024
Copy link to clipboard 
Print this post

  matherp said  Is this only on the a: drive? I tested on b:

Yes, it looks like this error only occurs when trying to edit a file from drive A:
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 11:12pm 07 Oct 2024
Copy link to clipboard 
Print this post

by default no display on monitor. had to use OPTION LCDPANEL CONSOLE 1, RGB(white) , RGB(black)
handy reminder, if using mmcc as console select picovga if using hdmi or terminal won't work.
PicoMiteHDMI MMBasic USB Version 6.00.00RC5
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) 372000
OPTION DISPLAY 30, 80
OPTION HDMI PINS  1, 3, 7, 5
OPTION RESOLUTION 1280x720
OPTION SDCARD GP22, GP6, GP7, GP4
OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5
OPTION MODBUFF ENABLE  192
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4247
Posted: 12:11pm 08 Oct 2024
Copy link to clipboard 
Print this post

@Peter,

Since 2350 platforms have 4M+ flash, the A-drive has grown in size. Is it an option to increase the number of flash slots back to 4, 5 or 7 ? Or do you want to keep this consistent between 2040 and 2350 ?

Regards,

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 03:05pm 08 Oct 2024
Copy link to clipboard 
Print this post

V6.00.00RC6


PicoMiteRP2040V6.00.00RC6.zip


PicoMiteRP2350V6.00.00RC6.zip


Fixes EDIT FILE for a file on the A: drive
Fixes SHIFT-F3 using a USB keyboard
Solves an incompatibility between the RP2350 and VS1053

  Quote   Is it an option to increase the number of flash slots back to 4, 5 or 7 ?

No: Without a lot of testing I can't be sure that there aren't any special cases associated with the library/flash slots.
Other than any bugs still to be found I want to keep everything stable and move to a 6.00.00 release as soon as possible
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 218
Posted: 04:52pm 08 Oct 2024
Copy link to clipboard 
Print this post

  matherp said  V6.00.00RC6

Can I ask you here, who posts the code on GitHub?
https://github.com/UKTailwind/PicoMiteAllVersions
It's just that it happens somehow out of sync with the posting of the next firmware versions here. And now the code has not been updated and remains on version RC5
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 05:26pm 08 Oct 2024
Copy link to clipboard 
Print this post

Me: when I feel like it
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 218
Posted: 05:47pm 08 Oct 2024
Copy link to clipboard 
Print this post

  matherp said  Me: when I feel like it

Then that explains everything :))
I just follow the changes in the code and compile the firmware from the source code for my breadboard.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 06:20am 09 Oct 2024
Copy link to clipboard 
Print this post

HDMI RC6 with PWM audio

[2] Play mp3 f$, alldone
Error : Not enough Heap memory
> memory
Program:
  1K ( 1%) Program (6 lines)
179K (99%) Free

Saved Variables:
 16K (100%) Free

RAM:
  1K ( 0%) 3 Variables
 80K (34%) General
147K (66%) Free
> list
Dim d, f$ = "A:/Bombora.mp3"
Play mp3 f$, alldone
Do : Loop Until Inkey$ = Chr$(27) Or d = 1
Sub alldone : d = 1 : End Sub
Run "A:/FEpico.bas", f$
>


It did play OK in RC5

I think I will only allow playing mp3 files with a VS1053 attached if it can be determined that the VS1053 is present without resorting to ON ERROR.

Jim
VK7JH
MMedit   MMBasic Help
 
     Page 6 of 25    
Print this page
© JAQ Software 2024