You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've been using pyOCD for flashing Cypress PSoC6 MCUs using a Raspberry Pis and recently there's been a need to also do this process with the PSoC4 family of MCUs as well. I reached out to Cypress/Infineon to see if they are planning on supporting PSoC4 on pyOCD and it looks like that is not the case.
I came across the target support documentation on pyOCD and I was able to successfully install the DFP for PSoC4 using pyocd pack install CY8C4146LQI-S432 which allowed me to see the desired targets when executing pyocd list --targets; however, I am seeing warnings/errors that indicate the configuration for the target might wrong or incomplete:
0001516 W Failed to add data chunk: no memory region defined for address 0x90300000 [file_programmer]
0001517 W Failed to add data chunk: no memory region defined for address 0x90400000 [file_programmer]
0001517 W Failed to add data chunk: no memory region defined for address 0x90500000 [file_programmer]
0001517 W Failed to add data chunk: no memory region defined for address 0x90600000 [file_programmer]
0003836 W Timed out waiting for core to halt after reset (state is RUNNING) [cortex_m]
0003861 C cannot write registers pc, r0, r1, r2, r9, sp, lr because core #0 is not halted [__main__]
This made me wonder if the managed pack install really is intended to "install new device support with a single command line invocation" or if there are some modifications needed on the pyOCD source code to make the newly added targets work. For example, the instructions for adding a new built-in target require the user to create the target's memory map, etc. Is this process what happens behind the scenes of a managed pack install? Or is one approach more "robust" than the other?
Thanks in advance!
Best,
Farbod
The text was updated successfully, but these errors were encountered:
Hello,
I've been using pyOCD for flashing Cypress PSoC6 MCUs using a Raspberry Pis and recently there's been a need to also do this process with the PSoC4 family of MCUs as well. I reached out to Cypress/Infineon to see if they are planning on supporting PSoC4 on pyOCD and it looks like that is not the case.
I came across the target support documentation on pyOCD and I was able to successfully install the DFP for PSoC4 using
pyocd pack install CY8C4146LQI-S432
which allowed me to see the desired targets when executingpyocd list --targets
; however, I am seeing warnings/errors that indicate the configuration for the target might wrong or incomplete:This made me wonder if the managed pack install really is intended to "install new device support with a single command line invocation" or if there are some modifications needed on the pyOCD source code to make the newly added targets work. For example, the instructions for adding a new built-in target require the user to create the target's memory map, etc. Is this process what happens behind the scenes of a managed pack install? Or is one approach more "robust" than the other?
Thanks in advance!
Best,
Farbod
The text was updated successfully, but these errors were encountered: