Creator software 3.0 and PSoC 4 pioneer kit

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

cross mob
Anonymous
Not applicable

hi all,

   

 

   

how can I stop PSoc 4 Pioneer kit from Creator software?

   

thanks

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Just by setting a "Breakpoint". In Creator right-click on the line where you want to stop and select "Insert Breakpoint".

   

 

   

Bob

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Alternatively you may click into the column where the brown ball for the breakpoint occured.

   

There is a breakpoint window where you can see all your breakpoints you set.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You trying to put PSOC to low power state, like sleep ?

   

 

   

See this -

   

    

   

          

   

 

    http://www.cypress.com/?rID=78797     AN86233 PSOC 4 Sleep   

 

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Alternatively you can place a statement in code like -

   

 

   

while( 1 ) { }

   

 

   

and it will stop executing further code. If you supply while loop

   

with a test, like read a pin, you can escape the infinite loop

   

while( 1 ) performs.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

hi all,

   

first thanks all for quick suggestions

   

actualy I was thinking how to stop psoc4 pioneer kit from

   

execution of code stop it with debugger, not just unplug the USB

   

cable from the kit ?

   

thanks in advance

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Since (usually) your embedded project does not write to a disk or another storage device you may unplug it anytime from power supply.

   

 

   

Bob

0 Likes