Description: 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
Figure 32–136. 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 "Read device serial
number" command. The command handler sends the status code INVALID_COMMAND
when an undefined command is received. The IAP routine resides at 0x1FFF FFF0
location.
The IAP function could be called in the following way using C.
To Search:
File list (Check if you may need any files):
NXP_17xx_IAP\bo.axf
............\bo.hex
............\bo.htm
............\bo.lnp
............\bo.map
............\bo.plg
............\bo.sct
............\bo.tra
............\bo.uvgui.Administrator
............\bo.uvgui.Cyclone
............\bo.uvgui_Administrator.bak
............\bo.uvgui_Cyclone.bak
............\bo.uvopt
............\bo.uvproj
............\bo_Target 1.dep
............\bo_uvopt.bak
............\bo_uvproj.bak
............\core_cm3.c
............\core_cm3.h
............\ExtDll.iex
............\IAP.c
............\iap.crf
............\iap.d
............\IAP.h
............\iap.o
............\LPC17xx.h
............\main.c
............\main.crf
............\main.d
............\main.o
............\startup_LPC17xx.d
............\startup_LPC17xx.lst
............\startup_LPC17xx.o
............\startup_LPC17xx.s
............\system_LPC17xx.c
............\system_lpc17xx.crf
............\system_lpc17xx.d
............\system_LPC17xx.h
............\system_lpc17xx.o
............\uart.c
............\uart.crf
............\uart.d
............\uart.o
NXP_17xx_IAP