Hello,
As requested I'll re-post this to public side of the forum.
We have an idea how to validate the diagnostics library without running the LDRA unit tests in CSP package.For that we would need to be able to replicate the library delivered within SafeTI package.
I downloaded the demo CSP but couldn't find build options from that documentation either. I have checked the CCS projects from CSP, and from SafeTI library, and both uses different compiler version, also looked inside library and there looks to be 3rd version and also for example optimization levels are different between projects.
- Unit testts:arm5.1.9
- debug_exe build inside SafeTI package: arm5.0.1
- inside library (SafeTILib_RM48_LE.lib): arm5.2.6? (TI ARM Assembler PC v5.2.6 & TI ARM C/C++ Codegen PC v5.2.6 mentioned inside library)
Based on the private side answer the used compiler should be ARM v5.0.4 so is it so that the assembler & C/C++ versions itself does not state the arm compiler version and 5.2.6 means V5.0.4 tool version?
I am (was?) pretty sure that delivered library is built with 5.2.6 version using O3 but cannot anything say about the rest. Tried following (default options + necessary defines). Maybe it is something related to logging?
-mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -me -O3 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.4.0/hal/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.4.0/safety_library/include" -g --define=_RM48x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed
I am using your cg_xml-tool and from there objdiff.exe to compare the libraries and it shows that there is some differences only in sl_esm.obj and sl_selftest.obj, so based on that other objects should be ok...
For example this is the only difference for sl_esm.obj when run without --dwarf & --syms, since sh_size is different I am thinking that some compiler settings or versions are not correct...
**********************************************************************
Filename sl_esm.obj
**********************************************************************
======================================================================
Comparing Sections : section = .data : elf32_shdr
======================================================================
Differences: ..\2.4.0\libs\SafeTILib_RM48_LE.lib C:\Users\jsilvast\workspace_v6_1_3\SafeTI_lib_recreation\Debug\SafeTI_lib_recreation.lib
sh_size: 0x4 0x8
======================================================================
Comparing Sections : section = .text
======================================================================
Raw data is different
I have tested that objdiffing itself is working so syntax to use it should be correct...
Also based on private side answer V5.0.4 shall be already qualified by you for SafeTI usage, and also that you are moving to the new CSP licensing model where documents are free. Does future documentation contains also qualification information for V5.0.4 or did I just missed it from demo package or is it so that demo package does not contain every detail? Just to double check, when now downloading the CSP demo from your web site you get the old "licensing" model material? Any timeschedule for new CSP licensing model?