Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

EPCS device programming error:"Can't recognize silicon ID for device "?!

Altera_Forum
Honored Contributor II
2,445 Views

Hi all, 

Cyclone3 (3C25E144) and EPCS16 (SOIC-16) are used in my project, and I use serial flash loader(SFL) to program the serial configuration device with *.jic file. When I try to program EPCS16 in my board, the error "Can't recognize silicon ID for device " is shown in the Quartus II software. But the JTAG mode works well. I have tried the solutions that posted in this forum, but it still doesn't work.:confused: 

 

Following steps have been checked: 

1. Power supply: FPGA VCCIO = 3.3V, EPCS16 VCC = 3.3V. 

2. MSEL pins: MSEL pins are tied to VCCA or GND correctly. MSEL[2..0] = 0 1 0. 

3. Program scheme: I follow the scheme which is shown by Figure 9-30 "Programming Serial Configuration Devices In-System Using the JTAG Interface", configuration handbook vol. 1 (http://www.altera.com/literature/hb/cfg/config_handbook.pdf) (http://www.altera.com/literature/hb/cfg/config_handbook.pdf%29). The pull-up & pull-down resistors are connected correctly. 

 

I don't know what's the matter with the device?! If somebody knows the solution, help me, please.:) 

 

Regards 

hustzq
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
925 Views

The error means, that a SFL instance can be found, but can't read data from the flash memory. Usually it's a hardwrae problem. I would check, if any flash pins are operated by the SFL during access. Normally all inputs (nCS, DCLK, ASDI) should be toggled and DATA should send a response. Check what's possibly missing. 

 

Also, for Cyclone III, the two dual-purpose pins driving the flash memory (ASDO and FLASH_nCE) should be configured as regular I/O and Data[0] as tri-stated input.
0 Kudos
Altera_Forum
Honored Contributor II
925 Views

@FvM 

There is an obvious mistake in my pcb board, but I didn't notice that at the beginning  

The two pins(ASDO and nCSO) were crossed. Since they are also used as regular I/O pins, there was a mistake in the schematic. 

Now it works well. Thanks to FvM!:)
0 Kudos
Altera_Forum
Honored Contributor II
925 Views

Hello FvM, 

CycloneIV (150DF31) and EPCS128 are used in my project, and I use serial flash loader(SFL) to program the serial configuration device with *.jic file. When I try to program EPCS128 in my board, the error "Can't recognize silicon ID for device " is shown in the Quartus II software. But the JTAG mode works well. I have tried the solutions that posted in this forum, but it still doesn't work. 

i have tried the settings (above given) required for Cyclone IV, the two dual-purpose pins driving the flash memory (ASDO and FLASH_nCE) should be configured as regular I/O and Data[0] as tri-stated input.  

 

But still didn't solve the problem. What else i need to check? What does this error indicate?Does it mean that EPCS128 device is not detected? How to resolve this issue? 

 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
925 Views

Have you set the MSEL-Pins to Active-Serial or ASx4?

0 Kudos
Altera_Forum
Honored Contributor II
925 Views

 

--- Quote Start ---  

Have you set the MSEL-Pins to Active-Serial or ASx4? 

--- Quote End ---  

 

 

I am using Cyclone 4 Gx development kit from altera. 

Yes, MSEL - pins are set to active serial mode before programming to EPCS device by using push button switch (S7) which is used to select device for configuration.  

In this board, the configuration settings are controlled by EPM2210 CPLD.  

 

To program in current configuration, I bypassed the CPLD from the JTAG chain and directly add for FPGA and EPCS device for JTAG Indirect Configuration. 

 

 

 

Thanks
0 Kudos
Reply