Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:28 25 Dec 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.01 release candidates - please test thoroughly

     Page 9 of 21    
Author Message
aFox
Regular Member

Joined: 28/02/2023
Location: Germany
Posts: 86
Posted: 10:16pm 04 Dec 2024
Copy link to clipboard 
Print this post

Testing TFTP file transfer on Android I was able to get and put files to the Pico also if the BASIC program is running.

I am concerned about the behavior that you cannot switch TFTP on and off.

Gregor
Edited 2024-12-05 08:18 by aFox
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9292
Posted: 10:32pm 04 Dec 2024
Copy link to clipboard 
Print this post

  Quote  All functions work with a variety of mice using the Mouse functions at the command line.
None of the mouses work in the editor. Without a PS/2 kb configured, perhaps that is expected?


You probably need to set the keyboard pins to something other than gp8,gp9 before disabling and then set the OPTION MOUSE. Certainly works for me with keyboard disabled (GP8,GP9) and mouse on anything else
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2180
Posted: 11:18pm 04 Dec 2024
Copy link to clipboard 
Print this post

  Quote  You probably need to set the keyboard pins to something other than gp8,gp9
Ok, another thing for the manual update.
Eg. OPTION KEYBOARD us,gp0,gp1

Found the problem - senility! Switch to Mode 1 first then all is good.

Edit. Maybe not completely senile, as the mouse does work in the editor in Mode 2. Just Mode 3 that is a problem.
Edited 2024-12-05 09:37 by phil99
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9292
Posted: 08:21am 05 Dec 2024
Copy link to clipboard 
Print this post

  Quote  Edit. Maybe not completely senile, as the mouse does work in the editor in Mode 2. Just Mode 3 that is a problem.


Its not supposed to I thought I had locked it to mode 1 only.

UPDATE
I had, trying to edit in mode 2 automatically switches to mode 1 so it works.
Mode 3 doesn't switch so it doesn't work as the mouse interaction relies on tiles. Perhaps I should switch mode 3 as well
Edited 2024-12-05 18:24 by matherp
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 920
Posted: 08:28am 05 Dec 2024
Copy link to clipboard 
Print this post

  aFox said  Testing TFTP file transfer on Android I was able to get and put files to the Pico also if the BASIC program is running.

I am concerned about the behavior that you cannot switch TFTP on and off.

Gregor


Android device to/from PicoMite:
Hey Gregor, I remember that you were not too impressed with response times; has this improved?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9292
Posted: 08:46am 05 Dec 2024
Copy link to clipboard 
Print this post

  Quote   am concerned about the behavior that you cannot switch TFTP on and off.

OPTION TFTP ON/OFF
 
ville56
Senior Member

Joined: 08/06/2022
Location: Austria
Posts: 119
Posted: 03:49pm 05 Dec 2024
Copy link to clipboard 
Print this post

I found a strange behavior with a Webmite: when running GUI TEST LCDPANEL the test starts and after some time it stops, also the heartbeat led stops blinking. After pressing "return" on the console and a few seconds it spits out an error message and runs again until the next hickup. Seems like the system is totally blocked but still does something with the console input.

>
> option list
WebMite MMBasic RP2040 Edition V6.00.01RC5
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION COLOURCODE ON
OPTION CPUSPEED  252000 'KHz
OPTION LCDPANEL ILI9488W, LANDSCAPE,GP8,GP15,GP9,GP13
OPTION WIFI JN88fg, *********, pico-w, 192.168.0.150, 255.255.255.0, 192.168.0.254
OPTION TELNET CONSOLE ON
OPTION TOUCH GP16,GP17
GUI CALIBRATE 0, 3963, 216, -1285, 859
OPTION SDCARD GP22
OPTION MODBUFF ENABLE  192
OPTION PLATFORM Pico-ResTouch-LCD-3.5
> gui test lcdpanel                     'stopped here and after pressing return
[CYW43] do_ioctl(2, 263, 16): timeout   'stopped here again
[CYW43] do_ioctl(2, 263, 16): timeout   'and again ....

Reagrds,
Gerald
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9292
Posted: 04:14pm 05 Dec 2024
Copy link to clipboard 
Print this post

GUI TEST LCDPANEL doesn't attempt to run the required background tasks to service the WEB hence what you are seeing. It is only really intended to do a quick test that a display is connected correctly
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 298
Posted: 07:58pm 05 Dec 2024
Copy link to clipboard 
Print this post

  matherp said  V6.00.01RC5 revisited
Fixes use of GP0 for PS2 mouse clock


Thank you for supporting PS/2 Mouse, now I have a full-fledged workstation on MMBASIC powered by the monitor. And when there is no electricity, and for us this happens every day on schedule, the monitor is powered by a battery inverter.

Edited 2024-12-06 06:01 by javavi
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2184
Posted: 09:04pm 05 Dec 2024
Copy link to clipboard 
Print this post

I noticed using map vga demos when re flashing a new prog it keeps the previous mod colours and sometime no display. should it default to no map?
PicoMiteHDMI MMBasic USB RP2350A Edition V6.00.01RC4
 
ville56
Senior Member

Joined: 08/06/2022
Location: Austria
Posts: 119
Posted: 11:23am 06 Dec 2024
Copy link to clipboard 
Print this post

  matherp said  GUI TEST LCDPANEL doesn't attempt to run the required background tasks to service the WEB hence what you are seeing. It is only really intended to do a quick test that a display is connected correctly


this blocking also happens if the system is just sitting on command line level. Heartbeat led stops blinking and starts again after pressing return. Error message is the same.
                                                                 
73 de OE1HGA, Gerald
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 298
Posted: 07:46pm 06 Dec 2024
Copy link to clipboard 
Print this post

Why when I draw lines with point coordinates protruding beyond the screen resolution perimeter do they wrap around the perimeter, left, right, bottom, but this does not happen at the top.
Line 320,240,800,600
Line 320,240,100,600
Line 320,240,-50,400

I would expect the line to simply be cut off by the visible area of ​​the screen. Yes, and when I draw circles with centers that go beyond the screen, such a closure does not occur, but the circle is simply cut off.
Is it possible to fix this?
 
aFox
Regular Member

Joined: 28/02/2023
Location: Germany
Posts: 86
Posted: 09:17pm 06 Dec 2024
Copy link to clipboard 
Print this post

  matherp said  
  Quote   am concerned about the behavior that you cannot switch TFTP on and off.

OPTION TFTP ON/OFF


It works but this option is missing within the manual.

Gregor
 
aFox
Regular Member

Joined: 28/02/2023
Location: Germany
Posts: 86
Posted: 01:00am 07 Dec 2024
Copy link to clipboard 
Print this post

  PhenixRising said  
  aFox said  Testing TFTP file transfer on Android I was able to get and put files to the Pico also if the BASIC program is running.

I am concerned about the behavior that you cannot switch TFTP on and off.

Gregor


Android device to/from PicoMite:
Hey Gregor, I remember that you were not too impressed with response times; has this improved?


Yes it has.
The maximum delay between two calls is now 300 ms, provided there is no overload due to frequent requests.
Via Internet, a simple website has a maximum delay of 50 ms.

A Bluetooth stack would of course speed this up considerably.
A distance of 20 meters is not a problem using Pico's own BL chip. But Peter does not want to implement this. So the only option is an adapter. Maybe a second Pico as a sandwich.

Gregor
Edited 2024-12-07 11:06 by aFox
 
ville56
Senior Member

Joined: 08/06/2022
Location: Austria
Posts: 119
Posted: 10:23pm 07 Dec 2024
Copy link to clipboard 
Print this post

DS18B20 sensor is not working with V6.00.01 RC5. When checking signal level with the scope, there is no valid level change, just some wiggling at high level. Command is
 TEMPR START gp14,2
 temp_R = TEMPR(gp14)
result is 1000

Reflashed V6.00.00 RC15 and it works. RC17 already has the bug. Haven't tried other versions in between them.

