Using a custom HCS12 board

Technical Note 51007

Arkitekturer:

HCS12

Komponent:

debugger

Uppdaterad:

2015-12-14 14:12

Introduction

To load and debug code into a self-designed HCS12 board with IAR Embedded Workbench for HCS12, follow the steps below. Note that this Technical Note does NOT apply to evaluation boards sold by Freescale, SofTec etc!

Prepare the board

  • Setup the board to startup in "special single chip" mode when powered on. This can be done by pulling pins BKGD, MODA and MODB low during reset.
  • Add a connector (for the BDM interface) to the board with BGND, GND, RESET and VDD connected.
  • For all other details (such as voltage levels on Vdd and VPP), study the documentation from Freescale and make changes to the board if needed.

Actions to take in IAR Embedded Workbench for HCS12

  • Note: Downloading to external memory (flash or EEPROM) which needs special writing algorithm is not supported.
  • Select the proper chip derivative.
  • If needed, edit the corresponding .ddf and .xcl files to suit the board configuration.

 

All product names are trademarks or registered trademarks of their respective owners.

Det här innehållet finns tyvärr inte på svenska.

Vår webbplats finns främst på vårt koncernspråk engelska, förutom det innehåll för investerare som vi är lagstadgade att kommunicera på svenska. Vi rekommenderar att du besöker vår globala webbplats på engelska för att få en bättre upplevelse.

Vi stöder inte längre Internet Explorer. För att få bästa möjliga upplevelse av iar.com rekommenderar vi att du uppgraderar till en modern webbläsare som Chrome eller Edge.