background image

MOTOROLA

Index

i

Numerics

56F800 Peripheral User Manual

ix

56F8300 Peripheral User Manual

vii

E

Evaluation Module

EVM

ix

EVM

ix

F

FlexCAN

ix

Flexible Controller Area Network

FlexCAN

ix

I

Inside CodeWarrior

Core Tools

vii

L

linker.cmd file

1-2

M

Motorola DSP56800E Reference Manual

vii

ix

P

PC

ix

Personal Computer

PC

ix

Phase Locked Loop

PLL

ix

PLL

ix

1-11

Port E

1-11

R

RAM

ix

Random Addess Memory

RAM

ix

S

SCI

ix

SCI0

1-11

Serial Communications Interface

SCI

ix

S-Record file

1-1

T

Target Directives file

1-2

1-5

Index

 

   

  

F

re

e

sc

a

le

 S

e

m

ic

o

n

d

u

c

to

r,

 I

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

 

Freescale Semiconductor, Inc.

For More Information On This Product,

   Go to: www.freescale.com

n

c

.

..

Содержание 56F800

Страница 1: ...NDUCTORS 56F800 Hybrid Controller 56F8xx Serial Bootloader User Manual DSP56F8xxBLUM D Rev 1 08 19 2003 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 2: ...Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 3: ... 1 Files 1 2 1 1 2 Bootloader Hardware Set up 1 2 1 1 3 Target Consideration 1 5 1 1 4 Build 1 7 1 1 5 Execute 1 8 1 1 6 Requirements for a Loaded Program 1 9 1 1 7 S Record Generation 1 10 1 1 8 Peripheral Usage 1 11 Chapter 2 License 2 1 Limited Use License Agreement 4 1 Contents Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Страница 4: ...ii 56F8xx Serial Bootloader User Manual MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 5: ...st of Tables iii Table 1 1 Error Codes for the Serial Bootloader Application 1 9 List of Tables Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 6: ...iv 56F8xx Serial Bootloader User Manual MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 7: ... via Serial Bootloader 1 3 Figure 1 3 56F827 Boot Memory 1 6 Figure 1 4 Programming the 56F827 Bootloader 1 7 Figure 1 5 S Record Settings in the User Application s Project Settings 1 11 List of Figures Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 8: ...vi 56F8xx Serial Bootloader User Manual MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 9: ...following sections Chapter 1 Bootloader 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 Freescale Semiconductor I Freescale Semiconductor Inc For Mor...

Страница 10: ...t defined in the C header file aec h Bold Reference sources paths emphasis refer to the Targeting DSP56F80x Platform manual 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 unless preceded by a minus symbol to signify a negative value 3V 10 DES 1 ALL CAPITAL LETTERS defines defined const...

Страница 11: ... acronyms are in solid caps terms in the definition should be initial capped ONLY IF they are trademarked names or proper nouns EVM Evaluation module PC Personal Computer PLL Phase Locked Loop RAM Random Access read write Memory SCI Serial Communications Interface References The following sources were used to produce this book 1 Motorola DSP56800E Reference Manual DSP56800ERM D 2 56F8300 Periphera...

Страница 12: ...x 56F8xx Serial Bootloader User Manual MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 13: ...eads the S Record file of a user application for example generated by CodeWarrior via serial interface parses this S Record file and stores needed data in Program and Data Flash memory When the processing of the S Record file is finished the Bootloader launches the loaded application If any error occurs while loading the S Record file the Bootloader outputs an error message with an error number vi...

Страница 14: ...on applications serial_bootloader flashprog c flash programming subsystem applications serial_bootloader flashprog h flash programming subsystem applications serial_bootloader TargetDirectives Board name definition applications serial_bootloader config linker cmd linker command file used for Boot Flash applications serial_bootloader config flash cfg Metrowerks CodeWarrior configuration file to wor...

Страница 15: ...r JG2 Enable on board Parallel JTAG Host Target Interface Set jumper JG4 Select DSP s Mode 0 operation upon exit from reset To start a previously loaded Bootloader on the 56F803 board the following jumper settings are required Set jumper JG2 Enable on board Parallel JTAG Host Target Interface Set jumper JG4 Select DSP s Mode 0 operation upon exit from reset 1 1 2 1 3 56F805 To load the Bootloader ...

