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++
12652 Discussions

can I trace and set break point using nios-console

Altera_Forum
Honored Contributor II
1,128 Views

I didn't buy the license from Fist Silicon SOlutions company. Can I set the break point? I tried but didn't succeed. 

 

thx!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
415 Views

I believe you cannot set hardware BP's but you can set up to 3 software BP's.

0 Kudos
Altera_Forum
Honored Contributor II
415 Views

Hi cloud, 

 

I didn't purchase the FSS license either, but I _can_ set hardware 

breakpoints. Make sure you selected the appropriate option in 

SOPC builder, then use: 

 

bkpt sethw <addr> 

 

E.g. a dump from a nios2-console session: 

 

System Analyzer for Nios® II Processor 

Serial number  

Version 1.9.0 build 9 

Copyright © 1998-2004 First Silicon Solutions, Inc. 

cd c:/work/PCI5441/u-boot 

1> halt 

User halt. 

00DEDE00 0xdf000115 stw fp, 4(sp) 

2> bkpt sethw 0 

{0x00000000 hw} 

3> go 

Emulation started. 

Hardware breakpoint. 

00000000 0x0001703a wrctl status, r0 

4> license 

nios-unlimited-swb invalid 

nios-unlimited-xbrk invalid 

nios-trigger invalid 

nios-instruction-trace invalid 

nios-data-trace invalid 

nios-pm-counter 

5> 

 

Regards, 

--Scott
0 Kudos
Reply