Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:56 24 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 16 of 24    
Author Message
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2120
Posted: 02:27pm 26 Oct 2024
Copy link to clipboard 
Print this post

  matherp said  
For m=0 To 28
a$="mm.info(pin GP"+Str$(m)+")"
Print Eval(a$)
Next

displays
RUN
OFF
OFF
OFF
OFF
OFF: Boot Reserved
OFF
OFF: Boot Reserved
OFF: Boot Reserved
OFF: Boot Reserved
OFF: Boot Reserved
OFF
OFF
Invalid
Invalid
Invalid
Invalid
Invalid
Invalid
Invalid
Invalid
OFF
OFF
OFF: Boot Reserved
DOUT
DIN
HEARTBEAT
OFF: Boot Reserved
OFF: Boot Reserved
OFF
> option list
PicoMiteHDMI MMBasic USB Version 6.00.00RC10
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 HDMI PINS  1, 3, 7, 5
OPTION SDCARD GP22, GP6, GP7, GP4
OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5
OPTION MODBUFF ENABLE  192

why is it OPTION HDMI PINS  1, 3, 7, 5
not GPx,GPx,GPx,GPx  ?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6780
Posted: 03:12pm 26 Oct 2024
Copy link to clipboard 
Print this post

Because they aren't GP pins once they have been allocated to HSTX. They are hardware pins and can't be used as GP pins.

.
Edited 2024-10-27 01:14 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: 2120
Posted: 04:47pm 26 Oct 2024
Copy link to clipboard 
Print this post

like vga before you could change them?
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2120
Posted: 04:54pm 26 Oct 2024
Copy link to clipboard 
Print this post

is this suggested by matherp still a hdmi option... on vero, as an alternative to optimex 2350/2040 dev board hdmi ?
if so where's the griff to wire it?
https://coolcomponents.co.uk/products/dvi-breakout-board-for-hdmi-source-devices
 
stanleyella

Guru

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

tried
mode 3
timer=0
for d=1 to 100
loop sprite code
next d
print timer
and pico2350 usb vga was 5373.375
pico 2350 usb hdmi was 5428.043
same code
probably CPUSPEED (KHz) 378000 for vga
Edited 2024-10-27 04:27 by stanleyella
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 12:13am 29 Oct 2024
Copy link to clipboard 
Print this post

A peculiar problem with Pause on the RP2350. Works as expected (intervals down to a few uS) for minutes to hours then switches to integer milliseconds.

PicoMiteVGA MMBasic RP2350A Edition V6.00.00RC10
Copyright 2011-2024 Geoff Graham
Copyright 2016-2024 Peter Mather

> option list
PicoMiteVGA MMBasic Version 6.00.00RC10
OPTION SYSTEM I2C GP14,GP15
OPTION FLASH SIZE 4194304
OPTION LIBRARY_FLASH_SIZE  2D000
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION CPUSPEED (KHz) 378000
OPTION DEFAULT MODE 3
OPTION DISPLAY 60, 133
OPTION SDCARD GP13, GP10, GP11, GP12
OPTION RTC AUTO ENABLE
>

If I close the running program and Clear all variables the issue persists. CPU Restart fixes it for a while but at some random time it returns.
The program had been running on a RP2040 for almost a year without problem.

Here is a command line demo.
> for q=10 to 13 step 0.1:timer=0:pause q :?timer :next
10.628
10.05
10.102
10.11
10.116
10.113
10.113
10.11
11.144
11.137
11.137
11.14
11.141
11.14
11.146
11.138
11.14
11.145
12.162
12.164
12.157
12.16
12.168
12.162
12.165
12.166
12.161
12.162
12.159
13.19
13.193
>

And after a restart
> cpu reatart
> for q=10 to 13 step 0.1:timer=0:pause q :?timer :next
10.027
10.124
10.222
10.321
10.424
10.522
10.623
10.722
10.821
10.923
11.022
11.123
11.224
11.322
11.421
11.523
11.622
11.722
11.823
11.922
12.02
12.123
12.223
12.322
12.424
12.522
12.621
12.723
12.822
12.922
13.024
>

The program in which it occurs is fairly long so am attempting to make a short program to reproduce it but each try can take many hours due to it's random nature.

Edit.
It isn't just integer steps and doesn't need a running program to occur.
10 min. after a restart the one-liner above shows approx. 300µS steps instead of 100µS.

