MPC574xG : connection not available through laughterbach

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC574xG : connection not available through laughterbach

Jump to solution
1,321 Views
neojung
NXP Employee
NXP Employee

Hello Sir,

 

I faced an abnormal JTAG phenomenon on Calypso 3M family when I used Laughterbach.

It's a simple phenomenon but I couldn't find the root cause.

When I tried to "sys.up" command on my Calypso 3M through Laughterbach, I can't attach to device and the message "emulation debug port fail" was printed.

But the weird thing is, I can definitely access to device through Multilink + S32DS combination.

Here is the device information and I would like to receive a feedback from whom had been solved this kind of problem.

Also Please refer to the attached waveform difference between Multilink and Laughterbach.

 

SPC5746CSMMJ6
1N06M
CTAA1616E

 

FYI, I didn't program any binary, In other words, it's a empty device.

 

Best regards,

Neo

Labels (1)
0 Kudos
1 Solution
1,098 Views
neojung
NXP Employee
NXP Employee

Hello Martin,

First, Thank you for your feedback.

However, my symptom was not related with reset escalation feature.

As far as I know, reset pin holds low after 15 times toggling when the reset escalation feature was enabled. but my reset signal was clear and it didn't toggle or holds low.

Anyway, I solved this problem and the root cause was JTAG reset duration time.

When I used Multilink, the reset duration time was about 325ms.

But for the Laughterbach, the reset duration time was about 196ms.

So I added "SYSTEM.Option SLOWRESET ON" command on my CMM file. after that, all issue had been cleared.

pastedImage_1.png

; ------------------------------------------------------------------------------
; CPU setup

IF !&param_skipconfig
(
SYStem.RESet
SYStem.BdmClock 4.0MHz
SYStem.DETECT.CPU
SYStem.CONFIG.CORE 1. 1.
SYStem.CONFIG.Slave OFF
SYStem.Option.WATCHDOG OFF
SYStem.Option SLOWRESET ON
SYStem.Up

; Initialize internal SRAM (only partially used)
Data.Set EA:0x40000000--0x4000ffff %Quad 0
)

pastedImage_6.png

Best regards,

Neo

View solution in original post

0 Kudos
2 Replies
1,098 Views
martin_kovar
NXP Employee
NXP Employee

Hi Neo,

According to screenshots you shared, your microcontroller is in reset escalation. If you want to connect using Lauterbach, you can use feature called Halt Core at Power-on Reset.

Switch on the microcontroller, click MPC5XXX in Trace32, choose Tools and click Halt Core at Power-on Reset.

pastedImage_1.png

Window with Power Cycle required will appear.

pastedImage_2.png

Turn off and on the target.

Now you are connect to microcontroller and you can do required steps.

If you have any other questions, please feel free to write me back.

Regards,

Martin

0 Kudos
1,099 Views
neojung
NXP Employee
NXP Employee

Hello Martin,

First, Thank you for your feedback.

However, my symptom was not related with reset escalation feature.

As far as I know, reset pin holds low after 15 times toggling when the reset escalation feature was enabled. but my reset signal was clear and it didn't toggle or holds low.

Anyway, I solved this problem and the root cause was JTAG reset duration time.

When I used Multilink, the reset duration time was about 325ms.

But for the Laughterbach, the reset duration time was about 196ms.

So I added "SYSTEM.Option SLOWRESET ON" command on my CMM file. after that, all issue had been cleared.

pastedImage_1.png

; ------------------------------------------------------------------------------
; CPU setup

IF !&param_skipconfig
(
SYStem.RESet
SYStem.BdmClock 4.0MHz
SYStem.DETECT.CPU
SYStem.CONFIG.CORE 1. 1.
SYStem.CONFIG.Slave OFF
SYStem.Option.WATCHDOG OFF
SYStem.Option SLOWRESET ON
SYStem.Up

; Initialize internal SRAM (only partially used)
Data.Set EA:0x40000000--0x4000ffff %Quad 0
)

pastedImage_6.png

Best regards,

Neo

0 Kudos