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.
12453 Discussions

Preparing SD card for debugging...

Altera_Forum
Honored Contributor II
815 Views

Hi, 

 

I'm rather new to Altera even if I'm long in the tooth re embedded system. 

 

I've got the Arria 10 SoC dev kit.  

 

I'm working with code-time LWIP demo 10.  

 

I have successfully prepared a SD card with the precompiled image and  

it boots and works. 

 

I've also managed to compile the demo code and success fully run 

it from within Eclipse DS5 via the built in USB-blaster. 

 

However to be able to use the debugger / start the code from within 

Eclipse it seems that I need to start the SoC kit without the SD card  

in place but I need to insert it before I connect to the kit via the USB blaster.  

 

This cannot be the way it is meant to be? 

 

I've tried to empty the SD card so the SoC would not boot into the 

code because it looks like if it boots then the debugger cannot  

attach to it. But with an empty card I cannot load my code, instead 

I get a memory error. 

 

So how should I prepare my SD card so that it won't boot any 

code that interferes with the debugger connection but allows me 

to attach the debugger and load code to memory? 

 

Is this explained somewhere? 

 

I've read through, among other things, Arria 10 SoC Boot User Guide: 

 

https://www.altera.com/en_us/pdfs/literature/ug/ug-a10-soc-boot.pdf 

 

but the penny has not yet dropped. 

 

The only hint I've been able to find is a single sentence in a getting 

started guide that if OS is booted it may interfere with the debugging 

but no mention of how to prevent the OS from booting or anything else. 

 

wbr Kusti
0 Kudos
0 Replies
Reply