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

PSoC™ Creator & Designer

anne_4609456
Level 2
First like received 10 sign-ins 5 replies posted
Level 2

Hi.

I'm using sample code in C++ located in Cypress-SDK: "Cypress\Programmer\Examples\Programming\PSoC1\ISSP\Cpp_Ex" to program a HEX file to CY7C63803 chip.

It works fine, but I need to turn the PowerOn on PSoC Miniprog after write the firmware into device for test purpose.

I could not find PowerOn command in C++ (Cpp_Ex) sample code.

Could you send me a sample code in C++ to PowerOn and PowerOff the MiniProg using C++?

Thanks in advance for any help.

 

0 Likes
5 Replies
SampathS_11
Moderator
Moderator 250 sign-ins 250 solutions authored 5 questions asked
Moderator

Hello @anne_4609456 ,

Kindly find the example file with power on function. We will send the example file with power off in a few days.

Best regards,

Sampath Selvaraj

0 Likes
anne_4609456
Level 2
First like received 10 sign-ins 5 replies posted
Level 2

Hello Sampath.

Thanks for send example code for PowerOn in cpp.
Anyway, I tried to compile and got an error (error c2065: 'hr': identifier not declared) in the code for PowerOn routine at line 365.
See attached.
Could you please help me to fix it?

Regards,
Anselmo

0 Likes
anne_4609456
Level 2
First like received 10 sign-ins 5 replies posted
Level 2

Hello Sampath Selvaraj.

Did you have a chance to work on the PowerOff routine in C++ as wrote in your previous message?

Best regards,
Anselmo

anne_4609456
Level 2
First like received 10 sign-ins 5 replies posted
Level 2

Hello @SampathS_11 

Did you have a chance to work on the PowerOff routine in C++ as wrote in your previous message?

Best regards,
Anselmo

0 Likes
anne_4609456
Level 2
First like received 10 sign-ins 5 replies posted
Level 2

Hello @SampathS_11 ,

Thanks for send example code for PowerOn in cpp.
Anyway, I tried to compile and got an error (error c2065: 'hr': identifier not declared) in the code for PowerOn routine at line 365.
See attached.
Could you please help me to fix it?

Regards,
Anselmo

0 Likes