Jump to content
tschak909

#FujiNet for Adam - Firmware Discussion

Recommended Posts

Okay, have started committing to a repository called FujiNetWifi/Adam-Arduino-Tests.

 

These are prototype sketches being written against the Arduino framework, but built in Platform.io.
 

The repository is here: https://github.com/FujiNetWIFI/Adam-Arduino-Tests

 

and I am currently working on test #4, which should send a single block as if it's coming from Device #4 (Disk Drive 1), to boot a simple message.

https://github.com/FujiNetWIFI/Adam-Arduino-Tests/blob/main/04-send-bootblock/src/main.cpp

 

Thing is, I'm definitely getting messages meant for me, but am immediately getting a NACK, before I even send anything back!

 

adamnet-nack.thumb.png.c5d801ec285d3a7cde65880f22c522d8.png

 

WTF? How could this be happening?

 

Any ideas while I grind through the 6801 code? ;)

 

-Thom

  • Thanks 1

Share this post


Link to post
Share on other sites

Yesterday was definitely rough, but, in the ashes of that failure, @mozzwald came up with a rather ingenious solution.

 

Since the RX and TX signal polarities are opposite each other, and we have two UARTs, and we can set the polarity of each UART, put the RX pin on one UART, and the TX on another. (The ESP32 has two UARTs, and there is a third UART on the CP210x USB for debugging and programming)

 

This also solves the echoing problem where I would have had to remove bytes I just transmitted from the RX FIFO.

 

Roughly five minutes later, I was seeing valid data come across from the tape drive: (first pic) YAY.

 

unknown.png

 

Fast forward to 30 minutes later, and I was properly catching packets.

 

30 minutes later, and I now have status packets being decoded correctly (second pic)

 

image.thumb.png.191c7f989d218eadc866ed41e5247b75.png

 

So now, I will try to see if I can boot a single block from device 4.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...