Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:12 20 Nov 2025 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 sending "Make Cursor Visible" command every 30 seconds

Author Message
KenH
Newbie

Joined: 06/02/2022
Location: United Kingdom
Posts: 13
Posted: 01:55pm 06 Feb 2022
Copy link to clipboard 
Print this post

Hi

I received a Pi Pico yesterday and have loaded PicoMite version 5.0703.

The PicoMite is sending a "Make Cursor Visible" command ([?25h) to the console every 30 seconds unless there is traffic to the console.

I guess this is not obvious if your terminal program is VT100 / VT220 compatible as this will just be taken as  a command sequence, but is a problem with a simple terminal emulator such as mine.

See results below.

Regards

Ken

> print MM.ver
5.0703
>
>
> [?25h[?25h[?25h[?25h[?25h[?25h[?25h[?25h[?25h[?25h[?25h[?25h[?25h
>
> do:pause 15000:print "OK":loop
OK
OK
OK
OK
OK
>
> do:pause 45000:print " OK":loop
[?25h OK
[?25h OK
[?25h OK
[?25h OK
>
> do:pause 120000:print " OK":loop
[?25h[?25h[?25h[?25h OK
[?25h[?25h[?25h[?25h OK
>
>
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10619
Posted: 01:57pm 06 Feb 2022
Copy link to clipboard 
Print this post

This is something you will need to handle. Without occasional output the TinyUSB stack used seems to timeout and drop the USB connection. The escape sequence is used as a benign way to keep the connection alive
 
KenH
Newbie

Joined: 06/02/2022
Location: United Kingdom
Posts: 13
Posted: 02:15pm 06 Feb 2022
Copy link to clipboard 
Print this post

Yes, I sort of guessed that was the reason.

I'll just have to modify my terminal program to suit.


Regards

Ken
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2466
Posted: 02:18pm 06 Feb 2022
Copy link to clipboard 
Print this post

hi Ken,
   welcome to the forum. what you are seeing is a known problem.

if you are running linux or windows, you can download GFXterm from here:
http://www.thebackshed.com/docregister/ViewDoc.asp?DocID=22

this is a simple terminal emulator (a single .exe file) that supports the VT codes sent by the pico version of MMbasic. if you are running a mac, you'll need to compile the GFXterm source.


peter: have you tried just sending a null (chr$(0)) instead? most terminal programs, and indeed most terminals, should just ignore this.


cheers,
rob   :-)
 
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 2025