![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
motorola.com/semiconductors 56f800 hybrid controller 56f8xx serial bootloader user manual DSP56F8XXBLUM/d rev. 2, 04/06/2004 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . table of contents i about this document audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii suggested reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii definitions, acronyms, and abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix references. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix chapter 1 bootloader 1.1.1 start-up sequence with bootloader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.1.2 bootloader version number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 1.1.3 files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1- 3 1.1.4 bootloader hardware set-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 1.1.5 target consideration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 1.1.6 build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 1.1.7 execute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 1.1.8 requirements for a loaded program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11 1.1.9 s-record generation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12 1.1.10 peripheral usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12 chapter 2 license 2.1 limited use license agreement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 contents f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . ii 56f8xx serial bootloader user manual f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . list of tables iii table 1-1 error codes for the serial bootloader application . . . . . . . . . . . . . . . . . . . . . 1-10 list of tables f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . iv 56f8xx serial bootloader user manual f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . list of figures v figure 1-1 programming flash on a 56f8xx device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 figure 1-2 dsp56f80x boot sequence with bootloader. . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 figure 1-3 loading a users application via serial bootloader . . . . . . . . . . . . . . . . . . . . . 1-4 figure 1-4 56f827 boot memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 figure 1-5 programming the 56f827 bootloader. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 figure 1-6 s-record settings in the user applications project settings . . . . . . . . . . . . . 1-12 list of figures f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . vi 56f8xx serial bootloader user manual f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . preface vii about this document this manual describes the mc56f83xx sci/can bootloaders application. audience this manual targets software developers utlizing the mc56f83xx bootloaders applications. organization this users manual consists of the 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. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . viii 56f8xx serial bootloader user manual conventions this document uses the following notational conventions: typeface, symbol or term meaning examples courier monospaced type code examples //process command for line flash italic directory names, project names, calls, functions, statements, procedures, routines, arguments, file names, applications, variables, directives, code snippets in text ...and contains these core directories: applications contains applications software... ...codewarrior project, 3des.mcp is... ...the pconfig argument.... ...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 constants # define include_stack_check brackets [...] function keys ...by pressing function key [f7] quotation marks, ... returned messages ...the message, test passed is displayed.... ...if unsuccessful for any reason, it will return null... f fff f f m f v f " f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f mfvf"0 m f ? f " f f f v f f 9 f f f 0 0 0 0 0 preface ix definitions, acronyms, and abbreviations the following list defines the acronyms and abbreviations used in this document. as this template develops, this list will be generated from the document. as we develop more group resources, these acronyms will be easily defined from a common acronym dictionary. please note that while the 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 peripheral user manual , mc56f8300um/d f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . x 56f8xx serial bootloader user manual f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . bootloader 1-1 chapter 1 bootloader 1.1 serial bootloader the serial bootloader has been developed to load and run a proprietary user application presented as an s-record file into the program and data memory. the serial bootloader is located in the dedicated program memory region, called boot flash (see section 1.1.5 ). the serial bootloader supports the simplest serial protocol, so any standard serial terminal program can be used on the host pc. the serial bootloader application reads 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 via the serial line and resets the processor. see figure 1-1 . figure 1-1. programming flash on a 56f8xx device program flash data flash bootloader running sci s-record s-record f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 1-2 56f8xx: serial bootloader user manual bootloader 1.1.1 start-up sequence with bootloader figure 1-2. dsp56f80x boot sequence with bootloader jsr program memory jsr bootarchstart( ) jsr bootcopinterrupt( ) jsr interrupt2( ) 0x0000 0x0001 0x0002 0x0003 . . . . . . . . . jsr 0x0080 interrupt63( ) 0x0081 0x0082 0x0083 0x0084 0x0085 bootarchstart( ) { . . . /*start user application*/ . . . } 1 bootloader power-up/reset reserved by bootloader jsr archstart( ) interrupt1( ) archstart( ) { . . . } 3 arch.c 2 .pinterruptvector f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . bootloader 1-3 1.1.1.1 step 1: power-up/reset the dsp56800 core specifies two reset vectors: hardware reset and cop reset (normally located at addresses 0x0 and 0x2, respectively). the hardware reset vector identifies the address that the processor accesses once it recognizes a power-up or power reset. when the dsp56f80x bootloader is present, it controls this address by placing a bootloader entry point into the hardware reset vector location. 1.1.1.2 step 2: transition to applications entry point when the dsp56f80x bootloader completes its execution, it transfers control to the users application by performing a jsr instruction to an address specified in memory location 0x0081. the address of this routine is placed into the 0x0081 location via the interrupt vector table located in the vector.c configuration file. 1.1.1.3 step 3: start-up code execution of archstart() begins. 1.1.2 bootloader version number the most current version of the bootloader is 1.3. 1.1.3 files the serial bootloader application includes the following files: ? ..\applications\serial_bootloader\bootloader.mcp, project file ? ..\applications\serial_bootloader\bootloader.c, main program ? ..\applications\serial_bootloader\bootloader.h, header file with common parameters ? ..\applications\serial_bootloader\com.c, communication module ? ..\applications\serial_bootloader\com.h, header for communication module ? ..\applications\serial_bootloader\sparser.c, s-record format parser module ? ..\applications\serial_bootloader\sparser.h, header for s-record parser module ? ..\applications\serial_bootloader\prog.c, flash programming module ? ..\applications\serial_bootloader\prog.h, header for flash programming module ? ..\applications\serial_bootloader\bootstart.c, startup module ? ..\applications\serial_bootloader\constdata.asm, description of strings data ? ..\applications\serial_bootloader\resetvector.asm, reset and cop reset interrupt vectors description ? ..\applications\serial_bootloader\flashprog.c, flash programming subsystem ? ..\applications\serial_bootloader\flashprog.h, flash programming subsystem ? ..\applications\serial_bootloader\targetdirectives, board name definition f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 1-4 56f8xx: serial bootloader user manual bootloader ? ..\applications\serial_bootloader\config\linker.cmd, linker command file used for boot flash ? ..\applications\serial_bootloader\config\flash.cfg, metrowerks codewarrior configuration file to work with flash ? ..\config\ , configuration files ? ..\include\ , include files the bootloader application also uses the files port.h , arch.h and periph.h , found in the \include directory. note: the bootloader application relies on the targetdirectives and linker.cmd files to define the target for which the application will be built. 1.1.4 bootloader hardware set-up to use the bootloader, these requirements must be met: ? it must be programmed into boot flash (see section 1.1.5 ) ? the rs-232 socket must be connected by serial cable with the host pcs com serial port (see figure 1-3 ) ? the jumpers on the evm board must be set to the use of internal memory without debug interface figure 1-3. loading a users application via serial bootloader 1.1.4.1 evm jumper settings 1.1.4.1.1 56f801 to load the bootloader into the 56f801 board, the following jumper settings are required: ? do not set jumper jg5, enable on-board parallel jtag host target interface to start a previously loaded bootloader on the 56f801 board, the following jumper settings are needed: ? set jumper jg5, enable on-board parallel jtag host target interface s-record rs-232 56f8xxevm f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . bootloader 1-5 1.1.4.1.2 56f803 to load the bootloader into the 56f803 board, the following jumper settings are required: ? remove jumper jg2, enable on-board parallel jtag host target interface ? set jumper jg4, select dsps 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 dsps mode 0 operation upon exit from reset 1.1.4.1.3 56f805 to load the bootloader into the 56f805 board, the following jumper settings are required: ? set jumper jg7, select dsps 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 to start a previously loaded bootloader on the 56f805 board, the following jumper settings are needed: ? set jumper jg5, enable on-board parallel jtag host target interface ? set jumper jg7, select dsps mode 0 operation upon exit from reset ? set jumper jg9, enable rs-232 output 1.1.4.1.4 56f807 to load the bootloader into the 56f807 board, the following jumper settings are needed: ? set jumper jg7, select dsps mode 0 operation upon exit from reset ? leave jumper jg9, enable rs-232 output, in its default setting (nc) ? remove jumper jg4, enable on-board parallel jtag host target interface to start a previously loaded bootloader on the 56f807 board, the following jumper settings are needed: ? set jumper jg4, enable on-board parallel jtag host target interface ? set jumper jg7, select dsps mode 0 operation upon exit from reset ? leave jumper jg9, enable rs-232 output, in its default setting (nc) 1.1.4.1.5 56f826 to load the bootloader into the 56f826 board, the following jumper settings are needed: ? set jumper jg6, select dsps 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 interface ? set jumper jg6, select dsps mode 0 operation upon exit from reset ? remove jumper jg7, enable rs-232 output f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 1-6 56f8xx: serial bootloader user manual bootloader 1.1.4.1.6 56f827 to load the bootloader into the 56f827 board, the following jumper settings are needed: ? set jumper jg6, select dsps 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 56f827 board, the following jumper settings are needed: ? set jumper jg1, enable on-board parallel jtag host target interface ? set jumper jg6, select dsps mode 0 operation upon exit from reset ? remove jumper jg2, enable rs-232 output 1.1.5 target consideration 1.1.5.1 56f801 when the targetdirectives file contains #define dsp56801evm , this application is built assuming the existence of an internal relaxation oscillator and corresponding calibration value. at run-time, the application automatically calibrates the internal relaxation oscillator to run at 8mhz. note: for the 56f801 , only processors with a date code greater than 0152 marked in the lower right corner of the part contain the internal oscillator calibration value. for parts built prior to this date, the targetdirectives file should contain the following for correct operation: #define dsp56801evm #define pll_use_external_osc note: the 56f802 does not have an external oscillator and must therefore have the following in the targetdirectives file for correct operation: #define dsp56801evm 1.1.5.2 56f827 1.1.5.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-4 , 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.5.2.2 56f827 hardware reset and cop the hardware and cop reset vectors are mapped to program flash 1 at locations 0x0000 and 0x0002. unlike the 56f826, which has dedicated boot flash hardware, the 56f827 hardware and cop reset vectors can be erased when programming the first page in program flash 1 through the bootloader. this can occur if power to the 56f827 is lost when the bootloader is saving and f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . bootloader 1-7 erasing the page that contains the reset and cop vectors. if this happens, the bootloader will not be available on the next 56f827 reset. figure 1-4. 56f827 boot memory 1.1.5.2.3 56f827 bootloader operation the bootloader program code which permits programming both program flash1 and program flash 2 resides in a boot flash section which is part of program flash 2. in order to write or erase part of program flash 2, the bootloader functions that permit programming flash 2 are relocated at run time and are executed from program ram. this allows the ability to program both program flash 1 and 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-5 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 tools. 0x0000 - 0x0003 boot flash (reset vectors) flash 1 bootflash flash 2 ram 0x0004 - 0x7bff 0x7c00 - 0x7fff 0x8000 - 0xf7ff 0xf800 - 0xffff program flash 1 program flash 2 program memory 56f827 boot location f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 1-8 56f8xx: serial bootloader user manual bootloader figure 1-5. programming the 56f827 bootloader 1.1.6 build to build the serial bootloader, open the bootloader.mcp project file in the codewarrior ide and execute the project/make command. this will build and link the serial bootloader application. 1.1.6.1 download into boot flash 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.4.1 . 0x0000 - 0x0003 program memory boot reset vectors (using codewarrior too l s ) 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 parser) bootloader program code reservector.asm bootloader reset vectors linker.cmd file flashprog.c bootloader flash programming operations f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . bootloader 1-9 1.1.6.2 host terminal program set-up a host terminal program is used to communicate with bootloader. the terminal must be configured to the following mode: the following description assumes that microsoft windows hyperterminal program is used. to configure microsoft hyperterminal to communicate with bootloader, the pc user should start hyperterminal and create a new connection. select the com port connected to the evm board and set: the hyperterminal can now display bootloader messages. 1.1.7 execute to execute the serial bootloader application after loading it into flash, set jumpers as described in section 1.1.4.1 and push the reset button. 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. 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 terminal or about 1740 words of program or data memory stored into flash per second. if an error is detected while loading the s-record file, the bootloader displays the error message and resets the processor. for example, if an s-record file contains a character that is not permitted for s-records, the following message is displayed: "(c) 2000-2001 motorola inc. s-record loader. version 1.1 error # 0002 resetting the processor." baud rate 115200 bps 8n1 8 data bits, no parity, 1 stop bit character format flow control protocol xon / xoff baud rate 115200 bps 8n1 8 data bits, no parity, 1 stop bit character format flow control protocol xon / xoff q qqq q q f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 1-10 56f8xx: serial bootloader user manual bootloader after this message, the bootloader resets the processor and waits for the s-record file again. other loading errors are described in table 1-1 . if an application previously loaded via the bootloader uses the variable bsp_bootloader_delay, (see section 1.1.8 ), the bootloader waits for the s-record file 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." table 1-1. error codes for the serial bootloader application error code error title possible reasons what to do 1 data receive error ?any sci error except noise error (overrun, 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 plus checksum length ?verify s-record file 4 wrong s-record checksum ?checksum calculated around received s-record did not match with received one. ?check s-record file ?check connections and send mode in terminal program 5 buffer overrun ?internal data buffer was full ?terminal program did not stop after receiving xoff character ?confirm that the terminal program supports xon / xoff flow control protocol 6flash programming error ?after programming word into flash,the programmed word read back is not equal to expected value ?the bootloader tries to program flash only once and perfroms a read back / verify of the value 7 internal error ?bootloader data corrupt ?try to reload bootloader via codewarrior 8 parity error ?bootloader data corrupt ?try to reload application with bootloader 9 protected boot flash error ?ts-record you are trying to program may contain addresses to boot flash ?look at s-record to see if it contains addresses to boot flash f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . bootloader 1-11 1.1.8 requirements for a loaded program if the application is loaded via the bootloader, it must meet the following requirements: ? particular start address for application - the entry point for the loaded application must be located at address 0x0080 in program memory; i.e., immediately after the interrupt table ? application cop vector - to use cop interrupt vector in an application loaded via bootloader, the entry point for the cop isr must be located at address 0x0082 in program memory ? application start delay variable must be set at address 0x0085 in program flash ? restricted resources use - the application cannot occupy reset and cop interrupt vectors, and cannot place code into boot flash memory area. there is no way to place any initialized variable from the application into internal data ram while loading. this memory area is used by bootloader. all data from the s-record file that address to the restricted area will be ignored. external program memory is unavailable while loading the application because the bootloader is performed in dsp mode 0a memory map. the bootloader provides a configuration variable (bsp_bootloader_delay) can be defined in the bootloaders appconfig.h file that determines the applications 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. 0 disable the bootloader, start the application immediately. after loading the application with this setting, there are only two ways to re-enter bootloader: ? reload the bootloader from metrowerks codewarrior into boot flash ? reprogram the value of the start delay variable located at address 0x0083 in the program flash to zero value (0x0000) in the loaded application 0 - 254 set waiting time for the start of the s-record file for 0-255 seconds before the start of a previously-loaded application 255 set waiting time to infinity. after reset, the bootloader waits for the s-record file without counting down any time-out f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 1-12 56f8xx: serial bootloader user manual bootloader 1.1.9 s-record generation figure 1-6 illustrates how a users application within code warrior can be set up to generate an s-record needed by the bootloaders to program the users application into the 56f8xx devices flash . figure 1-6. s-record settings in the user applications project settings max record length and eol character are set to the default values shown in figure 1-6 . max record length can be modified to up to 252. eol character can changed to mac or unix with no effect. 1.1.10 peripheral usage if the hybrid controller is used in a single chip mode, the bootloader uses only internal 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 controllers 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 calculated with the assumption that the external oscillator frequency is 8mhz. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . license 2-1 chapter 2 license 2.1 limited use license agreement limited use license agreement please read this agreement carefully before using this software. by using or copying the software, you agree to the terms of this agreement. the software in either source code form ("source") or object code form ("object") (cumulatively hereinafter "software") is provided under a license agreement ("agreement") as described herein. any use of the software including copying, modifying, or installing the software so that it is usable by or accessible by a central processing unit constitutes acceptance of the terms of the agreement by the person or persons making such use or, if employed, the employer thereof ("licensee") and if employed, the person(s) making such use hereby warrants that they have the authority of their employer to enter this license agreement. if licensee does not agree with and accept the terms of this agreement, licensee must return or destroy any media containing the 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. title to the software, all copies thereof and all rights therein, including all rights in any intellectual property including patents, 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 unit ("derivative object"). for the object and derivative object, motorola grants licensee a personal, non-exclusive, non-assignable, revocable, royalty-free right to copy, use, and distribute the object and the derivative object solely for operating on a motorola semiconductor device having a central processing unit. licensee agrees to: (a) not use, modify, or copy the software except as expressly provided herein, (b) not distribute, disclose, transfer, sell, assign, rent, lease, or otherwise make available the software, any derivatives thereof, or this license to a third party except as expressly provided herein, (c) not remove obliterate, or otherwise defeat any copyright, trademark, patent or proprietary notices, related to the software (d) not in any form export, re-export, resell, ship or divert or cause to be exported, re-exported, resold, shipped, or diverted, directly or indirectly, the software or a direct product thereof to any country which the united states government or any agency thereof at the time of export or re-export requires an export license or other government approval without first obtaining such license or approval. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 2-2 56f8xx serial bootloader user manual license the software is provided on an "as is" basis and without warranty of any kind including (without limitation) any warranties of merchantability or fitness for a particular purpose. in no event shall motorola be liable for any liability or damages of any kind including, without limitation, direct or indirect or incidental or consequential or punitive damages or lost profits or loss of use arising from use of the software or the product regardless of the form of action or theory of liability (including without limitation, action in contract, negligence, or product liability) even if motorola has been advised of the possibility of such damage. this disclaimer of warranty extends to licensee or users of products and is in lieu of all warranties whether express, implied, or statutory, including 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. motorola does not represent or warrant that the software is free of defect, or that it meets any particular requirements or need of the licensee, or that it conforms to any documentation, or that it meets any standards. motorola shall not be responsible to maintain the software, provide upgrades to the software, or provide any field service of the software. motorola reserves the right to make changes to the software without further notice to licensee. the software is not designed, intended, or authorized for use as components 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 its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the software. the term of this agreement is for as long as licensee uses the software for its intended purpose and is not in default of any provisions of this agreement. motorola may terminate this agreement if licensee is in default of any of the terms and conditions of this agreement. this agreement shall be governed by and construed in accordance with the laws of the state of arizona and can only be modified in a writing signed by both parties. licensee agrees to jurisdiction and venue in the state of arizona. by using, modifying, installing, compiling, or copying the software, licensee acknowledges that this agreement has been read and understood and agrees to be bound by its terms and conditions. licensee agrees that this agreement is the complete and exclusive statement of the agreement between licensee and motorola and supersedes any earlier proposal or prior arrangement, whether oral or written, and any other communications relative to the subject matter of this agreement. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . 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-4 m motorola dsp56800e reference manual vii , ix p pc ix personal computer pc ix phase locked loop pll ix pll ix , 1-12 port e 1-12 r ram ix random addess memory ram ix s sci ix sci0 1-12 serial communications interface sci ix s-record file 1-1 t target directives file 1-4 , 1-6 index f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . how to reach us: usa/europe/locations not listed: motorola literature distribution; p.o. box 5405, denver, colorado 80217 1-303-675-2140 or 1-800-441-2447 japan: motorola japan ltd.; sps, technical information center, 3-20-1, minami-azabu minato-ku, tokyo 106-8573 japan 81-3-3440-3569 asia/pacific: motorola semiconductors h.k. ltd.; silicon harbour centre, 2 dai king street, tai po industrial estate, tai po, n.t., hong kong 852-26668334 technical information center: 1-800-521-6274 home page: http://motorola.com/semiconductors information in this document is provided solely to enable system and software implementers to use motorola products. there are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. motorola reserves the right to make changes without further notice to any products herein. motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. typical parameters which may be provided in motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. all operating parameters, including typicals must be validated for each customer application by customers 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 to support or sustain life, or for any other application in which the failure of the motorola product could create a situation where personal injury or death may occur. should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the part. motorola and the stylized m logo are registered in the u.s. patent and trademark office. digital dna is a trademark of motorola, inc. this product incorporates superflash? technology licensed from sst. all other product or service names are the property of their respective owners. motorola, inc. is an equal opportunity/affirmative action employer. ? motorola, inc. 2004 DSP56F8XXBLUMd f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . . |
Price & Availability of DSP56F8XXBLUM
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |