Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThanks for your reply. I did generate and update the SD card with the preloader and the uboot image. When I checked the makefile, the compiler used for this process was the arm-altera-eabi-gcc which is the baremetal version of gcc for altera.
Could you please help describe the next step for baremetal debugging? I have written and application in the Altera DS-5 eclipse and programmed the FPGA with the hardware image. I'm not sure on how to link the application with the underlying image so that it breaks at the main() function. I believe a (.ds) script with appropriate commands is needed which runs the pre-loader and stops at the main function. But i'm not completely sure on what commands/steps are to be followed. Please advise. Thanks in advance. Awaiting your reply. Best Regards, Nitin.