Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/TMS320C6713B: boot table can't be loaded corectly

$
0
0

Part Number:TMS320C6713B

Tool/software: TI C/C++ Compiler

Hi:

    I used CCS 3.3.83.20 to build my project and use hex6x to make the boot table. When I load the boot table with my own secondary boot loader, it crashed.

    I checked the map file, found one section's length is not multiple of 4,  and the next section's begin with multiple of 4, which will cause 2 bytes placeholder(filled zero) in the boot table.

    When I load the boot table, the 2 bytes of zero will be used as part of the next section's length, so it's wrong .

    But, one of my colleague used CCS 3.3.38.xx(I forgot) to build my project, all the section's length are multiple of 4. When I make boot table with his .out file, it works well.

    So, is there any diffrence between the 2 CCSs in compiler(6.1.x and 6.0.x)?

    Can I get some documents or datasheet about this?

    Should I make diffrence secondary boot loader for the diffrence CCS?    

    Thank you very much!

    

   

I also checked the two spru186 of this 2 CCS, they are same in boot table file format, as this:

The boot table format is simple. There is a header record containing a 4 byte field that indicates where the boot loader should branch after it has completed coping data. After the header, each section that is to be included in the boot table will have the following:

1. 4 byte field containing the size of the section

2. 4 byte field containing the destination address for the copy

3. The actual data to be copied Multiple sections can be entered; a termination block containing a 4 byte field of zeros follows the last section.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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