Replies: 3 comments 16 replies
-
I would recommend trying your debug with an Olimex ARM-USB-TINY-H, just note this isn’t pin compatible so you will need to use jumper cables to connect it. |
Beta Was this translation helpful? Give feedback.
-
@hughbreslin Should softconsole/EclipseIDE be able to "just" attach to this debugger with different usb pid ? I had noted down that the polarfire-soc should support JTAG_CLK up to 25MHz and the Olimex debugger mentions "RTCK adaptive JTAG clock up to 30Mhz" - which would surpass the MPFS clocking capabilities so we should be able to maximise debugging throughput. Saying that, isn't the slowliness of the FlashPro6 not simply coming down to a default frequency of 4MHz when it should be possible to "force select" the JTAG clock up to 20MHz with FP6 (and actualy up to the full 25MHz with the earlier FP5) ? Let me know before making a decision on whether we need additional debugger for faster debug. |
Beta Was this translation helpful? Give feedback.
-
If softconsole is installed for you under Windows, you will find the openocd jtag clock parameter used under: C:\Microchip\SoftConsole-v2022.2-RISC-V-747\openocd\share\openocd\scripts\interface\microsemi-flashpro.cfg |
Beta Was this translation helpful? Give feedback.
-
I've been fiddling with the Icicle Kit on and off for at least a year now. The debugging has always been slow for me, to the point that it can't be considered useable.
When stepping through the code, the next line only comes up after several seconds. The time it takes is generally related to the number of variables/registers it parses, or the number of cores it follows. I can literally see each variable being read/parsed when watching the IDE.
The problem can be replicated even with the basic bare-metal examples supplied on your GitHub repositories. The problem does not happen when debugging through Renode emulation.
I've changed SoftConsole versions but that doesn't change the result. I need a starting point where I can pinpoint the real problem.
Beta Was this translation helpful? Give feedback.
All reactions