Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:50 28 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 : WebMite and PicoMite firmware release V5.07.07

     Page 2 of 4    
Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4043
Posted: 04:08pm 05 May 2023
Copy link to clipboard 
Print this post

  IanRogers said  Lets face it... If Tom hasn't found all the bugs, the possibility is:- There can't be anymore.


LOL, my tests only cover some subset of the intersection of MMB4L behaviour and PicoMite behaviour.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1114
Posted: 04:30pm 05 May 2023
Copy link to clipboard 
Print this post

Thank you Peter, Geoff etc. for reviving my old passion for BASIC programming

'no comment
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 897
Posted: 04:34am 06 May 2023
Copy link to clipboard 
Print this post

  Geoffg said  
  Volhout said  The command list contains duplicate PWM sections (spotted in picomite manual).

I'm not sure what you mean.  I could not find any duplicated text (in the PicoMite manual).
Geoff

I think this may refer to bookmarks at the third level. PWM is OK in Picomite but is a duplicate bookmark in PicomiteVGA and WebMite.

In a number of places the bookmarks created under the details subsection contain extra text or copies of the key words.
i.e. for Picomite.
OPTIONS
OPTION SYSTEM I2C
Commands
CTRLVAL (extra blank entry)
LIBRARY (or included as bookmark)
LINE (AA ?)
MEMORY PACK
MEMORY UNPACK
SYNC

Late inclusion for Tom is missing.
MM.INFO$(LINE) returns  the current line number as a string. LIBRARY returned if in the Library and UNKNOWN if not in a program. Assists in diagnostics while unit testing.
Latest F4 Latest H7
 
LouisG
Senior Member

Joined: 19/03/2016
Location: Australia
Posts: 124
Posted: 09:37am 06 May 2023
Copy link to clipboard 
Print this post

Marvellous work Peter and Geoff.

"BASIC" is starting to be a misnomer. V5.07.07 is way above being basic.

Also I think we now need a member title one step above Guru.
I'd like to propose

***  PICOPATH  ***


.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2137
Posted: 01:19pm 06 May 2023
Copy link to clipboard 
Print this post

Having some problems with SD cards and BMP files on this release.
Load Image from B: starts then fails and disconnects the drive.
Eg
> B:
> load image "Square.bmp"
Warning: SDcard Removed
>
Error : The file/directory object is invalid
>

When I tried Save Image to B: it bricked the card. No longer recognized by any OS. SD card repair software can't see it either.

Reverted to RC8 and remaining cards all work ok. Re-installed latest firmware and problems return.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 01:30pm 06 May 2023
Copy link to clipboard 
Print this post

If you have any issues to report then as a minimum post the results of OPTION LIST or I will ignore them
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 02:29pm 06 May 2023
Copy link to clipboard 
Print this post

I think I found an interesting behaviour between SPRITE WRITE and SPRITE SHOW wrt the 'mode' and 'options' parameters.  They seem to have the opposite behaviour for handling transparency.

For SPRITE WRITE, the 'mode' needs to be set to 4 for black to be output.

For SPRITE SHOW, 'options' needs to be 0 for black to be output.

Not sure if this was intentional and I just have misinterpreted the meaning of the arguments.  I thought that they were going to behave the same.

No issue for now.  I know how to get black in my sprites and I'm happy.  

Hawk
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2137
Posted: 09:54pm 06 May 2023
Copy link to clipboard 
Print this post

Re SD card issue, here is Option List.

option list
PicoMite MMBasic Version 5.07.07
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION SYSTEM I2C GP8,GP9
OPTION DISPLAY 55, 132
OPTION LCDPANEL ILI9488, RLANDSCAPE,GP15,GP14,GP13,GP7
OPTION TOUCH GP12,GP11
GUI CALIBRATE 0, 3820, 408, -1306, 946
OPTION SDCARD GP22
OPTION RTC AUTO ENABLE
>

If BMPs are first copied from B: to A: there is no problem.
 
NPHighview

Senior Member

Joined: 02/09/2020
Location: United States
Posts: 200
Posted: 10:00pm 06 May 2023
Copy link to clipboard 
Print this post

I've been going through Geoff's superb manual, testing out commands that I haven't seen or tried before. Here's a curiosity:
...
Option Angle Degrees
Print "After OPTION ANGLE DEGREES MM.INFO Says Option Angle is " MM.Info(OPTION ANGLE)
Option Angle Radians
Print "After OPTION ANGLE RADIANS MM.INFO Says Option Angle is " MM.Info(OPTION ANGLE)
...


and when run, this yields what seems to me to be incorrect results:

> run
After OPTION ANGLE DEGREES MM.INFO Says Option Angle is  4
After OPTION ANGLE RADIANS MM.INFO Says Option Angle is  4


