Forum Discussion
Altera_Forum
Honored Contributor
19 years agoCyclone II Serial Config
I'm having a rather odd problem and I was wondering whether anyone else has experienced it.
I'm using an M25P40 serial prom with an EP2C20. Standard setup, in fact we reused the schematics from a previous project and repinned the FPGA. The only difference is that it's a Cyclone II instead of a Cyclone part. We've only built 4 boards and they are all flakey. The problem is that the proms are mysteriously unprogramming themselves during normal operation. That is, the Cyclone II won't configure until the prom is reprogrammed. Sometimes the serial prom can't be reprogrammed and must be replaced. Any ideas? Thanks for your help. Leslie41 Replies
- Altera_Forum
Honored Contributor
there are three possibility to access a serial config device:
1) access over a serial interface SFL (see AN370) 2) access over a parallel interface ASMI (see altasmi_parallel Megafunction User Guide) 3) EPCS controller for NIOSII (EPCS Device Controller Core) Has anybody tried to get one of this IP-Cores with a STM / ST - Flash? - Altera_Forum
Honored Contributor
OK M25P40 I Test in 1C6, 2C5,2C8 Is ok
in as mode and jtag mode. - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
Thanks
But I don’t find the quartus III manual section Active Serial connection can you please send me the address :) - Altera_Forum
Honored Contributor
look in the quartus III manual section Active Serial connection.
There is a schematic which shows the connection! the schematic to load the serial flash over JTAG with the serial Flash loader tool from altera is the same! - Altera_Forum
Honored Contributor
Hi every body,
I want to know how I connect the JTAG to assure the Serial Flash Loader for a CYCLON III FPGA (EP3C25Q240). I know that I must use the SFL function and connect the M25P16 FLASH RAM like this : M25p16 EPCS16 C-----------DCLK D-----------ASDI Q-----------DATA S-----------NCS W-----------VCC (With pullup) HOLD-------VCC (With pullup) VCC--------VCC VSS--------GND But to program the FLASH via the JTAG ,I don’t know if there is a special connection between the CYCLON III and the M25P16 Thanks - Altera_Forum
Honored Contributor
hi Ckirsche
I programer M25P40 with quartus is ok. but it can't work .i use *.jic,but when i reset the board ,it can't config the FPGA ep2c5/. and for your information .it only can work with EP2C8? - Altera_Forum
Honored Contributor
--- Quote Start --- I use quartus 6.1 to convert the file.and the FPGA is EP2C5,The ST ID is 25PE16V6.I Will buy some M25P40 to try it . --- Quote End --- I´m using quartus 7.1. are you shure that you have selectet the right EPCS device for the .jic conversion? use quartus 7.1, maybe there will be the silicon ID reportet, as it was in my case. - Altera_Forum
Honored Contributor
Ok, if you have the time to order and test, it would be helpfull for us others. But so it seems that stephezhou has other problems...
- Altera_Forum
Honored Contributor
I´m quiet sure that they will also work.
I have no other flash devic by the hand... maybe I´m able to order some samples.