Re: PSoC Creator Debugger Watch Memory Location

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

cross mob
JoBr_1593366
Level 5
Level 5
100 sign-ins 50 questions asked 100 replies posted

Is there a way to view the values of complicated macros, like USB_ARB_EP_BASE?

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @JoBr_1593366 

You can store the value of the macro in a variable and add a variable breakpoint or if the macro ultimately stores the value at a physical address you can a memory watchpoint to monitor the value at the address.

To add a memory watchpoint: 

  • From the PSoC Creator Debug menu, select New Breakpoint > Memory Watchpoint...

  • In the Breakpoints window New menu, select Watch Memory...

    Ekta_0-1657506863416.png

In a similar way you can also add a function or a variable breakpoint.

Best Regards
Ekta

View solution in original post

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @JoBr_1593366 

You can store the value of the macro in a variable and add a variable breakpoint or if the macro ultimately stores the value at a physical address you can a memory watchpoint to monitor the value at the address.

To add a memory watchpoint: 

  • From the PSoC Creator Debug menu, select New Breakpoint > Memory Watchpoint...

  • In the Breakpoints window New menu, select Watch Memory...

    Ekta_0-1657506863416.png

In a similar way you can also add a function or a variable breakpoint.

Best Regards
Ekta

0 Likes