Per Peter's request for current options, here's mine (slightly redacted):
> option list
WebMite MMBasic Version 5.07.07
OPTION COLOURCODE ON
OPTION POWER PWM ON
OPTION HEARTBEAT OFF
OPTION CPUSPEED (KHz) 200000
OPTION DISPLAY 60, 132
OPTION WIFI xxxxxxxxxxxx, ***************
OPTION TCP SERVER PORT 80
OPTION TELNET CONSOLE ON

Live in the Future. It's Just Starting Now!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 11:28pm 06 May 2023
Copy link to clipboard 
Print this post

  Geoffg said  
  Volhout said  The command list contains duplicate PWM sections (spotted in picomite manual).

I'm not sure what you mean.  I could not find any duplicated text (in the PicoMite manual).

It is OK, I have found the duplicates that you mentioned (in the two manuals except the PicoMite).  Thanks for the heads up.

Geoff
Geoff Graham - http://geoffg.net
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 07:42am 07 May 2023
Copy link to clipboard 
Print this post

  Quote  Re SD card issue, here is Option List.


Can't replicate the issue. Suggest you clear the flash and re-load. Also please try without the backlight pin and see if any difference

  Quote  this yields what seems to me to be incorrect results:


Thanks for the report. I've added it to the known bugs list
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4247
Posted: 10:23am 07 May 2023
Copy link to clipboard 
Print this post

I have not been able to make WebMite connect to an open (unprotected - no password required) hotspot. It is documented (manual) that it can not. Just a question: Is this on purpose ?

Volhout
Edited 2023-05-07 20:33 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 11:52am 07 May 2023
Copy link to clipboard 
Print this post

  Quote  Is this on purpose ?

Just the way I've coded it. I could allow a blank password in a future release but as of now the WebMite can't connect to an open network
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4247
Posted: 02:31pm 07 May 2023
Copy link to clipboard 
Print this post

Don't bother.
I have set up my access point with dual ssid's. One open for guests, and one secure.

My primary tests always are on the guest account. But once I realized webmite did mot connect, it was moved to the secure account. But since I have no idea how secure webmite is, I will try to setup a 3rd ssid, special for webmite.

Want to keep my main wifi secure as possible.

Volhout
PicomiteVGA PETSCII ROBOTS
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2137
Posted: 11:50pm 07 May 2023
Copy link to clipboard 
Print this post

Perhaps give the guest account a simple password like 'guest', 'wifi' or 'password'.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2137
Posted: 12:30pm 08 May 2023
Copy link to clipboard 
Print this post

  Quote  Having some problems with SD cards and BMP files on this release.
Load Image from B: starts then fails and disconnects the drive.


This has kept me off the streets for a while. Peter couldn't replicate it and no one else was complaining so it had to be a hardware problem that just happened during 'update firmware'. A weird fault in sharing SPI, the display corrupts SD access and SD disables touch. All wiring tested (repeatedly), ILI9488 replaced with ILI9341, SPI pins changed, even moved System SPI to SPI2. re-flashed with various RCs but no change. Only got it working with System SPI on SPI1 for the display and touch with SD on SPI2.

Could a corrupt download have caused this? It is a remarkable coincidence if the appearance of the fault is unrelated to it.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9129
Posted: 01:07pm 08 May 2023
Copy link to clipboard 
Print this post

Phile

Try this - identical to the release

PicoMite.zip

The other thing that can cause the problem you are seeing is a flakey power supply cable. There is also an issue with some of the Pico clones where the onboard regulator hasn't got enough umph for the LED backlight and the SDcard. Do you have the filter on the sdcard power (2.2ohm resistor and 10uF across the sdcard)?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 01:15pm 08 May 2023
Copy link to clipboard 
Print this post

Did you try nukeing the flash and trying again from scratch with a new download? Have you tried reverting to an earlier version? A firmware error of just one bit can cause all sorts of problems. It doesn't have to be hardware. OTOH you may have a faulty GPIO register on your Pico or the output drivers can no longer source enough current. Or your power supply may be sagging because there's too much resistance in your USB lead.

I hate this sort of problem.  :(
Mick

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

Joined: 05/03/2018
Location: Netherlands
Posts: 4247
Posted: 02:16pm 08 May 2023
Copy link to clipboard 
Print this post

Hi Phil,

I saw the pluriel "cards". Assume you have tested different.
Asking because I had one card that got corrupted.

I opened one-for-one every single file on that card until I found the one that caused the problem. Killed the corrupt file with pico (my PC could not delete the file) and from that moment on the card worked in both pico and PC.

I will try with the release 50707 tonight and see if I can duplicate. Assume this is pico (not picoVGA).

Volhout
PicomiteVGA PETSCII ROBOTS
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 161
Posted: 02:39pm 08 May 2023
Copy link to clipboard 
Print this post

With MMBASIC + *Mite families, + some external hardware, I feel like I have everything I ever wanted :) 
Recently, I was writing some small tools for the old good ZX spectrum in MMB4W and I felt something hardly achieved these days: happiness.

I'm so curious to try WebMite.
Thank you, guys, for all the good you are doing and sharing.
 
     Page 2 of 4    
Print this page
© JAQ Software 2024