NetFPGA / P4-NetFPGA-public

P4-NetFPGA wiki
103 stars 31 forks source link

how to program bitstream file into Flash memory. #53

Closed wangmengsail closed 4 years ago

wangmengsail commented 4 years ago

hello,everyone!

I just buy a NetSume FPGA board, but I don't know how to program bitstream file into Flash memory.

First things first, I checked that JP1 is not shorted. Then I run through this guide: https://github.com/NetFPGA/NetFPGA-SUME-public/wiki/Reference-Operating-System-Setup-Guide. After I complete it, I run the following command at the terminal:

dsumecfg write -d NetSUME -f production_test.bit -s 0 -verify

Error information at the terminal is following:

Configuring FPGA... FPGA configuration succeeded. Erasing Flash: 0%ERROR: timed out after 25000ms while waiting for FPGA handshake ERROR: FPGA handshake failed while erasing blocks blocks 0 - 5

It is also possible that the CPLD XC2c512 was erased when I run the following command at the terminal:

djtgcfg erase -i 1 -d NetSUME

How can I resolve the problem if this is the case?

You can see the error information in the final sreenshot viewfile

viewfile(1) viewfile(2) The flash section 0,1,2,3 are not blank because I checked the flash with command "dsumecfg blankcheck ......."

salvatorg commented 4 years ago

Refer to issue 57

Double post