AnsweredAssumed Answered

cldp Error: failed to resolve symbol "AFP_BreakReady".

Question asked by sormel on Jun 7, 2018
Latest reply on Jun 26, 2018 by Reva@14

Iv'e seen this issue pop up around here for other target configurations, but haven't found any solution appliccable to my problem.

I've got a small prototype board using the ADSP-21584, and I have a small test application that runs successfully through the ICE-1000 from CrossCore 2.8.0.0. (in the Debug build configuration - with artifact type set to executable)

In the Release Build configuration I changed the artifact type to loader, 

In the loader configuration I set my test application on Booting Core == Core1(SHARC), and just a empty main executable on the second core.

Also on this Release configuration I've added the Post-Build step, where cldp is called.

As driver I started with the OTPProgrammer_Core1 from the "CrossCore Embedded Studio 2.8.0\SHARC\Examples\Device_Programmer\ADSP-SC58x" folder.

And of course my testproject loader artifact as file to download.

 

Upon building everything seems fine until the post-build step, that halts with:

 

Error: failed to resolve symbol "AFP_BreakReady".
Error: driver load failed.

 

Please advice on what I need to do to get around this problem, I'm in a bit of a rush here to get this test done.

 

 

PS

I also used the log switch on the cldp commandline, which produced the following output.

Connect()
[I] Target: Emulation Debug Target
[I] Platform: ADSP-21584 via ICE-1000
[I] Processor:
EMU[ emutarget ]: Connecting to emutarget family library...
EMU[ emutarget ]: Connecting to emulator library...
EMU[ emutarget ]: Connecting to processor Device 0 ( ADSP-21584 )...
EMU[ emucoresharc11 ]: Debug interface is JTAG [procID=1156853866, coreID=59530020]
EMU[ emucoresharc11 ]: Detected IDCODE: 0x228080cb [procID=0, coreID=1]
EMU[ emutarget ]: Connected to emutarget family library version 7.8.0.1
successfully

>> StateChange()
EMU[ emutarget ]: Connected to ICE-1000 emulator library version 7.7.0.0 successfully
EMU[ emutarget ]: Connected to Device 0 ( ADSP-21584 ) silicon revision 1.0 successfully
EMU[ emutarget ]: Connected to Core 1 (SHARC) [proc=0/core=0] successfully
[I] State: Running
[I] Reason: Client Request
[I] ProcId: 0

>> StateChange()
[I] State: Halted
[I] Reason: Client Request
[I] ProcId: 0
EMU[ emucoresharc11 ]: Detected IDCODE: 0x228080cb [procID=0, coreID=2]
EMU[ emutarget ]: Connected to Core 2 (SHARC) [proc=0/core=1] successfully

>> StateChange()
[I] State: Running
[I] Reason: Client Request
[I] ProcId: 1

>> StateChange()
[I] State: Halted
[I] Reason: Client Request
[I] ProcId: 1
[T] 2.17369 seconds

Reset()
[I] ProcId: 0
[I] Wait: 1

>> StateChange()
[I] State: Reset
[I] Reason: Client Request
[I] ProcId: 0

>> StateChange()
[I] State: Halted
[I] Reason: Client Request
[I] ProcId: 0
[T] 0.16933 seconds

GetTargetState()
[I] ProcId: 0
[O] State: 3
[T] 0.00003 seconds

LoadProgram()
[I] ProcId: 0
[I] FileName: OTPProgrammer_Core1.dxe
[I] SymbolsOnly: 0
[T] 0.66287 seconds

EvaluateExpression()
[I] ProcId: 0
[I] Expression: $RCU0_MSG
[I] Format: Integer
[O] Result: 6685184
[T] 0.00244 seconds

SetExpression()
[I] ProcId: 0
[I] Expression: $RCU0_MSG
[I] Value: 8258048
[T] 0.00141 seconds

GetSymbolsByName()
[I] ProcId: 0
[I] Name: AFP_BreakReady
[O] Symbols Found: 0
[T] 0.00022 seconds

Disconnect()
EMU[ emucoresharc11 ]: Disconnecting from Device 0
EMU[ emucoresharc11 ]: Disconnecting from Device 0
[T] 0.35018 seconds

Outcomes