Edit 2
If this is left to run it eventually shows the issue. Started with the 300µS step error.
> do :inc q,0.1:timer=0:pause q :?timer :loop
13.26
13.368
13.43
13.704
13.696
13.954
13.96
13.96
14.214
14.215
14.213
14.466
14.468
14.722
14.723
14.722
14.98
14.985
.....
869.762     <--- Now approx. 500µS steps.
870.275
870.273
870.267
870.266
870.27
870.787
870.783
870.784
870.787
870.782
871.294
871.294
871.299
871.297
871.3
871.813
871.812
871.81
871.813
871.809
872.321
872.322
872.32
...
1299.329  <-------- Now approx. 1mS steps.
1299.327
1299.326
1300.35
1300.357
1300.349
1300.344
1300.353
1300.35
1300.355
1300.347
1300.348
1300.348
1301.373
1301.37
1301.378
1301.373
When I last checked the steps were 3mS

Edit 3
Also happens on RP2040 PicoMite MMBasic Version 6.00.00RC3
This makes it clearer if you let it run for a few hours.
q=1000:do :inc q,0.1:t=timer:pause q :d=timer-t :? q, d:loop

The original program was on v5.08.00
.
Edited 2024-10-29 15:02 by phil99
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9110
Posted: 07:36am 29 Oct 2024
Copy link to clipboard 
Print this post

Does it do it without the ?q
Please run just logging the time delta and not printing and report the findings
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 12:25pm 29 Oct 2024
Copy link to clipboard 
Print this post

  Quote  Does it do it without the ?q
Yes, logging to an array similar result.
> dim a(10000):for n=0 to 10000:q=n/10+1000:t=timer:pause q :a(n)=timer-t :next
> for m=0 to n :? m/10+1000, a(m) :next
1000    1000.047
1000.1  1000.165
1000.2  1000.174
1000.3  1000.305
1000.4  1000.365
1000.5  1000.495
1000.6  1000.559
1000.7  1000.687
1000.8  1000.816
1000.9  1000.877
1001    1001.007
1001.1  1001.071
1001.2  1001.198
1001.3  1001.263
....
1199.8  1199.855
1199.9  1199.855
1200    1199.855
1200.1  1200.111
1200.2  1200.111
1200.3  1200.367
1200.4  1200.367
1200.5  1200.367
1200.6  1200.622
1200.7  1200.623
1200.8  1200.879
1200.9  1200.879
1201    1200.879
1201.1  1201.135
1201.2  1201.135
....
1341    1340.911
1341.1  1340.911
1341.2  1341.423
1341.3  1341.423
1341.4  1341.423
1341.5  1341.424
1341.6  1341.422
1341.7  1341.935
1341.8  1341.935
1341.9  1341.935
1342    1341.935
1342.1  1341.935
1342.2  1341.935
1342.3  1342.447
1342.4  1342.447
1342.5  1342.447
1342.6  1342.447
1342.7  1342.447
1342.8  1342.959
1342.9  1342.959
1343    1342.959
1343.1  1342.959
1343.2  1342.959
1343.3  1343.471
1343.4  1343.471
1343.5  1343.471
1343.6  1343.471
1343.7  1343.471
1343.8  1343.983
1343.9  0
>

After stopping it to examine the array then running again previous error persisted and continued to grow. A CPU Restart is needed to go back to the beginning.
> clear
> q=1000:do :inc q,0.1:t=timer:pause q :d=timer-t :? q, d:loop
1000.1  999.9
1000.2  1000.671
1000.3  1000.225
1000.4  1000.238
1000.5  1000.241
1000.6  1000.234
1000.7  1000.244
1000.8  1000.756
1000.9  1000.756
1001    1000.753
1001.1  1000.759
1001.2  1000.751
1001.3  1001.263
1001.4  1001.264
1001.5  1001.266
1001.6  1001.257
1001.7  1001.262
1001.8  1001.771
1001.9  1001.774
1002    1001.774

Edited 2024-10-29 22:33 by phil99
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 144
Posted: 12:51pm 29 Oct 2024
Copy link to clipboard 
Print this post

Peter,

