Replies: 30 comments
-
works normally, if you want to check sun ok do a fram dump and record. you used sram save |
Beta Was this translation helpful? Give feedback.
-
You probably have to add more delays to the current code since the FRAM chip most likely is slower than the original SRAM. |
Beta Was this translation helpful? Give feedback.
-
Talking from the unknowledge, it is difficult to do it? I dont know anything about coding :( . I got the sanni working because the guide is very clear even for me |
Beta Was this translation helpful? Give feedback.
-
Same issue here, although I have no coding experience so I'm unable to fix it. Do you think you could quickly adjust it sanni? |
Beta Was this translation helpful? Give feedback.
-
there is no need to add delays. you don't need to change the code. just save and even with the error it works 100% save. and if you dump after resave it will not have a checksun error. and the type of file that is in trouble - no use for delays. the error is in the proper save not compatible in size with the fram. understood? |
Beta Was this translation helpful? Give feedback.
-
I added mips and delays and it didn't solve anything. the problem is in the save file with the wrong size, after correcting this checksun 100% |
Beta Was this translation helpful? Give feedback.
-
mirror save to the exact sram size which is 256k and resolved 8k+8k+8k+8k - 32k = => FRAM 1808 - |
Beta Was this translation helpful? Give feedback.
-
I don't understand what you mean. Whenever I write a save, it doesn't work. I write saves for Pokemon, and when I load game, all I get is "New Game" |
Beta Was this translation helpful? Give feedback.
-
got it. see if the sanni is correct at 3.3v or 5v depending on the frame it changes. I was talking about super nintendo with fram. , if you use 3.3 volts in a 5v fram not saved - and check how many kb has the original save file and how many kb has your fram |
Beta Was this translation helpful? Give feedback.
-
I'm using the correct voltage, lol. |
Beta Was this translation helpful? Give feedback.
-
Here is what I would do:
|
Beta Was this translation helpful? Give feedback.
-
As I said before (I dont know about coding) I have what you say in step 1-2 sanni. I have saved in my original cartridge of pokemon blue and I have open the game in visual boy advance and save it in the same point (once I sart the game) I have put both files in HXD programm (I dont know if I am doing it good) and they looks similiar until offset 00000490 where is file starts to change. Is it possible to upload the files here? |
Beta Was this translation helpful? Give feedback.
-
only one doubts the checksun error. but the save does not work the same even with this error ??? as I reported I had a snes checksun error and it was because the fram has 256k not 64k there and only dumpar and rewrite the check sun ok |
Beta Was this translation helpful? Give feedback.
-
No, the dump does not work. |
Beta Was this translation helpful? Give feedback.
-
You can just drag and drop the files into the message box here to upload them, just have to zip them beforehand. |
Beta Was this translation helpful? Give feedback.
-
Here are the files: |
Beta Was this translation helpful? Give feedback.
-
That actually looks quite good since the difference is only in the area where the emulator has 0xFF meaning that the game probably doesn't clear the whole SRAM with 0xFF before saving. So I would assume that reading works. Try writing this save file filled with random characters, extract first ofc, and then read the save again, without playing the game. Then upload it here again. This will show me what goes wrong when writing. Also, what game is it? And what is the parts number of the new FRAM chip, so I can check the datasheet? |
Beta Was this translation helpful? Give feedback.
-
Its pokemon blue, and the FRAM chip is FM18W08-SG About the save you have put, you mean write it in the original cartridge with your cartreader? I would have to write it, load, save the game and read it again to see what change? |
Beta Was this translation helpful? Give feedback.
-
Write the save to the game cartridge with the Cart Reader and then immediately read it back again with the Cart Reader. Don't put the game in a GameBoy. |
Beta Was this translation helpful? Give feedback.
-
If I put your random save into the SD and try to flash it with the cart reader I get the same error but it generate a save file, this one: |
Beta Was this translation helpful? Give feedback.
-
Ok the random 8KB file got written perfectly. Next try this 32KB random save. |
Beta Was this translation helpful? Give feedback.
-
with that one I get no error. This is the save file I read after I write you sent |
Beta Was this translation helpful? Give feedback.
-
Ok, one more test. This is a save file I got from the internet. Flash it and then play the game in the GameBoy. The player should be named Ash and he should have a Pokemon called Mew. |
Beta Was this translation helpful? Give feedback.
-
Yes, it has completed the pokedex and it has only mew in the team EDIT: all this tests have been made in the original cartridge not the flashcart |
Beta Was this translation helpful? Give feedback.
-
Ok then let's start fresh before it gets too confusing. Start a new Pokemon Blue game on the flashcart with the FRAM chip and save and then dump the save with the Cart Reader. Do you get a 32KB file that has the same content as if you had done the same on the original Pokemon Blue cartridge? If yes, write the rand32KB save to the flashcart with the FRAM chip and immediately dump it again. Compare the dump with the rand32KB save. How does it differ? |
Beta Was this translation helpful? Give feedback.
-
Hi If I start a game in the flashcart, save it and compare it with a save from the original cartridge in the same point and I put both files in HXD programm, (I dont know if I am doing it good) they looks similiar until offset 00000490 where is file starts to change If I write the rand32KB save to the flashcart (getting the error yet) and I back up it immediately and I compare them after, they looks different. Here are the files: FCS= save from flashcart as soon as I can save in the game |
Beta Was this translation helpful? Give feedback.
-
Ok,
And then in line 655 I would also add nops like so:
This is ofc just trial and error. I tested it with an original SRAM and the code still works, question is are those delays enough to make the FRAM chip work. Here is the changed GB.ino file to replace the old one: |
Beta Was this translation helpful? Give feedback.
-
Ok then I just would have to open that file in Arduino and upload it right? |
Beta Was this translation helpful? Give feedback.
-
You need to download and extract V5.5_Portable.zip from here https://github.com/sanni/cartreader/releases/download/V5.5/V5.5_Portable.zip |
Beta Was this translation helpful? Give feedback.
-
It stills get the same error (trying to write rand32 save): |
Beta Was this translation helpful? Give feedback.
-
Some users and I had problems trying to write a .sav file into a flashcart. You can play and save but once you try to read/write the file you cant
The flashcart has a FRAM chip to replace the original SRAM
We have tested with other reader and it works good. Maybe its because the sanni tries to write in save in a SRAM chip when its a FRAM? Could it be a firmware issue?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions