AtariBits
  • Home
  • Systems
    • 576NUC
    • 1088XEL >
      • XEL-CF Drive
      • XEL-CF3 Rapidus Variant
      • Accessories
      • XEL Archives
    • 1088XLD >
      • RGB2VGA-XLD
      • ARROW2JOY-XLD
  • TransKey
    • TK-II >
      • TK-II Manual
      • Installation
      • Device Compatibility
      • TK-II Archives
    • TK-II-STEREO
    • TK-II Control
  • XEP80-II
  • JOY2PIC
  • MOUSE
  • MIDI
    • MIDI 3D Printed Cases
  • UGV
  • SDrive
  • Blog

576NUC+FujiNet Prototype V1.5 coming soon

3/23/2021

 
Made several changes to the previous prototype V1.3 design, and now have another set of sample boards for testing being manufactured by JLCPCB - scheduled to arrive around the end of this week. BTW, the SD card issue I was seeing from day one, has been solved, and came down to human error as well as an incompatible SD card.

What's Changed?

The Cassette Motor Control line has now been buffered and switched out of circuit when FujiNet is powered OFF, and the SD Card Detect Switch is now being sensed by IO12 on the ESP32, and will eventually see future support in the firmware (Now Implemented in firmware version 0.5.879c407c).
Picture
576nuc-fujinet_proto_v1.5_schema.pdf
File Size: 69 kb
File Type: pdf
Download File

4/08/2021 update - voltage divider changed
4/03/2021 update - resistor R2 changed to 33K
3/25/2021 update - voltage regulator (U1) and SIP resistor (RN1) part numbers corrected


This will be my last prototype, with the design already proven out by previously modding a V1.3 board. However I simply couldn't resist putting a bit of polish on the process, and doing one last board run with all the V1.5 changes in place. I also need a few boards for others to test so as to prove out the design, so having boards that incorporated all the changes was a prerequisite.

This time around I also wanted to properly pay homage to AtariAge members Mr Robot and mozzwald. Mr Robot deserving a call out for sourcing the switches, SD socket, and LED holders. And for the direction I got from his excellent PCB layouts that came before. And of course a big acknowledgement also goes to mozzwald the creator of the hardware design being used in the standard Atari FujiNet devices, which served as both my guide and inspiration. And a shout out to the rest of the FujiNet team for a wonderful game changing innovation known simply as FujiNet (visit FujiNet.online)

So the intention is to get a few of these out to the 576NUC+ Beta Test and Development Team, and let them run it through the ringer in order to shake out any bugs. Assuming that all goes well with that, then Mr Robot will take back the reins and proceed with the final production designs. There will be more to it then just FujiNet, so keep a look out for any posts he makes concerning that.

This new SIO interface circuit which is being proven out in this final V1.5 design, has been released into the public domain, and it is hoped that it'll see future use in other FujiNet related projects.

- Michael

576NUC+ Keyboard Functions (Part 3)

3/14/2021

 
Picture
Atari Key Codes assigned to PS/2 Keys
This will wrap up the coverage on the keyboard functions, with this episode specifically digging into how the PS/2 navigation keys are mapped vs. the Atari. For the rest of the key map that has not been covered by these tutorials, you can refer to the online TK-II Manual.

Unlike a stock Atari keyboard the PS/2 keyboard has a separate section to the right of the normal keys, and to the left of the numeric keypad that moves the cursor in interesting ways.

Initially, the arrow keys mimic the same action as seen when pressing CTRL+Arrows on a stock Atari keyboard. This action can be modified by pressing the control key in combination, thus rendering the same symbol as its Atari counterpart. Or the arrow mode can be changed by momentarily pressing ALT+A which will toggle it. When toggled, it either renders the Symbol or the CTRL+Arrows equivalent depending upon its current setting.
ALT+A is a volatile setting and will revert to the normal PS/2 arrow mode when the system is powered down, and back up.
In all cases, pressing control in combination with the arrow keys will temporarily reverse the present mode. So if you press CTRL+Arrows when in the normal 'PS/2 mode', that will produce symbols instead of cursor movement. Whereas if in 'Atari mode', will result in moving the cursor, with symbols only being rendered when no control key is pressed in combination.

