Forum Discussion

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

Application code residing in the EPCS

Has anyone used the EPCS controller to hold 100% of your application code? We are pin limited and I was considering giving it a whirl. Any idea of how long the boot loader in the FPGA takes to copy the applicaiton in the EPCS to SDRAM (~512K app)? Are we talking milli seconds or seconds? Does anyone have any pointers or things to consider/watch for? Any info would be great!

Rick

13 Replies

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

    Yes, that's why i ask to explain - is it possible to make some hot fix for that ?

    Or can i get sources of firmware_ROM.hex in flash programming design to try fix by my self?

    In fact i don't know where need to fix that.

    How i understand the difference between EPCS4 & EPCS16 is only ID and Size

    is it true ?

    May be need just delete ID check and all or is more complicate ?

    For me is VERY IMPORTANT - my project may be stoped.

    please help.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The problem still active http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif

    I put to board, using wires, EPCS4 instead EPCS16

    An now i can program it using ActiveSerial - so it work correctly

    And i try to run my project.................

    BUT IDE&#39;s flash programmer still not working and trow to console next :

    make: Entering directory `/cygdrive/d/ALTERA_PRJ/CYCLC6/lancelot/software/hello_led_4/Debug&#39;

    Jan 13, 2005 2:59:51 PM - (INFO) nios2-flash-programmer: Launching Quartus Programmer to download:

    c:/altera/kits/nios2/components/AlexBoard/system/AlexBoard.sof

    Pre-Reading 0KBytes of data from U2:

    |----.----+----.----|

    ********************* (0.969 sec).

    Writing 64KBytes :

    |----.----+----.----|

    ********************* (0.953 sec).

    Verifying 64KBytes of data:

    |----.----+----.----|

    *********************Jan 13, 2005 3:00:00 PM - (SEVERE) nios2-flash-programmer: Verification failure after write.

    make: *** [epcs_controller_boot_rom_programflash] Error 8

    make: Leaving directory `/cygdrive/d/ALTERA_PRJ/CYCLC6/lancelot/software/hello_led_4/Debug&#39;

    What happen ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Alex,

    So you have physically removed the large EPCS and replaced with an EPCS4 on your board? That tells me that, perhaps, the problem is in the board component you created to tell the flash programmer about your board/flash setup. I say "perhaps" because I cannot remember if the target-board setup utility asks you which EPCS device you have on your board; if that&#39;s the case you should re-run the target board setup utility and tell it about your EPCS4.

    By the way this problem has not gone un-noticed. I cannot give you a patch/hot fix right this moment but have filed a high-priority issue on what you report and located what needs to be changed in our tool-set.