Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by ericl+dec 21 2005, 03:07 am--><div class='quotetop'>quote (ericl @ dec 21 2005, 03:07 am)</div>
--- quote start ---
<!--quotebegin-oceanx@Dec 17 2005, 02:02 AM i just try to design a system using board description editor to program flash device. --- Quote End --- I am the engineer who wrote the board description editor, and I would like to apologize for the serious error in the flash programmer flow for the editor. It should have been possible to set the device family whether or not there was a specified netlist. This has been fixed for Quartus II 5.1 SP1. There is a manual workaround, once you've created your board description. 1. Open the class.ptf file in the board description in a text editor. 2. In the CLASS/BOARD_DEFAULTS section of the .ptf file, add a line about the device family. device_family = "<device family>"; suitable values for <device family> are CYCLONE, CYCLONEII, STRATIX, STRATIXII, etc. 3. In the CLASS/BOARD_DEFAULTS section of the .ptf file, add a REFDES section for each CFI or EPCS flash. This section will look like: REFDES <flash_reference_designator> { base = "0"; } The <flash_reference_designator> must match the designator for your flash memory. There will be one REFDES section for each flash memory on your board. 4. Save and close the .ptf file after making the edits. 5. Open SOPC Builder, and re-select the updated board description. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11672)</div> [/b] --- Quote End --- Thanks, ericl I have tried to program the flash device with the command line tools, "nios2-flash-programmer", "elf2flash". As the flash programmer user guide told us, i finally successed. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif I think the board editer is nice idea, because it can make the pin assignment easy and decrease the man-made mistakes. Regards