Altera_Forum
Honored Contributor
16 years agoSopC Builder n System Console
hi there,
i've already checked out for a similar threat, but there isn't. So i have the following problem: I want to control within a Jtag to Avalon-Master Bridge a Register where i can program a constant, all with the System Console Interface. So i found an example the "LED Lightshow Example", introduced in the "System Console User Guide". So that comes quite near to my problem i think. In addition i've checked out that example, all works fine. I can change the value of the constant in System Console and another LED blinks up (i have removed the accelerator) Next i tried to build up this example on my own, to understand how things work in SOPC Builder and so on (i am a beginner on this) So i started SOPC Builder and took a Avalon Memory Mapped Master and a Simple PIO where I modified Options to "Output Ports only" Width: "8". I connected the Master and the PIO, all works finde. I don't want to use this accelerator thing to have a running light, so forget this! Then i generated the code. Then i created a Symbol Block from the Verilog-Code Next i created a Schematic File where i dropped the Symbol-Block. In the last step i assigned the PINS to the Output of the bevor created Symbol Block. I loaded the code into my Cyclone II Starter KIt in a EP2C35F672C6N FPGA. All works fine. Now i want to control the LED's, i started SOPC Builder's System Console. Then i opened the Master. All works fine to this point. Now i want to write a value in a register, with "master_write_8 $jtag_master 0x0 192" With the value 192 to have 2 LED's on. But that doesn't work, it's like it try to write but nothing happens. I couldn't use the Console anymore, so i hae to close it. So what is the problem, could anybode help me plz? I'm new on this. :D greetings elec