Forum Discussion
Altera_Forum
Honored Contributor
11 years agoError codes of Altera command-line tool
Hi all, I'd like to create a simple GUI useful to program our boards. I need something that indicates in a clear way if the download was ok or not. To do this, I need to understand if the com...
Altera_Forum
Honored Contributor
11 years agoSee chapter 3 - 'Using the Flash Programmer from the Command Line' of nios ii flash programmer user guide (https://www.altera.com/en_us/pdfs/literature/ug/ug_nios2_flash_programmer.pdf) for a comprehensive description of the flash programming utility. I suggest you explore the '--debug' command line option.
Also have a look at Chapter 6 'Exit and Exit Status' of the advanced bash-scripting guide (http://tldp.org/ldp/abs/html/exit-status.html). This will give you help on using return values from calls. Cheers, Alex