cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

Hi All,

   

I am having trouble with this project in debugging mode, it shows "Debugging - Running", but the Pause Button (Halt Execusion, Ctrl+Alt+Break) is grayed out. The Break points I set in the main loop will not break either. Is there a project setting I missed?

   

Another question, this project seems to be ported from an older PSoC 1 project, see AN2283. What's the reason to use UDB for PWM in this project, instead of using the TCPWM component of PSoC42xx.

   

Thanks,

   

Chantal

0 Likes
Reply
1 Solution
Anonymous
Not applicable

 Hi,

   

 

   

Change the Debug select to SWD in the *.cydwr->system. It is set to GPIO.When it is set to GPIO you cannot run in debugging mode.

   

 

   

Regards,

   

Vikas

View solution in original post

0 Likes
Reply
12 Replies
Esteemed Contributor
0 Likes
Reply
Anonymous
Not applicable

Thank you, Dana.

   

This project # 42 can run on my PSoC 4 BLE poineer kit. I just wish someone else has tried it and could share some insights so I could make it work in debug mode.

0 Likes
Reply
Esteemed Contributor

Post your project and forum can take a look at it -

   

 

   

    

   

         

   

“File”                                                             Creator

   

“Create Workspace Bundle”

   

 

   

Keep in mind when debugging with PSOC HW continues to run, so

   

that affects how breakpoints and variables return values.

   

 

   

www.cypress.com/

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

Hi Dana,

   

Here attached is the bundle. Can you get it to work in debug mode?

   

Here is the link to the original BLE project #42

   

http://www.cypress.com/?rID=111341&cache=0

   

Thanks,

   

Chantal

0 Likes
Reply
Esteemed Contributor

I noticed your heap size set to 0x00 ?

   

 

   

Try 0x400 or 0x0FF for starters. *.cydwr file, system tab.

   

 

   

What version of Creator are you using, I am getting a dependancy error on PWM.....

   

I just opened it up under 3.1 SP3, now OK.

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

PSoC Creator  3.1 SP3 (3.1.0.2288)

   

I changed Heap to 0x0400, still can't break in debug mode.

   

Thanks,

   

Chantal

0 Likes
Reply
Esteemed Contributor

I am not getting a "normal" debug startup, and debug controls are

   

active. But when started did not halt inside main() like is normal for

   

start of a debug session.

   

 

   

Post a CASE on this ?

   

 

   

    

   

         

   

To create a technical case at Cypress -

   

 

   

www.cypress.com

   

“Support”

   

“Technical Support”

   

“Create a Case”

   

 

   

You have to be registered on Cypress web site first.

   

 

   

When you do also call out the fact the heap was set to 0x00.

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

 Hi,

   

 

   

Change the Debug select to SWD in the *.cydwr->system. It is set to GPIO.When it is set to GPIO you cannot run in debugging mode.

   

 

   

Regards,

   

Vikas

View solution in original post

0 Likes
Reply
Anonymous
Not applicable

Thanks, Dana.

   

I tried to create a new case, for some reason I can't type inthe Select Product/Family field, can you give it a try?

   

Thanks a lot.

   

0 Likes
Reply
Esteemed Contributor

Click on the magnifying glass icon and then you

   

can search/enter.

   

 

   

Regards, Dana.

Anonymous
Not applicable

Thanks, Vikas. Set Debug select to SWD got it working.

0 Likes
Reply
Anonymous
Not applicable

Thanks, Dana.

   

Took Firefox forever to popup the select window.

0 Likes
Reply