Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:51 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 RP2040: V6.00.00 betas

     Page 1 of 4    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 11:57am 03 Sep 2024
Copy link to clipboard 
Print this post

As previously discussed the source code for the RP2040 and RP2350 is identical with a limited amount of conditional compilation determining what is being built.
In addition, to support the RP2350 the sdk has been updated to V2.0.0 and the compiler to V13.3.1 so all RP2040 versions will need checking.

There is only one deliberate change which is to re-engineer XMODEM so that you can now transfer a file to the A: drive on USB versions - previously this would lock up.

Please load up these versions and run all your programs. Anything that ran on V5.09.00RC5 should still work (hopefully)

The webmite version incorporates some internal changes and has been long term tested using Geoff's watering controller and early indications are that it is much more stable than 5.09.00

Please report any RP2040 issues on this thread - thanks


PicoMite.zip
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 12:35pm 03 Sep 2024
Copy link to clipboard 
Print this post

@Peter,

This is why I proposed releasing 5.09.00. I expect tons of tiny bugs that will take months to resolve. Here is the first one...

On PicoMiteVGA (2040)


framebuffer layer 9 'magenta transparent
framebuffer write l


Gives an error "framebuffer not created".
From running flappy bird.

Volhout
Edited 2024-09-03 22:37 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 02:02pm 03 Sep 2024
Copy link to clipboard 
Print this post

There won't be
  Quote  tons of tiny bugs

That isn't how the rp2350 changes work. Those that there are will be obvious like the one you have just found

Fixed here

PicoMiteRP2040binaries.zip
 
Teo1
Newbie

Joined: 06/05/2023
Location: Romania
Posts: 25
Posted: 02:24pm 03 Sep 2024
Copy link to clipboard 
Print this post

Hi matherp
Where can I find the manual for V5.09.00RC5 ?
Thanks in advance,
Teo
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 02:30pm 03 Sep 2024
Copy link to clipboard 
Print this post

  Quote  Where can I find the manual for V5.09.00RC5 ?
Thanks in advance,


There isn't one yet. Use the 5.08 manual plus Mick's notes here
 
Teo1
Newbie

Joined: 06/05/2023
Location: Romania
Posts: 25
Posted: 02:57pm 03 Sep 2024
Copy link to clipboard 
Print this post

Thank you,
Teo
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 03:55pm 03 Sep 2024
Copy link to clipboard 
Print this post

Peter,

Was not doubting you, but when I hear my colleagues about tool chain revisions, I am scared for them.
Maybe RP is better, but TI and ST are the ones they work with.

Volhout
PicomiteVGA PETSCII ROBOTS
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3800
Posted: 04:18pm 03 Sep 2024
Copy link to clipboard 
Print this post

A lot of the toolchains use gcc (they even say so sometimes) which is very mature but not 100% bug free (what large software is?) and keeps getting changes ("improvements", hopefully).

The hardware often needs special care in the software, which gcc can usually do (if not always attractively).

(By gcc I mean the whole gcc...link toolchain including assembler.)

John
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 06:13pm 03 Sep 2024
Copy link to clipboard 
Print this post

@Peter,

Tested the new PicoMiteVGA2040 version. Most of the programs run.

Issues

- Circle game crashes all together, all versions. This may have something to do with the fact that Circle was a proof of concept for using PIO to decode NES controllers. I will check the way the PIO1 code is generated and works. It may be that it does something that is was good at the time, but not allowed now anymore. Will be continued.

- Many games use DIM MAP(), conflicting with the recent introduction of the MAP function.

- I have not tested the thermal camera yet. Will be continued.


EDIT: all PIO program (for PIO1) do not work anymore (crash the pico into a reboot).

Volhout
Edited 2024-09-04 04:18 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 06:51pm 03 Sep 2024
Copy link to clipboard 
Print this post

Harm

The MAP command and function are used on the CMM2 so I don't want to rename them - sorry.

This hopefully fixes the PIO issue


PicoMiteVGA.zip


Thanks for the testing
Edited 2024-09-04 04:58 by matherp
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 142
Posted: 07:54pm 03 Sep 2024
Copy link to clipboard 
Print this post

Peter , I have tried to compile the firmware from your github file and keep getting a
xregex.h file not found. I see a regex.c file bit no .h file? Am i missing something or is a file missing?
I think I have everything updated in VSC.....
 
Malibu
Senior Member

Joined: 07/07/2018
Location: Australia
Posts: 228
Posted: 05:06am 04 Sep 2024
Copy link to clipboard 
Print this post

G'day Peter, thanks for the update version  

I've just uploaded to my WebMite and seems to be working pretty stable so far... time will tell, but I can't get it glitch as yet.
Only one issue is that every time it receives a web hit, I get the message
  Quote  "Internal Error in tcp_server_recv - Attempting recovery"

