--- Quote Start ---
originally posted by tonnoplast@Dec 9 2006, 03:50 PM
hi rfrazer.
i've others questions about port ref platform file.
1)eventhought all files are ok, projects,sopc's, programmer too, nios ii gives me some problems after build project.so i'couldn't try your program yet
2 error: `oc_i2c_master_0_base' undeclared (first use in this function)
referred to ------->iowr_oc_i2c_master_ctr(i2c_base, 0x00);
2 error: `oc_i2c_master_0_base' undeclared (first use in this function)
temp = iord_oc_i2c_master_sr(i2c_base);
every files on your folders have been imported in nios ii
2) i tried to use your blocks in my project, in particular camera_dma and camera_if.
every files on your folders have been imported in sopc builder,so these components are available.
i merely placed these blocks and i followed what was written on you pdf files for avalon slave and master. connections are right but there'is a conflict on addresses.
camera_dma_0\pixel_reader: cannot access camera_if_0\avalon_fifo_slave at base address 0x3211124.allowed range is 0x0 to 0xf
camera_dma_0\sync_master:cannot access camera_if_0\avalon_control_slave at base addresses 0x3211120.allowed range is 0x0 to 0xf.
i've tried to use auto assignements addresses and irqs but the problem still remain.
how can i do??
thank you
paolo
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19929)
--- quote end ---
--- Quote End ---
Hi Paolo
Did you build this design or use one of the existing examples? If you can, please open the camera_demo project in Quartus. Then launch SOPC Builder and see if you can generate. Then import the camera_demo sw files into a new software project in the Nios II IDE. If you use the existing hardware design, then everything should be connected appropriately. Let me know if that works better. There are guidelines in Chapter 4 & 5 of the Portable_reference_platform.pdf doc.
Regards
Steven