Datasheet 搜索 > 8位微控制器 > ON Semiconductor(安森美) > AX8052F131-2-TX30 数据手册 > AX8052F131-2-TX30 用户编程技术手册 1/2 页

¥ 10.4
AX8052F131-2-TX30 用户编程技术手册 - ON Semiconductor(安森美)
制造商:
ON Semiconductor(安森美)
分类:
8位微控制器
封装:
VFQFN-40
描述:
8位微控制器 -MCU RF-MICROCONTROLLER
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
型号编码规则在P2
标记信息在P2
导航目录
AX8052F131-2-TX30数据手册
Page:
of 2 Go
若手册格式错乱,请下载阅览PDF原文件

© Semiconductor Components Industries, LLC, 2015
November, 2015 - Rev. 2
1 Publication Order Number:
AND9330/D
AND9330/D
AX8052 Production
Programming
Introduction
The standard DVK Debug Adapter not only serves
development needs, it may also be used in production for in
circuit programming, thanks to the scriptability of its
supporting software. This application note describes this
usage mode.
Hardware Requirements
Figure 1 shows the DVK Debug Adapter and the debug
connector pinout. Customer hardware needs to make
provisions to connect at least GND, PB6, PB7, DBG_EN
and RST_N to the debug adapter. PB3 is recommended, but
not strictly required. The customer circuit may either be
powered from the debug adapter (provided it requires less
than 50 mA), or be powered by customer circuitry. In the
latter case, customer circuitry must ensure that the device is
powered during the entire programming process.
Figure 1. DVK Debug Adapter
Conn
8
7
6
5
4
3
2
1
Signal
VIO
PB3
GND
PB6 (DBG_CLK)
PB7 (DBG_DATA)
GND
RST_N
DBG_EN
Chip
22
15
PAD
18
19
PAD
21
20
Software Usage
Axsem provides a command line tool that makes the
programming process fully scriptable. In order to run the
commands described below, a command shell must be
opened (Win+R cmd8 under some versions of Windows).
The basic command to program the microcontroller
FLASH memory is as follows:
axsdb.exe −−oldkeys key −−newkey key −−flashprog file
file is the file name (including the path) to the file
containing the microcontroller code. It may either be an Intel
Hex file (extension .hex), an OMF−51 file (extension .omf),
or an UBROF 10 file (extension .ubr). The file is usually
located in the bin\Release subdirectory of the
AxCodeBlocks project. If using SDCC, either the .hex or the
.omf file may be used interchangeably. If using IAR ICC,
then only the .ubr file is generated.
key is a 64 bit hexadecimal number (format
0x0123456789abcdef). This option locks the debug
interface to unauthorized access. After this command
succeeds, the debug interface may no longer be accessed
unless the key number is known. It is strongly recommended
that customer chooses a random number for key and keeps
it secret.
The command returns success / failure status as exit code.
The exit code is stored in the pseudo variable %errorlevel%.
It is 0 on success and 1 on failure.
Another useful command is the following, which sends a
reset pulse to the microcontroller:
axsdb.exe −−hwreset
If it is desired to reset the key of a locked microcontroller,
the following command can be used:
axsdb.exe −−oldkeys key −−newkey 0xffffffffffffffff
−−flashprog file
It is important that whenever the flash is programmed,
−−oldkeys key1,key2... is given with all possible keys the
microcontroller could be locked with. Otherwise,
calibration data is lost.
Gang Programming
In order to program multiple devices at the same time
using a single PC, multiple debug adapters may be
www.onsemi.com
APPLICATION NOTE
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件