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.

Console Error when trying McSPI Flash Example - AM3359 ICE v2

Other Parts Discussed in Thread: SYSBIOS, AM3359

Hallo,


I'm trying to get the starterware mcspi flash example running.

When I'm running it I get the following output on the console:

[CortxA8] Exception occurred in ThreadType_Main.
Main handle: 0x0.
Main stack base: 0x83fa6530.
Main stack size: 0x1fa0.
R0 = 0x44e000e0  R8  = 0x800163b6
R1 = 0x00000000  R9  = 0x000000cd
R2 = 0x00000000  R10 = 0x00000000
R3 = 0xfffffff1  R11 = 0xffffffff
R4 = 0x8000f2d0  R12 = 0x00000000
R5 = 0x00000000  SP(R13) = 0x80010c06
R6 = 0x83ea0d58  LR(R14) = 0x83ea0e34
R7 = 0x83ea0e34  PC(R15) = 0x80010c06
PSR = 0x83ea0d58
DFSR = 0x00000005  IFSR = 0x00000000
DFAR = 0x44e000e0  IFAR = 0x00000000
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x80010c06, lr = 0x83ea0e34.
xdc.runtime.Error.raise: terminating execution

The Problem occurs when it runs the "ConsoleUtilsInit();".

If I comment all ConsoleUtil parts out, I have the same problem  at "McSPI0ModuleClkConfig();"  :

[CortxA8] Exception occurred in ThreadType_Main.
Main handle: 0x0.
Main stack base: 0x83fa6530.
Main stack size: 0x1fa0.
R0 = 0x00000000  R8  = 0x800158ea
R1 = 0x44e00000  R9  = 0x000000cd
R2 = 0x00000002  R10 = 0x00000000
R3 = 0xfffffff1  R11 = 0xffffffff
R4 = 0x8000e974  R12 = 0x00000000
R5 = 0x00000000  SP(R13) = 0x800158ea
R6 = 0x83ea0d58  LR(R14) = 0x83ea0e34
R7 = 0x83ea0e34  PC(R15) = 0x800158ea
PSR = 0x83ea0d58
DFSR = 0x00000805  IFSR = 0x00000000
DFAR = 0x44e00004  IFAR = 0x00000000
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x800158ea, lr = 0x83ea0e34.
xdc.runtime.Error.raise: terminating execution



I'm using the AM3359 ICE v2 with the starterware from "am335x_sysbios_ind_sdk_1.1.0.8".

Does anyones has a glue what's my mistake?

Thanks for your answers.

Tim