how to migrate from gcc to iar embedded workbench€¦ · – advanced breakpoints – profiling...
TRANSCRIPT
![Page 1: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/1.jpg)
How to migrate from GCC to IAR Embedded Workbench
David Källberg, Field Application Engineer
![Page 2: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/2.jpg)
Agenda
• Reasons to migrate to IAR Embedded Workbench
• Debug your ELF file with C-SPY • Migrate to IAR build tools • Take advantage of the IAR project converter
![Page 3: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/3.jpg)
Reasons to migrate to IAR Embedded Workbench
![Page 4: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/4.jpg)
Reasons to migrate to IAR Embedded Workbench • State-of-the-art debugger
– Full control of the application in real time – Advanced breakpoints – Profiling – Code coverage – Interrupt and power logging
![Page 5: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/5.jpg)
• Optimize your application – Tune towards speed or size – Use smaller and cheaper device – Industry leading scores – Coremark.org
Reasons to migrate to IAR Embedded Workbench
![Page 6: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/6.jpg)
• Access to first-class support • Code analysis tools • Safety certified build tools
Reasons to migrate to IAR Embedded Workbench
![Page 7: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/7.jpg)
Debug your ELF file with C-SPY
![Page 8: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/8.jpg)
Debug your ELF file with C-SPY
• ELF object files (.out, .elf) • DWARF format for debug information • IAR Embedded Workbench
– Externally built executable – Source level debugging possible
![Page 9: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/9.jpg)
Demonstration – Debug with C-SPY
![Page 10: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/10.jpg)
Migrate to IAR build tools
![Page 11: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/11.jpg)
Migrate to IAR build tools • Linker supports AEABI compliant ELF
object files. • Support for 17 GCC attributes • Syntax: __attribute__ ((attribute-list))
![Page 12: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/12.jpg)
Take advantage of the IAR project converter
![Page 13: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/13.jpg)
Project converter
• Included in IAR Embedded Workbench • Project converters for:
– TI Code Composer Studio for ARM + MSP430 – Keil uVision5 for ARM – Renesas HEW and e2Studio for RX – ST Atollic
![Page 14: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/14.jpg)
Demonstration – Project converter
![Page 15: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/15.jpg)
Summary
• Migrate to IAR Embedded Workbench for improved quality
• Debug .elf file with C-SPY • Reuse GCC attributes • Project converters
![Page 16: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug](https://reader030.vdocuments.us/reader030/viewer/2022040309/5f1f97290108294a4b565901/html5/thumbnails/16.jpg)
• Get scanned to have this presentation emailed to you.
• Visit IAR Demo Space to get a demo of our technology.
Want to learn more?
Thank you for your attention!