Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:46 29 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 : Would SomeBody Try ........

     Page 2 of 4    
Author Message
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 09:03pm 06 Mar 2023
Copy link to clipboard 
Print this post

> As far as I understand, the terminal works for direct command entry,
> but the VGA screen does not show any picture. Correct ?

No .... I cannot get the terminal ( editor ) to work .
It will do direct commands , and a program , but goes nuts .
( No startup message to begin with )
I have not been able to get to where I can even consider the VGA screen .
I tried Putty and the same problem .... erratic
So I will continue to work with SCREEN ( I have had it work before )
I am starting to think it may have something to do with my screen
resolution (1280 x 768 (set by appearances))
and / or font size (16 (set by terminal preferences))
??????????? Thank You for the Help  
Edited 2023-03-07 07:10 by hitsware2
my site
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2141
Posted: 11:35pm 06 Mar 2023
Copy link to clipboard 
Print this post

It seems there are still three main areas where the problem could be.

1 The Pico
2 The Terminal
3 The R-Pi

You have tried a number of different terminals with much the same result, so is probably one of the others.
The quickest way to narrow it to one is to test the Pico on another computer. If you get the same problem with W10 and TeraTerm it's the Pico we can focus on. If the editor works there it's back to the R-Pi to dig deeper.
Display settings?
X configuration?
Graphics driver?
Accessibility Options?
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 11:58pm 06 Mar 2023
Copy link to clipboard 
Print this post

  phil99 said  It seems there are still three main areas where the problem could be.

1 The Pico
2 The Terminal
3 The R-Pi

You have tried a number of different terminals with much the same result, so is probably one of the others.
The quickest way to narrow it to one is to test the Pico on another computer. If you get the same problem with W10 and TeraTerm it's the Pico we can focus on. If the editor works there it's back to the R-Pi to dig deeper.
Display settings?
X configuration?
Graphics driver?
Accessibility Options?

F.W.I.W......This Works Fine ( to bad no VGA)
my site
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2141
Posted: 12:18am 07 Mar 2023
Copy link to clipboard 
Print this post

That shows the Pico chip is ok but presumably it's console interacts with the terminal programs differently to the MMBasic editor on your Pico. Testing on another computer would reveal if the firmware has become corrupted.

Edit
Or load a different PicoMiteVGA version. That will give you a fresh copy of the editor. If the same problem returns the only common factor is the R-Pi.
Edited 2023-03-07 10:27 by phil99
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3817
Posted: 12:29am 07 Mar 2023
Copy link to clipboard 
Print this post

  hitsware2 said  > As far as I understand, the terminal works for direct command entry,
> but the VGA screen does not show any picture. Correct ?

No .... I cannot get the terminal ( editor ) to work .
It will do direct commands , and a program , but goes nuts .
( No startup message to begin with )

The start up message is often gone by the time the terminal program connects.

What's the answer about the VGA screen? Blank or what?

John
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 12:45am 07 Mar 2023
Copy link to clipboard 
Print this post

  JohnS said  
What's the answer about the VGA screen? Blank or what?

Blank , but I have not been able to get far enough to try it .....
It should be blank without graphics commands , right ?
my site
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2141
Posted: 12:49am 07 Mar 2023
Copy link to clipboard 
Print this post

CLS 1 should give a white screen (green in your case) in Mode 1, or
CLS RGB(White) if in Mode 2. Default is Mode 1
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 01:32am 07 Mar 2023
Copy link to clipboard 
Print this post

  phil99 said  That shows the Pico chip is ok but presumably it's console interacts with the terminal programs differently to the MMBasic editor on your Pico. Testing on another computer would reveal if the firmware has become corrupted.

Edit
Or load a different PicoMiteVGA version. That will give you a fresh copy of the editor. If the same problem returns the only common factor is the R-Pi.

Earlier version is the same , but newest non-vga seems ok

Same with RPi 400 .....
Edited 2023-03-07 12:44 by hitsware2
my site
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2141
Posted: 02:51am 07 Mar 2023
Copy link to clipboard 
Print this post

That's puzzling, as far as I know they use the same editor.
No one else is reporting a similar problem on any platform or any terminal program.
There seems to be something unique about your R-Pi system.
Do you get the same difference between VGA and Non-VGA editors on another computer?
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 03:20am 07 Mar 2023
Copy link to clipboard 
Print this post

  phil99 said  That's puzzling, as far as I know they use the same editor.
No one else is reporting a similar problem on any platform or any terminal program.
There seems to be something unique about your R-Pi system.
Do you get the same difference between VGA and Non-VGA editors on another computer?

It may be something with my font size , screen resolution , ????
I had it close by lowering the font size ( but not quite )
Since the non vga works , perhaps someways the vga and terminal signals
are getting crossed ?
my site
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2141
Posted: 07:22am 07 Mar 2023
Copy link to clipboard 
Print this post

Grasping at straws now, is there anything connected to GP8 & GP9? These pins are reserved for a keyboard, which you are not using. If there is data or even just noise on them maybe that confuses the editor. As an experiment tie them to 3V3 via 3k3 (or similar) resistors and see what happens. Might not work but costs nothing to try.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4258
Posted: 08:06am 07 Mar 2023
Copy link to clipboard 
Print this post

You will have tried it all, but here it is: install the official release (not a beta).

- confirm you have a genuine Raspberry pi pico (green board, no wifi, check raspberry pi website for visual compliance).

- Make sure you have absolutely nothing connected except USB cable.

- reprogram pico with "Clear_flash.uf2" (in the V50706 release download at Geoff's site). This erases all options and memory.

- program pico with "PicomiteV5.07.06.uf2" or "PicomiteVGAV5.07.06.uf2". These are in the download at Geoff's site. Confirm download success when green LED slowly blinks.

- try again (open terminal). Do NOT program any options, just the clean install as is. When this fails, your pico must be damaged.

Your observations are so much different from what we see that we can't understand.

Volhout
Edited 2023-03-07 18:08 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6818
Posted: 08:22am 07 Mar 2023
Copy link to clipboard 
Print this post

Both VGA and non-VGA devices support the PS/2 keybard so that's unlikely to make a difference if one works and the other doesn't.

First - have you got the 4-resistor VGA network connected? If not, do that before anything else. You can't debug on a system with bits missing. You can take the other resistors off once everything works.

Second - Be absolutely certain that you have VGA firmware loaded if you want VGA output. Download the latest stable version from Geoff's web site, don't use a beta at this stage.

Note that the VGA output is only suitable for a VGA input! Some people try to use one video channel of VGA with a combined video input on a display and it doesn't work at all.

Have the VGA display connected while powering up. You may not get a sign-on message, but you should get a prompt. At this stage MMBasic is in command mode so both displays should be active. Press Enter and you should get another prompt. Type "option list"<enter> and you should get stuff.

If the VGA display never lights up then you have a hardware problem between the PicoMite and the display. If you'd only had a single VGA resistor and it was that pin that was faulty then this is what you'd expect. With all 4 resistors you'd still get a display but it wouldn't be white text. Make sure that all your VGA signals and grounds are going to the correct pins if this is something you've done yourself rather than a known-good PCB.

If you get the initial sign-on or prompt but nothing happens when you press Enter then your Pi isn't sending keyboard data over the USB. I'm afraid that's your problem. :)  You can prove the PicoMite is ok by connecting a PS/2 keyboard or by using Win 10/11 and Tera Term.
Mick

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

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2141
Posted: 11:44am 07 Mar 2023
Copy link to clipboard 
Print this post

"Both VGA and non-VGA devices support the PS/2 keybard so that's unlikely to make a difference"

The difference is on the VGA version it is automatically and permanently enabled. Without pullup resistors GP8 & GP9 could be floating inputs, sensitive to stray fields. Same as the issue some have with the RUN pin.

It may be a long shot but it is time to try anything and everything.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6818
Posted: 02:07pm 07 Mar 2023
Copy link to clipboard 
Print this post

You can disable a PS/2 keyboard with OPTION KEYBOARD NO_KEYBOARD on either version if you need those pins AFAIK.
Mick

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

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 04:03pm 07 Mar 2023
Copy link to clipboard 
Print this post

I have tried a second Pico ..... Same result .
Also a second RPi .

Shouldn ' t the editor work the same with either
VGA or nonVGA .uf2 , regardless of the resistors
attached ( and / or to the VGA pins) ?
In fact with no VGA monitor ( or even cable ) attached ?
AGAIN !
My problem so far is with the editor ......
I have not got to the point of trying the VGA display ...
The non VGA mmBasic .uf2 works
The BBCBasic .uf2 works
ONLY the VGA mmBasic .uf2 does not work well enough to use .
( It does hook up , but the locations of the print are
very erratic )
Font size affects it to some extent .
my site
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6818
Posted: 04:22pm 07 Mar 2023
Copy link to clipboard 
Print this post

Can you test on a Windows machine with Tera Term instead of the Pi? That would tell you if the PicoMite is behaving properly. If you have already done so then I apologize, I've missed it.

The VGA uf2 seems to be working well, including the editor. I use nothing else. I use it with both the PS/2 keyboard and using the USB keyboard into the PC and then into the PicoMite over its USB link. It makes me wonder if there is an incompatibility with the way the linux terminal system is working. It doesn't matter which terminal you use on there, it's very likely that they are all front-ends that use the same serial port handler in the kernel.
Mick

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 9146
Posted: 04:25pm 07 Mar 2023
Copy link to clipboard 
Print this post

The PicoMiteVGA works perfectly without a monitor or the VGA resistors. However, by default it enables the PS2 keyboard which could conceivably cause issues if no pullup resistors are in place.

Type

OPTION KEYBOARD DISABLE

to disable the keyboard interrupts

Alternatively build a proper PCB/breadboard for the VGA version.
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 07:51pm 07 Mar 2023
Copy link to clipboard 
Print this post


OPTION KEYBOARD DISABLE

Kills the hookup .....
I.E...


my site
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9146
Posted: 08:00pm 07 Mar 2023
Copy link to clipboard 
Print this post

Yes but then you can re-connect
 
     Page 2 of 4    
Print this page
© JAQ Software 2024