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.

What does SYS/BIOS require setting up before it will run?

Other Parts Discussed in Thread: OMAP3530

Good morning,

We are using a OMAP3530 and have written our own boot loader.  This works for a standard CCS project I loads and runs it without any issues.  However with a SYS/BIOS project it fails.

Upon investigation we have also discovered that we cannot run the SYS/BIOS project in debug mode unless u-boot is in the flash.

So my question is what is it the SYS/BIOS requires setting up before it can work that is not set up in the gel files and is set up in u-boot?

Kind regards

Sean

  • Sean Bedford said:
    However with a SYS/BIOS project it fails.

    What exactly do you mean? What is the failure?

    Todd

  • Hi Todd,

    Sorry I forgot to mention that.  In debug it loads the program and executes the gel files but the never halts in main instead it is just running (and not running the program).  With the boot loader it gets an exception handler on the first instruction after jumping to the start address. 

    This first instruction is,

    80008000:   EE110F50 MRC             P15, #0, R0, C1, C0, #2

    Kind regards

    Sean

  • Sean,

    Can you disable "Run to Main" and figure out where it goes into the weeds? This can be done by Tools->Debugger Options->Auto Run and Launch Options. Remove the check from "On a program load and restart". Now when you load your code, it goes to _c_int00.

    Todd

  • Hello Todd,

    The decision has now been taken to out source the boot loader project so I no longer need to investigate this for the time being.  How ever it is handy to know that you can start the debugger from _c_int00 for the future.

    Many thanks any way

    Sean