MATLAB: How to get the Axiom CME-555 board working with the Embedded Target for Motorola MPC555 1.1 (R13SP1)

555axiomboarddebugmpcTarget Support Package FM5

I am having a problem setting up my Axiom CME-555 with the Embedded Target for Motorola MPC555 1.1 (R13SP1).

Best Answer

Please follow the steps below to set up the Axiom CME-555 with the Embedded Target for Motorola MPC555 1.1 (R13SP1).
1) Install Embedded Target for Motorola MPC555
2) Axiom CME-555 Board Configuration
Config Switch
1 : Off
2 : On
3 : Off
4 : On
5 : On
6 : On
Mode Switch 1
1 : Off
2 : Off
3 : Off
4 : Off
5 : Off
6 : Off
7 : Off
8 : Off
Mode Switch 2
1 : On
2 : Off
3 : Off
4 : Off
5 : Off
6 : Off
7 : Off
8 : Off
M-SEL Jumper - Open
FLSH-SEL Jumper - Open
RAM-SEL Jumper - 2 Closed
MEM-OPT Jumper - 5, 7 Closed
3) Important Checks If Using Metrowerks CodeWarrior 6.5
a) Check documentation for "MPC555DK Wiggler" configuration
b) Check documentation for "Build before running" = "Never"
4) Run "oscillator_frequency_configure(4e6)" at the MATLAB Command Prompt.
5) Run Start menu, "Build Driver Library" --> CLEAN
6) Run Start menu, "Build Driver Library" --> SPEED (this should take a few minutes)
7) Install Bootcode (note: with CodeWarrior, auto_flash.elf debug window disappears on completion)
8) Configure Application for 4MHz Oscillator Frequency Board
a) Set oscillator frequency to 4e6 in the MPC555 Resource Configuration block
b) Set MF bit to 4
c) Verify System Clock is 20MHz
Optional steps to debug the application in the debugger
9) Configure application for "debug" build
a) Choose MPC555-DK option - optimize compile for "debug"
b) Choose MPC555-DK option - Build action "Debug_via_BDM"
10) Build application and step through generated code in debugger once it launches