Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck terminal and die #31

Open
sergiomtzlosa opened this issue Nov 11, 2021 · 6 comments
Open

Stuck terminal and die #31

sergiomtzlosa opened this issue Nov 11, 2021 · 6 comments

Comments

@sergiomtzlosa
Copy link

sergiomtzlosa commented Nov 11, 2021

Hi!

I am trying since a coupe of months to get the Apple1 SBC (Rev F) work but no luck, the terminal only shows "RC6502 apple 1 Replica" and got stuck, no prompt at all 😓

Screenshot 2021-11-11 at 16 53 09

I made some checks on the capacitor and they are all fine, also I reflash the Arduino and the 8KB ROM onto the AT28C64 but still no luck, please can you point me some other checks I can do to find the error out?

IMG_20211111_170951
IMG_20211111_171021
IMG_20211111_172446

Thanks and stay safe!

@jhow0672
Copy link

What tripped me up most was the jumper pins - double-check those. The instructions weren’t too clear. I built a version “H” board which is a little different. Also, used MCP23S17 not MCP23O17.

@sergiomtzlosa
Copy link
Author

@jhow0672 Thank yo so much !! I will dig on that a little deeper and I will let you know my results.

Regards

@0cjs
Copy link
Contributor

0cjs commented Dec 7, 2021

Also, used MCP23S17 not MCP23O17.

Good catch on that: that's almost certainly the problem. According to the datasheet, the S version is an SPI interface, the O version is I²C. These are not compatible!

That chip not working as expected is consistent with the symptoms: you can see messages from the Nano itself (the RC6502 Apple 1 Replica banner) but, because the Nano can't talk to the I/O expander, it can't talk through it to the PIA and so cannot communicate with the 6502 CPU.

@sergiomtzlosa
Copy link
Author

Hi!!

Thank you so much for this amazing inputs!!!! I change the MCP, but I still do not get thw WOZMon, I checked the capacitor, they seem fine, please can you give some advice about out to place the jumpers?

imagen

I also connect thru screen with this command: screen /dev/ttyUSB0 115200

Is the SPI speed correct?

Thanks

@0cjs
Copy link
Contributor

0cjs commented Dec 7, 2021

If you see the banner from the Nano when you reset it, you have the speed correct. Note that's not the SPI interface speed, that's the serial interface speed (on the "other side" of the Nano).

So you replaced the MCP23O17 with an MCP23S17? (I can't see in the photograph at that resolution.) And you did press the board's reset button after seeing the Nano's banner, right?

If youv'e done all that, and still see no \ prompt or response to input (particularly Esc), the next step is to start probing the board, I suppose. Do you have an oscilloscope? If not, do you have a logic probe? I guess if worst comes to worst you can use a volt meter. My idea is to start by probing the keyboard input and screen output pins of the MC6821 to see if you see the right things there when pressing a key and from what the last character output by the computer should be.

@sergiomtzlosa
Copy link
Author

sergiomtzlosa commented Dec 7, 2021

Hi @0cjs

I will do more deep reseach, I do not have an oscilloscope, just a volt meter....when I get some results I will be back

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants