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

Softcore not loading #62

Closed
s3anami opened this issue Apr 6, 2024 · 8 comments
Closed

Softcore not loading #62

s3anami opened this issue Apr 6, 2024 · 8 comments

Comments

@s3anami
Copy link

s3anami commented Apr 6, 2024

I boot up the device with the new update and it just displays NESTang at the bottom and nothing else
image

@mariogazziro
Copy link

I had the same problem, but It Works If you First boot with snestang and then load the nestang only in sdram. I Hope that information helps the developers to figure out what is happening. Probably the nestang is using the same configuration in save directory created by snestang and forgot to be write by nestang.

@siffland
Copy link

siffland commented Apr 6, 2024

I did notice only a snestang.ini gets created. And both cores (nestang and snestang) pull from the same snestang.ini (if i disable an option in one core, it is disabled in the other (the RAM save option)).

The firmware.bin are the same for both cores (hash is identical). So in theory to switch the cores you just need to swap out the .fs file (i have been using openFPGAloader on a raspberry pi, which is powering my tang20k, and switched the cores at least 20 times today playing games and have had no issues).

If anyone is interested these are the command I use to load the firmware, they work fine for me (use at own risk, but works fine for me). Did NOT try on the 25k.

FIRMWARE
openFPGALoader -b tangnano20k -f firmware.bin -o 0x500000

SNESTANG
openFPGALoader -b tangnano20k -f snestang_nano20k.fs

NESTANG
openFPGALoader -b tangnano20k -f nestang_nano20k.fs

Also, maybe this should be another issue altogether. Perhaps the firmware.bin should be its own github repo. The dev's can correct me if i am wrong, the .fs core files will never overwrite the firmware (based on where it is loaded), so in theory it can be updated separate from the cores. Then the code does not have to be duplicated in 2 repositories and the unified firmware.bin can have its own releases. Just a suggestion.

Thanks,
Sean

@nand2mario
Copy link
Owner

I'll look at the loading issue. The firmware is the same, and it does slightly different things depending on the core it is running in. So there could be a dead loop somewhere for nestang that results in the menu not showing up in some cases.

@nand2mario
Copy link
Owner

Try this. The problem is that sdram is not properly initialized in some cases. This should fix that.

nestang_nano20k.zip

@s3anami
Copy link
Author

s3anami commented Apr 7, 2024

It fixed it for me, thanks.
Does the new OSD support folders now?

@siffland
Copy link

siffland commented Apr 7, 2024

I am using folders, i have them three deep with no issues.

@Teku
Copy link

Teku commented Apr 7, 2024

I was having the same issue where I had to load SNESTang first to get NESTang working. Everything is working now with latest release.

@nand2mario
Copy link
Owner

It should be resolved then. Thanks for everyone's help.

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

5 participants