Hi,I have just before Christmas purchased a DE0-Nano-SoC, which seems very versatileand I would like to look at and debug the custom peripheral registers using DS-5 Community Edition 27.1I am starting from example code DE0-Nano-SoC_v.1.1.0_HWrevB0_revC0_SystemCD\Demonstrations\ SoC_FPGA\my_first_hps-fpga (and have created a version with 3 PIOs plus my own firmware I developed on a Cyclone II FPGA)I am currently just trying to look at the registers in "my_first_hps-fpga",and viewing the videos with the DE0-NaNO-SoC (repeatedly) I am beginning to understand DS-5 ... but .....I have a problem with viewing the Peripheral Registers, in that in the videos it suggests in Debug Configuration => Filesthat I need to supply a DIRECTORY where the soc_system register description can be found.However the DS-5 Community Edition 27.1 code is asking for a FILE.http://www.alterawiki.com/wiki/SoCED...eral_Registerssuggests I should find it in "synthesis", but I have tried all the files there and typically get the following error messages :add-symbol-file"D:\home\jbww\Design\Altera\Quartus_Designs_Cy clone_V_DE0_Nano_SoC\Example_01_SoC+FPGA_LEDs\soc_ system\synthesis\soc_system.qip"ERROR(CMD685-COR107):! Failed to loadsymbols for "soc_system.qip"! Unable to detectimage type of file"D:\home\jbww\Design\Altera\Quartus_Designs_Cy clone_V_DE0_Nano_SoC\Example_01_SoC+FPGA_LEDs\soc_ system\synthesis\soc_system.qip"So my question is, what file / file suffix am I looking for ?cheers,Dr. Beau Webber
Hi Lukas,
Thanks. The trouble is I do not get that as an option in the drop down box :
I have been looking for solutions to this for a few days now.
cheers,
Beau
Hi Beau,
One of the options that the Community edition supports is Linux user space application debug through an ethernet connection. I suspect that this is the debug configuration that you have chosen, but let me know if I'm mistaking. For that type of connection the peripheral files option is not supported.
Adding peripheral files is however supported through a JTAG or USB Blaster connections to your target. Unfortunately that functionality is not enabled in the Community Edition of DS-5. It is however enabled in the DS-5 Professional and Ultimate editions, as well as the Intel SoC FPGA edition. See developer.arm.com/.../intel-soc-fpga.
Assuming you have not had a previous evaluation license, then you can get 30 day evaluation license from the aforementioned link which will allow you to follow the steps in the tutorial you referenced.
Regards, Lukas
Thanks Lucas,
You are indeed quite right, I am indeed accessing the DE0-Nano-SoC via the Ethernet connection. As well as most DS-5 functions, I use it for SSH, VNC and SCP - extremely versatile, and has the advantage I can work from anywhere on the property, say in the office, and do not have to be in the Lab by the board.
OK, disappointing what you are saying, but hopefully 30 days will do it, and once the PIOs are debugged and I can read and write my own registers in my firmware, I will be sorted. (So far reading read-only registers in my firmware works, writing and then reading R/W registers always returns 0.)
I can not easily justify a full permanent license, as I only implement firmware once or twice a year, so far for use on my own NMR instrumentation.
cheers, and thanks again for solving that.