Community
cancel
Showing results for 
Search instead for 
Did you mean: 
RHobb
Beginner
790 Views

How to use both HPS cores on DE1-SoC using DS-5

I'm looking for a way to use both cores on the DE1-SoC board from Terasic using baremetal. I understand how to accomplish the same task using linux and the pthread command, but I want to write programs that uses and debugs both cores. Is there any examples online? I can release cpu1 from reset right after the preloader stage, but I'm lost as to where to go to assign cpu1 to execute certain code fragments.

0 Kudos
1 Reply
Fawaz_J_Intel
Employee
33 Views

Hello,

You can enable Symmetric Multi-Processing (SMP) feature to debug your code on Dual ARM. Follow the tutorial here:

https://developer.arm.com/products/software-development-tools/ds-5-development-studio/resources/tuto...

 

Once you boot your linux, the dual ARM cores will run automatically.

 

Thanks