Страница 16: ...o the 56F826 board the following jumper settings are needed Set jumper JG6 Select DSP s Mode 0 operation upon exit from reset Remove jumper JG2 Enable RS 232 output Remove jumper JG1 Enable on board Parallel JTAG Host Target Interface To start a previously loaded Bootloader on the 56F826 board the following jumper settings are needed Set jumper JG1 Enable on board Parallel JTAG Host Target Interfa...

Страница 17: ...3 2 56F827 1 1 3 2 1 56F827 Boot Flash The 56F827 has 63KB of on chip Program Flash memory and 1KB of on chip Program RAM Unlike the 56F826 which has dedicated Boot Flash hardware the 56F827 has no dedicated Boot Flash hardware As shown in Figure 1 3 Boot Flash is carved from Program Flash 2 and Program Flash 1 The Bootloader is mapped to Program Flash 2 at location 0xF800 to 0xFFFF 1 1 3 2 2 56F8...

Страница 18: ... Program Flash 2 with user application code Every time the 56F827 power is recycled or reset the Serial Bootloader resident in the Boot Flash will re copy Flash programming functions from the Boot Section to Program RAM Figure 1 4 demonstrates how the Bootloader program code which is configured for internal memory operation will be mapped into physical memory on the 56F827 target using CodeWarrior...

Страница 19: ...umpers are set for loading as described in Section 1 1 2 1 0x0000 0x0003 Program Memory Boot Reset Vectors Using CodeWarrior Tools 56F827 Memory Map Load 56F827 Memory Flash1 Boot Flash RAM 0x0004 0x7FFF 0x7C00 0x7FFF Flash2 0x8000 0xF7FF 0xF800 0xFFFF User Application Code for Flash 1 User Application Code for Flash 2 bootstart c prog c bootloader c sparser c com c Bootloader Serial and S Record ...

Страница 20: ...ect the Transfer Send text file from the HyperTerminal menu and select a file When the S Record file is loaded and the application is started the terminal windows displays a message similar to this c 2000 2001 Motorola Inc S Record loader Version 1 1 Loaded 0x044d Program and 0x000a Data words Application started The download rate is about 7660 bytes of S Record file per second loaded from the ter...

Страница 21: ...run Frame Error Parity Error Check connections with Host PC and settings for host terminal program 2 Invalid Character Received character is not S or any hexadecimal digit Verify that S Record file does not contain any invalid characters Check connections and send mode in the terminal program 3 Invalid S Record Format Invalid record type permitted type is 0 3 7 S Record length is less than address...

Страница 22: ...rmines the application s start delay time out Possible values of BSP_BOOTLOADER_DELAY If there is no BSP_BOOTLOADER_DELAY set in the appconfig h file the default value for time out is 30 seconds 1 1 7 S Record Generation Figure 1 5 illustrates how a user s application within Code Warrior can be set up to generate an S Record needed by the Bootloaders to program the user s application into the 56F8...

Страница 23: ...ernal Data RAM for data buffering The Bootloader does not initialize any device peripheral except SCI0 Port E and PLL The PLL multiplier is set to18 which equals the hybrid controller s operational frequency of 72MHz 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 ca...

Страница 24: ...1 12 56F8xx Serial Bootloader User Manual MOTOROLA Bootloader Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 25: ...tents copyrights and trade secrets applicable thereto shall remain vested in Motorola For the Source Motorola grants Licensee a personal non exclusive non assignable revocable royalty free right to use copy and make derivatives of the Source solely in a development system environment in order to produce object code solely for operating on a Motorola semiconductor device having a central processing...

Страница 26: ...omponents in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the Software could create a situation where personal injury or death may occur Should Licensee purchase or use the Software for any such unintended or unauthorized application Licensee shall indemnify and hold Motorola and i...

Страница 27: ...ii L linker cmd file 1 2 M Motorola DSP56800E Reference Manual vii ix P PC ix Personal Computer PC ix Phase Locked Loop PLL ix PLL ix 1 11 Port E 1 11 R RAM ix Random Addess Memory RAM ix S SCI ix SCI0 1 11 Serial Communications Interface SCI ix S Record file 1 1 T Target Directives file 1 2 1 5 Index Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to ...

Страница 28: ...mance may vary over time 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 components in systems intended for surgical implant into the body or other applications intended...

Отзывы: