2018-02-19 11:36 PM
I am wanting to run in DPM . I use SPC5Studio to create a .wsx configuration to debug with, but I get the following failure when I try to connect to the target:
----------------------------------------------------------
Connection Failed Report from
Basic UDE Target Interface, Version: 1.14.2 created: 02/19/18, 16:01:11----------------------------------------------------------
Windows version:
Win8 () Admin: yesUDE version:
Release: 4.08.02 Build: 8012 Path: C:\Program Files (x86)\pls\UDE Starterkit 4.8Target configuration file:
C:\WORK_DRIVE\PROJECTS\U1713\MDL\-1 CONFIGURATION\-03 DEVELOPMENT\.ude\.target\stm_spc56xl_spc56el70_discovery_starterkit_dp_debug_jtag.cfgError messages:
PpcJtagTargIntf: Can't connect target ! PpcJtagTargIntf: No Dual Processor mode on target detected when using DPM configuration ! PpcJtagTargIntf: Failed to halt processor !Settings:
PortType: CommDev CommDevSel: PortType=USB,Type=FTDI[see attachment for whole log]
I can connect and debug in LSM just fine.
Solved! Go to Solution.
2018-02-21 06:39 AM
Hello Matthew ,
There is FAQ on PLS side
https://www.pls-mc.com/microcontroller-faqs/faqs-a-1291.html?sh8=bHNt
Tested and Validated by our Application team.
Best regards
Erwan
2018-02-20 12:01 AM
The short error I get is
<<
Message from component 'PpcJtagTargIntf' :
Can't connect target !Message from component 'PpcJtagTargIntf' :
No Dual Processor mode on target detected when using DPM configuration !Message from component 'PpcJtagTargIntf' :
Processor is in WAIT state !Message from component 'PpcJtagTargIntf' :
Failed to halt processor !>>
2018-02-20 02:49 AM
Hello Matthew ,
I have never tested DPM Configuration with PLS UDE 4.8
I am asking to the application team.
Best regards
Erwan
2018-02-20 07:59 AM
Hello Matthew ,
Itis mandatory to enable the DPM through the LSM_DPM user option bit in the shadow block of the flash
memory. For more details, please, refer to the SPC56EL Reference Manuals.
I am contacting PLS Support how to do that by PLS USB/JTAG.
In attachment, an example how to enable DPM with TRACE32
Best regards
Erwan
________________ Attachments : lauterbach_dpm.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HxxW&d=%2Fa%2F0X0000000b2m%2F0butDWEP0MhmxSL1l3AY6GRoc6fBZvVeOraLo1ewWwU&asPdf=false2018-02-21 12:30 AM
I found how to do it with a different tool:
2018-02-21 12:59 AM
Hello Matthew ,
Yes , it should work , but you need P&E Debugger stuff to do that.
Best regards
Erwan
2018-02-21 01:08 AM
Is there an 'Execute Initialization Commands on reset' that would set this register? Am I the first to use the SPC56 decoupled, with PLS?
2018-02-21 06:39 AM
Hello Matthew ,
There is FAQ on PLS side
https://www.pls-mc.com/microcontroller-faqs/faqs-a-1291.html?sh8=bHNt
Tested and Validated by our Application team.
Best regards
Erwan
2018-02-21 11:09 AM
Having a pretty tough time finding either a MemTool plugin for SPC5Studio, or the addin for PLS-UDE.
2018-02-21 01:13 PM
I think the issue is the PLS-UDE website is a bit re-arranged and I will contact them. Erwan, please keep up the fantastic work.