Altera_Forum
Honored Contributor
15 years agoNios SBT project run is ok,but can not debug
i write my code in NIOS SBT ,and the code have no problem. i right cilck my project--> Run as NIOS Hareware ,everything is ok , and the DE0 board resposed with the code expection.
Then i want to watch the distribution of the memory. right click my project -->Debug as NIOS Hareware,the NIOS SBT popup the window: http://www.alteraforum.com/forum/attachment.php?attachmentid=3249&stc=1&d=1289274469 i simply think i have not add system id component cause this .so i try the DE0's example of the University_Program. i import the getting_started example ,download the associated DE0_Basic_Computer.sof --> Run as NIOS Hareware ,the DE0 board response with the getting_started project descibe,and everything seems is ok. -->Debug as NIOS Hareware ,NIOS SBT popup the same window : http://www.alteraforum.com/forum/attachment.php?attachmentid=3249&stc=1&d=1289274469 with the console output these: http://www.alteraforum.com/forum/attachment.php?attachmentid=3250&stc=1&d=1289282788 Try the Altera Monitor Program to debug , its console output the similar words "Connection GDB colsed". i am so depressed:( i think may be some service needed by the GDB executble disabled by operation system ,or something is wrong with my design setting. can someone give me some suggestions? Thank you in advance. getting_started code and sof attachement: