Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:52 23 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 : Random Reboot

Author Message
Mark
Regular Member

Joined: 26/11/2022
Location: United States
Posts: 50
Posted: 03:24pm 21 Dec 2024
Copy link to clipboard 
Print this post

I am running PicoMite VGA MMBasic version 5.08.00 on a Raspberry Pi Pico (non-W). It is mounted on a Land-Board PicoMite 03. This provides a PS/2 keyboard, PWM sound, VGA, SD Card, RTC and a USB power input. I have a SD card in the SD card slot and am able to read and write it. I am using an (old) DELL PS/2 keyboard and a VGA monitor. All the features (RTC, SD Card, sound, keyboard and VGA) work.

Here are the options

SYSTEM I2C GP14,GP15
AUTORUN 1
COLOURCODE ON
KEYBOARD US
SDCARD GP13,GP10,GP11,GP12
AUDIO GP6,GP7 ON PWM CHANNEL 3
RTC AUTO ENABLE

The PicoMite randomly reboots

I've programmed an autorun progam to log reboots

' Log Reboot
OPEN "a:\log.txt" FOR APPEND AS 1
PRINT #1 DATE$, TIME$, MM.INFO(boot count)
CLOSE #1
PRINT DATE$, TIME$, MM.INFO(boot count)

Sometimes the PicoMite reboots 2 times on power up. If I leave it powered on with no interaction it will reboot at random times. I've seen gaps of 30 minutes, but sometimes it will reboot twice within the same minute. I put a monitor on the power input and it seems steady.

I loaded flash_nuke.uf2 before loading the firmware.

Is this behavior normal or should I be looking for a hardware issue? Is there anything I can do to further troubleshoot this?

I also tried running version 6 on a Pico 2 using the same PicoMite board and experienced random reboots (which is why I went back to the Pico and version 5.08.

Another thing, with both versions, sometimes after a reboot, the PicoMite doesn't respond to the keyboard. Unplugging and replugging the PS/2 connection for the keyboard, sometimes more than once, will get the keyboard working again.

Thanks,
Mark
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9284
Posted: 04:24pm 21 Dec 2024
Copy link to clipboard 
Print this post

Typical symptoms of an inadequate power supply and/or cable.
 
Mark
Regular Member

Joined: 26/11/2022
Location: United States
Posts: 50
Posted: 04:44pm 21 Dec 2024
Copy link to clipboard 
Print this post

Thanks for the reply.

I did try a different power supply and cable - same issue.

I did some more testing and I think the metal case is the problem. If I touch the case or even get my hand near it, the PicoMite reboots. I took it out of the case and the problem seems to have cleared up.  The solder mask on the ground plane was resting on the metal case.

While testing, something changed with the Pico. When the video comes up the first two columns of characters are off the screen to the left.  I nuked the flash and refreshed 5.08. The video is still off. I reset the monitor, same thing.  I tried a different Pico and the video is fine.  Any idea what happened?

Mark
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2176
Posted: 08:17pm 21 Dec 2024
Copy link to clipboard 
Print this post

Another possibility is leakage or static affecting the RUN (reset) pin.
A 100nF cap. to ground or/and 10kΩ resistor to 3.3V usually fixes it.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024