文件名称:NXP_17xx_IAP
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-01-06
- 文件大小:
- 175kb
- 下载次数:
- 0次
- 提 供 者:
- pen****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
NXP MCU 17xx_IAP 在线升级模块-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.
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
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