Using SHIFT in combination with the PS/2 arrow keys produces the same symbols as the stock Atari keyboard, no matter which arrow mode you are currently in. SHIFT+CTRL when pressed with the PS/2 arrow keys, will not produce a character but instead mimic the same key codes as produced by the stock Atari keyboard for this same combination of keys.

The Insert key when pressed by itself will insert space to the right of the cursor, and when pressed with SHIFT, will insert extra blank lines below the cursor.

The Delete key when pressed by itself will delete characters or space to the right of the cursor, and when pressed with SHIFT, will delete lines below the cursor.

Home when pressed with either SHIFT or CTRL will clear the screen and home the cursor to the upper left. When pressed alone, will invoke a 1200XL function of simply homing the cursor to the left on whatever line it was on without clearing the screen.

End will invoke a 1200XL function to move the cursor to the far left of whatever line it was on.

PgUp (Page-Up) will invoke a 1200XL function and move the cursor directly up to the top left of the screen.

PgDn (Page-Down) will invoke a 1200XL function and move the cursor to the bottom left of the screen.
Note: all the 1200XL function key codes are available in any XL or XE OS, but not the older 400/800 OS.

Those last 4 special navigation keys (Home, End, PgUp, PgDn) can be very useful when utilized in an Atari program,  especially anything that requires the user to navigate a menu. For a good example, check out the customized SDrive Control Program or AtariAge member flashjazzcat's SIDE Loader and the Uno Cart contributions. Also FJC's The Last Word makes good use of these keys.

As FujiNet continues to mature, it would be nice to see more of these  special navigation keys play a roll in navigating the TNFS directories in a similar way to the examples given above.

- Michael

576NUC+FujiNet Prototype V1.3 in Process

3/12/2021

 
Because of changes that were required in the first prototype, and then getting a bit more inspiration from a recent DIY THT build project, I decided to create a new hybrid prototype that would allow either a ESP32 SMT module or ESP32 THT DEVKITC to be utilized.
Picture
Picture
Note: Although the silk screen shows a ESP32 part number with a '-IE' suffix, the cheaper version with an '-E' suffix can be substituted instead. The only difference is that the '-IE' version has both an IPEX and PCB antenna, whereas the '-E' only has a PCB antenna. Keep in mind that the one with the IPEX connector has this selected by default, and needs to be modded to use the PCB antenna instead by moving resistor R14 to the R15 position (refer to diagram - click to enlarge).

This board is currently being manufactured by JLCPCB in China, and has an expected completion date for this coming Monday.

When I get at least one board assembled and tested, I'll be sure to post the updated schematics, as well as my observations. So far I can tell you that it incorporates the same SIO interface as its predecessor, using a 74LS07 and a 74HCT4066. This new interface has been working very well, and appears to have solved the audio noise issues.

- Michael

576NUC+FujiNet Prototype Changes

3/8/2021

 
Thanks to AtariAge member mozzwald (creator of the original FujiNet hardware), it was brought to my attention that pull-up resistors should be used on 3 of the 4 signal lines of the SD card. This article goes into more detail about that.

So today I added the resistors and once again held my breath and attempted to access the SD card on my FujiNet device - No dice still not working. It was wishful thinking that it would, but with other people's units working without pull-ups, I wasn't surprised. No matter, the pull-up resistors will still be added in my design.

Next I re-flowed the solder at the ESP32 connections, but that also failed to correct the situation. When probing the signal lines with a scope I saw no activity, and the CS line remained high, which is the normal idle state. It's almost like there's no one awake inside.

At this point I can only surmise that my ESP32 possibly has at least one I/O pin that is damaged. And since it's not easy to replace, I'll be looking at a 2nd build with a fresh board and new parts.

In the meantime I've been fine tuning the design, and moved it up to Version 1.2.

Here's the Updated Schematic (3-9-2021)
showing changes to come.
576nuc-fujinet_proto_v1.2_schema.pdf
File Size: 62 kb
File Type: pdf
Download File


