Hello.

In my learning process I'm trying to work with HPS and FPGA. I am working with a Terasic DE10-Nano.
I have created a system in the Quartus' "Platform Designer" with the HPS and other peripherals. The VHDL is done and it compiles fine.
After this, I also have the C program compilated throught the "Intel Embedded Command Shell", everything went right, and I copied the program to the board.

Now here's are my doubts and problems. The MSEL configuration I guess it is "000000". I have conected to the board through UART and I have communication, I am programming it throught another miniUSB port.
When I program it I can't boot the OS. I have tried different ways:

-Program it without SD card and inserting it after the programming is completed.
-Run with SD, stop the boot by pressing any key, programming, and after this, insert the command boot. (On MSEL="000000" it doesn't boot, but it does when is on "010100"). Anyway, if it doesn't boot I can't do anything, but if it boots, the program doesn't work. It executes, but doesn't work.

Now I'm thinking about flashing another image on the SD, I don't know if it will work. Any ideas?

As always, thanks for your help.