Page 1
Freescale Semiconductor, Inc. 56F8xx Serial Bootloader User Manual 56F800 Hybrid Controller DSP56F8xxBLUM/D Rev. 1, 08/19/2003 MOTOROLA.COM/SEMICONDUCTORS For More Information On This Product, Go to: www.freescale.com...
Page 2
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Limited Use License Agreement ........4-1 MOTOROLA...
Page 4
Freescale Semiconductor, Inc. 56F8xx Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
Page 5
Table 1-1 Error Codes for the Serial Bootloader Application ..... . 1-9 MOTOROLA List of Tables For More Information On This Product,...
Page 6
Freescale Semiconductor, Inc. 56F8xx Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
Page 7
Programming the 56F827 Bootloader....... . . 1-7 Figure 1-5 S-Record Settings in the User Application’s Project Settings ... . . 1-11 MOTOROLA List of Figures For More Information On This Product,...
Page 8
Freescale Semiconductor, Inc. 56F8xx Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
-- describes the Serial Bootloader, applications provided with the FlexCAN driver. Suggested Reading We recommend that you have a copy of the following references: • Motorola DSP56800E Reference Manual, DSP56800ERM/D • 56F8300 Peripheral User Manual, MC56F8300UM/D • Inside CodeWarrior: Core Tools, Metrowerks Corp.
Bold Reference sources, ...refer to the Targeting DSP56F80x Platform paths, manual..emphasis ...see: C:\Program Files\Motorola\Embedded SDK\help\tutorials Blue Text Linkable on-line ...refer to Chapter 7, License..Number Any number is consid- ered a positive value,...
Phase Locked Loop Random Access (read/write) Memory Serial Communications Interface References The following sources were used to produce this book: 1. Motorola DSP56800E Reference Manual, DSP56800ERM/D 2. 56F8300 Peripheral User Manual, MC56F8300UM/D MOTOROLA Preface For More Information On This Product,...
Page 12
Freescale Semiconductor, Inc. 56F8xx Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
Bootloader outputs an error message with an error number via the serial line and resets the processor. See Figure 1-1 Program Flash Data Flash Bootloader Running S-Record Figure 1-1. Programming Flash on a 56F8xx Device MOTOROLA Bootloader For More Information On This Product, Go to: www.freescale.com...
The RS-232 socket must be connected by serial cable with the host PC’s COM serial port (See Figure 1-2) • The jumpers on the EVM board must be set to the use of internal memory without debug interface 56F8xx: Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
Page 15
Set jumper JG7, “Select DSP’s Mode 0 operation upon exit from reset” • Set jumper JG9, “Enable RS-232 output” • Remove jumper JG5, “Enable on-board Parallel JTAG Host Target Interface” MOTOROLA Bootloader For More Information On This Product, Go to: www.freescale.com...
Page 16
Set jumper JG1, “Enable on-board Parallel JTAG Host Target Interface” • Set jumper JG6, “Select DSP’s Mode 0 operation upon exit from reset” • Remove jumper JG2, “Enable RS-232 output” 56F8xx: Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
Bootloader. This can occur if power to the 56F827 is lost when the Bootloader is saving and erasing the page that contains the reset and COP vectors. If this happens, the Bootloader will not be available on the next 56F827 reset. MOTOROLA Bootloader For More Information On This Product,...
Page 18
Bootloader Figure 1-4 program code (which is configured for internal memory operation) will be mapped into physical memory on the 56F827 target using CodeWarrior tools. 56F8xx: Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
To download, build the Bootloader from Codewarrior and load it into the board by choosing the Project/Debug command in the CodeWarrior IDE. Make sure that jumpers are set for loading as described in Section 1.1.2.1 MOTOROLA Bootloader For More Information On This Product, Go to: www.freescale.com...
If the terminal program is properly set up and the EVM and the Host PC are properly connected, the terminal program will display a Bootloader start-up message: "(c) 2000-2001 Motorola Inc. S-Record loader. Version 1.1" To load the S-Record file, select the Transfer/Send text file from the HyperTerminal menu and select a file.
Section 1.1.6 only until the required time-out expires, then launches the application. When this happens, the terminal window contains a message similar to this: "(c) 2000-2001 Motorola Inc. S-Record loader. Version 1.1 Application started." 1.1.6 Requirements for a Loaded Program If the application is loaded via the Bootloader, it must meet the following requirements: •...
Code Warrior can be set up to generate an S-Record needed by the Bootloaders to program the user’s application into the 56F8xx device’s Flash. 1-10 56F8xx: Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
Before starting the application, SCI0 is disabled, but the PLL is not reprogrammed to its initial state. The Bootloader uses a statically-calculated SCI baud rate value. This value was calculated with the assumption that the external Oscillator Frequency is 8MHz. MOTOROLA Bootloader 1-11 For More Information On This Product,...
Page 24
Freescale Semiconductor, Inc. Bootloader 1-12 56F8xx: Serial Bootloader User Manual MOTOROLA For More Information On This Product, Go to: www.freescale.com...
Software or materials related thereto, and destroy all copies of the Software. The Software is licensed to Licensee by Motorola Incorporated ("Motorola") for use under the terms of this Agreement. Motorola retains ownership of the Software. Motorola grants only the rights specifically granted in this Agreement and grants no other rights.
Page 26
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE. Motorola does not represent or warrant that the Software is free of infringement of any third party patents, copyrights, trade secrets, or other intellectual property rights or that Motorola has the right to grant the licenses contained herein.
Page 27
Freescale Semiconductor, Inc. Index Numerics 56F800 Peripheral User Manual Target Directives file 56F8300 Peripheral User Manual Evaluation Module FlexCAN Flexible Controller Area Network FlexCAN Inside CodeWarrior Core Tools linker.cmd file Motorola DSP56800E Reference Manual Personal Computer Phase Locked Loop 1-11...
Page 28
All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as...