Standalone Hello World Aplication on Xilinx Vitis
Posted: Sat Feb 29, 2020 12:26 pm
Hello, I am trying to get my hello world bare-metal application example to run on cpu0 of the red pitaya, which should print out through the CON micro-usb port of the RP (MIO14-15 UART0). I have put breakpoints in my main.c but it never seems to reach the call of main.c. The code seems to reach an endless loop found in the boot.S file, this is strange as EndlessLoop0 is used to catch cpu0 if that cpu is not in use but for some reason it seems to always get stuck there. I have been trying to run this for a week now and I don't know what to do. I tried using the other core but the same thing occurs in EndlessLoop1 form Boot.S.
Anyone can give me some help? I am uploading the code through a JTAG connection and in the run configuration, I disabled FSBL Initialization flow as it always gets stuck on "rst -processor" when that option is enabled. To fix this I disabled access to cpu1 but the same thing happened. Now before the code runs ps7_init() and ps7_post_config() are called instead but with this i have the EndlessLoop0 problem.
Anyone can give me some help? I am uploading the code through a JTAG connection and in the run configuration, I disabled FSBL Initialization flow as it always gets stuck on "rst -processor" when that option is enabled. To fix this I disabled access to cpu1 but the same thing happened. Now before the code runs ps7_init() and ps7_post_config() are called instead but with this i have the EndlessLoop0 problem.