cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 5, 3 & 1

krku_4752381
New Contributor II

Hi,

My goal is to upload the hex code from esp32 to psoc5lp. I have gone through code given by cypress which is to program psoc5lp to psoc4. I have modified the code according to esp32 and it didn't work. it was not consistent every time sometimes it used to fail at program flash and sometimes it used to fail at erase flash similarly. when I checked through the logic analyzer it gave me log as it is not able to get a positive ack from access port and debug port. so I thought of trying initially to upload the hex file from psoc5lp to another psoc5lp. when I was trying this with the same code of cypress it is also not working. i even checked in esp32 by changing the clock frequencies. can anyone suggest me how to proceed further for solving this issue?

0 Likes
1 Solution
BiBi_1928986
Valued Contributor

Hello.

A common problem is connecting the programming signals with wires that are too long.  10cm length is about the limit for signal integrity issues.  5cm works extremely well.

Good luck with your project.

View solution in original post

4 Replies
MotooTanaka
Esteemed Contributor

Hi,

Just reading your description, I imagine that the power may not be sufficient.

I've seen similar symptom with other vendor's MCU when supply current/voltage was not good enough.

Can you try supplying external power to psoc5lp and see if there will be some improvement?

moto

krku_4752381
New Contributor II

Hi, thank you it helped me solve the issue in programming psoc5lp to psoc5lp, but with esp32 its again the same issue.

0 Likes
Rakshith
Moderator
Moderator

Discussion on this issue is continued on this thread - Re: PSOC5lp -> psoc5lp programming

Thanks and Regards,
Rakshith M B
0 Likes
BiBi_1928986
Valued Contributor

Hello.

A common problem is connecting the programming signals with wires that are too long.  10cm length is about the limit for signal integrity issues.  5cm works extremely well.

Good luck with your project.

View solution in original post