This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compilation OK and error in execution

Other Parts Discussed in Thread: SYSBIOS

Hi,

I'm working on an algorithm which treats different matrices. For a matrix 23x23, I get what I want.

For a 24x24, I get this in the console :

ÿÿÿ3088018585ÿÿÿ0299092314

A14=0x3aad5586 A15=0x1c123000

A16=0x819590 A17=0x20

A18=0x819590 A19=0x0

A20=0x4396f222 A21=0x190

A22=0xc29d2790 A23=0x81b3cc

A24=0xc3a4d593 A25=0xc3d61a1a

A26=0xc38d1bcb A27=0xc3a5d9cf

A28=0xc41407de A29=0x80073036

A30=0x3ff00000 A31=0x0

B0=0x1 B1=0x71a0010

B2=0x0 B3=0x80f268

B4=0x0 B5=0x1

B6=0x81dec4 B7=0x81dec4

B8=0x819787 B9=0x30

B10=0x81ddac B11=0x8192d0

B12=0x8800003c B13=0x80f570

B14=0x0 B15=0x81d3e8

B16=0x5 B17=0x8197bc

B18=0x3f800000 B19=0x80

B20=0x81b50c B21=0x4429b94e

B22=0x448adbb0 B23=0x3f2c2dc0

B24=0x3f33ad7a B25=0xc4471ebd

B26=0xc29e4e04 B27=0x81b28c

B28=0xc260c0ba B29=0x81d660

B30=0x0 B31=0x8197d0

NTSR=0x1000c

ITSR=0x0

IRP=0x20b01120

SSR=0x0

AMR=0x0

RILC=0x18

ILC=0x0

Exception at 0x0

EFR=0x2 NRP=0x0

Internal exception: IERR=0x1

Instruction fetch exception

ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0x00000000, sp = 0x0081d3e8.

To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'

xdc.runtime.Error.raise: terminating execution

 

And for a 25x25 matrix and bigger, I get nothing.

Could you explain me what happens ?

Thanks,

Alex

  • The NRP, PC and Exception is at 0x0.  Which means your code attempted to execute code at 0x0.  There is no valid memory at 0x0.

    You could have a bad linker command file, but this usually shows up w/ an error message about not being able to load code there.  So I'm guessing something more along the lines of an uninitialized pointer.

    Pull up the code disassembly around the address in B3 (that's the branch return pointer and should be where you were executing code prior to branching to 0x0.)  Back track through the code to figure out what modified the Branching address.

    Best Regards,

    Chad