Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

HPS Debugging on DE1-SoC

Altera_Forum
Honored Contributor II
1,486 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
567 Views

Do support read this forum?

0 Kudos
Altera_Forum
Honored Contributor II
567 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.
0 Kudos
Altera_Forum
Honored Contributor II
567 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 :(
0 Kudos
Altera_Forum
Honored Contributor II
567 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?
0 Kudos
Altera_Forum
Honored Contributor II
567 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

0 Kudos
Reply