AN2504 Freescale Semiconductor / Motorola, AN2504 Datasheet - Page 9

no-image

AN2504

Manufacturer Part Number
AN2504
Description
On-Chip FLASH Programming API for CodeWarrior Software
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
TransmitRange
MOTOROLA
On-Chip FLASH Programming API for CodeWarrior Software
TransmitRange is a variation of
procedure is followed except instead of FLASH data overwriting RAM data,
FLASH data is transmitted out through the communication port. This routine
transmits with the NRZ communication protocol and baud rate that is used in
monitor mode
The communication port is different from one microcontroller to another.
However, the function TransmitRange automatically chooses the
communication port of the microcontroller.
communication port for each microcontroller.
1. Techniques can be used to avoid decreasing the available RAM. Refer to the
section.
Freescale Semiconductor, Inc.
Entry Conditions
Exit Conditions
For More Information On This Product,
Return Value
Parameters
Prototype
Remarks
Go to: www.freescale.com
1
.
_ini: the absolute address of the first location in FLASH
_num: number of bytes to transmit
None
The checksum is stored in _ini;
SUCCESS or FAIL
_num must be less than or equal to 64
The communication is done in TTL values; A TTL to RS-
Table 7. TransmitRange
to start transmitting
232 converter is needed in order to interact with a PC
serial port. Refer to
Communication.
Byte TransmitRange (Word *_ini, Byte _num)
VerifyRange and
Table 2
Hardware Needed for
ReadRange. The same
provides the
FLASH-Programming API
Techniques
AN2504/D
9

Related parts for AN2504