Hello,
I am trying to connect Lauterbach with LS1021ATWR, But getting error on SYSTEM.UP as "debug port fail".
I am using below commands
SYSTEM.CPU CORTEXA7MPCORE
SYSTEM.CONFIG DAPIRPRE 8.
SYSTEM.CONFIG DAPDRPRE 1.
SYSTEM.Option ResBreak OFF
CORE.ASSIGN 1.
SYSTEM.Up
Hello AMOL SHROTRI,
For Lauterbach and Trace32 problem, you's better contact LAUTERBACH company LAUTERBACH DEVELOPMENT TOOLS.
For LS1021ATWR, make sure there is valid RCW on the target board, if no, you could use hard-coded RCW.
Switch settings for LS1021A TWR X3 - PROC REV 1.0
SW2 : 0x8F = 1000 1111
SW3 : 0x61 = 0110 0001
Switch settings fro LS1021A TWR X3 - PROC REV 2.0
SW2 : 0x8F = 1000 1111
SW3 : 0x65 = 0110 0101
To enable CMSIS-DAP you have to change SW2[8] = 0
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------