HAHAHAHA(HAx4)'s       




 Lab Notes - Altera QSys and NIOS II 8/16/2011

From Quartus II V11.0, Altera officially replaced its SOPC builder with the newer QSys design tool. My personal experience with QSys is smooth and every piece falls where they are supposed to be. And here are my two cents:

(1) Add system ID if necessary. And you can always choose to ignore the mismatch of system ID during firmware download if it causes any problem during firmware development. However it is a good practice to have one built-in.

(2) Eclipse is a great tool. Use it as much as you can. However, when sometimes command line also comes handy. Here are a few commands that are useful under NIOS II command shell:
===> (A) download image: nios2-download --cable USB-Blaster -g XXX.elf

===> (B) nios2-terminal

===> (C) system-console

(3) convert from elf to hex. Need this to put boot image in the instruction RAM

===> elf2hex --input=xxx.elf --output=Instruction_RAM.hex --width=32 --verbose --little-endian-mem --base=0x????? --end=0x?????, where "base" and "end" are the addresses specified in the QSys.

Labels: , ,

    Posted by HAx4 at 12:03 AM

0 Comments:

Post a Comment

<< Home  

   

 

    

    
Follow hahahaha_hax4 on Twitter
    

Features

*) Grand Opening
*) Why HAHAHAHA
*) Stay Foolish
*) Rabbit Hole
*) Sharepoint
*) Blotter
*) Notebook

Labels

*) Limerick
*) Movie
*) Tech
 +) Embedded Systems
 +) FPGA-ASIC-HW
 +) Linux
 +) Software
 +) Windows

Links

*) Blotter (Obsolete)
*) Notebook
*) Rabbit Hole
*) New Sharepoint


*) TEXT2PNG
*) China Blog List


*) Bertrand
*) Bruin
*) Bulldog
*) EragonJ - Hax4
*) Hua
*) I Love Rei
*) Mas
*) Philewar
*) Rodent
*) Samuel
*) Tom