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.

Running debug error. please help.

Other Parts Discussed in Thread: SYSBIOS, AM3359

development env.

IDE : CCS 5.4( fanal update )

compiler : TI v5.0.4

sdk : am335x_sysbios_ind_sdk_1.0.0.8

board : AM3359 Industrial Development Kit (IDK)

project : ethercat slave

debugger : XDS510 USB PLUS

 

 

error message :

Can't find a source file at "c:\users\khaihan\appdata\local\temp\ti_mkl~1\src/exit.c" Locate the file or edit the source lookup path to include its location.

 

console message :

[CortxA8] in handle: 0x0.

Main stack base: 0x8002647c.

Main stack size: 0x2000.

R0 = 0x00000001  R8  = 0x00029394

R1 = 0x4a326040  R9  = 0x00000000

R2 = 0x4804c134  R10 = 0x00000004

R3 = 0x8001d1e8  R11 = 0x48040000

R4 = 0x00000000  R12 = 0x00000001

R5 = 0x44e09000  SP(R13) = 0x80028430

R6 = 0x00000405  LR(R14) = 0x8000b560

R7 = 0x60000000  PC(R15) = 0x8001b41e

PSR = 0x0000019f

ti.sysbios.family.arm.exc.Exception: line 174: E_dataAbort: pc = 0x8001b41e, lr = 0x8000b560.

xdc.runtime.Error.raise: terminating execution

 

============================================================================

In the past, there was no problem.

 

Old, and the other thing

- Rebuild "sys_bios_driver"

- Rebuild "am335x_platform"

- Add uartstdio.c file(starterware) in project (ethercat slave) for use printf.

- Add uartstdio.c file(starterware) in project (ethercat slave) for use printf.

- CAN1 device enable.

 

Help would be appreciated.

 

 

 

  • young seok chae said:
    error message :

    Can't find a source file at "c:\users\khaihan\appdata\local\temp\ti_mkl~1\src/exit.c" Locate the file or edit the source lookup path to include its location.

    That just means the debugger is unable to show the contents of the exit.c source file after the failure has occured. i.e. not the root cause.

    young seok chae said:
    console message :

    [CortxA8] in handle: 0x0.

    Main stack base: 0x8002647c.

    Main stack size: 0x2000.

    R0 = 0x00000001  R8  = 0x00029394

    R1 = 0x4a326040  R9  = 0x00000000

    R2 = 0x4804c134  R10 = 0x00000004

    R3 = 0x8001d1e8  R11 = 0x48040000

    R4 = 0x00000000  R12 = 0x00000001

    R5 = 0x44e09000  SP(R13) = 0x80028430

    R6 = 0x00000405  LR(R14) = 0x8000b560

    R7 = 0x60000000  PC(R15) = 0x8001b41e

    PSR = 0x0000019f

    ti.sysbios.family.arm.exc.Exception: line 174: E_dataAbort: pc = 0x8001b41e, lr = 0x8000b560.

    xdc.runtime.Error.raise: terminating execution

    That means the failure was caused by a dataAbort exception at Program Counter address 0x8001b41e. What is the code at that address?

  • how to find 0x8001b41e code?

    ㅜㅜ

  • young seok chae said:
    how to find 0x8001b41e code?

    Possible options:

    1) In the CCS debug view open the Disassembly view. Enter the address 0x8001b41e. The function the code is in should be visible (by scrolling up), and if debugging information is available the source code should be shown intermixed.

    2) From the linker .map file, the GLOBAL SYMBOLS: SORTED BY Symbol Address list should show the function name at the next lowest address.

    Once you know which function the error is occuring in, should be able to set a breakpoint to investigate the cause.

  • thank you reply.

     

    but not see source.

     

    previous different ....

     

    "C:\ti\ccsv5\tools\compiler\arm_5.0.4\lib\rtssrc.zip" extract...

    shown exti.c, no error message