This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

program auto-run problem



hello  everyone ,

after building my program, I download my *.out file to my target, but it usually runs automatically, I checked the options of my target configuration file , I found that the auto run option is run to symbol main, so I think my configuration is correct, and I set a breakpoint in my program , but it doesn't work. my configuration is as follows:

what is wrong with it ?

Thanks.

eric.

  • Hi Tain,

    are you using a SYS/BIOS application, if so, which version of SYS/BIOS and XDCtools are you using? Also, which device are you using?

    If you aren't getting to main(), then you probably have some problem in the pre-initialization code (somewhere between c_int00 and main). I'd uncheck "On a program load or restart" and see where in the init code the code is getting trashed.

    It's likely you're getting a system stack overflow somewhere or some perhaps an unwanted interrupt...