Part Number: TMS320C6748
Other Parts Discussed in Thread: SYSBIOS, MATHLIB
Tool/software: TI C/C++ Compiler
Hello,
Is there some incompatibility for SYSBIOS 6.37 when using 7.2.24 and 8.3.35 CGT compilers? My project uses the libraries below but if I compile with 7.2.24 the project runs fine (has been used for 5 years already) but when compiled with 8.3.35 randomly crashes after anywhere between few minutes to few hours.
UIAPATH := /ti/uia_1_03_01_08
XDCPATH := /ti/xdctools_3_25_06_96
EDMA3 := /ti/edma3_lld_02_11_11_13
DSPLIB := /ti/dsplib_c674x_3_1_1_1
MATHLIB := /ti/mathlib_c674x_3_0_1_1
SYSBIOS := /ti/bios_6_37_05_35
XDAIS := /ti/xdais_7_21_01_07
Most common exceptions are:
ti.sysbios.heaps.HeapMem: line 371: assertion failure: A_invalidFree: Invalid free
xdc.runtime.Error.raise: terminating execution
or:
A0=0x1 A1=0x0
A2=0xc0a760a8 A3=0xc29a99d4
A4=0xc29d6a38 A5=0xc0a7933c
A6=0x8e A7=0xc282c5d8
A8=0x2 A9=0x20
A10=0x90 A11=0xc29d6a38
A12=0x5101920 A13=0xc29a9a2c
A14=0xc2987f78 A15=0x0
A16=0xc0a761c0 A17=0x0
A18=0x0 A19=0x0
A20=0x0 A21=0x0
A22=0xc09ac254 A23=0x0
A24=0x95 A25=0xff
A26=0xc A27=0x100
A28=0x100 A29=0x0
A30=0x5 A31=0x20
B0=0xa480010 B1=0x0
B2=0x1 B3=0xc2987f78
B4=0x0 B5=0xc29a5de6
B6=0xa480010 B7=0xc0a1cebc
B8=0xc B9=0xc2930180
B10=0x90 B11=0x83421160
B12=0xc0a79334 B13=0xc29a7e2c
B14=0xc29e19f8 B15=0xc0a1ce68
B16=0x1 B17=0x7e4
B18=0x51eb851f B19=0x7e6
B20=0x7e8 B21=0x7e7
B22=0xf B23=0x0
B24=0x0 B25=0x6b
B26=0xca B27=0x38
B28=0x91 B29=0x70
B30=0xc0a15170 B31=0xffef
NTSR=0x1820f
ITSR=0x20f
IRP=0xc28eab94
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0xc2924c1c
EFR=0x40000002 NRP=0xc2924c1c
Internal exception: IERR=0x8
Opcode exception
DMC Exception MPFAR=0x83421160 MPFSR=0x120
Security violation, Local L1/L2 cache memory Fault
Supervisor Read violation, Fault ID=0x0
ti.sysbios.family.c64p.Exception: line 256: E_exceptionMax: pc = 0xc2924c1c, sp = 0xc0a1ce68.
xdc.runtime.Error.raise: terminating execution
I was looking with ROV and Exception module returns these:
Exception call stack,
0 ti_sysbios_heaps_HeapTrack_free__F(struct ti_sysbios_heaps_HeapTrack_Object *, void *, unsigned int) at HeapTrack.c:145,PC = 0xC2924C1C FP = 0xC0A1CE68
1 xdc_runtime_Memory_free__F(struct xdc_runtime_IHeap___Object *, void *, unsigned int) at Memory.c:90,PC = 0xC2987F78 FP = 0xC0A1CE90
2 [local to vla_alloc_c]::free_dead_allocations(void *) at vla_alloc.c:177,PC = 0xC294EEE8 FP = 0xC0A1CE98
3 __vla_alloc(void *) at vla_alloc.c:245,PC = 0xC2913140 FP = 0xC0A1CEB8
4 std::__2::num_put<char, std::__2::ostreambuf_iterator<char, std::__2::char_traits<char>>>::do_put(std::__2::ostreambuf_iterator<char, std::__2::char_traits<char>>, std::__2::ios_base &, char, unsigned long) const(unsigned int) at locale:1514,PC = 0xC294C014 FP = 0xC0A1CEE0
5 std::__2::basic_ostream<char, std::__2::char_traits<char>>::operator <<(unsigned short) at ostream:1292,PC = 0xC2933CF0 FP = 0xC0A1CF28
Apparently ROV reports on BIOS module: "All ROV views have been run and no errors were encountered. In BIOS, this includes a check of the System stack usage and all Task stacks."
Best regards,
David.

