Altera_Forum
Honored Contributor
11 years agoHow to use "i2c_opencores_sw.tcl" in I2C (OpenCores)?
Altera wiki provides i2c core from opencores:
http://www.alterawiki.com/wiki/i2c_%28opencores%29 The core supports the qsys. There is an "i2c_opencores_sw.tcl" inside the folder. I believe I can use this to update the bsp (to add the i2c HAL to bsp) in nios II eclipse when I develop software. But how can I run this tcl in Nios II eclipse? I try to run it through Nios II command shell: nios2-bsp --script i2c_opencores_sw.tcl But it gives me errors as screenshot, why? Thanks.