Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

HPS Debugging on DE1-SoC

Altera_Forum
Honored Contributor II
1,039 Views

I'm a firmware engineer (C & assembler) of many years experience looking to expand my FPGA skills, so have just ordered a DE1-SoC board for personal use. 

As my surname's not Rockerfeller and I'm doing this on my own dime I will be using the free license 'Lite' versions of the Altera software tools. 

 

I'm currently working through the training videos on Altera's site while I'm waiting for the board to arrive. 

So am I understanding this right: it doesn't matter whether I run Linux, or write my own bare-metal C/assembler code, or port something like FreeRTOS... the free license does not allow for JTAG debugging using the Blaster on the ARM side? 

 

If that is the case - how do people debug HPS side C code? Are we back in the land of debug printf's? 

 

Apologies if I'm missing something obvious! 

 

Thanks in advance.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
120 Views

Do support read this forum?

Altera_Forum
Honored Contributor II
120 Views

Dear Sir, 

 

Do not worry, the eclipse environnement, that comes with the Quartus tools, has a very decent debugger. 

I am using it with the Nios-II OS and you can debug, inspect registers as you like it. 

As long as you are connected to the board with the blaster, you can do a lot without a commercial license. 

Best Regards, 

Johi.
Altera_Forum
Honored Contributor II
120 Views

Thanks for the reply Johi. 

 

I realise the tools would work with the soft Nios-II core, buit I really wanted to play with the ARM A9 HPS, and I'm not 100% sure but I think this functionality is disabled with the free tools :(
Altera_Forum
Honored Contributor II
120 Views

 

--- Quote Start ---  

Thanks for the reply Johi. 

 

I realise the tools would work with the soft Nios-II core, buit I really wanted to play with the ARM A9 HPS, and I'm not 100% sure but I think this functionality is disabled with the free tools :( 

--- Quote End ---  

 

 

Ethernet cable?
Altera_Forum
Honored Contributor II
120 Views

No. Debuging bare metal code in ARM core with JTAG in it's own 64kb ROM. It's really weird that free vesion cant do this

Reply