nand2mario / nestang

NESTang is an FPGA Nintendo Entertainment System implemented with Sipeed Tang Primer 25K, Nano 20K and Primer 20K boards
https://nand2mario.github.io/nestang
GNU General Public License v3.0
328 stars 37 forks source link

segmenation fault #11

Closed wolfshow closed 11 months ago

wolfshow commented 1 year ago

why do I get segmentation fault when loading the newly released 0.5, but no problem with 0.5rc

Chandler-Kluser commented 1 year ago

can you provide more details about the build configuration?

wolfshow commented 1 year ago

can you provide more details about the build configuration?

image

Chandler-Kluser commented 1 year ago

Can you provide more details like:

wolfshow commented 1 year ago

Can you provide more details like:

  • Were you able to write it into SRAM? I haven't tried this yet because I am able to write 0.5rc.

  • What openFPGALoader build did you use? The latest build.

  • Did you try to flash using Gowin Programmer? No, I did not use Gowin Programmer.

Chandler-Kluser commented 1 year ago

I believe the issue can be in openFPGALoader, I have already faced issues in Tang Primer 20k by writing its flash memory and did not have any by using the Official Programmer.

Another detail could be any kind of bitstream generation by using nextpnr, for instance. But I don't know if you placed and routed with gw_sh or nextpnr.

I will try to reproduce your steps here.

wolfshow commented 1 year ago

I believe the issue can be in openFPGALoader, I have already faced issues in Tang Primer 20k by writing its flash memory and did not have any by using the Official Programmer.

Another detail could be any kind of bitstream generation by using nextpnr, for instance. But I don't know if you placed and routed with gw_sh or nextpnr.

I will try to reproduce your steps here.

Thanks! For the official GOWIN programmer, do I need to use version 1.99 with commercial license? or 1.98 is fine?

Chandler-Kluser commented 1 year ago

the Educational Edition is fine, because there is support for Tang Nano 20k