Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:43 19 Jun 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/VGA/WEB V5.07.08 release candidates

     Page 1 of 18    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8651
Posted: 08:21am 19 Sep 2023
Copy link to clipboard 
Print this post

V5.07.08RC1

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

I think it is time to put V5.07.08 to bed so no more functional changes just fixes for any bugs found.

The big ticket things in V5.07.08 are UDP support for the WebMite, Mod file playback for all versions, H/W watchdog, support for regular expressions in the instr and linstr functions (particularly useful for web parsing), and a range of changes to help improve performance for games developers and for plotting data

Compared to V5.07.07, 08 has the following detail changes:

New functionality
WEB TCP SEND cb%, data%()
WEB TCP CLOSE cb%
OPTION UDP SERVER PORT n
WEB UDP INTERRUPT intname
WEB UDP SEND addr$, port, data$
OPTION WIFI SSID$, PASSWD$, [NAME$] [,IPADDRESS$, MASK$, GATEWAY$]
INSTR([start],text$, search$ [,size])
LIINSTR(text%(),search$ [,start] [,size]
PIO DMA TX now accepts 0 for the number of conversions when using a ringbuffer for continuous output
PIO DMA RX now accepts 0 for the number of conversions when using a ringbuffer for continuous input
ADC RUN array1%(),array2%()
OPTION MODBUFF ENABLE/DISABLE [sizeinK]
PLAY MODFILE fname$
PLAY MODSAMPLE sampleno, channelno [,volume]
WATCHDOG HW OFF
WATCHDOG HW nmSec
BITBANG WS2812 W, pin, nbr, value%[()]
OPTION WEB MESSAGES ON/OFF
Implements interlock to stop other ADC use while ADC DMA is running.
BLIT WRITE [#]b, x, y [,mode]
MM.INFO(ADC DMA)
MATH WINDOW in(),min, max, out(),[minfound, maxfound]
/* and */ commands for multiline comments
BLIT MEMORY address%, x, y[,col]
BLIT COMPRESSED address%, x, y[,col]
BLIT FRAMEBUFFER F/L/N, F/L/N, xfrom, yfrom, xto, yto, width, height [,col]
EDIT fname$

Bug Fixes
MM.INFO(OPTION ANGLE) returns an incorrect value. Fixed in V5.07.08b5
FORMAT$ function may not yield expected results (WebMite only). Waiting for SDK change
Minor bugs in CALL and MM.CMDLINE$. Fixed in V5.07.08b5
LOAD SPRITE requires exact spacing of the width,number,height fields. Fixed in V5.07.08b5.
Changing volume when PLAY TONE is playing the same on both channels causes one channel to disappear. Fixed in V5.07.08b5.
A TCP request while in the editor causes the WebMite to crash. Fixed in V5.07.08b5.
Memory leak in WEB MQTT PUBLISH. Fixed in V5.07.08b5.
EXECUTE command does not work at the command prompt. Fixed in V5.07.08b5.
CLS after NEW when a framebuffer is active can crash system. Fixed in V5.07.08b5.
Using EXECUTE in a program that has been AUTORUN crashes the system. Fixed in V5.07.08b5.
Bug in FRAMEBUFFER COPY to N. Fixed in V5.07.08b7
Bug in FRAMEBUFFER CLOSE. Fixed in V5.07.08b7
Race condition when PLAY TONE is used with defined time and a new tone is issued during the termination. Fixed in V5.07.08b8
Fixes various bugs in ADC use after ADC DMA conversions.
Fixes bug in PIN(TEMP) after another ADC channel is used.
Fixes bug in PIO assemble
Fixes bugs in BLIT WRITE when target overlaps the screen
Fixes bug in web transmit page when the size of included variables exceeds the size of the html file by a margin
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 713
Posted: 10:42am 19 Sep 2023
Copy link to clipboard 
Print this post

Thank you Peter
 
carlschneider
Senior Member

Joined: 04/08/2023
Location: South Africa
Posts: 140
Posted: 12:24pm 19 Sep 2023
Copy link to clipboard 
Print this post

Thanks for all your efforts Peter, much appreciated.
Cheers Carl                                                        
Retirement is tough on Hobbies without a day job
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3038
Posted: 01:36pm 19 Sep 2023
Copy link to clipboard 
Print this post

Amazing. What a terrific body of work.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 505
Posted: 05:15pm 19 Sep 2023
Copy link to clipboard 
Print this post

Thank you ,its great
Plasma
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3888
Posted: 05:17pm 19 Sep 2023
Copy link to clipboard 
Print this post

+2
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
IanRogers

Senior Member

Joined: 09/12/2022
Location: United Kingdom
Posts: 151
Posted: 05:56pm 19 Sep 2023
Copy link to clipboard 
Print this post

Aww!  I only just updated with b17.

Thanks anyway.
I'd give my left arm to be ambidextrous
 
carlschneider
Senior Member

Joined: 04/08/2023
Location: South Africa
Posts: 140
Posted: 11:53pm 19 Sep 2023
Copy link to clipboard 
Print this post

Hi Peter

My understanding from previous comments made by others is that there were problems with the Tick's.

I also understand that this was addressed and resolved.

Could I trouble you to provide a brief synopsis of what the problem was/how it manifested?

I have a situation where the Tick’s appear to no longer interrupt after a period of working fine. Or are the Tick interrupts non latching and of short duration and could get lost in the priority order of the interrupt servicing routines at the core code level?
Cheers Carl                                                        
Retirement is tough on Hobbies without a day job
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1085
Posted: 06:01am 20 Sep 2023
Copy link to clipboard 
Print this post

Working good so far. Great work!
Edited 2023-09-20 16:03 by vegipete
Visit Vegipete's *Mite Library for cool programs.
 
pwillard
Senior Member

Joined: 07/06/2022
Location: United States
Posts: 278
Posted: 12:33pm 20 Sep 2023
Copy link to clipboard 
Print this post

Agreed.  I'm not having any issues.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3704
Posted: 02:27pm 20 Sep 2023
Copy link to clipboard 
Print this post

@Peter,

In case we want to use the library to store tiles and sprites in CSUB, this is command line work. LIBRARY SAVE cannot be executed from withing a program, nor from a FLASH SLOT (tried it).

It would be nice to have a virgin pico, insert a SD card, and run a single program (without any command line typing) and the pico initializes the library.

Is there any way to pull this off ? MM.STARTUP ??
Or are we stuck with manual filling the library.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3704
Posted: 07:07pm 20 Sep 2023
Copy link to clipboard 
Print this post

@Peter,

Using picomiteVGAV50708RC1
program memory on the VGA is 100k
I have a file size 80k on disk, that contains compressed tile data as CSUB (using your program to generate them).

When I load this file, I get "not enough memory" error.
In the editor, it feels the whole file is correctly in memory.
But when I do a library save, nothing gets in the library, and "memory" gives 0 byte in program memory.

tile1_csub.zip

Volhout

EDIT: A file size 62k loads correctly.
PicomiteVGA PETSCII ROBOTS
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 1667
Posted: 08:26pm 20 Sep 2023
Copy link to clipboard 
Print this post

I always reset the options cos thought they got erased when flashing new firmware but seems to remember??
option list
PicoMite MMBasic Version 5.07.08RC1
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION AUTORUN ON
OPTION CPUSPEED (KHz) 378000
OPTION LCDPANEL ILI9341, LANDSCAPE,GP15,GP14,GP13
OPTION TOUCH GP12,GP11
GUI CALIBRATE 0, 3888, 3842, -897, -655
OPTION SDCARD GP22
OPTION AUDIO GP0,GP1, ON PWM CHANNEL 0
>
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8651
Posted: 08:49pm 20 Sep 2023
Copy link to clipboard 
Print this post

  Quote  When I load this file, I get "not enough memory" error.


Yes: The CSUb ends up with two copies, the ascii and the binary. This is why csub/fonts etc. should be loaded into the library before the main program is loaded
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 854
Posted: 10:27pm 20 Sep 2023
Copy link to clipboard 
Print this post

Volhout,

It is probably not exactly what you are after but this may gives some ideas for using programmed function keys to simplify saving the library.


Simple scripting MMbasic

Gerry
Latest F4 Latest H7
 
Bernie3D
Newbie

Joined: 02/08/2023
Location: United States
Posts: 17
Posted: 03:55am 21 Sep 2023
Copy link to clipboard 
Print this post

Thanks Peter for all.
Do you ever sleep?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3704
Posted: 05:37am 21 Sep 2023
Copy link to clipboard 
Print this post

  disco4now said  Volhout,

It is probably not exactly what you are after but this may gives some ideas for using programmed function keys to simplify saving the library.


Simple scripting MMbasic

Gerry


Thanks for the tip. I was aware of the function keys. They are helpfull with development, but this is not usefull for the game roll out.

At the moment this has to happen


Load "file1
Library save
Load "file2
Library save
Load "file3
Library save
Load "file4
Library save
Load "game
Run

Edited 2023-09-21 15:38 by Volhout
PicomiteVGA PETSCII ROBOTS
 
TheMonkeys

Regular Member

Joined: 15/12/2022
Location: Australia
Posts: 59
Posted: 05:54am 21 Sep 2023
Copy link to clipboard 
Print this post

🤔🤔🤔 Hmmm...
A little weirdness.
Since upgrading from V5.0707B11 to  V5.07.08RC1 this morning, I'm copping a watchdog every 36 minutes.

I re-uploaded the basic code, but no change. Have I missed something? On the third occasion, I was watching. Both my heartbeats froze, then after my 20 second timeout, it (webmite) re-booted, as expected.

from my logfile:
21-09-2023 started@10:04:15 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 10:10 (***installed V5.07.08RC1)
10:04:15 dat/activity.log: 3 rotates
10:04:57 0: Rename "update.bas" As ".trash/update.bas"
10:05:15 0: Kill ".trash/update.bas"
10:14:52 State: tmax=31.3 tmin=28 ts:3 tstat=23 debug=&B1011
21-09-2023 started@10:17:09 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 10:10
10:29:52 State: tmax=31.3 tmin=28 ts:3 tstat=23 debug=&B1011
21-09-2023 dogged@10:38:40 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 10:10
10:39:58 #Config: ts:3 sp:23 dog:20 debug:11
10:44:52 State: tmax=31.3 tmin=28 ts:3 tstat=23 debug=&B1011
10:59:10 Schedule: heater on [setHeater(2)]
10:59:52 State: tmax=31.3 tmin=28 ts:3 tstat=30 debug=&B1011
11:02:10 Schedule: heater off [setHeater(1)]
11:05:10 Schedule: heater auto [setHeater()]
21-09-2023 dogged@11:14:49 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 10:10
11:14:52 State: tmax=31.3 tmin=28 ts:3 tstat=30 debug=&B11
11:20:52 #Config: ts:3 sp:23 dog:20 debug:3
11:21:04 #Config: ts:3 sp:23 dog:20 debug:11
11:29:52 State: tmax=31.3 tmin=28 ts:3 tstat=23 debug=&B1011
21-09-2023 started@11:38:28 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40 (***small edit to init code)
11:44:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
11:45:36 0: Rename "update.bas" As ".trash/update.bas"
11:45:52 0: Kill ".trash/update.bas"
21-09-2023 dogged@11:50:55 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40
11:54:44 #Config: ts:3 sp:23 dog:20 debug:11
11:59:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
12:07:21 2:indexing dom
12:14:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
21-09-2023 dogged@12:27:04 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40
12:27:47 #Config: ts:3 sp:23 dog:20 debug:11
12:29:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
12:44:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
12:59:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
21-09-2023 dogged@13:03:12 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40 (***froze@13:02:45)
13:05:54 #Config: ts:3 sp:23 dog:20 debug:11
13:14:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
13:29:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
21-09-2023 dogged@13:39:18 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40
13:43:57 #Config: ts:3 sp:23 dog:20 debug:11
13:44:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
13:59:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
14:05:10 rembeg: 14:05 remend: 15:05 remdur: 60
14:14:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011 remend:905 remdur:60
21-09-2023 dogged@14:15:27 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40
14:18:26 #Config: ts:3 sp:23 dog:20 debug:11
14:29:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011 remend:905 remdur:60
14:44:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011 remend:905 remdur:60
21-09-2023 dogged@14:51:35 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40 (***froze@14:51:09)
14:59:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B11 remend:905 remdur:60
15:02:12 #Config: ts:3 sp:23 dog:20 debug:11
15:14:52 State: tmax:31.3 tmin:28 ts:3 tstat:23 debug:&B1011
21-09-2023 started@15:28:40 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40(***froze@15:27:17)
***froze completely - USB restart
21-09-2023 started@15:30:22 Legion WebmiteOmnibusWebserver 12R2.6 21 Sep 2023 11:40


Any suggestions?

Cheers,

Chris
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1853
Posted: 06:18am 21 Sep 2023
Copy link to clipboard 
Print this post

If no one comes up with anything better...
As you have upgraded a full version number it may be worth saving Options, Program, Flash slots and A: then applying Clear_flash.uf2 and reloading it all.
 
TheMonkeys

Regular Member

Joined: 15/12/2022
Location: Australia
Posts: 59
Posted: 06:51am 21 Sep 2023
Copy link to clipboard 
Print this post

Hi Phil,

Oops, my miss-type. It was V5.0708B11

Cheers,

Chris.
 
     Page 1 of 18    
Print this page
© JAQ Software 2024