Add support for M29F160 - newly manufactured NOR Flash? #963
Replies: 10 comments 30 replies
-
I have just added the CFI option to the SNES repro menu. I don't own a M29F160 to test it but a similar 29LV gets flashed successfully. |
Beta Was this translation helpful? Give feedback.
-
Wow, thank you! It works! I really appreciate it! I do have one other question.. the 29F160s are only 16Mbit, so I also made a SNES design that uses two of them in parallel, with a 74HCT139 decoder to select between the lower 16Mbit and upper 16Mbit based on the A21 signal. I tried using the CFI flash option for this configuration, and it freezes on "Writing flash". Is there any way to also add an option to program two of these for larger games? |
Beta Was this translation helpful? Give feedback.
-
Can't test it myself since I don't have any two flashrom repros that are supported by the CFI code but have a try: If it works I'll upload it to the master branch. |
Beta Was this translation helpful? Give feedback.
-
The 1x mode works just as it did before, but 2x causes it to hang at "Writing flash [" |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hey @sanni -- would it be possible to add support for this for 4x 2MB chips for ExHiROM and ExLoROM as well? |
Beta Was this translation helpful? Give feedback.
-
Tests CFI with 1x 8MB done. Flash S29GL064 and 29LV640 |
Beta Was this translation helpful? Give feedback.
-
Thank you Sanni. |
Beta Was this translation helpful? Give feedback.
-
One more thing Sanni. |
Beta Was this translation helpful? Give feedback.
-
Hey @sanni! I was able to test out the latest code in the repo, and it seems to be working well, at least on my test with 4x 2MB chips for CFI HiROM. I plan to try LoROM tomorrow. However, one thing I noticed - when I try to flash CFI HiROM with just 2x 2MB, it now hangs at the midpoint of the first 2MB chip. Do you have any idea why? I can't get it to work normally any more. Since 4x 2MB works fine and operates in a SNES, it doesn't seem like it should be an issue with the cart hardware. For what it might be worth - the code you posted originally a few days ago in the zip file also seemed to work for me for 4x 2MB, though I believe the 2x 2MB freezing issue still existed. I'm not sure how I didn't encounter the bugs you fixed over the past few days, if that means anything! |
Beta Was this translation helpful? Give feedback.
-
This is specifically for flashing SNES cartridges.
The M29F160 is a commercially available, newly manufactured 5V tolerant NOR Flash chip similar to the 29F016. The difference is the 160 has a 16-byte mode or an 8-byte mode, similar to the 27C160 UV EPROM chips.
I have made Game Boy cartridges that utilize these chips, and they appear to be flashable via the OSCR (under the CFI option). But, looking at the Arduino code, it doesn't appear that these chips are supported for SNES games.
Would it be possible to include support for them, to give people an option for carts made with brand new 5V tolerant components?
Beta Was this translation helpful? Give feedback.
All reactions