Motorola M68HC08 Execute from Pre-programmed MCU, When the software is built, the S-record file

Models: M68HC08

1 168
Download 168 pages 716 b
Page 122
Image 122

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

User Guide

NOTE: Remember, the MMDS MCU clock must be set to 4 MHz. Change the crystal oscillator, or set oscillator W1 to MMDS, and set 4 MHz in the real-time debugger — MMDS0508/target signals/4 MHz!

Once the application is running, move the RUN/STOP switch to the RUN position and set the required speed with the SPEED potentiometer. If successful, the BLDC motor will be spinning.

NOTE: If the RUN/STOP switch is set to the RUN position when the application starts, toggle the RUN/STOP switch between the STOP and RUN positions to enable motor spinning. This is a protection feature that prevents the motor from starting when the application is executed from CodeWarrior.

6.4.3.3 Execute from Pre-programmed MCU

When the software is built, the S-record file

bldc_zerocros08mr32_MMDS.sx is generated in:

...\bldc_zerocros08MR32\bin\bldc_zerocros08mr32_MMDS.sx

NOTE: The software must be built (see Build) to generate by linker the bldc_zerocros08mr32_MMDS.sx file (last update)

This S-record file can be used for programming of MC68HC908MR32 MCU devices. An external programmer (e.g., Motorola M68HC08 serial programmer) must be used to program the device!

The programmed MCU, with MC68HC908MR32 daughter board module, can then be plugged into the controller board (ECCTRMR32) instead of the emulator cable.

6.4.4 Application Control

This BLDC sensorless motor control application can operate in two modes:

1.Manual Operating Mode

2.PC Master Software (Remote) Operating Mode

Designer Reference Manual

 

DRM028 — Rev 0

 

 

 

122

User Guide

MOTOROLA

 

For More Information On This Product,

 

 

Go to: www.freescale.com

 

Page 122
Image 122
Motorola M68HC08 manual Execute from Pre-programmed MCU, When the software is built, the S-record file, Application Control