+ All Categories
Home > Documents > How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling...

How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling...

Date post: 05-Jul-2020
Category:
Upload: others
View: 17 times
Download: 0 times
Share this document with a friend
16
How to migrate from GCC to IAR Embedded Workbench David Källberg, Field Application Engineer
Transcript
Page 1: How to migrate from GCC to IAR Embedded Workbench€¦ · – Advanced breakpoints – Profiling – Code coverage ... – Source level debugging possible . Demonstration – Debug

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

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

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

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

• 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

• 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

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

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

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

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

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

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

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

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

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

• 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!


Recommended