Close

Updates to Boot Menu on PSoC

A project log for 3-Chip Z80 Design

Combining a Z80 retro design with a modern PSoC CPU.

land-boardscomland-boards.com 09/17/2022 at 14:230 Comments

It's been a while. I plugged in the board USB and forgot how to run it. I even forgot which button I needed to press on the front panel to get Multiboot to run. This Hackaday page helped me remember. Glad I made it.

Decided to add hints to the PSoC monitor menu. Got a bit carried away but it's really easy now.

The PSoC now boots to the following screen showing what the Front Panel buttons do:

Z80_PSoC - Running Front Panel

SW25 SW26 SW27 SW28 SW29 SW30 SW31 SW32
Run  Mon  N/A  N/A  N/A  LDAD STOR INCA

SW17 SW18 SW19 SW20 SW21 SW22 SW23 SW24
A15  A14  A13  A12  A11  A10  A9   A8

SW9  SW10 SW11 SW12 SW13 SW14 SW15 SW16
A7   A6   A5   A4   A3   A2   A1   A0

SW1  SW2  SW3  SW4  SW5  SW6  SW7  SW7
D7   D6   D5   D4   D3   D2   D1   D0

Press SW25 (upper left button) to exit Front Panel and run Z80
Press SW26 to run Monitor/Test Code

Pressing the upper left button on the Front Panel (SW25) goes directly to Multiboot. 

The next button in boots the monitor. The monitor looks like:

Land Boards, LLC - Z80_PSoC monitor
I - Initialize SD Card
B - Blink LED
F - Read Front Panel
Rxxxxxxxx - Read sector xxxxxxxx from the SD Card
N - Read next sector from the SD Card
W - Write to the SD Card at 2GB - 1 sector
X - eXit Monitor and run Z80
? - Print this menu

Pressing X goes to Multiboot. 

The PSoC waits until the USB terminal (PuTTY) is running. Now I feel like I could plug the card in anytime and just use it. Added P-Touch labels to SW25, SW26 to remind me what they do.

Also noted that the USB Serial port can be set to any baud rate since the PSoC automatically adjusts. Tried 230.4 kb and it worked just fine.

Discussions