cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Anonymous
Not applicable

hi all,

   

 

   

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

   

thanks

0 Likes
6 Replies
JoMe_264151
Expert II

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

   

 

   

Bob

0 Likes
JoMe_264151
Expert II

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
Esteemed Contributor

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
Esteemed Contributor

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
JoMe_264151
Expert II

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