Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:46 21 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 1 of 22    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9080
Posted: 09:38am 29 Sep 2024
Copy link to clipboard 
Print this post

V6.00.00RC1


PicoMiteRP2040V6.00.00RC1.zip


PicoMiteRP2350V6.00.00RC1.zip

Please find attached release candidates for all firmware versions. Please post on this thread any bugs found. Please NOTHING ELSE.

Changes from RC9/10:
Fixes bug in MATH(SD function
New analog input function
SETPIN pinno/gpno,ARAW
? pin(pinno/GPno)
This returns a single shot analog conversion in the range 0-4095 - no averaging. This is about 2.5 times as fast as using the normal AIN
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 09:59am 29 Sep 2024
Copy link to clipboard 
Print this post

Thanks for these.

Using 2350 HDMI version on a standard Pico2 (but think the following 'niggle' will occur on all versions).


At the command prompt, using the 'left cursor' (to position the cursor to a position within whatever has been typed) puts the system into 'insert mode' (i.e. all characters to the right of the cursor will be shifted right, and the typed characters are inserted).

However, using the 'right cursor' then puts the system into 'overwrite' mode (rather than 'insert' mode) and annoyingly overights any characters one-by-one as you type.

Ideally, the left and right cursors simply behave as 'insert'.

Hope this makes sense!!
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 10:24am 29 Sep 2024
Copy link to clipboard 
Print this post

Still using 2350 HDMI version on a standard Pico2; and for now I am just using TeraTerm as console (i.e. no HDMI monitor connected).

As I am using TeraTerm, I wanted to change the 'size' of the display so typed:
OPTION DISPLAY 40,125

This was greeted with 'Error : Cannot change LCD console' (not a problem as I guess it is somehow linked to the current MODE, and the user would be using a connected HDMI display.

Just went on to try OPTION DISPLAY with three parameters (and got 'Error : Syntax'), then tried with just one valid paramaeter and it cleaered the console (TeraTerm) screen.

Would it be better to simply trap OPTION DISPLAY in the same way as other OPTIONS that arent available i.e. 'Error : Invalid Option' (irrespective of any parameters).

The above comment is simply a recommendation to 'standardise' behaviour for potential use in a classroom environment.......

Loving the usability of MMBASIC on Pico2
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 896
Posted: 10:55am 29 Sep 2024
Copy link to clipboard 
Print this post

  Quote  
At the command prompt, using the 'left cursor' (to position the cursor to a position within whatever has been typed) puts the system into 'insert mode' (i.e. all characters to the right of the cursor will be shifted right, and the typed characters are inserted).

However, using the 'right cursor' then puts the system into 'overwrite' mode (rather than 'insert' mode) and annoyingly overights any characters one-by-one as you type.


This is by design when editing multi line commands was added. In commandline mode there is no indication on the VT100 whether you are in INS or OVR mode.
The INS key will toggle between OVR and INS but you don't have an indication of which mode you are in.
Using the arrow left/right if your last key is arrow right you can assume OVR, if last key is arrow left you can assume INS.

I just arrow back 1 extra character and arrow forward 1 which puts you on the character you want to overwrite in OVR mode.  

This is common across the Armmites and Picomites and works well in my view so would vote against a change to this.
The Armmite F4 Manual section Command Line Buffer and Editor has a table describing the edit keys.

Left Arrow
Moves cursor one character left. INS (Insert Mode) is turned on so any character type will be inserted at the the cursor position. Turns on edit mode so Up and Down arrows are disabled. An additional Left Arrow issue at the home position will turn on OVR (overwrite) mode.

Right Arrow
Moves cursor one character right. OVR (Overwrite Mode) is turned on so any character type will overwrite the character at the the cursor position. Turns on edit mode so Up and Down arrows are disabled.
Latest F4 Latest H7
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 161
Posted: 11:08am 29 Sep 2024
Copy link to clipboard 
Print this post

with PicoMiteVGARP2040V6.00.00RC1 there is quite strong blurr at left  part of screen (about 8-10 symbols and then it gradually starts to be clear) comparing to PicoMiteVGAV5.08.00

I tried to take better photos, but with mobile it is quite hard to do. (looks like it is mobile misfocus. It is slightly, but it is blurr between two versions too. Maybe I could try to filming that with stable camera and change firmwares) It seems to me I`ve seen this problem once before too. Same happens with USB version

Moving monitor`s H position blurr also moves

Edited 2024-09-29 21:14 by electricat
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9080
Posted: 11:16am 29 Sep 2024
Copy link to clipboard 
Print this post

What cpu speed? Does it make a difference?
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 161
Posted: 11:23am 29 Sep 2024
Copy link to clipboard 
Print this post

On writing this post after, firmware upgrade, CPU speed was 126000 changed to 252000 but still gradually and unpleasantly blurrs
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 11:25am 29 Sep 2024
Copy link to clipboard 
Print this post

(noted about the OVR/INS modes above - Thanks)

HDMI Firmware on Standard Pico2, mounted on Olimex HDMI/uSD/Audio module.

Is there anything I need to do to enable the HDMI output?

Have tried 3 monitors, 2 TVs and 1 AV amp, and none are showing an image (probably something silly I am doing - hence the question if there is anything I need to do to enable the HDMI output.

I have tried multiple leads too (knowingly working as removed from working AV setup.

Default options as below:

PicoMiteHDMI MMBasic Version 6.00.00RC1
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD US
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
OPTION PLATFORM OLIMEX
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6756
Posted: 11:37am 29 Sep 2024
Copy link to clipboard 
Print this post

I believe there is a link to be made on the Olimex board that connects 5V to the HDMI connector. This often has to be made in order for it to work. It's on the circuit but I haven't got a board.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9080
Posted: 11:41am 29 Sep 2024
Copy link to clipboard 
Print this post

  Quote  On writing this post after, firmware upgrade, CPU speed was 126000 changed to 252000 but still gradually and unpleasantly blurrs


Can't replicate - rock solid clear for me. Have you tried auto adjust on the monitor?

  Quote  Is there anything I need to do to enable the HDMI output?


OPTION RESET OLIMEX

and it should then just work - does for me. Are you on a monitor or TV? If TV you may need to enable 5V out - link on back of board
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 11:46am 29 Sep 2024
Copy link to clipboard 
Print this post

  Quote  OPTION RESET OLIMEX

and it should then just work - does for me. Are you on a monitor or TV? If TV you may need to enable 5V out - link on back of board


Nothing on 3 Monitors, 2 TVs and an AV amp input.

Will solder the 5v link on back of board and hopefully this will remedy everything!
(it is so tiny I can barely see it!)
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 11:59am 29 Sep 2024
Copy link to clipboard 
Print this post

Successfully have HDMI output after soldering the 5V link on back of Olimex module. Can now continue to test things......



PETER: What is the expected behaviour (and limitations) of the firmware on a 3250B variant; specifically HDMI and CPUSPEED limitations?

I am simply asking because I would also like to test the firmware on a Pimoroni Pico Plus as well.
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
matherp
Guru

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

Neither the Pimoroni Pico Plus nor the PGA2350 will run at or above 372MHz so you can't use 378MHz VGA or widescreen HDMI
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 161
Posted: 12:56pm 29 Sep 2024
Copy link to clipboard 
Print this post

  matherp said  
Can't replicate - rock solid clear for me. Have you tried auto adjust on the monitor?


Oh, Peter. As always we, users , forget stupid simple things.
I believe You already said once to me, but seems years and bad habitats made my brain dull.

Yes, autoadjustment made it excitingly clear everything.

Maybe it would be usefull to add some kind of trouleshooting Q/A into manual and start collect different user level problems, like, "Autoadjust your monitor IF blurred " and "Use another archiver IF black display after upgrade" etc. etc.

This way your precious time would be saved to some degree.

Thx for your wonderful work.
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 161
Posted: 01:13pm 29 Sep 2024
Copy link to clipboard 
Print this post

Now, another observation, not a bug, but "case" might be of interest or not.

I`m still on old version wardware with PS/2 but wanted to play with VGA-USB version so I powered pico VBUS +5V and connected keyboard through random generic micro USB to USB A OTG cable i had in drawer, like this one


And system has reported:

US USB Keyboard Connected on channel 1
Generic Gamepad Connected on channel 2

I believe, it`s becouse sense pin is grounded/connected through resistor, however shouldn`t system look for VID/PID to be sure it is real device connected?

Just ignore if out of interest.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2129
Posted: 01:15pm 29 Sep 2024
Copy link to clipboard 
Print this post

Thank you for the latest version.
An observation rather than a bug.
Standard RP2040 PicoMite MMBasic Version 6.00.00RC1.
CPU speeds above 378MHz no longer available, reverts to 133MHz.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9080
Posted: 01:38pm 29 Sep 2024
Copy link to clipboard 
Print this post

The firmware treats unrecognized devices as a gamepad as there is no standard code for these. Just ignore them.

  Quote  CPU speeds above 378MHz no longer available, reverts to 133MHz.

Recent versions check for the speed being equal to that requested and revert if not. Different boards will overclock differently
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 193
Posted: 03:18pm 29 Sep 2024
Copy link to clipboard 
Print this post

  matherp said  Recent versions check for the speed being equal to that requested and revert if not. Different boards will overclock differently


And how does the process of checking the availability of overclocking of a specific Pico crystal take place? When selecting an option, is some kind of testing of the processor frequency overclocking performed?
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2108
Posted: 04:09pm 29 Sep 2024
Copy link to clipboard 
Print this post

it loaded ok but says keyboard uk so should I flash_nuke and reflash?
optimex hdmi usb 2350/pico 2
Connected to COM10 at 115200
option list
PicoMiteVGA MMBasic USB Edition  6.00.00RC1
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION AUTORUN  ON
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD UK
OPTION CPUSPEED (KHz) 315000
OPTION DISPLAY 24, 80
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
OPTION PLATFORM OLIMEX
>
> C:\Users\stanley555\Downloads\2024-09-12_195217_bubble2350.bas (1)\bubble2350.b
Uploading using:  'target port\COM10:115200 s\picomite
Upload started
NEW
>
autosav

Upload completed 1

Saved 1124 bytes
>
Time taken: 1478mS
RUN
mode 3 hdmi works fine
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2108
Posted: 04:44pm 29 Sep 2024
Copy link to clipboard 
Print this post

answering own q, flash_nuke first
US USB Keyboard Connected on channel 1
> Generic Gamepad Connected on channel 2
> option list
PicoMiteVGA MMBasic USB Edition  6.00.00RC1
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION CPUSPEED (KHz) 315000
> > option reset olimex
Error : Invalid board for this firmware
> using PicoMiteHDMIUSBRP2350V6.00.00RC1.uf2
but option list says PicoMiteVGA MMBasic USB Edition  6.00.00RC1
 
     Page 1 of 22    
Print this page
© JAQ Software 2024