Psoc 6 acquire chip issue

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

cross mob
MiS_4610836
Level 1
Level 1
5 questions asked First reply posted First question asked

Hello I try implement programming my psoc 62 microcontroller via externall programmer.
I have problem with acquire chip method A (I'm using Programming Specifications.pdf) , I have connection with mcu and I'm reading good core ID(0x6BA02477), but i have problem in next step with Dap_Scan()- when i read CPUID register I always get 0x3 and i dont have any idea why also when I trying read dhcsr register i get 0x3 any ideas?

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hello MiS_4610836​,

DAP_ScanAP() function scans all the access ports for the first available access port with CPU register access. If the function returns true then the function was able to initialize an access port and get access to the ARM registers. Or else programming fails.

When the CPUID register is read the first 8 bits of the register [31:24] have to be equal to 0x41 indicating that it is an ARM device. You can find more information about the CPUID register at this link - ARM CPUID Register.

Is the status of the Read action true?

Can you confirm that the address of the CPUID register is provided correctly?

Can you please share your programming script?

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
1 Reply
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hello MiS_4610836​,

DAP_ScanAP() function scans all the access ports for the first available access port with CPU register access. If the function returns true then the function was able to initialize an access port and get access to the ARM registers. Or else programming fails.

When the CPUID register is read the first 8 bits of the register [31:24] have to be equal to 0x41 indicating that it is an ARM device. You can find more information about the CPUID register at this link - ARM CPUID Register.

Is the status of the Read action true?

Can you confirm that the address of the CPUID register is provided correctly?

Can you please share your programming script?

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B
0 Likes