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.

new to SYS/BIOS have some beginner questions

Other Parts Discussed in Thread: SYSBIOS

Hello,

I am migrating from DSP/BIOS5 and this has a little bit of a learning curve and i was hoping somebody could help me with some questions.

1) i have been looking at the wiki and watched a few videos on the wiki for how to do things in the GUI.  what i cannot find it how to find the files that i need to add to my project to make it link properly.  i found out by looking at an example how to find the right header files for the API (hwi.h, swi.h, etc) but i cannot find the file that i assume that the CFG file generates that allows me to link my project.  the examples use dynamic creation of their modules so they are no help.  i saw in the program help document that 2 files are created when you build/complete a config file and that you have to include those in your project. that seems a little wrong to me since the .tcf file would create a _cfg.h file right in the project directory where it makes sense.  just because i use the platform in this project doesn't mean i will be using the .cfg for other projects.  either way am i right that i need to find these "...package/cfg/<exe_name>.c" and "...package/cfg/<exe_name>.xdl" files in order to get my project to link?

2) i can't get those files though because i get this error:

Description Resource Path Location Type
xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sysbios' along the path: 'C:/CCSv5/ipc_1_23_05_40/packages;C:/Users/Michael_J/myRepository/packages;C:/CCSv5/My Projects/SYSBIOS Model840i/.config/;C:\CCSv5\xdctools_3_23_02_47\packages;'. Ensure that the package path is set correctly. SYSBIOS_Model840i.cfg /SYSBIOS Model840i Configuration Validation XDCTools Configuration Marker

and i only started getting that error after i downloaded and installed the latest xdc, sys/bios, and ipc packages.  how do i go about fixing this?

3) int he video they state that you can start with any target package you want and then just switch it in the build settings later. i started with the evm board package and then made my own custom package later. when i tried to switch to my new package it didn't make any difference in the sys/bios .cfg file.  it still showed the wrong memory configuration, the wrong processor speed, and it was still missing a memory section.  was there something more i had to do besides just changing my package in the build menu? i ended up making a new project with my new platform to fix it (which, by the way, still reported the wrong cache configuration)

4)why is it when i enter the heap size at the BIOS->Runtime->Heap size slot it uses the value for the MAR bits 0-31?

thanks for any help i can get!

-Mike

  • Mike,

    1)  You do not need to find these "...package/cfg/<exe_name>.c" and "...package/cfg/<exe_name>.xdl" files. The XDCtool which generates these files will add and compile/link them with your project.

    2) From the error, it looks like the SYS/BIOS package (you downloaded) is not on the package path.

         Is the new downloaded SYS/BIOS package installed in the same directory where you have installed CCS? We recommend installing the SYS/BIOS package in the same directory as CCS. If yes, after installation did you try restarting CCS? CCS should be able to detect the SYS/BIOS package after restart and prompt you to add it.

    3) Under Project -> Properties -> General -> RTSC tab, check for the Target and Platform. Please make sure they are set to the target and the new platform you want to compile for?

    Thanks,

    Vikram.