Arduino SuperCIC

I recently designed a SNES cartridge, and realized that I would need to bypass the SNES CIC. I found the SuperCIC mod, which uses a PIC12F629 to act as the CIC. Seeing as I don't have a PIC, I decided to use my Arduino Uno instead. I converted the PIC asm source into AVR asm, but am now having trouble figuring how to wire the Arduino board (or just the ATmega328P itself, without the Arduino board) to the SuperCIC/PIC pinout, especially considering that I need to use the CIC's ~3MHz clock. Any help on what/how I should wire everything together would be greatly appreciated.

Attached files:
wiring.png: which Arduino/ATmega328P pins correspond to which SuperCIC/PIC pins
main.S: the AVR asm source
main.ino.standard.hex: the intel hex file being uploaded
upload.bat: the batch file used to upload the code

wiring.png

wiring.png

main.S.txt (23 KB)

main.ino.standard.hex.txt (3.53 KB)

upload.bat.txt (521 Bytes)

I think your thread would benefit from a glossary of terms and abbreviations. Here is one to start it off :

SNES Cartridge : Super Nintendo Entertainment System Cartridge

Convert your frizzy to a decent schematic and it would become readable. Follow 6v6gt's suggestion I think your thread would benefit from a glossary of terms and abbreviations.

6v6gt said that this "thread would benefit from a glossary of terms and abbreviations," so here it is:

SNES: Super Nintendo Entertainment System
CIC: The security/authentication/lockout chip located in SNES cartridges and the console
PIC12F629: an 8-bit microprocessor used by the SuperCIC mod
ATmega328P: the 8-bit microprocessor used by Arduino Uno boards
AVR: the family of microprocessors that the ATmega328P belongs to
asm: assembly code
CLK: clock
RST: reset

gilshultz said to make a decent schematic, so here they are:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.