Another thing I discovered, was that the information I had gotten for my USB/Serial cable was incorrect, which was why I thought I needed to swap the RX and TX pins. So that's been restored to the way it was shown in the very first schematic, matching the prototype PCB that was based upon that.

Next I really didn't like where the ADC VREF voltage divider was getting its positive voltage from (SIO), so I moved it over to the regulated 3.3V bus... EDIT: I totally misunderstood the purpose of the voltage divider. In actuality it is being used to sense voltage coming from the Atari in order to determine if it's powered ON or OFF. The voltage divider simply brings the 5V of the Atari down to a level that's safe for the ESP32 to look at by one of its ADC inputs. So I have restored the original voltage divider in my schematic and renamed the wire label as VSENSE instead of VREF. The schematic download has been updated with this change.

I also decided to reduce the size of the programming header, as well as eliminate the SIO-Thru header and only pass along the PS/2 and power related signals via a 5-pin header. The PS/2 connections are present in case I wish to develop an active Wireless USB to PS/2 converter, which is something that is definitely on my wish list.

And for the final touch, the resistor array has been expanded to include the three SD related signals, thus actively pulling them up to 3.3V.

Hopefully the next time I write about this specific FujiNet prototype it will be to discuss the successful operation of the SD card.

- Michael

576NUC+FujiNet the First THT Prototype Test

3/6/2021

 
I ran into a few snags after assembling the first mostly THT NUC FujiNet prototype. The main problem off the start was that the 3.3V regulator was intended for a 5V input which didn't bode well with our diminished power supply due to the Schottky diodes that are inline with both the USB 5V and the 576NUC+ power. Specifically I wasn't seeing a high enough voltage feeding the ESP32 module as a result.

Once that problem got resolved by spec'ing a LDO (Low Drop-Out) voltage regulator. Then the only issue remaining was that the SD Card wasn't working, and in fact it still doesn't, but that will be pushed down the road until another day. However the network side of things works great as can be seen below. I was able to quickly log-in to my WiFi router, and then added a couple of existing TNFS server addresses, subsequently I was able to download a game via the internet and run it. It was quite fun and absolutely amazing all at the same time!
Picture
PicturePL2303TA USB/Serial Cable
However the freshly assembled board did require a few more tweaks...

The series resistor for the SIO-Audio had to be increased from 470 ohms to 100K because the NUC already has a fairly high gain on that audio in port, making the SAM software speech synthesizer way too loud.

I also didn't like the look or the inconsistency of the first LEDs being used, and changed them all over to a diffused NTE version instead. Since these are very high efficiency, I was able to increase the current limiting resistors to 2K for all three of them, which matched the brightness of the dual green LED's on the NUC main board. What's also rather nice is that they all look the same when not lit, having a frosted white appearance, and best of all they are inexpensive at about 14 cents a piece.

During the initial firmware flashing I had discovered an error on which pin was designated as TX and which one was RX on the programming header. They need to be swapped. Luckily the programming cable I'm using broke out each wire independently making it easy to fix the issue, and get the ESP32 programmed (PL2303TA Cable Buy Link).

By the way, I also discovered that the program select header (PGM) was not needed, since the 'A' button works in its place.

Flashing Procedure for this Specific FujiNet Board
  1. Turn OFF FujiNet power switch.
  2. Connect USB/Serial cable between FujiNet and the computer.
  3. Press and hold the 'A' button.
  4. Turn ON the FujiNet power switch.
  5. When you see both the white and blue LEDs light up release the 'A' button.
  6. You are now ready to download the new firmware.
  7. Start the FujiNet Flashing app, and after selecting the serial port associated with the cable, press the Flash FujiNet Firmware button and let it do it's thing (this takes a while).

And finally we get to the real reason I was so keen on redesigning the SIO to ESP32 interface circuit, and that has to do with a random but very noticeable noise experienced during certain sequences in shutdown and restart that has been observed in several versions of the FujiNet hardware. Disconnection of the SIO-audio input has been integrated into the new interface design in an attempt to minimize or eliminate the problem. So far the noise hasn't been seen in the initial tests of this new prototype. Or at least I haven't experienced the right conditions that will make it reveal itself (fingers crossed).

