- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm working on a project that needs to control PSOC debugger (KITPROG 2) automatically using Python like (open the debugger IDE, connect the debugger, set break point and so on) .
Is this doable ? if yes, Would you please provide me with the steps that I should start with and the debugger library ?
Your fast response is highly appreciated
Best Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
saba,
You never mentioned what PSoC kit your are using.
I believe Modustoolbox has the ability to use Python to access the GDB server. However, at this time, Modustoolbox can only work with PSoC6s and Cypress' WiFi products.
The link I provided earlier may have some clue as to using Python with the GDB server with regards to PSoC Creator.
Len
PS: Here's another link I found regarding the debugger and Python: KitProg3 PSoC5 programming using python
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
saba,
I'm not an expert in this subject but check out this link. Maybe it can help. PSoC Creator GDB server settings
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there some specific function in KitProg 2 that you need access to? Or could it be done with KP3?
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Alan,
I want to control the PSOC debugger functions automatically using python,
like I want access to set breakpoint function so I need its interface from
the debugger library, the same for delete breakpoint , get variable value
(link we see in the watch view ) and so on ..
How can I interface with the debugger ?
Best Regards
On Mon, 26 Oct 2020 at 12:54, AlanH_86 <community-manager@cypress.com>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
saba,
You never mentioned what PSoC kit your are using.
I believe Modustoolbox has the ability to use Python to access the GDB server. However, at this time, Modustoolbox can only work with PSoC6s and Cypress' WiFi products.
The link I provided earlier may have some clue as to using Python with the GDB server with regards to PSoC Creator.
Len
PS: Here's another link I found regarding the debugger and Python: KitProg3 PSoC5 programming using python
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes KP3 talks to Python... that is exactly why I was curious about KP2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thanks for the answer.
You mean that If i'm using KP2 I will not be able to interface with Python
?
Best regards
On Mon, 26 Oct 2020 at 15:11, AlanH_86 <community-manager@cypress.com>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im not saying anything other than I know the KP3 talks to Python....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alan,
If I am correct, KP2s can be upgraded to KP3s via firmware.
However, can KP3s be used in PSoC Creator?
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think so.
https://www.cypress.com/file/452701/download
But there is no risk as you can switch batch and forth with the fw-loader
In general you are in mostly uncharted territory... but it should work... I just dont think that anyone has tried whatever it is you want to do.
Alan