cancel
Showing results for 
Search instead for 
Did you mean: 

SPC56 Decoupled Parallel Mode

Matthew Richardson
Associate II
Posted on February 20, 2018 at 08:36

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: yes

UDE version:

Release: 4.08.02

Build: 8012

Path: C:\Program Files (x86)\pls\UDE Starterkit 4.8

Target configuration file:

C:\WORK_DRIVE\PROJECTS\U1713\MDL\-1 CONFIGURATION\-03 DEVELOPMENT\.ude\.target\stm_spc56xl_spc56el70_discovery_starterkit_dp_debug_jtag.cfg

Error 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.

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on February 21, 2018 at 14:39

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

View solution in original post

9 REPLIES 9
Matthew Richardson
Associate II
Posted on February 20, 2018 at 09:01

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 !

>>

Posted on February 20, 2018 at 10:49

Hello Matthew ,

I have never tested DPM Configuration  with PLS UDE 4.8

I am asking to the application team.

          Best regards

                      Erwan

Posted on February 20, 2018 at 15:59

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=false
Posted on February 21, 2018 at 08:30

I found how to do it with a different tool:

Posted on February 21, 2018 at 08:59

Hello Matthew ,

Yes , it should work , but you need P&E Debugger stuff to do that.

            Best regards

   

                  Erwan

Posted on February 21, 2018 at 09:08

Is there an 'Execute Initialization Commands on reset' that would set this register?  Am I the first to use the SPC56 decoupled, with PLS?

Posted on February 21, 2018 at 14:39

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

Matthew Richardson
Associate II
Posted on February 21, 2018 at 20:09

Having a pretty tough time finding either a MemTool plugin for SPC5Studio, or the addin for PLS-UDE.  

Posted on February 21, 2018 at 21:13

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.