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
解決済! 解決策の投稿を見る。
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.
; ------------------------------------------------------------------------------
; CPU setup
IF !¶m_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
)
Best regards,
Neo
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.
Window with Power Cycle required will appear.
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
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.
; ------------------------------------------------------------------------------
; CPU setup
IF !¶m_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
)
Best regards,
Neo