I had a chance to play around with the Tang Nano 9K today. My goal was to flash the latest V1 bitstream to the device and try the HDMI out. I hope some of this information helps someone.
Programming:
- I program using the FPGA's custom Windows software running on Windows 7 64-bit, running on VirtualBox on my MacBook Pro.
- if OpenSource alternative is available, I program on the Linux command line connected to a Raspberry Pi
The Tang Nano 9K custom windows programming software (Gowin 1.9.8.07 Education build 20620-1) programmed about 5% after 2 hours. It's the only FPGA, CPLD, USB Blaster, EPROM, etc software that has failed under windows. The MacOS brew install of openFPGALoader as well as my build from source on the Pi were able to program the FPGA device in about 15s (with full CRC verification)
The GitHub repo instructions have the wrong parameters. I used: openFPGALoader -v -b tangnano9k -f tn_vdp.fs
Display testing:
- Connected USB-C port, and then HDMI to TV resulted in a black screen. Do the same to a universal HDMI-2-Cvideo converter gives me "Signal out of range" error.
- I flashed the original picotiny.fs bitstream to see if the original video still worked, only to get the same result.
- After some digging, I discovered a compatibility fix on EEVBlog. If you got a standards compliant TV (Samsung, Sony, etc) then this device will not work correctly as the CEC and DDC/I2C are not handled correctly. Bridge a spot on the device to make it activate the pull ups for DDC and CEC. Doing this fix made the stock display show up on my TV! Unfortunately, I'm still getting a black screen with tn_vdp.fs