insidegadgets / GBCartRead

Read ROM, Read RAM or Write RAM from/to a Gameboy Cartridge. (License CC-BY)
63 stars 11 forks source link

Error reading header: ValueError: invalid literal for int() with base 10: '' #5

Closed afska closed 5 years ago

afska commented 5 years ago

Hey! I'm trying to build a cartridge dumper using the tutorial with this scheme (https://www.insidegadgets.com/wp-content/uploads/2011/03/GBCartRead_Schematic_1.22.png)

I used two 74HC595N shifters. This is how it looks like so far: image

When I try to run the python program and select "0" to dump the header, I get this error:

>0

Game title...
MBC type... Traceback (most recent call last):
  File "GBCartRead_v1.8_Rev1_Python_Interface.py", line 42, in <module>
    cartridgeType = int(cartridgeType[2:(len(cartridgeType)-5)])
ValueError: invalid literal for int() with base 10: ''

How can I debug this? It seems that this happens right after the rd_wr_mreq_reset(); in the Arduino's code.

I've checked:

but as it has a lot of failure points, it'd be of great help if you can give me some advice on what could be wrong.

Thanks!!

afska commented 5 years ago

Forget about it, I was using the 1.0 schematics with the 1.8 code.

The 1.5 version works! :tada: