Web Analytics
Datasheet 搜索 > 微控制器 > NXP(恩智浦) > LPC1343FBD48,151 数据手册 > LPC1343FBD48,151 用户编程技术手册 6/17 页
LPC1343FBD48,151
器件3D模型
¥ 36.514
导航目录
LPC1343FBD48,151数据手册
Page:
of 17 Go
若手册格式错乱,请下载阅览PDF原文件
NXP Semiconductors
AN10986
USB In-System Programming with the LPC1300
firmware.bin and drag over a new file to program the flash. Unfortunately, FAT
filesystems on Mac and Linux machines tend to allocate blocks to files in a different order
which results in data being written onto the ISP disk, and consequently firmware being
written to flash, being reordered. This will cause the firmware update to be unsuccessful.
There are two workarounds for this. The most general workaround is to overwrite the
firmware.bin file in place. A more “brute-force” option that requires administrative
privileges to do direct disk device writes to /dev.
4. Automating USB ISP
Sometimes a system requirement is for firmware updates to be performed without user
intervention. Asking a user to determine which disk drive links to a USB device, or asking
them to manually delete and rewrite a file, is often too complex. Firmware often needs to
be updated automatically under control of a PC program. This section will describe how
this can be accomplished. To fully automate this process on the PC side, a program
should find the correct USB device to be updated, convert the USB device “handle” into a
file path, check the CRP mode, write to the file to program flash, and finally unmount the
disk device to ensure that the flash contents are written. These steps will be discussed
separately. It can also be useful to validate the firmware file to be programmed. This can
be verified using the “Criterion for Valid User Code” in the LPC134x User’s Manual,
which is implemented in the Windows ISP tool. It is also possible to validate that the file
is the same length as the flash space on the device to be programmed. This is
implemented on the Mac and Linux ISP examples. Note: Some deviation from these
exact steps is okay to simplify implementation on various operating systems.
4.1 Finding the correct USB device
The technique used to enumerate USB devices varies depending on the operating
system. On Linux, most distributions provide a program called lsusb which can search
for a USB device with a specific Vendor ID and Product ID (04CC:0003). Afterward,
udevadm (present on systems using the udev device filesystem) can be used to list the
USB Model ID and system device path. The Model ID should be
NXP_LPC13XX_IFLASH” for the LPC1300 family. Once the Vendor ID, Product ID, and
Model ID are confirmed, you are assured to have found an NXP LPC1300 microcontroller
that is in ISP mode. Under Windows and Mac OS-X, this step is a little bit different. Since
the USB device model information is available from the disk volume database on the
Mac, no attempt is made to find the actual USB device. Instead, the disk devices are
checked until one with the correct Vendor and Device Model is found. A similar process
is used under Windows, with the help of the iTuner UsbManager class to retrieve disk
information under Windows.
AN10986 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Application note Rev. 1 — 24 September 2010 6 of 17

LPC1343FBD48,151 数据手册

NXP(恩智浦)
74 页 / 1.25 MByte
NXP(恩智浦)
370 页 / 2.86 MByte
NXP(恩智浦)
17 页 / 0.51 MByte
NXP(恩智浦)
62 页 / 1.28 MByte
NXP(恩智浦)
21 页 / 0.34 MByte

LPC1343 数据手册

NXP(恩智浦)
32位ARM Cortex -M3微控制器高达32 KB的闪存和8 KB的SRAM USB设备 32-bit ARM Cortex-M3 microcontroller up to 32 kB flash and 8 kB SRAM USB device
NXP(恩智浦)
NXP  LPC1343FBD48  微控制器, 32位, ARM 皮质-M3, 72 MHz, 32 KB, 8 KB, 48 引脚, LQFP
NXP(恩智浦)
ARM Cortex-M3 Microcontrollers, NXP基于 NXP ARM Cortex-M3 的微控制器,适用于嵌入式应用,具有高集成水平并提供系统增强功能,例如低功耗、增强调试功能和更高级别的块集成支持。Cortex-M3 核可最高以 150 MHz 运行 高达 512KB 的闪存和高达 64KB 的片上 SRAM 低功耗,用于 LPC13xx 设备时低至 200μA/MHz 新唤醒中断控制器 (WIC)、套放向量中断控制器 (NVIC) 和存储器保护装置 配有先进的外围设备,如以太网、USB 主机/OTG/设备、CAN、IS、快速模式 Plus (Fm+) IC、12 位 ADC、电机控制 PWM、正交编码器接口和其他。 ### ARM Cortex 微控制器,NXP
NXP(恩智浦)
NXP  LPC1343FHN33,551  微控制器, 32位, ARM 皮质-M3, 72 MHz, 32 KB, 8 KB, 33 引脚, HVQFN
NXP(恩智浦)
NXP  LPC1343FHN33  微控制器, 32位, ARM 皮质-M3, 72 MHz, 32 KB, 8 KB, 33 引脚, HVQFN
NXP(恩智浦)
ARM Cortex-M3 72MHz 闪存:32K@x8bit RAM:8KB
NXP(恩智浦)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件