Coder Social home page Coder Social logo

arduino-teensy41-noac's Introduction

arduino-teensy41-noac

Caution: This requires overclocking the Teensy 4.1 to at least 912MHz! Use a heatsink and allow good airflow before attempting this!

Prototype Flash Emulator: Connect the Teensy 4.1 to the Famiclone-on-a-Chip (VT-03 and equivalent), especially on the Sup 400-in-1 handhelds. Only the first 128KB is accessible for now.

This works by connecting all the address lines, data lines and control lines to the vacant Flash BGA breakout board.

schematic

Usage:

  1. Use the "romdumper" or "arduino-rp2040-romdumper" as provided in the folder. Assemble the dumper according to the schematic in that folder and run the Python app.
  2. Using a hex editor such as HxD, extract out the 0x60000-0x80000 and put these into the another new binary file.
  3. Connect the Teensy 4.1 to the handheld PCB with a 1.27mm pitch ribbon cable and some IDC connectors. The other end of the ribbon cable (not shown here) is connected to the female IDC connector (more than 22 pins). The white cable that is soldered to the Reset button on the PCB is the RST at the schematic. Here is an picture to explain how it is connected: teensy41_to_handheld teensy41_to_handheld2
  4. Get a heatsink for the Teensy 4.1! After placing it, build the code and upload it.
  5. Use an app such as TeraTerm to allow the file uploads through Ymodem. If you are seeing "C"s printed in the terminal, it is waiting for the user to upload the file.
  6. When the file is uploaded, the Teensy will reboot the NOAC on the handheld PCB and you should see the game menu. Obviously, the menu is only accessible and the other games are not because it is not included in the memory. If you have pressed and hold the A and B during the reboot you are going to the green test screen such as in that picture.

Known issues:

  • Use a Kapton tape to secure the soldered cables at the PCB. The lines are very flimsy and could tear by just a few slight movements of the cables.
  • This runs at 916MHz. Anything slower would cause the screen to be messed up and garbled and the uploaded binary being unusable. Please use a heatsink!
  • Due to the arrangement of the Teensy 4.1's pins, it is not really possible to align all the address pins at the same GPIO. The address pins are spread across different GPIOs, and a number of bit manipulation has to be done. This is adding more time to decode the address.
  • It can only access up to 128KBytes. It might be good enough for one to write a small 6502 app inside.

References:

arduino-teensy41-noac's People

Contributors

nyh-workshop avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.