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

Running a C code without uploading Linux to DE1-SoC

Altera_Forum
Honored Contributor II
1,080 Views

Hello. I want to run a C code in DE1-SoC. I've been searching online and it seems that the only way it's possible is downloading Linux to the board. Is there any way to access the ARM and run the code without Linux? 

Thanks in advance.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
308 Views

The keyword you need to search for is "baremetal". This is the environment where you program directly a C code app without Linux. 

You will need however to program the preloader and use ARM DS-5 for writing the C code. 

A good tutorial with the different steps to run baremetal C code in a Cyclone V SoC can be found below: 

https://rocketboards.org/foswiki/view/documentation/ws1introtoalterasocdevices
0 Kudos
Altera_Forum
Honored Contributor II
308 Views

Thank you very much for your reply!

0 Kudos
Reply