OM13005,598 NXP Semiconductors, OM13005,598 Datasheet - Page 215

BOARD EVAL EM773 METER US PLUG

OM13005,598

Manufacturer Part Number
OM13005,598
Description
BOARD EVAL EM773 METER US PLUG
Manufacturer
NXP Semiconductors
Type
Other Power Managementr
Datasheets

Specifications of OM13005,598

Design Resources
Plug Meter Schematics, Gerber Files USB Dongle Schematics, Gerber Files
Main Purpose
Power Management, Energy/Power Meter
Embedded
Yes, MCU, 32-Bit
Utilized Ic / Part
EM773FHN33,551
Interface Type
USB
Maximum Operating Temperature
+ 150 C
Operating Supply Voltage
1.8 V to 3.6 V
Product
Power Management Development Tools
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Primary Attributes
-
Secondary Attributes
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
EM773, OL2381
Other names
568-6680
NXP Semiconductors
18.5 IAP commands
UM10415
User manual
Table 201. UART ISP Return Codes Summary
For in application programming the IAP routine should be called with a word pointer in
register r0 pointing to memory (RAM) containing command code and parameters. Result
of the IAP command is returned in the result table pointed to by register r1. The user can
reuse the command table for result by passing the same pointer in registers r0 and r1. The
parameter table should be big enough to hold all the results in case if number of results
are more than number of parameters. Parameter passing is illustrated in the
The number of parameters and results vary according to the IAP command. The
maximum number of parameters is 5, passed to the "Copy RAM to FLASH" command.
The maximum number of results is 4, returned by the "ReadUID" command. The
command handler sends the status code INVALID_COMMAND when an undefined
command is received. The IAP routine resides at 0x1FFF 1FF0 location and it is thumb
code.
The IAP function could be called in the following way using C.
Define the IAP location entry point. Since the 0th bit of the IAP location is set there will be
a change to Thumb instruction set when the program counter branches to this address.
#define IAP_LOCATION 0x1fff1ff1
Define data structure or pointers to pass IAP command table and result table to the IAP
function:
unsigned long command[5];
Return
Code
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Mnemonic
COUNT_ERROR
INVALID_SECTOR
SECTOR_NOT_BLANK
SECTOR_NOT_PREPARED_FOR_
WRITE_OPERATION
COMPARE_ERROR
BUSY
PARAM_ERROR
ADDR_ERROR
ADDR_NOT_MAPPED
CMD_LOCKED
INVALID_CODE
INVALID_BAUD_RATE
INVALID_STOP_BIT
CODE_READ_PROTECTION_
ENABLED
All information provided in this document is subject to legal disclaimers.
Rev. 1 — 10 September 2010
Chapter 18: EM773 Flash memory programming firmware
Sector number is invalid or end sector number is
Source and destination data not equal.
Flash programming hardware interface is busy.
Address is not mapped in the memory map. Count
Invalid stop bit setting.
Description
Byte count is not multiple of 4 or is not a permitted
value.
greater than start sector number.
Sector is not blank.
Command to prepare sector for write operation
was not executed.
Insufficient number of parameters or invalid
parameter.
Address is not on word boundary.
value is taken in to consideration where applicable.
Command is locked.
Unlock code is invalid.
Invalid baud rate setting.
Code read protection enabled.
UM10415
© NXP B.V. 2010. All rights reserved.
Figure
215 of 310
51.

Related parts for OM13005,598