cancel
Showing results for 
Search instead for 
Did you mean: 

CAL-DS support

johanpauvert2
Associate II
Posted on June 18, 2004 at 14:08

CAL-DS support

7 REPLIES 7
johanpauvert2
Associate II
Posted on May 17, 2011 at 11:33

Is the ST9 toolschain CAL-DS complaint ?

Skywalker
romain2399
Associate II
Posted on May 17, 2011 at 11:33

There is an ELF / IEEE-695 converter, but with limitations.

1/ In a MS-DOS window :

objcopy9 --output-target=ieee filename.u filename.iee

where filename.u is the project executable file.

2/ Creating a command in STVD9 V6 : Tools -> cutomize :

Command : $(ToolChainPath)\objcopy9.exe

Argumenst : --output-target=ieee $(ExeName) $(ExeShortName).iee

Initial Directory : $(ExePath)

3/ Limitations

--

The converstion works for small test files we use. But:

a) it miss a lot of information (all debug information)

b) we have convention for register address which is not standard and must be interpreted.

You have to know that :

a) in ELF format you have 2 kinds of descriptors :

- standard symbol descriptors

- specific symbol descriptors to pass user specific information.

This descriptor is used to pass ''near'' and ''far'' function and data qualifiers.

b) in STABS format you have only standard symbol descriptors. So it is why we add extension to this format to pass ''near'' and ''far'' function and data qualifiers.

So, producing only ELF data from ELF/STABS format to IEEE-695 format produces no error but the IEEE-695 reader must intepret the specific symbol descriptor to understand the address (address on 16 bit or on 24 bit).

Of course, for ELF/STABS data from ELF/STABS format to IEEE-695 format does not work because extension are unknown by translator software. We have to add this information to this translator software.

So, for both (ELF alone and ELF/STABS) translation tool must be modified.

The ST9V6 toolchain must be modified only for ELF/STABS conversion.

-------

We are still waiting for feeback from customers before doing any toolchain modification and documentation on it.

[ This message was edited by: Romain on 03-03-2003 11:44 ]
johanpauvert1
Associate II
Posted on May 17, 2011 at 11:33

What is CAL-DS ???

Breizh

Posted on May 17, 2011 at 11:33

Cal-DS is GM's calibration development system. It's a unix-based

calibration editor, used to view and modify calibrations. This is stated as a requirement for GM Class2 (J1850) and GM-LAN (CAN)

platforms. Delco Electronics is the administer for the requirements

and tools used with the CAL-DS compliant files.

Cal-DS requires a Cal-DS ''bundle'' as input. The Cal-DS bundle is

generally created from two files. The primary file is called an i6l file

and is generated from the output file of the compiler/linker toolchain as long as this output file support one of these 3 file types : COFF, IEEE-695 or ELF/DWARF.

Based on Romain comments there is now a converter from the ST9

executable format (.u file generated by the ST9 toolschain) to an ELF /

IEEE-695 format.

It looks like this converter makes the ST9 toolchain Cal-DS compliant.

I hope this clarify the situation.

Take care,

Jojo

Posted on May 17, 2011 at 11:33

FYI, the ST9 has now been officially CALDS/IGLGEN approved by GM. It is therefore listed in the CALDS specification.

Take care,

Jojo

ian2
Associate
Posted on May 17, 2011 at 11:33

Does anyone know where I can find a complete list of which other microcontrollers have also been CAL-DS approved by GM??

I have been told that there is no such list, but I can't believe this is true!

Thanks.
matthew239955
Associate II
Posted on May 17, 2011 at 11:33

Hello, does anyone know if there is support for ARM7 with respect toward CAL-DS?

I'm on a GM project that's using a ST processro with an ARM7 core.