Hello,
I am trying to re-create a simple sys BIOS project just like lab3 from the OMAP-L138 sys Bios workshop but being used in a custom built board using C6746. I do have all my peripherals tested and working with non BIOS project. I added my own Gpio.c and Gpio.h that has a toggleLED function. I removed the evmomapL138_bsl.lib since I figured we don't need them and instead added an enmc6748.h that has all the device system controllers, GPIO control SPI...etc (this is the same used for the non BIOS) The goal is to register the toggleLED thread as an idle task, everything compiles ok however when I load the .out it never goes to main which tells me it is still stuck in initialization part I get an error message:
Can't find a source file at "/db/rtree/install/trees/products/xdcprod/xdcprod-o27/product/Linux/xdctools_3_22_02_27/packages/xdc/runtime/Startup.c" Locate the file or edit the source lookup path to include its location.
Sometimes the error talk about about a boot.c.
I am using: CCS5.2.1.00018. Please see attached for the RTSC settings. What am I doing wrong ?
I appreciate the help.
Can you set a breakpoint at _xdc_runtime_Startup_startMods__I and turn off the automatic running to main() (Tools->Debugger Options->Generic Debugger options).
I'm confused by the toggleLED. Is this an SYS/BIOS idle function or a task?
Todd
Todd,
I did set a breakpoint at the location you mentioned as shown in that attached picture, disabled run to main, the program runs to the breakpoint. Please see attached.
toggle LED is an Idle function.
thx,
Adil
sorry I am attaching a better picture
Can you add a breakpoint at xdc_runtime_System_lastFxn__I also. I've attached a picture of the general startup sequence to help show where these breakpoints are at. As you can tell, I'm just trying to help narrow down where the problem is.
6560.startupSequence.ppt
Are you enabling interrupts yourself before main? At the lastFxn breakpoint, can you look at ROV to see if anything is fishy. It would good to look at Task, Hwi, and BIOS.
I would like to correct what I told you I think I was looking at the wrong place.
I did put a breakpoint in: xdc_runtime_System_lastFxn__I: and xdc_runtime_Startup_startMods__I disabled "go to main", reloaded to c_int_00 when I hit ran it never stopped at either places.
Sorry, this fell off my radar. Did this get resolved?