Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
* About
A Sega Genesis / Megadrive flash memory cartridge.
Designed to be simple, inexpensive, and self-contained:
- Holds a single ROM image in flash memory, reloaded over USB
- No on-board SRAM or battery, i.e. no save-game support
[[md-flashcart.png?raw=true]]
* Hardware Features
- 32Mbit (4 megabyte) parallel flash memory
- USB type-C connector for ROM image loading and firmware upgrade from PC
- Status LEDs for activity and data transfer
- Mounts inside an OEM cartridge shell
* Status
Revision 2 tested working with [[https://github.com/ArtemioUrbina/240pTestSuite][240p Test Suite]] and several commercial cartridge ROMs.
* ROM Loading
Load a ROM image using the included utility:
#+begin_src
md-flashcart-loader /dev/ttyUSB0 rom.bin
#+end_src
* Firmware Upgrade
Enable CP2102N GPIO control from Linux, to allow entering MCU bootloader:
#+begin_src
cp210xsmt --device-count 1 --set-and-verify-config \
firmware/cp2102n_md-flashcart_boot0.configuration
#+end_src
Enter MCU bootloader and load new firmware:
#+begin_src
cp2102n_reset_stm32 gpiochip0 -b && \
stm32flash -v -w firmware/md-flashcart.hex /dev/ttyUSB0 && \
cp2102n_reset_stm32 gpiochip0
#+end_src
* References
- https://segaretro.org
- https://mousebitelabs.com
- https://plutiedev.com
- https://www.raphnet.net
- https://www.sega-16.com
- https://github.com/stm32duino/stm32flash
- http://www.dest-unreach.org/socat
- https://github.com/ArtemioUrbina/240pTestSuite
* License
Circuit schematic and PCB layout are licensed under CERN-OHL-S v2.
See [[LICENSE.txt]].
* Hardware Changelog
- Rev.1
- Initial release
- Rev.2
- U2 (ESD device) pin 5 to USB +5V instead of console +5V
- TP3 added (+5V test point)
- TP4 added (+3V3 test point)
- R5 (red LED) change value from 220 to 300 ohms
- R6 (green LED) change value from 180 to 120 ohms
- use #MRES instead of #VRES for console reset
- U12 (+3V3 LDO) connect pins 3 & 4 (support substitute LDO parts)
- D4 added (schottky diode for USB or console +5V power input)
- USB connector moved closer to cartridge shell
316cc8ec7This file is pinned to the selected release. Download the original to open it in your design tool.