Picture
I'm only a Proof-of-Concept Prototype, so please be kind when critiquing
Here's an updated schematic (3-7-2021) showing where things are currently at.
576nuc-fujinet_proto_v1.1_schema.pdf
File Size: 61 kb
File Type: pdf
Download File

Now all I need to do is get that pesky SD card to work.

During my troubleshooting I did a continuity check of all the connections between the SD card socket and the ESP32, but so far everything looks correct. Although I haven't entirely ruled out operator error, as in my docs may not match up with reality concerning what pins do what on the socket. The datasheet for the SD card socket I'm using is really piss poor concerning the pin definitions.
Picture
That's it for now. I'll be sure to report back in when I solve the SD card problem.

- Michael

576NUC+ New V1.2 Boards are a success!

3/4/2021

 
Well some like to say 3rd times a charm, but in my case it looks like the 4th run of boards is going to claim that prize.

The road traveled in this project was much longer than I had envisioned when I first started out, thinking this was going to be an easy and quick turn around. But as they say, all good things require time and hard work in order to accomplish, and that has certainly been the case here as well. We lost a few members of the Beta Team along the way. One because of my mishandling of what was expected, and the other because of personal issues. The drop-in FujiNet adapter board is still in the works, but I think that will get sorted out before the public release of this project. So all in all I think things have been going quite well.

And now for a look at the first assembled board straight out of the sample batch. Pretty much a 99.99% perfect fit for all of the components. Only had to leave out one By-Pass IC decoupling capacitor (lower right corner) which had a lead soldered too darn close to one of the SMT chips on the bottom side. Because of the lack of space to put it elsewhere, it will be removed from the design all together. Since the board has a good distribution of these capacitors, and being a 4-layer board with inner power planes, the loss of one decoupling capacitor is not seen as an issue.
Picture
576NUC+ V1.2 Board Top - Click to Enlarge
On this go around, all SMT ICs have been resized to SOIC proportions, thus allowing for fairly easy, although skilled hand soldering. This was done not only for my sanity, but also as a prelude to public release of the PCB gerbers for DIY. Yeah you heard that right, I will be going back on what I said and release this to the public. However this is definitely a do it at your own risk, no guarantee proposition. So I better not hear a bunch of whining about people's boards not working after they've done the assembly, since I know the board design does work when assembled properly. If you don't posses expert level soldering skills, and prior SMT experience, please steer far away from taking on this project.
Picture
576NUC+ V1.2 Board Bottom - Click to Enlarge
The schematic has been updated to reflect any last minute changes in the sample boards, and the resulting pdf has been provided for download.
576nucplus_schema_only_3-3-2021.pdf
File Size: 328 kb
File Type: pdf
Download File


The production boards will be identical to what you see above, albeit missing the by-pass capacitor that had clearance issues. The version number will stay the same, since the sample boards will remain with the beta test group members, and the change is relatively minor. Oh and that improper bottom side board ID label will get corrected as well

The Gerber files, BOM, and various flashing files for the PICs, PLDs, and OS ROM will all be released to the public in approximately 2-3 months. However a couple of people that are opting to build and sell these boards in a fully assembled and tested state will get a head start on this aspect.

- Michael

    Author

    My name is Michael St. Pierre and in the early 90's I decided to create my very first Atari 8-Bit upgrade. It was called TransKey.
    ---Then soon after Atari folded and I left the scene ---
    25 years later I came back with a mission to improve upon what I had started so long ago.

    Archives

    January 2023
    December 2022
    August 2022
    May 2022
    April 2022
    December 2021
    October 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021

    Categories

    All
    576NUC+
    AtariBits News
    ColecoVision
    Industrial Applications
    Intro
    Monster 600XL
    Multi-SLOT 1200XL
    Transkey
    XEP80-II

    RSS Feed

Powered by Create your own unique website with customizable templates.