on the MMCC screen.
That jogged a memory in me, so I checked my version of the source code and found that I had commented out the
//MMPrintString("Internal error in tcp_server_recv - Attempting recovery");

line in MMtcpserver.c

I'm pretty sure I hadn't mentioned this in our discussions, because I'd forgotten about it by then, but I've a feeling it was also happening on the 5.09.00 RC5. (Hence my 'commenting out' band-aid)
Doesn't seem to have any effect in the correct operations of the TCP Server.
Not sure why it's happening, but it's been there for the last couple of versions.
John
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 06:47am 04 Sep 2024
Copy link to clipboard 
Print this post

@Peter,

I am currently a bit pressed for time with my work, so further diagnose must wait a bit (after the weekend). But the last release on VGA that you did allowed PIO programs to run, but now FlappyBird crashes (without error message). It looks like it happens when the framebuffer layer is manipulated. But it stops the VGA video output (monitor shuts off). The led however keeps blinking, and USB is still up.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 07:07am 04 Sep 2024
Copy link to clipboard 
Print this post

@Peter,

This is an observation that I want to share, but it may not be related to any bug.

When installing 5.09.00 and this new 6.00 beta I use OPTION RESET VGA DESIGN 2 to get all options set correctly for the platform.
And both platforms behave the same (they reboot, and after reboot the options are installed when you type OPTION LIST )

But when you install the options independent the behaviour with the OPTION MODBUFF is different.

On 5.09.00 OPTION MODBUFF ENABLE 180 asks confirmation, and then reboots (clear on Putty since it disconnects, difficult to see on TeraTerm since it reconnects).
On 6.00 OPTION MODBUFF ENABLE 180 asks confirmation, and then it "hangs". No reboot.
When I repower the pico (USB out/in), it shows the OPTION MODBUFF. But there is a difference between 50900 and 600 when this option is installed manually.

Volhout
Edited 2024-09-04 17:07 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1344
Posted: 07:37am 04 Sep 2024
Copy link to clipboard 
Print this post

Well the timing finally went into my favour as my pico boards turned up today   So I've been thinking of the best way to hook up this 7" LCD I have here and on searching for pcb's on this forum didn't get any hits where the pico is mounted to the pcb that plugs into the LCD.

Well as I used to use Sprint Layout 4 back in the day it is time to get the latest version and make my own boards.

Now all the talk is on 16 bit for the LCD's and this 7" LCD is already setup in V5.8 for 8 bit is V6 setup for driving this at 16 bits. The SDCard and Touch are SPI and there is the pins to drive 16 bits so I do think it's worth asking the question.

Anyway flashed the pico with V6 so it is already to go

Regards Bryan
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 08:30am 04 Sep 2024
Copy link to clipboard 
Print this post

Hi Bryan,

This thread is about the pico with RP2040.
You are most likely referring to the RP2350 (pico2) boards...

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 08:34am 04 Sep 2024
Copy link to clipboard 
Print this post

  Quote  I am currently a bit pressed for time with my work, so further diagnose must wait a bit (after the weekend). But the last release on VGA that you did allowed PIO programs to run, but now FlappyBird crashes (without error message). It looks like it happens when the framebuffer layer is manipulated. But it stops the VGA video output (monitor shuts off). The led however keeps blinking, and USB is still up.


Please post or point me at the program and I'll have a look

I think I know the modbuff issue will fix in next beta
Edited 2024-09-04 18:51 by matherp
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 09:08am 04 Sep 2024
Copy link to clipboard 
Print this post

@Peter,

This is the flappy bird VGA archive:

2024-01-31_064804_flappyVGA_b1.zip

You need to change (in line 231) in "flappy.bas"
SPRITE FRAMEBUFFER
to
BLIT FRAMEBUFFER

-or- use this executable (where I made the change).

flappy.zip

Volhout
Edited 2024-09-04 19:09 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 03:29pm 04 Sep 2024
Copy link to clipboard 
Print this post

V6.00.00b5


PicoMiteRP2040binariesb5.zip


Fixes various bugs. VGA and VGAUSB now tested to run flappy birds

VGA and VGAUSB new CPU speeds 157000 and 315000 in addition to 126000, 252000 and 378000. These generate the video at 75Hz rather than 60. 315000 is the same CPU speed as the RP2350 HDMI versions

Removal of a couple of info only messages on WebMite

XMODEM reworked and retested on USB versions and working direct to A: drive (for me at least)
Edited 2024-09-05 01:38 by matherp
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 04:11pm 04 Sep 2024
Copy link to clipboard 
Print this post


option list
PicoMiteVGA MMBasic USB Edition  6.00.00b5
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD GR
OPTION CPUSPEED (KHz) 315000
OPTION SDCARD GP5, GP6, GP7, GP4
> xmodem receive "test2.jpg"


Sorry, for me xmodem receive always stops after 640 bytes.
It's exasperating and a real pity.  
 
     Page 1 of 4    
Print this page
© JAQ Software 2024