|
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 KingdomPosts: 13 |
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 KingdomPosts: 10619 |
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 KingdomPosts: 13 |
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 ZealandPosts: 2466 |
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 :-) |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |