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.

dsp/bios

Other Parts Discussed in Thread: OMAP-L137

hello,I'm a new user of dsp/bios .we now do a project with OMAP-L137,we want to use dsp/bios as the OS,but when i try to creat a dsp/bios projecct with ccs following the steps said in the internet,i run into a problem,when i compile the project,it echo a lot of erros in  *.cdb file,the detail is:

js: "./luo.cdb", line 4: identifier is a reserved word
js: class Module {
js: .....^
js: "./luo.cdb", line 5: missing name after :: operator
js:     prop Visible :: 1
js: ....................^
js: "./luo.cdb", line 6: missing name after :: operator
js:     prop Writable :: 1
js: .....................^
js: "./luo.cdb", line 7: missing name after :: operator
js:     prop IsConfMod :: (if self.gNumOf > 0 {1} else {0})
js: ......................^
js: "./luo.cdb", line 8: missing name after :: operator
js:     prop NoGen :: 0
js: ..................^
js: "./luo.cdb", line 9: missing name after :: operator
js:     prop IsDirty :: ($a = self.gDirty, self.gDirty = 0, $a)
js: ....................^
js: "./luo.cdb", line 10: missing name after :: operator
js:     prop dataSize :: 0
js: .....................^
js: "./luo.cdb", line 11: illegal character
js:     prop error :: # ("Error: ", self.name, $1)
js: ..................^
js: "./luo.cdb", line 11: missing name after :: operator
js:     prop error :: # ("Error: ", self.name, $1)
js: ..................^
js: "./luo.cdb", line 12: missing name after :: operator
js:     prop warning :: ("Warning ...", self.name, $1)
js: ....................^
js: "./luo.cdb", line 13: missing name after :: operator
js:     prop minBit :: ($a = 0, while (($1 & (1 << $a)) && $a < 32) {++$a}, $a)
js: ...................^
js: "./luo.cdb", line 14: missing name after :: operator
js:     prop name :: ("<unnamed module>")
js: .................^
js: "./luo.cdb", line 15: missing name after :: operator
js:     prop numBit :: ($a = $b = 0, while ($a < 32) {if ($1 & (1 << $a)) {++$b} }, $b)
js: ...................^
js: "./luo.cdb", line 18: identifier is a reserved word
js: class ObjectMgr {
js: .....^
js: "./luo.cdb", line 20: missing ; before statement
js:     prop CanCreate :: (if (self.gNumOf < self.maxObjs()) {self.localCanCreate()} else {self.warning("Maximum number of objects already created")})
js: ..................^
js: "./luo.cdb", line 21: missing name after :: operator
js:     prop CanDelete :: (if (self.iDelMsg == "ok" || (self.iDelUser == self.gUser)) {if (self.iId >= 0 && self.iIsUsed) {self.localCanDelete()} else {self.warning("Object already deleted")}} else {self.warning(self.iDelMsg)})
js: ......................^
js: "./luo.cdb", line 22: missing name after :: operator
js:     prop Create :: ((self.gUser = (if $0 > 0 {$1} else {"USER"})), if (($a = self.CanCreate()) == "ok") {if (($a = self.localCreate()) == "ok") {if (self.iIsUsed == 0) {self.mkId(if $0 > 1 {$2} else {-1}), self.iIsUsed = 1, GlobalStatus.gDirty = 1, self.gDirty = 1} } } , (self.gUser = "USER"), $a)
js: ...................^
js: "./luo.cdb", line 23: missing name after :: operator
js:     prop Delete :: ((self.gUser = (if $0 > 0 {$1} else {"USER"})), if (($a = self.CanDelete()) == "ok") {if (($a = self.localDelete()) == "ok") {self.rmId(self.iId), self.iIsUsed = 0, GlobalStatus.gDirty = 1, self.gDirty = 1} } , (self.gUser = "USER"), $a)
js: ...................^
js: "./luo.cdb", line 24: missing name after :: operator
js:     prop GetSetOf :: (self.gSetOf)
js: .....................^
js: "./luo.cdb", line 25: missing name after :: operator
js:     prop GetNumOf :: (self.gNumOf)
js: .....................^
js: "./luo.cdb", line 26: missing name after :: operator
js:     prop GetObjId :: (self.iId)
js: .....................^

 

so anyone can help me ?thank you !

  • Which instructions have you followed? It seems you are loading a CDB file and then interpreting it as a TCF script. If you are trying to load an example, there should be a TCF script in it, and that's the file you want to load.

  • Yeah,thank you very much!I just replaced the .cdb file with .tcf file and passed the complie .I read a lot of instructions in the internet ,and nearly all of  them tell me that Ishould add a  .cdb file to the project. So maby I just make a big mistake. Thank you! But since we  use OMPL-L137 as the core of control,Maby,I need ti.platforms.evmOMAPL137 as the platform of BIOS.but when I create a DSP/BIOS configuration for the development of DSP.I found that I cannot find the ti.platforms.evmOMAPL137,there maby  be some packages I shold install ,but where can Idownload it ,and what's it? the version of ccs I use is 3.3 and the bios is bios_5_31_02.can you give me some help ,too? thank you !