Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.10.3 OK 1.11.0 KO #184

Open
josete2k opened this issue Jan 28, 2023 · 24 comments
Open

1.10.3 OK 1.11.0 KO #184

josete2k opened this issue Jan 28, 2023 · 24 comments

Comments

@josete2k
Copy link

After the Near's splash screen the sd2snes freezes or have graphical glitches and freezes...

Back to 1.10.3 and it's all ok again.

1CHIP PAL supercic snes (LM78S05 regulator too)

REVH modded board.

@josete2k
Copy link
Author

IMG_20230128_160414

1.11.0b1 same issue

@josete2k
Copy link
Author

IMG_20230128_160550

1.10.3 working

@mrehkopf
Copy link
Owner

Wild. Can you run the diagnostic firmware (https://sd2snes.de/files/sd2snes_diagnostic_firmware.zip) and attach the entire log? You can find instructions for running the firmware at https://sd2snes.de/blog/cool-stuff/sd2snes-diagnostics
The new firmware depends more on a specific clock signal from the SNES and I want to check if it arrives at the FPGA properly.

NOTE to anyone else reading this issue: the diagnostics I linked is only for the OG sd2snes.

@josete2k
Copy link
Author

josete2k commented Jan 29, 2023

Here you have full log:

https://pastebin.com/xqjuH3rK

`===log opened===
derp
SD test... please insert card

data=111133b04504
crc1 = d805a1bf crc2 = d805a1bf PASSED

RTC Test

setting clock to 2011-01-01 00:00:00
2011-01-01 00:00:00
waiting 5 seconds
new time: 2011-01-01 00:00:04
PASSED

FPGA test

configuring fpga...
fpga_pgm: 212501 bytes programmed
FPGA configured
basic communication test...PASSED

RAM test

Testing RAM0 (128Mbit) - clearing RAM - writing RAM - verifying RAM -RAM0 PASSED

Testing RAM1 (4Mbit) - writing RAM - verifying RAM...RAM1 PASSED

SD DMA test

clearing RAM - loading test file - verifying -PASSED

Loading SNES test ROM

sysclk test

measuring SNES clock...
21475787 Hz
21475788 Hz diff = 1 max = 1
21475788 Hz diff = 0 max = 1
21475788 Hz diff = 0 max = 1
CPUCLK: 3420045
READCLK: 3094326
WRITECLK: 162859
PARDCLK: 162859
PAWRCLK: 162859
REFRCLK: 78725
ROMSELCLK: 488578
PASSED

SNES test status: IRQ: 00 PA: 00 MEM: 00/00
...
SNES test status: IRQ: 5a PA: 5a MEM: 01/d0
`

@shadowofdarkness
Copy link

A year ago I had the same problem where the 1.11.0 beta would start up corrupted or just a black screen but I could run 1.10.3 and play basic non extra chip games. Turns out that my caps where just starting to go bad and I was told the 1.11.0 version actually used more power even just at the menu and that is why it had more problems.
A full capacitor replacement fixed all my problems.

You could have the same issue. Assuming you just upgraded the regulator and left the original caps in.

@josete2k
Copy link
Author

I can play every extra chips (yoshi's Island MSU too) in 10.3

I only replaced the regulator. But, do you Really think that it is a capacitor issue? I'll take a look if this issue cannot be solved by software...

Thanks.

@mrehkopf
Copy link
Owner

It could be related to the whole save state logic running along, now triggering some underlying defect; unfortunately your diagnostic log is incomplete, it is missing part of the SNES memory test and the test summary. Did you wait until the LEDs made a running light and the screen turned (hopefully) green?
But the clocks are listed in the log, I think they are a bit high but I need to confirm with reference values.
It is a Brazilian SNES, correct?

@josete2k
Copy link
Author

I don't have leds but the screen went to yellow/Green so I supossed that the test was finished.

I'll repeat in a few moments.

It's an eurpoean pal 1chip snes

@mrehkopf
Copy link
Owner

Oh, was just guessing from the unusual system clock (21.45MHz).

@josete2k
Copy link
Author

Well... That's maybe because the supercic mod (with 17.734476Mhz Crystal and a 21.47727Mhz Crystal), isn't it?

@josete2k
Copy link
Author

Full log

https://pastebin.com/xY7JmDLn

===log opened===
derp
SD test... please insert card

data=111133b04504
crc1 = d805a1bf crc2 = d805a1bf PASSED

RTC Test

setting clock to 2011-01-01 00:00:00
2011-01-01 00:00:00
waiting 5 seconds
new time: 2011-01-01 00:00:04
PASSED

FPGA test

configuring fpga...
fpga_pgm: 212501 bytes programmed
FPGA configured
basic communication test...PASSED

RAM test

Testing RAM0 (128Mbit) - clearing RAM - writing RAM - verifying RAM -RAM0 PASSED

Testing RAM1 (4Mbit) - writing RAM - verifying RAM...RAM1 PASSED

SD DMA test

clearing RAM - loading test file - verifying -PASSED

Loading SNES test ROM

sysclk test

measuring SNES clock...
21475788 Hz
21475787 Hz diff = 1 max = 1
21475788 Hz diff = 1 max = 1
21475787 Hz diff = 1 max = 1
CPUCLK: 3420044
READCLK: 3094326
WRITECLK: 162859
PARDCLK: 162859
PAWRCLK: 162859
REFRCLK: 78725
ROMSELCLK: 488578
PASSED

SNES test status: IRQ: 00 PA: 00 MEM: 00/00
...
SNES test status: IRQ: 5a PA: 5a MEM: 5a/00

TEST SUMMARY

flash check: 1111-4-33b04504-dfb09a7f-08-11-0
Test Result

SD Passed
USB not implemented
RTC Passed
CIC no run
FPGA Passed
RAM Passed
SD DMA Passed
CLK Passed
DAC not implemented
SNES IRQ Passed
SNES RAM Passed
SNES PA Passed

@mrehkopf
Copy link
Owner

mrehkopf commented Feb 6, 2023

Can you check if the v1.10.3-frs firmware https://github.com/furious/sd2snes/releases/tag/savestate_v12
or the https://github.com/RedGuyyyy/sd2snes/releases/tag/usb2snes_v11 works?
Both need to be installed over an existing v1.10.3.

@josete2k
Copy link
Author

josete2k commented Feb 6, 2023

IMG_20230206_090048
IMG_20230206_090305

Yes

@mrehkopf
Copy link
Owner

mrehkopf commented Mar 12, 2023

Could you try this FPGA bit file? Just overwrite your original fpga_base.bit in your sd2snes folder with the one from the ZIP file. (Only for OG sd2snes and no expansion chips for now)
Firmware v1.11.0 needs to be installed first.
fpga_base_new_address_sampling.zip

@josete2k
Copy link
Author

I'll test it tomorrow.

Thanks in advance.

@josete2k
Copy link
Author

Could you try this FPGA bit file? Just overwrite your original fpga_base.bit in your sd2snes folder with the one from the ZIP file. (Only for OG sd2snes and no expansion chips for now) Firmware v1.11.0 needs to be installed first. fpga_base_new_address_sampling.zip

Nothing. Black screen.

@mrehkopf
Copy link
Owner

mrehkopf commented Sep 17, 2023

https://sd2snes.de/files/sd2snes_v1.11.0-testsampling.zip
Can you extract this over your current v1.11.0 installation (so that fpga_base.bi3 and fpga_base.bit are overwritten) and try if it works better? This basically brings back the old sampling as it was in 1.10.3.

@josete2k
Copy link
Author

https://sd2snes.de/files/sd2snes_v1.11.0-testsampling.zip Can you extract this over your current v1.11.0 installation (so that fpga_base.bi3 and fpga_base.bit are overwritten) and try if it works better? This basically brings back the old sampling as it was in 1.10.3.

Sorry for the later reply

It works!!! But some games like Batman returns PAL show the region warning: "this game is not designed for your console"

Same rom is working with 1.10.3

SuperCIC enhanced ON
menu 60Hz
game auto

I've tested with menu 50 and game 50 and same issue... the console remains at 60Hz in game even menu is 50hz

@mrehkopf
Copy link
Owner

Oh, try this fix: #186 (comment)

(Auto region patching doesn't seem to work well in some cases; I suspect that wrongly dimensioned parts are used on some old cartridges. This might also be causing the original problem that you reported in this issue. Could you post some pictures of your cart?)

@josete2k
Copy link
Author

Oh, try this fix: #186 (comment)

(Auto region patching doesn't seem to work well in some cases; I suspect that wrongly dimensioned parts are used on some old cartridges. This might also be causing the original problem that you reported in this issue. Could you post some pictures of your cart?)

Working...

I've mixed https://sd2snes.de/files/sd2snes_v1.11.0-testsampling.zip and https://github.com/mrehkopf/sd2snes/files/10765998/issue186.zip and it seems that's all ok.

@josete2k
Copy link
Author

josete2k commented Oct 22, 2023

It's a chinese cart with the mod to rev H

@josete2k
Copy link
Author

IMG_20231022_180516
IMG_20231022_180504

@josete2k
Copy link
Author

This is the pcb that I used with magno for sdd1 tests and there were some issues with sram files on it (issues you fixed in the past)...

@r0g1nh0
Copy link

r0g1nh0 commented Aug 30, 2024

Thank you very much mrehkopf and josete2k, my sd2snes rev F was not saving the games or playing the audio of the MSU-1 games and with the combination below, everything started working again.

I've mixed https://sd2snes.de/files/sd2snes_v1.11.0-testsampling.zip and https://github.com/mrehkopf/sd2snes/files/10765998/issue186.zip and it seems that's all ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants