Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
19985 Discussions

Nios processor C program

Elyouss
Beginner
383 Views

Hello, I'm using the DE0  board from altera and I wrote a little program to toggle an output pin from high level to low level and vice versa. That's my program :

Elyouss_0-1657878777980.png

I'm not sure if he contains all the lines necessary to make my project work but, if it's the case, how can I convert my C program (I think that's the .elf) into an .sof for hardware application ? 

Thank you very much in advance for the replies,

Sincerely 

0 Kudos
1 Solution
ShengN_Intel
Employee
335 Views

Hi,


Make sure you're doing the steps correctly as stated in this video https://www.youtube.com/watch?v=joFaxLY-rUE. Based on Generate Completed window line 3, can you check the reason for causing that Failure compiling 'C:/Users/elyes/AppData...'. Alternatively, you can specify the HEX file with QIP.


Best Regards,

Sheng


p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.


View solution in original post

5 Replies
Elyouss
Beginner
376 Views

I tried to put my memory init in the on_chip_memory peripherals on Qsys to make a .sof file 

Elyouss_0-1657881315214.png

but it don't want to generate 

Elyouss_1-1657881418685.png

 

 

Elyouss
Beginner
363 Views

and here the command for setting bits ;

Elyouss_0-1657891995757.png

 

ShengN_Intel
Employee
336 Views

Hi,


Make sure you're doing the steps correctly as stated in this video https://www.youtube.com/watch?v=joFaxLY-rUE. Based on Generate Completed window line 3, can you check the reason for causing that Failure compiling 'C:/Users/elyes/AppData...'. Alternatively, you can specify the HEX file with QIP.


Best Regards,

Sheng


p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.


ShengN_Intel
Employee
324 Views

Hi,


Any concern or follow up? Have your problem resolved?


Thanks,

Best Regards,

Sheng


Elyouss
Beginner
315 Views

yes thank you very much and sorry for my late reply 

Reply