CY8CKIT-042 PSoC4 Pineer Kit programming via SWD | Cypress Semiconductor
CY8CKIT-042 PSoC4 Pineer Kit programming via SWD
So I have my own SWD devioce connected to the PSoC4 header and I appear to be able to read/write memory, set registers, and so forth. Im trying to follow the instructions in section 26.4.1 "Performing a System Call" in document http://www.cypress.com/?docID=48637 (The TRM for 4100/4200).
So it appears that the addresses of the SYSCALL_REQ register is 0x40000004 and SYSCALL_ARG is 0x40000008. I can write to them with 0xd386 and then 0x80000000 to try to get the SiliconID command to run. But polling of the SYSCALL_REQ register just provides a 0xc0000000, which is weird.
If I dump the vector table at 0x00, I get
00000000: 20001000 00000331 00000329 00000329
So when I start single stepping setting the SYSCALL* regs, it does look like it vectors to the NMI interrupt, but that points to 0x331, but then things run into the weeds and I get a memory error on address 0x1000015e. Any ideas?