P
PaulHam
Guest
Hi,all
I'm Paul Ham in Korea and have some difficulties in using ASMI_PARALLE
altera ip core.
Anyone who knows well this problem could advice to me.
I'm using Cyclone FPGA with EPCS4 and Quartus V9.1 without service pack.
My design is very simple like below :
1) receive the data from PC via RS232.
The data is .rpd file made by Conver Programming Files of Quartus menu.
Due to the EPCS spec, its size is 512KByte.
2) write the data to internal dpram. (double buffering)
3) read the data from dpram to asmi_parallel every 256 bytes.(page write)
When I simulated it with signaltap, it wrote other .rpd file into EPCS
well.
And it configured well after power-up.
But it didn't work when I programmed itself directly to EPCS4.
It always generate the illegal_erase and illegal_write.
I found some ways to solve the problem like below but anything didn't wor
well.
1) make 4 pins related to configuration, nCS/ASDO/DCLK/DATA0, "USE A
REGULAR IO" at .qsf file.
-> set_global_assignment -name RESERVE_ASDO_AFTER_CONFIGURATION "USE A
REGULAR IO"
set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE A
REGULAR IO"
set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE A
REGULAR IO"
set_global_assignment -name RESERVE_FLASH_NCE_AFTER_CONFIGURATIO
"USE AS REGULAR IO"
2) modify the value of "ncs_reg" in asmi_parallel.v as below.
-> always @ ( negedge clkin_wire or posedge end_ophdly)
if (end_ophdly == 1'b1) ncs_reg <= 1'b1;
else if (wire_ncs_reg_ena == 1'b1) ncs_reg <= 1'b0;
3) install the service pack 1 : I didn't try it
I guess that the problem is related to the setting of 4 configuratio
pins.
But I'm not sure what could I do.
If you have any advice or solution, please let me know.
Thanks advance
Regards
Paul
---------------------------------------
Posted through http://www.FPGARelated.com
I'm Paul Ham in Korea and have some difficulties in using ASMI_PARALLE
altera ip core.
Anyone who knows well this problem could advice to me.
I'm using Cyclone FPGA with EPCS4 and Quartus V9.1 without service pack.
My design is very simple like below :
1) receive the data from PC via RS232.
The data is .rpd file made by Conver Programming Files of Quartus menu.
Due to the EPCS spec, its size is 512KByte.
2) write the data to internal dpram. (double buffering)
3) read the data from dpram to asmi_parallel every 256 bytes.(page write)
When I simulated it with signaltap, it wrote other .rpd file into EPCS
well.
And it configured well after power-up.
But it didn't work when I programmed itself directly to EPCS4.
It always generate the illegal_erase and illegal_write.
I found some ways to solve the problem like below but anything didn't wor
well.
1) make 4 pins related to configuration, nCS/ASDO/DCLK/DATA0, "USE A
REGULAR IO" at .qsf file.
-> set_global_assignment -name RESERVE_ASDO_AFTER_CONFIGURATION "USE A
REGULAR IO"
set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE A
REGULAR IO"
set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE A
REGULAR IO"
set_global_assignment -name RESERVE_FLASH_NCE_AFTER_CONFIGURATIO
"USE AS REGULAR IO"
2) modify the value of "ncs_reg" in asmi_parallel.v as below.
-> always @ ( negedge clkin_wire or posedge end_ophdly)
if (end_ophdly == 1'b1) ncs_reg <= 1'b1;
else if (wire_ncs_reg_ena == 1'b1) ncs_reg <= 1'b0;
3) install the service pack 1 : I didn't try it
I guess that the problem is related to the setting of 4 configuratio
pins.
But I'm not sure what could I do.
If you have any advice or solution, please let me know.
Thanks advance
Regards
Paul
---------------------------------------
Posted through http://www.FPGARelated.com