Tips to Avoid Detours in NIOS II SOPC Development
[Copy link]
1. Ensure that there is no firmware related to NIOS II in EPCS FLASH. This can be achieved by erasing the EPCS memory. Why do we need to erase it? If EPCS stores firmware related to NIOS II, it is possible that during debugging, Eclipse will trigger a board reset after downloading the program into the board. After the board is reset, it will be affected by the NIOS II startup code in the EPCS firmware and will execute the program code stored in EPCS instead. If you don't understand the principle, it doesn't matter. Just do as I say and there will be no problem. How to erase EPCS? 1. Find a jic file corresponding to the board, no matter what program or function it is. Just use it as a bridge. The specific content doesn't matter.
2. After adding, check eraser, then starter, as shown below:
2. Follow the following process for each debugging:
1. Power off the development board
2. Power on the development board
3. Download the sof file
4. Execute run in eclipse.
2 What to do if the program compiles and reports an error? Many people encounter program compile errors, and then take a screenshot and ask me what is wrong? Look at the picture below, how can I know what you are wrong with, there is no useful error information. You should look at the console window, which will display the complete and specific error information.
For example, the following figure shows the specific error message corresponding to the above error message.
|