Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

CCS/BIOSSW-C6748: Development queries with migrating code to a SYS/BIOS project under CCSv7

$
0
0

Part Number:BIOSSW-C6748

Tool/software: Code Composer Studio

Team,

I am working with a customer who is migrating to a TMS320C674x based SYS/BIOS project from an existing DSP/BIOS implementation under CCSv7 and there are a few behaviours that we would like to get to the bottom of.

The current aim is use to port a DSP/BIOS application to SYS/BIOS using CCS7. The SYS/BIOS project builds but when run on the target hardware the application resets.

We have downloaded and looked at examples in  http://www.ti.com/tool/biossw-c6748 and are now trying to create a simple “Hello, World”, type application, without hardware, software interrupts, etc. in order to prove the tool-chain on their new target hardware and to create a base project for further code development.

Note: Bare metal and DSP/BIOS applications can be loaded/executed with this hardware just fine.  

Please note the following in terms of the current software framework and by way of background :

  • The target hardware does NOT have any external RAM and uses a boot-loader to load applications from NOR flash (The boot-loader can occupy up to 16 Kbytes of TMS320C6748 internal RAM and hence 240 Kbytes internal RAM is available for applications.)
  • Shared RAM is used and configured to cache this to L1D on application start-up.  
  • My customer has created a SYS/BIOS  “C6749” platform package without any external RAM memory definition and defined a memory region, RAMINTC, at address 0x11804000 with length 0xA0.
  • C code is compiled with the “-mo” flag to place symbol_cint00 in subsection .text (.text:_c_int00).
  • A linker command file has been added to place _cint00 (at address 0x11804000), all remaining code, data and stack sections are loaded into internal RAM.
  • Hexadecimal utility hex6x.exe is used to create a 240 Kbyte application image from the .out file that is written to NOR flash.

Questions

=========

  1.  Under XGCONF, the circle next to the “Program” configuration is always red where other entries are all blue and I cannot set a heap size within the “Program” configuration, is a program heap required?
  2.  Is external RAM mandatory for SYS/BIOS – eg to provide program heap?
  3.  Under CCS7, for successful or unsuccessful builds, a .exclude file is always inserted in my “src” code folder which contains application source code files and a sub-folder named 'sysbios'.  This is really annoying and the only work around it seems is to delete the .exclude file.  Why is this happening and is there a better solution?

We would appreciate some feedback and guidance on the above please.  Ideally with pointers to a simple code example covering the requirements above.

Regards,

Garry


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>