Mar 06, 2020
12:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 06, 2020
12:53 AM
Hello,
What would be the options for High Speed Debugging and Communication for the AURIX controllers?
I am refering to an application that needs a very fast feedback loop where the SW can't be stopped during runtime as this will affect the functionality,
but still relevant data needs to be seen online and recorded in order to assess the functionality.
Is there a dedicated interface that can be used only for development, and then removed for series production, and which HW Interface would be used in this case.
I think CAN is limited to 1Mbaud so it would very easily become overloaded.
The JTAG/DAP interface if very fast, but can the variables be traced without stopping the SW?
The Ethernet interface should be also faster than CAN, but is it reliable enough?
Of course there are also available protocols and Tools for Calibration/Measurement like XCP that is already implemented in the MCAL, but these protocols need also specialized
tools/SW.
What would be the options for High Speed Debugging and Communication for the AURIX controllers?
I am refering to an application that needs a very fast feedback loop where the SW can't be stopped during runtime as this will affect the functionality,
but still relevant data needs to be seen online and recorded in order to assess the functionality.
Is there a dedicated interface that can be used only for development, and then removed for series production, and which HW Interface would be used in this case.
I think CAN is limited to 1Mbaud so it would very easily become overloaded.
The JTAG/DAP interface if very fast, but can the variables be traced without stopping the SW?
The Ethernet interface should be also faster than CAN, but is it reliable enough?
Of course there are also available protocols and Tools for Calibration/Measurement like XCP that is already implemented in the MCAL, but these protocols need also specialized
tools/SW.
- Tags:
- IFX
4 Replies
Mar 06, 2020
01:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 06, 2020
01:18 PM
bbogdanmircea wrote:
Hello,
What would be the options for High Speed Debugging and Communication for the AURIX controllers?
I am refering to an application that needs a very fast feedback loop where the SW can't be stopped during runtime as this will affect the functionality,
but still relevant data needs to be seen online and recorded in order to assess the functionality.
Is there a dedicated interface that can be used only for development, and then removed for series production, and which HW Interface would be used in this case.
I think CAN is limited to 1Mbaud so it would very easily become overloaded.
The JTAG/DAP interface if very fast, but can the variables be traced without stopping the SW?
The Ethernet interface should be also faster than CAN, but is it reliable enough?
Of course there are also available protocols and Tools for Calibration/Measurement like XCP that is already implemented in the MCAL, but these protocols need also specialized
tools/SW.
You probably used Ethernet to post this message, so you should have personal experience whether it is reliable enough for your use case.
Toshi
Mar 06, 2020
08:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 06, 2020
08:15 PM
Many AURIX variants have an emulation device available, with Extended Memory (EMEM) for instruction and data tracing. The higher end emulation devices have an Aurora Gigabit Trace (AGBT) interface that allows streaming debug data at 2.5 Gbps. Emulation devices work with very specialized tools and software.
DAP can operate up to 150 MHz, but is not 100% transparent, as it uses the AURIX internal buses to move data. It's often good enough for pulling data off of the AURIX without stopping the CPUs.
DAP can operate up to 150 MHz, but is not 100% transparent, as it uses the AURIX internal buses to move data. It's often good enough for pulling data off of the AURIX without stopping the CPUs.
Mar 09, 2020
02:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 09, 2020
02:10 AM
Thanks for the answer.
Unfortunately the device that I will use has no Emulation Device, so the Trace option is a no go.
I guess that DAP remains as an option, at 150MHz it should be fast enough to provide enough bandwidth.
Does the MC-ISAR provide some package for debugging which can be accessed with XCP or DAP and how would the connection be done in this case?
Unfortunately the device that I will use has no Emulation Device, so the Trace option is a no go.
I guess that DAP remains as an option, at 150MHz it should be fast enough to provide enough bandwidth.
Does the MC-ISAR provide some package for debugging which can be accessed with XCP or DAP and how would the connection be done in this case?
Mar 09, 2020
07:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 09, 2020
07:19 AM
The MCAL does not include anything for DAP, because DAP is a debugger protocol that is transparent to the running application (though it does have a performance impact).
In this context, you typically provide an ELF file to the tool, and the tool translates that into periodic reads of memory locations via DAP or JTAG.
Check with Infineon's tool partners under "Tools and Software" / "Calibration / Data Measurement / Rapid Prototyping":
https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller
In this context, you typically provide an ELF file to the tool, and the tool translates that into periodic reads of memory locations via DAP or JTAG.
Check with Infineon's tool partners under "Tools and Software" / "Calibration / Data Measurement / Rapid Prototyping":
https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller