PSoC 4.2 CCG3PA Car Charger (CLA) Error: dbg.M0015

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Geromino
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

CCG3PA Car Charger (CLA)   debug mode step by step ( step over )

we get Error: dbg.M0015   after passing  

  1.   timer_start (0, LED_TIMER_ID, LED_TIMER_PERIOD, led_timer_cb)
  2. instrumentation_task();

in order understand  the flow of power sdk  in crutual  go step by step to see  sequence and call reference function ( ability look on the stack pointer )

for example  which function  (app_callback )  and when  ( time line ) call by  by PD stack 

please advice ?

0 Likes
1 Solution
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Sorry for the delay in response.

We were able to reproduce the issue. This is caused by Watchdog timer timeout causing the chip to reset.

In order to solve this, please do disable WATCHDOG_HARDWARE_RESET_ENABLE and RESET_ON_ERROR_ENABLE macros present in config.h file.


Regards,Pranava

Best regards,
Pranava

View solution in original post

0 Likes
5 Replies
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

The Error: dbg.M0015 mentioned is a very generic one.

Can you please provide more details on the error window that you get?

Is this issue occurring in our EVK or on a custom board?

Can you disable the deepsleep mode in the project and try debugging?

Please do make sure debugging setting is as per the Debugging CCG3PA with a MiniProg3/Miniprog4 - KBA227291.

Regards,

Pranava

Best regards,
Pranava
0 Likes
lock attach
Attachments are accessible only for community members.

t haapens on cy4532 evk board  when pass instrumentation_task(); function either when

also SYS_DEEPSLEEP_ENABLE  0 or 1

all setup  done  according

Debugging CCG3PA with a MiniProg3/Miniprog4 - KBA227291

0 Likes
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

We are not able to reproduce this issue with the project you shared in another thread.

Are you using "noboot" project for debugging? Also does this occur every time you try debugging?

Regards,

Best regards,
Pranava
0 Likes

Every time

Please compile CLA sdk example noboot project on cy4532 evk and go step by step F10

When you pass instrument task the debug failed

0 Likes
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Sorry for the delay in response.

We were able to reproduce the issue. This is caused by Watchdog timer timeout causing the chip to reset.

In order to solve this, please do disable WATCHDOG_HARDWARE_RESET_ENABLE and RESET_ON_ERROR_ENABLE macros present in config.h file.


Regards,Pranava

Best regards,
Pranava
0 Likes