-
-
Notifications
You must be signed in to change notification settings - Fork 30
Chip Preparation (Legacy)
This page was written for the first release of MegaDrive++. It is left here for reference, but it no longer applies to the current version of the software. See Legacy Branch for more information.
Follow these instructions to prepare your own modchip. If you prefer getting a chip that is ready to install, contact me. If I get enough requests I might start selling pre-flashed chip + leds for a nominal fee.
- Download the Arduino IDE (latest stable version from https://www.arduino.cc/en/Main/Software) and install it.
- Download the MegaDrive++ sketch and save it in a directory with the same name in your Arduino sketch folder. If you have no such folder, run the Arduino IDE once and it will be created.
- Select Open from the File menu and navigate to where you saved MegaDrive++.
From this point on, instructions vary depending on what board/chip you are targeting:
This procedure is very easy to carry out. Actually, it takes more time to read through it than to run it! One of the reasons why I maintain an Arduino target is to enable anyone to program their own chips, even people who have never programmed a chip before: most Arduinos can be connected to the computer with a simple USB cable, so everything is pretty straightforward.
- Make sure that the type of board in the Tools menu corresponds to the actual board you are using.
- Connect your board through USB.
- Select Upload from the Sketch menu.
If no errors show up, your board is ready!
If you are targeting a bare ATtiny chip you will need an ICSP programmer, or you can use an Arduino board following the instructions at https://www.arduino.cc/en/Tutorial/ArduinoISP.
- Install ATTinyCore: just go to https://github.com/SpenceKonde/ATTinyCore/blob/master/Installation.md and follow the instructions under Board Manager Installation. Make sure it shows up under Boards in your Arduino IDE.
- Connect your chip through the ICSP programmer and select the right programmer type under Programmer in the Tools menu.
-
Select the right type of chip under Board in the Tools menu and set the following options:
- Board: ATtiny XX Series (Depending on the actual chip you are using)
- B.O.D.: B.O.D. Enabled (4.3v)
- Clock: 8 MHz (Internal) BE VERY CAREFUL WITH THIS!
- Chip: Choose the actual chip you are using
- Port: Choose whatever port you connected your programmer to.
- Select Burn Bootloader from the Tools menu. Wait for the Done burning bootloader message to appear.
- Select Upload Using Programmer from the Sketch menu.
If no errors show up, your chip is ready!