Platform is Webmite RP2040 running at 133 MHz.

Gerald
Edited 2024-12-08 08:38 by ville56
                                                                 
73 de OE1HGA, Gerald
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2180
Posted: 11:12pm 07 Dec 2024
Copy link to clipboard 
Print this post

Not sure why yours works on the older firmware but not on the latest.
> TEMPR START gp0,2
> ? TEMPR(gp0)
17.125
> option list
PicoMite MMBasic RP2040 Edition V6.00.01RC5

> TEMPR START gp0,2
> ? TEMPR(gp0)
17.5
> option list
PicoMiteVGA MMBasic RP2350A Edition V6.00.01RC5

Edit.
Perhaps a short pause between START and TEMPR is worth a try.

Edit 2
No, that isn't it.
> TEMPR START gp0,2 : ? TEMPR(gp0)
17
>

Edited 2024-12-08 09:23 by phil99
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2184
Posted: 12:16am 08 Dec 2024
Copy link to clipboard 
Print this post

using usb mouse trying to get gursor move over background no luck. wot I doin wrong please?
mode 2
cls rgb(blue)

mouse_x=DEVICE(MOUSE 2,X) ' returns the x position of the mouse (0-MM.HRES-1)
mouse_y=DEVICE(MOUSE 2,Y) ' returns the y position of the mouse (0-MM.VRES-1)
SPRITE READ 1, mouse_x-5,mouse_y-5,10,10
circle mouse_x,mouse_y,2,,rgb(white)              
last_mouse_x=mouse_x
last_mouse_y=mouse_y
do

mouse_x=DEVICE(MOUSE 2,X) ' returns the x position of the mouse (0-MM.HRES-1)
mouse_y=DEVICE(MOUSE 2,Y) ' returns the y position of the mouse (0-MM.VRES-1)
SPRITE WRITE 1,last_mouse_x,last_mouse_y
SPRITE READ 1, mouse_x-5,mouse_y-5,10,10

circle mouse_x,mouse_y,2,,rgb(white)

loop
 
ville56
Senior Member

Joined: 08/06/2022
Location: Austria
Posts: 119
Posted: 08:33am 08 Dec 2024
Copy link to clipboard 
Print this post

  ville56 said  DS18B20 sensor is not working with V6.00.01 RC5. When checking signal level with the scope, there is no valid level change, just some wiggling at high level. Command is
 TEMPR START gp14,2
 temp_R = TEMPR(gp14)
result is 1000

Reflashed V6.00.00 RC15 and it works. RC17 already has the bug. Haven't tried other versions in between them.

Platform is Webmite RP2040 running at 133 MHz.

Gerald


did some research .... the problem appears to be the sink current of the GP14 pin. There is a 4k7 pullup resistor connected to +3V3 and GP14 cannot be pulled to low in V6.00.01 RC5 whereas in 6.00.00 RC15 it does. Without pullup it works sometimes, as the signal is not very clean then. Did not look into the pico datasheet if there are some options to limit drive/sink current on I/O pins. But this seems to be the problem. The effect is the same on Webmite RP2040, Picomite 2040 and Picomite 2350.
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9292
Posted: 09:10am 08 Dec 2024
Copy link to clipboard 
Print this post

Are you using the same 4k7 resistor in both cases. 4k7 needs less than 1mA to sink and you can't program the IO port to less than 2mA so I would check the resistor since phil99 confirms it is working for him. I have reduced the drive from 16ma to 8 as the Rp2350 doesn't like 16 but this should be more than enough.
Edited 2024-12-08 19:14 by matherp
 
ville56
Senior Member

Joined: 08/06/2022
Location: Austria
Posts: 119
Posted: 11:35am 08 Dec 2024
Copy link to clipboard 
Print this post

yes, i've checked the resistors for value, they are ok. Tried 3 different sensors with 3 different resistors, so that should be not the problem. I will try to figure out what resistor value is the limit, if there is any.
                                                                 
73 de OE1HGA, Gerald
 
     Page 9 of 21    
Print this page
© JAQ Software 2024