Altera_Forum
Honored Contributor
15 years agoA minimal "from scratch" on your own hardware example?
Short version of the question:
Where can I find a tutorial on starting from custom hardware to getting the most basic "hello world" NIOS running? Long version of the question: I'm probably one good Google search away from what I want but I can't seem to find it. I have a Cyclone II based board we built in house. The board is up and running and doing useful non-processor things. When we were laying out the board hardware, we knew we probably wanted some kind of soft processor. At the time, we were using the FPGA tools built into Altium so we copied the SDRAM, flash, and SRAM hardware from the Altium "Nanoboard 2000" (had to remove the link since this is my first post). I've gotten our hardware to run the simple webserver examples from Altium so I know the hardware is good. In the time since we laid out the hardware and now, we've migrated to native Quartus tools for our behavioral VHDL for the better test and debug capabilities. Now I want to instantiate a NIOS based soft processor in our hardware to make sure that the hardware is compatible with the NIOS environment. So what I am trying to do is start with a minimal NIOS system with just on-chip RAM and a JTAG UART and get a "hello world" going. If I can do that, then I can add my hardware components one at a time and test. But I keep running into simple problems. All the examples I can find assume you have working and known good hardware and BSP. I want an example of creating a BSP from scratch to test hardware. Any suggestions? David Edit: Murphy's law, you always find what you are looking for right after you post a detailed question on the forum. I think this is what I am loooking for altera.com/literature/tt/tt_nios2_hardware_tutorial.pdf