You are here

program PSoC 4 with external microcontroller | Cypress Semiconductor

program PSoC 4 with external microcontroller

Summary: 4 Replies, Latest post by vsrs on 21 Dec 2016 04:07 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
zamroodhh_1690331's picture
User
3 posts

Hi,

I am using a kinetis K64 MCU to program my CY8C4245AXI-483 PSoC.

I am refering the below link

http://www.cypress.com/documentation/application-notes/an84858-psoc-4-pr...

I ported the code to suit the K64 IC and the program seems acquire the device and i get the IDCODE right. But it fails in the check silicon ID step.

The last bit(31st bit) in the CPUSS_SYSREQ register is not being deasserted. from what i have saw from the data sheet, this bit will get deasserted automatically after the system call happens. Here in my case what could be the problem ?

Anybody please help

HIMA's picture
Cypress Employee
383 posts

Hello

 

Can you please make sure that you are trying to program the same hex file as that of the target device?

 

Thanks,

Hima

zamroodhh_1690331's picture
User
3 posts

I know that the hex file is correct because i programmed same hex into the PSoC with miniprog3.

The problem is elsewhere

I probed the SWD bus with a logic analyzer and saw some transaction to DP SELECT regester is giving ACK FAULT

zamroodhh_1690331's picture
User
3 posts

I was able to flash this hex with miniprog3

the verify silicon id is failing due to some other reason

vsrs's picture
Cypress Employee
109 posts

Hi Zamroodh,
Could you please provide some more information. Did you use the Hexfile parser for 42 family devices to generate the .c and .h files.
Whati is the SWD clock frequency you are using? It should be greater than 1.5 MHz. Could you please tell the error code, SROM error status ,Current step value  at the time of failure? If possible could you please share the code too?
 

Best Regards,
VSRS

Log in to post new comments.