Previously thought to learn FPGA will be very useful, beginning to contact with FPGA, try to use Verliog to write peripheral IP, because of their own skill is still shallow, write out mostly not too stable, dare not use. Later think why not Nios II directly run soft core, the realization of peripheral communication will be very convenient, safe and reliable, so take the development Board to learn the operation of the water lamp.
LED lamp program running up spent a day plus a night, the first day incredibly loaded with software, the next night there is time to start debugging, the twists and turns, the water lights, really happy. Below the problems encountered under the slot.
1. Not familiar with the process, the development process confused, reference
How to establish the Niosⅱ project on the quartusⅱ10.1
Http://wenku.baidu.com/view/bb248ff9910ef12d2af9e7ab.html
2. NIOS II EDS compilation error, and Win7 incompatible, reference
Win7 installation using quartusii and niosii sbte
Http://www.cnblogs.com/sopc-mc/archive/2010/07/01/1769058.html
3.NIOS II EDS Compiler project speed is surprisingly slow, but also often compile errors
Wait patiently, or switch to a higher version of Quartus II + NIOS II, there is a certain probability of compiling success. Compile it a few more times.
4. The function Library of the peripheral indicates in which documentation.
Last night I looked for a night and didn't find a specific explanation, this point does not STM32 do well, its external specification ug_embedded_ip, also incomplete, and not very clear will understand each IP core function of all functions and use methods, can only go to the library file header file to see, It is strongly recommended to learn to STM32 that detailed function description.
5. Write a good program, use flash programmer to download the curing program in JTAG way, reset on OK, the first Nios II Water lamp program finally ran.