Skip to content

onboard MPU for Primer 25k

Choose a tag to compare

@vossstef vossstef released this 01 Sep 18:51
· 12 commits to main since this release
004eae3

Features:

  • support integrated onboard BL616 (or external PMOD) MPU on Primer 25k
  • Maintenance release for Tang Console 138k

Warning

Important Console 60K FPGA programming note
Recommended to use Gowin 1.9.11.03 programmer toolset. Direct cable in between Board and PC (no USB Hub).
Close Gowin programmer tool. Unpower board by removing the USB-C cable . Press the Lid reconfig button and keep pressed while power-up the board by connecting the USB-C cable. Start Gowin programmer tool. Do a scan and select FPGA type. Configure programmer settings for extFlash Bulk Erase 5A. Press Start for Bulk Erase programming. Release reconfig button instantly (exact timing is critical here !). You might need several attempts to figure out correct button release time point otherwise you will get a SPI Flash not found error. Configure programmer settings for extFlash C Bin E&P 5A and perform programming of all the roms ( *.bin ). As very last step configure programmer settings for extFlash E&P GAO-Bridge 5A and perform FPGA bitstream programming ( *.fs ).
Background:
The FPGA bitstream will reconfigure the programming JTAG pins into a SPI Interface and by that further programming attempts are blocked. Hardware connections in between onboard BL616 and FPGA are very limited and there is no other way than make use of both JTAG and UART signals to compile a proper SPI Interface with interrupt capability.

Important Primer 25K FPGA programming note
tp25k_program
Close Gowin programmer tool. Unpower board by removing the USB-C cable . Shorten Testpoints RECONFIGn and GND (e.g. by wire or pair of tweezers) and keep shorten while power-up the board by connecting the USB-C cable.
Start Gowin programmer tool. Do a scan and select FPGA type. Configure programmer settings for extFlash Bulk Erase 5A. Press Start for Bulk Erase programming. Release shortening wire/ tweezers instantly (exact timing is critical here !). You might need several attempts to figure out correct release time point otherwise you will get a SPI Flash not found error. Configure programmer settings for extFlash C Bin E&P 5A and perform programming of all the roms ( *.bin ). As very last step configure programmer settings for extFlash E&P GAO-Bridge 5A and perform FPGA bitstream programming ( *.fs ).