Announcements

Learn how to optimise USB-C for your designs at 18 May's USB-C PD Webinar.
Click here to register.

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

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 ?

1 Solution
PranavaYN
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 50 likes received

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
PranavaYN
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 50 likes received

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
PranavaYN
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 50 likes received

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
PranavaYN
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 50 likes received

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