After version V6.00.00RC9, the list functions CtrlVal( and MsgBox( are missing in RP2040 and RP2350.

Possibly missing ?, Base, Explicit, Float, Integer, String, Write in the list commands?

I have seen that very occasionally the heartbeat stops and Time$ also stops. (solution see further)
I was able to recreate it when a hard reset is given and within a second of reporting:
PicoMite MMBasic RP2040 Edition V6.00.00RC10
Copyright 2011-2024 Geoff Graham
Copyright 2016-2024 Peter Mather
>run
Then the heartbeat flashes a few times and then stops and also the > ? Time$ is no longer incremented, but the program is still executed.

Did some further research. I soldered a push button directly to the Raspberry Pi Pico.  
It now appears that if I give a reset pulse that is too short, the problem sometimes occurs.
A capacitor of 86 - 100nF (SMD) across the printer will solve the problem.
(A push button with 2 pins in the middle was used and placed on the top of the PCB and the pins were soldered to the side of the PCB and the 3 pins on top of the PCB were first cut short. Then the push button fits resting on the PCB and an SMD capacitor of 100nF fits. under the printer and on the protruding part so that the printer also has support)

Jan.
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 144
Posted: 05:55pm 29 Oct 2024
Copy link to clipboard 
Print this post

Peter,

I thought the problem was solved, but the heartbeat and Time$ stops still show up in the screen copy.

Jan.




Tijd:00:16:35   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:16:45   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:16:55   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:17:05   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
> edit




Dim Float Temp, Tin
Do
 Tin = Pin(Temp)
 Print "Tijd:"; Time$; "   CPU Speed:"; MM.Info(cpuspeed); " Hz";
 Print "   Temperatuur RP2040:"; Str$(Tin, 2, 0); " "; Chr$(176); "C"
 Pause 10000                         ' Wacht 10 sec en doe een meting.
Loop



ESC:Exit  F1:Save  F2:Run  F3:Find  F4:Mark  F5:Paste       Ln: 3  Col: 14     INS
Saved 246 bytes
Tijd:00:18:05   CPU Speed:133000000 Hz   Temperatuur RP2040:20 °C
Tijd:00:18:15   CPU Speed:133000000 Hz   Temperatuur RP2040:20 °C
Tijd:00:18:25   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
> files
A:/
  <DIR>  .
  <DIR>  ..
00:00 01-01-2000          4  bootcount
02:38 01-01-2000        246  cpuspeed.bas
00:04 01-01-2000      40231  filebeheer.bas
01:18 01-01-2000      40231  pid_picomite.bas
05:03 01-01-2000        141  Pinnr_GPnr.bas
00:41 01-01-2000        234  pinnummer.bas
00:23 01-01-2000        133  pinnummers.bas
00:22 01-01-2000        896  RP2040_6.00.00RC7.opt
2 directories, 8 files, 704512 bytes free
> save "cpuspeed.bas
> run
Tijd:00:18:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:18:38   CPU Speed:133000000 Hz   Temperatuur RP2040:20 °C
Tijd:00:18:38   CPU Speed:133000000 Hz   Temperatuur RP2040:20 °C
Tijd:00:18:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:18:38   CPU Speed:133000000 Hz   Temperatuur RP2040:20 °C
Tijd:00:18:38   CPU Speed:133000000 Hz   Temperatuur RP2040:20 °C
> list
Dim Float Temp, Tin
Do
 Tin = Pin(Temp)
 Print "Tijd:"; Time$; "   CPU Speed:"; MM.Info(cpuspeed); " Hz";
 Print "   Temperatuur RP2040:"; Str$(Tin, 2, 0); " "; Chr$(176); "C"
 Pause 10000                         ' Wacht 10 sec en doe een meting.
Loop
>
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 144
Posted: 06:58pm 29 Oct 2024
Copy link to clipboard 
Print this post

Peter,

It happens on a regular basis.

Jan.



> run
Tijd:00:00:34   CPU Speed:133000000 Hz   Temperatuur RP2040:20 °C
Tijd:00:00:44   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:00:54   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:14   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:24   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:34   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:44   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:54   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:14   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:02:24   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:02:34   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:02:44   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:54   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:03:04   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:03:14   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:03:24   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:03:34   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:03:44   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:03:54   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:04:04   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:04:14   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:24   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:34   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:44   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:54   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:04   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:05:14   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:24   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:34   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:44   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:54   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:06:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:14   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:06:24   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:06:34   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:44   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:54   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:14   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:24   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:34   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:44   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:07:54   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:14   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:24   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:34   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:44   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:54   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:09:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:09:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:09:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:09:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:09:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:09:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:09:04   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
PicoMite MMBasic RP2040 Edition V6.00.00RC10
Copyright 2011-2024 Geoff Graham
Copyright 2016-2024 Peter Mather

> run
Tijd:00:00:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:00:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:00:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:00:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:00:48   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:00:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:48   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:01:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:48   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:02:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:03:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:03:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:03:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:03:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:03:48   CPU Speed:133000000 Hz   Temperatuur RP2040:22 °C
Tijd:00:03:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:48   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:04:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:48   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:05:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:48   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:06:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:28   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:38   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:48   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:07:58   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:08   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
Tijd:00:08:18   CPU Speed:133000000 Hz   Temperatuur RP2040:21 °C
>
>
PicoMite MMBasic RP2040 Edition V6.00.00RC10
Copyright 2011-2024 Geoff Graham
Copyright 2016-2024 Peter Mather

> memory
Program:
  1K ( 1%) Program (7 lines)
131K (99%) Free

Saved Variables:
 16K (100%) Free

RAM:
  0K ( 0%) 0 Variables
  0K ( 0%) General
160K (100%) Free
> option list
PicoMite MMBasic Version 6.00.00RC10
OPTION COLOURCODE ON
OPTION DISPLAY 40, 85
> flash list
Slot 1 available
Slot 2 available
Slot 3 available
>
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9110
Posted: 11:54am 30 Oct 2024
Copy link to clipboard 
Print this post

V6.00.00RC11


PicoMiteRP2350V6.00.00RC11.zip


PicoMiteRP2040V6.00.00RC11.zip


Restores a couple of GUI functions left out by mistake
Re-codes PAUSE command and can't now replicate JanVolk or Phil99s' bugs
Fixes bug in TFTP when a disk is specified other than the current default
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 12:02pm 30 Oct 2024
Copy link to clipboard 
Print this post

Thankyou for all the time you put into perfecting MMBasic. Much appreciated.
 
Michal
Senior Member

Joined: 02/02/2022
Location: Poland
Posts: 123
Posted: 12:11pm 30 Oct 2024
Copy link to clipboard 
Print this post

grain.bas test speed dropped by 8% in RC 11 vs RC10 on PicoMiteRP2350V6.00.00RC11.uf2

Michal
 
matherp
Guru

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

Benchmark speeds vary every time I compile - just the way it is. Calculation of the solar_eclipse which is a much more heavy duty algorithm has sped up.
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 144
Posted: 08:57pm 30 Oct 2024
Copy link to clipboard 
Print this post

Peter,

Thank you for the update. The problem has not occurred again. It's all getting better and better.
I also saw that you have gone back to 5 columns for commands and functions and several commands have been added.

Jan.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9110
Posted: 10:52pm 30 Oct 2024
Copy link to clipboard 
Print this post

  Quote  The problem has not occurred again.


Does for me after hour or more  
Still working on it. Doesn't seem to happen on RP2350
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 11:26pm 30 Oct 2024
Copy link to clipboard 
Print this post

If it is any consolation the Pause test has been working without error for about 4 hours on a RP2350. On a RP2040 for less time but still more than long enough to show any errors but none have appeared.
Edited 2024-10-31 09:46 by phil99

Footnote added 2024-10-31 12:08 by phil99
Ran the Pause test on RP2350 for 6 hours. No errors.
Ran the Pause test on RP2040 for 5 hours. No systematic or cumulative errors, just some random variability of a few tens of uS, which might not be related to Pause.

Footnote added 2024-10-31 15:19 by phil99
RP2040 Variability noted above was due to Print and low CPU speed. Updating to RC11 had cleared flash. Reset speed to 400MHz and removed timer calc. from Print, now variation 1 or 2uS.
do:inc n,0.1:t=timer:pause n :u=timer:m=u-t :? n,m :if n>999 then:n=0:endif:pause 1000-n :loop
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2120
Posted: 11:41pm 30 Oct 2024
Copy link to clipboard 
Print this post

so many versions to try, should it be blit?
touch and sd card work.2350

restore sprite1:sht=16:swid=8
udg1 'draws sprite1 on screen at 10,10
sprite READ 1,10,10,8,16 'reads sprite1 from screen to blit buffer1
SPRITE WRITE 1,18,10,&B001 'inverts sprite horizontal and draws next to first half
SPRITE CLOSE 1
sprite READ 1,10,10,16,16 'reads whole sprite1 from screen to blit buffer 1

[89] Sprite READ 1,10,10,8,16 'reads sprite1 from screen to blit buffer1
Error : Not available on physical display
> option list
PicoMite MMBasic Version 6.00.00RC11
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION FLASH SIZE 4194304
OPTION CPUSPEED  378000 'KHz
OPTION LCDPANEL ILI9341, LANDSCAPE,GP15,GP14,GP13
OPTION TOUCH GP12,GP11
GUI CALIBRATE 0, 3891, 3866, -893, -647
OPTION SDCARD GP2
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 11:50pm 30 Oct 2024
Copy link to clipboard 
Print this post

If memory serves, Sprites are not available on the LCD version, Just VGA and HDMI.
Edit
And perhaps the Virtual LCDPANEL that exists only in memory as it is similar to VGA.
  Quote  OPTION LCDPANEL VIRTUAL_C
or
OPTION LCDPANEL VIRTUAL_M
 Configures a virtual LCD panel without a physically connected panel.
VIRTUAL _C = Colour, 4bit, 320 x 240
VIRTUAL _M = Monochrome, 640 x 480
Using this feature a program can draw graphical images on this virtual
panel and then save them as a BMP file. Useful for creating a graphic
image for export without an attached display

Edited 2024-10-31 09:58 by phil99

Footnote added 2024-10-31 20:40 by phil99
Correction.
Sprite commands don't work on the Virtual LCD Panel.
 
     Page 16 of 24    
Print this page
© JAQ Software 2024