Hello,
I am trying to move from DSPBIOS 5 to SYSBIOS 6 (Platform DM6435). I have been to the same point like in the following thread, that my PSP version was leading to linking errors:
http://e2e.ti.com/support/embedded/tirtos/f/355/p/106702/611544.aspx#611544
Since I was trying to download the the newer PSP version, I found out, that I can't use it, because it is for the C6748 platform. Also some modules were missing inside the package like PAL_OS, so I decided to try to compile the old PSP modules with the SYSBIOS headers. I could generate new LIBs to build a new OUT-file. But now I get a lot of exceptions while running the program.
For example in pal_osSem.c, because the function which calls PAL_osSemCreate() contains as first argument a NULL pointer. The first argument of PAL_osSemCreate() is "name", which will not be checked after NULL. That's why the Memory Protection says Exception:
[C64XP_0] b1a70
A12=0x10807fa8 A13=0x82f24dfd
A14=0x10807f78 A15=0x2
A16=0x0 A17=0x0
A18=0x81394b9c A19=0x0
A20=0x8131d0d0 A21=0x40
A22=0xc0000 A23=0xc0
A24=0x80000 A25=0x813f111c
A26=0x813f1120 A27=0x813f1128
A28=0x813c9ec8 A29=0x42
A30=0x48 A31=0x46c
B0=0x1 B1=0x1
B2=0x10807e54 B3=0x8234f6f0
B4=0x0 B5=0x0
B6=0x0 B7=0x4
B8=0x18 B9=0x10807f48
B10=0x3 B11=0x2c
B12=0x0 B13=0x10807fe8
B14=0x836dc518 B15=0x10807f00
B16=0x823b1a70 B17=0x82f1fec8
B18=0x823b1a70 B19=0x400
B20=0x0 B21=0x10807fe8
B22=0x0 B23=0x2c
B24=0x10807f78 B25=0x2
B26=0x10807fa8 B27=0x82f24dfd
B28=0x82384e50 B29=0x46c
B30=0x1 B31=0x81394a80
NTSR=0x10807f94
ITSR=0x10807fa4
IRP=0x10807fac
SSR=0x10807fb4
AMR=0x10807fa8
RILC=0x10807fbc
ILC=0x1
Exception at 0x8234f758
EFR=0x40000000 NRP=0x8234f758
DMC Exception MPFAR=0x0 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 = 0x10807f9c, sp = 0x10807f00.
xdc.runtime.Error.raise: terminating execution
So, my questions are:
- Is this problem caused by the PSP_1_10 / SYSBIOS 6 incompatiblity?
- Is there a version of PSP, which I can use for my platform (DM6435)?
- I think it doesn't make sense to modify the PSP modules to make it work. Is there something else what I could do?
Thanks a lot!