Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:31 13 May 2026 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 : MMBasic V6.03.00 release candidates

     Page 6 of 6    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11312
Posted: 09:22am 12 May 2026
Copy link to clipboard 
Print this post

V6.03.00RC7
PicoMiteRP2040V6.03.00RC7.zip
PicoMiteRP2350V6.03.00RC7.zip

Fixes bug introduced in rnd()
Fixes bug introduced in POS/pos used in strings
Improved error detection in WEB versions
Additional parameter in OPTION WIFI
If set correctly this will overcome issues with things like channel 12,13 usage by a router in countires where that is legal
  Quote  OPTION WIFI ssid$, passwd$ [,name$] [, country$]
OPTION WIFI ssid$, passwd$ [, name$] [, ipaddress$, mask$, gateway$] [, country$]
Configures the firmware to automatically connect to a WiFi network on
restart.
'ssid$' is the name of the network and 'password$' is the access
password. Both are strings and if string constants are used they should
be quoted.
Optionally a name for the device can be specified 'name$', otherwise a
name is created from the unique device ID.
Optionally, a static IP address, IP mask, and gateway address can be
specified as 'ipaddress$', 'mask$', 'gateway$'.
Optionally a 2-letter ISO country code 'country$' can be specified to
set the WiFi regulatory domain. The default is "XX" (worldwide), which
restricts the device to the most conservative subset of channels and
transmit power. Setting the local country code is recommended and is
often required to associate with EU routers (for example AVM Fritzbox)
which may use channels 12 or 13. If 'country$' is omitted the
previously stored value is preserved; "" or "WW" both select
worldwide. The country code is a regulatory setting and must match
the country in which the device is operated.

Supported country codes:
AU AT BE BR CA CH CL CN CO CZ DE DK EE ES FI FR GB GR HK HU IL IN
IS IT JP KE KR LI LT LU LV MT MX MY NG NL NO NZ PE PH PL PT SE SG
SI SK TH TR TW US ZA
XX or WW (worldwide, default)

eg. OPTION WIFI "mysid","mypassword","myPico","DE"

eg. OPTION WIFI "mysid","mypassword","myPico",
  "192.168.1.111","255.255.255.0","192.168.1.1","DE"

Edited 2026-05-12 19:22 by matherp
 
BarryH

Newbie

Joined: 05/01/2025
Location: Australia
Posts: 38
Posted: 12:12pm 12 May 2026
Copy link to clipboard 
Print this post

Hi Peter,
LIST PINS is still faulty on 2350B DIL (unless I'm using the wrong firmware)

PicoMite MMBasic RP2350B V6.03.00RC7
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION PICO OFF
OPTION CPUSPEED (KHz) 200000

GP0 1
GP1 2
GP19 25
GP20 26
GP21 27
GP22 29
GP23 41
GP24 42
GP25 43
GP26 31
GP27 32
GP28 34
GP29 44
GP30 45

I've done a bit of research, gone back through several previous versions, and found that even before LIST PINS was included in the V6.00.002 firmware, the use of the "FreePins" code snippet in V6.00.001 gives incorrect Pin / GPx associations.
Each time I have been using Clear_Flash_RP2350.uf2 and FLASH ERASE ALL
I could have sworn I've used the command successfully, previously.
Edited 2026-05-12 22:13 by BarryH
BarryH
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11312
Posted: 01:05pm 12 May 2026
Copy link to clipboard 
Print this post

The firmware is correct. The pin mapping is for the Pico2 only. Pins above gp28 have "virtual" pin numbers that don't reflect any specific layout. The firmware can't know what variant of PCB a RP2350B is on and there isn't a Raspberry Pi standard for the RP2350B. Use GP designation and you can't go wrong and the code is transportable between different PCBs
Edited 2026-05-12 23:09 by matherp
 
BarryH

Newbie

Joined: 05/01/2025
Location: Australia
Posts: 38
Posted: 01:38pm 12 May 2026
Copy link to clipboard 
Print this post

thanks Peter - I fully understand the principal now.
Edited 2026-05-12 23:38 by BarryH
BarryH
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 826
Posted: 02:20pm 12 May 2026
Copy link to clipboard 
Print this post

  matherp said  
Improved error detection in WEB versions
Additional parameter in OPTION WIFI
If set correctly this will overcome issues with things like channel 12,13 usage by a router in countires where that is legal


Sorry, my webmite still does not reconnect after CPU Restart connected to a Fritzbox 7520 via DHCP:
> cpu restart                                                                                        
/usr/bin/cu: Got hangup signal                                                                      
                                                                                                   
Disconnected.                                                                                        
dietmar@Intel-Desktop:~/Projekte/VT-100$ /usr/bin/cu -l /dev/ttyACM0 -s 115200                      
Connected.                                                                                          
de connecting to WiFi...                                                                            
failed to connect.                                                                                  
> option list                                                                                        
WebMite MMBasic RP2040 Edition V6.03.00RC7                                                          
OPTION COLOURCODE ON                                                                                
OPTION CPUSPEED (KHz) 252000                                                                        
OPTION WIFI PicoLan, *********, de                                                                  
OPTION TELNET CONSOLE ON



  BarryH said  Hi Peter,
LIST PINS is still faulty on 2350B DIL (unless I'm using the wrong firmware)

Not for me, but if length of the list exceeds local console/screen terminal rows then it won't wait for a key press. On local screen lines are gone..
Edited 2026-05-13 00:30 by dddns
 
     Page 6 of 6    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026