Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

CYCLONE III - EPCS16 - AS MODE and FLASH PROGRAMMING

Hi all,

this is santhosh. i am not too much into fpga's.... we are utilizing an altera cyclone iii board for a energy meter purpose. We have made a board for the application.i find that in my case, JTAG is working fine.

  • AS mode is fine (shows 100% progress) but not starting the processor.

  • JIC in JTAG mode fails around 70% every time.

  • am trying to flash using flash programmer into EPCS16 (sof and elf) - Fails.

I have tried the following

  • the connections on the board are fine

  • i am using 10K pullup and pulldown resistors

  • in case of flash programming, i had the CPU's reset vector point to EPCS

Kindly help me out, I am actually fairly new to fpga's... Correct me if i was wrong in any of the above items. I have tried with simple programs also. Same thing happens everytime. I have come to the end of our product development and this is standing right in the middle... Suggestions please. thanks

san

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hmm. since you are using EPCS to load your design into FPGA, double check the configuration mode of your cyclone device (it should be the MSEL pins). make sure they are set to Active Serial mode.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Through jtag, am able to program both quartus and nios. Actually so far I have been testing like this only. AS I have mentioned,I have checked the pcb and all epcs connections are ok. As given in Altera knowledge base,I have changed the multi propose pins to user i/o.kindly guide me in the right direction so that I can get things done soon.thanks

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    it seems like the design is not able to be written into the flash device (EPCS16).

    "AS mode is fine" - are you doing only programming? you have to do verify to ensure your design is written into the flash. i guess it will certainly fail at verify if you said you can't load the processor during power up.

    Does loading your design .sof thru JTAG work?