Skip to content

Strange writing error at 0x2A8000 with DIY AM29F032@WR cart via GBxCart RW 1.4 #142

Description

@czo

In the past, I made myself a couple of MBC5+Rumble DIY flash carts from OEM rumble cartridges with JRodrigo's Flash Adapter PCB (https://github.com/JRodrigoTech/FLASH-ROM-Adapter-for-GameBoy and https://oshpark.com/shared_projects/Ks4WbXlo). I am absolutely sure that I wrote it successfully in the past (maybe a year ago?), but I am currently struggling to write them. I already replaced the flash chip with a second one, then brought a new cart and built a completely new board with another brand of memory (Fjitsu MBM29F033C), but the error stays the same. I reckon this can't be a soldering problem, because three flash memories and two carts can't be bad in the exact same way.

I have a GBxCart RW 1.4 Pro, and tried with multiple firmware versions, all of which produce the error. The current firmware version is Firmware R42+L15.

Btw, I got this error message:

An error occured while writing 0x4000 bytes at position 0x2A8000 (2.65 MiB). Please re-connect the device and try again from the beginning.

Troubleshooting advice:

  • Clean cartridge contacts
  • Check soldering if it’s a DIY cartridge
  • Avoid passive USB hubs and try different USB ports/cables
  • Check cartridge ROM storage size (at least 4.00 MiB is required)
  • Check mapper type used: MBC5 (manual selection)
  • Check flashcart profile used: DIY cart with AM29F032 @ WR
  • The cartridge may also be incompatible with your GBxCart RW v1.4a/b/c – Firmware R42+L15 device

Status Register: 0xFF (1111 1111)

So, I started to Google about this, and found this thread from 2017: https://forum.arduino.cc/t/rom-reader-for-super-nintendo-super-famicom-game-cartridges/155260/263

According to this, I modified the Mapper.py to check this theory. In the DMG_MBC5 class, I added a dummy 0x4000, 0x00 write in the SelectBankROM function, and the problem went away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions