Software Development; Operating Modes; Run Mode; Table 2: Run Mode Setup - Axiom M52233DEMO Manual

Table of Contents

Advertisement

M 5 2 2 3 3 D E M O

SOFTWARE DEVELOPMENT

Software development requires using a ColdFire assembler or compiler and a host PC running
a ColdFire BDM interface. CodeWarrior Special Edition, supplied with this board, allows the
user to develop and debug application code and to program flash.
One method to ensure successful application development is to load and execute the applica-
tion from internal RAM. After the application has been completely debugged, and is fully func-
tional, it can be ported to FLASH. When programmed into FLASH, the application will execute
from Power-On or RESET if the RESET vector is programmed.

OPERATING MODES

The M52233DEMO board operates in two basic modes Run Mode, or Debug Mode. Run
Mode executes user application code from Power-On or Reset, if the RESET vector is pro-
grammed. Debug Mode supports the development and debug of applications via the inte-
grated USB BDM. An optional BDM_PORT is provided but not installed. See the related sec-
tions below for quickly starting the board in the desired mode of operation.
The board has been preloaded with a USB stack and open-source RTOS. Refer to the
GETTING STARTED section of this document for further details.

RUN Mode

Run mode executes the user application out of FLASH when power is applied to the board or
the RESET button is pressed. Of course, the RESET vector must be programmed to allow
application code to execute. Use the following settings to configure the M52233DEMO for
RUN Mode using the USB bus to power the board. See the POWER section below for details
on configuring the board for alternate power input.
1. Connect a serial cable and Ethernet cable between the board and a host PC if required.
2. Connect auxiliary equipment to board if required.
3. Configure the board option jumpers as shown.

Table 2: Run Mode Setup

PWR_SEL
BDM_EN
COM_EN
VX_EN
LED_EN
4. Connect the USB cable to an open USB port on the host PC and attach to the USB port on
the target board. LED's D301 and D302 located adjacent to the USB connector, and the
Set to VB
OFF
ALL ON (if required)
ON (if required)
ON (if required)
7
S E P T E M B E R
2 5 ,
2 0 0 6

Advertisement

Table of Contents
loading

Table of Contents