cfimager.exe tool is used to flash boot images and create FAT partition on SD/MMC cards
on the host PC for i.MX233 ,i.MX28 ,i.MX50 ,i.MX51 and i.MX53 SOCs.
- When switching the card among i.MX233 ,i.MX28 ,i.MX50 ,i.MX51 and i.MX53 , it is recommended to use
the "-a" option to reformat the partitions.
- The tool is not case sensitive for the file name, and can also handle paths before
the file name.
For Linux usage, typical usage mode is burn uboot to sd card.
i.MX233 and i.MX28 Instructions
=====================
- To flash the uboot, use the following command:
cfimager -f uboot.sb -d <card reader drive letter without colon>
i.MX50, i.MX51 and i.MX53 Instructions
=====================
- To flash the uboot, use the following command:
cfimager -raw -offset 0x400 -skip 0x400 -f u-boot.bin -d <card reader drive letter without colon>
Note if changing -offset 0xXXXX, other image can be flashed to SD card.
For Wince usage, please follow below commands.
i.MX233 and i.MX28 Instructions
=====================
The fat partition for i.MX233&i.MX28 is created if one is not found on the card,
or if the "-a" option is specified in the command line. After building a new bootloader
or NK image, the eboot.sb or nk.sb file will get copied to the
<%WINCEROOT%>\SUPPORT\TOOL\iMX233-EVK\SBIMAGE
or
<%WINCEROOT%>\SUPPORT\TOOL\iMX28-EVK\SBIMAGE folder.
- To flash the bootloader, use the following command:
cfimager -f eboot.sb -d <card reader drive letter without colon>
- To flash the OS image (without the bootloader), use the following command:
cfimager -f nk.sb -d <card reader drive letter without colon>
- To flash the OS image (NK.nb0, found in the release directory of the OSDesign), use
the following command:
cfimager -f eboot.sb -d <card reader drive letter without colon> -e nk.nb0
Note:to enable SD/MMC NK image flashing function in EBOOT, need reserve space for NK
using this option in the first time.
- To add the fat partition, add "-a" option to any of the above command lines.
- To load the OS image from the SD/MMC card (with the bootloader),
copy the NK.bin to <card reader drive letter without colon>:\
Also, in the bootloader menu, select "SDMMC Storage" as the Ether Device.
- To enable SD Card boot, the following fuses on the i.MX233 need to be blown
HW_OCOTP_ROM0: SD_MBR_BOOT(3) Blown
SD_POWER_GATE_GPIO(21,20) 10-PWM3
- Boot Mode switch on the board needs to be set to 1001
i.MX51 Instructions
=====================
The cfimager tool for i.MX51 can only flash *.nb0 files, found in the release directory
of the OSDesign. Please make sure to build the XLDR for SD, as XLDR for other flash device
may be built by default. Set IMGSDMMC=1 in the OSDesign before building the XLDR for SD.
- To flash the XLDR, use the following command:
cfimager -f xldr.nb0 -d <card reader drive letter without colon> -imx51
- To flash the bootloader, use the following command:
cfimager -f eboot.nb0 -d <card reader drive letter without colon> -imx51
- To flash the OS image, use the following command:
cfimager -f nk.nb0 -d <card reader drive letter without colon> -imx51
Note that flashing a debug nk.nb0 image will not work because it is too big.
- To add the fat partition, add "-a" option to any of the above command lines.
- To load the OS image from the SD/MMC card, after the nk.nb0 has been flashed using the
above command line, in the bootloader menu, select "NK from SD/MMC" using option 5.
- For i.MX51-EVK, plug the card into the SD1 slot on the underside of the board, and boot
switch S1 needs to be 7,8 ON, others OFF.
i.MX53&i.MX50 Instructions
=====================
The cfimager tool for i.MX53&i.MX50 can only flash *.nb0 files, found in the release directory
of the OSDesign. Please make sure to build the eboot for SD, as eboot for ram is built by default. Set IMGSDMMC=1 in the OSDesign before building the EBOOT for SD.
Note: There is no xldr anymore!!!
And i.MX50 and i.MX53 ROM use the same command.
- To flash the bootloader, use the following command:
cfimager -f eboot.nb0 -d <card reader drive letter without colon> -imx53
- To flash the OS image, use the following command:
cfimager -f nk.nb0 -d <card reader drive letter without colon> -imx53
Note that flashing a debug nk.nb0 image will not work because it is too big.
- To add the fat partition, add "-a" option to any of the above command lines.
- To load the OS image from the SD/MMC card, after the nk.nb0 has been flashed using the
above command line, in the bootloader menu, select "NK from SD/MMC" using option 5.
- For i.MX53-EVK, plug the card into the SD1 slot on the upside of the board, and boot
switch S1 needs to be 7 ON, others OFF.
- For i.MX53-Armadillo2, plug the card into the SD1 slot on the downside of the CPU board, and boot
switch S1 needs to be 7 ON, others OFF.
- For i.MX53, other SD slots can also support eboot boot up. The corresponding boot switch need to be set.
- For i.MX50-RD1, plug the card into the SD1 slot on the upside of the board, and boot
switch S1 needs to be 1,2 OFF and S5 needs to be 2,5 ON, others OFF.
Qt项目-正点原子烧录开发工具
需积分: 0 174 浏览量
更新于2024-11-02
2
收藏 261.03MB ZIP 举报
Qt项目-正点原子烧录开发工具是一个基于Qt框架开发的应用程序,旨在为正点原子系列产品的研发和生产提供固件烧录服务。Qt是一个跨平台的C++应用程序框架,广泛用于开发图形用户界面应用程序以及非GUI程序,如工具和控制台应用程序。正点原子是一个知名的嵌入式硬件品牌,提供多种型号的微控制器开发板,这些开发板广泛应用于教学和产品原型开发。
正点原子MFG_TOOL烧录工具是该Qt项目的组成部分,专为正点原子系列产品的制造和调试过程设计。烧录工具是嵌入式系统开发中的一个重要环节,它涉及将编译好的固件代码传输并存储到微控制器的内部存储器中。这个过程也被称为编程或者固件更新。正确的烧录工具对于确保产品能够正常工作至关重要。
烧录工具通常具有以下功能:能够识别连接的微控制器、提供固件文件选择与加载、执行烧录操作、验证烧录结果以及可能出现的错误诊断和处理。为了提高开发效率和用户体验,一个好的烧录工具还应该具备友好的用户界面,以便用户可以轻松进行操作。
在Qt项目-正点原子烧录开发工具中,可能会包含以下几个关键组件:
1. 设备连接模块:负责发现并连接到正点原子的开发板或生产板。
2. 固件管理模块:提供加载、选择和管理固件文件的功能。
3. 烧录执行模块:执行固件烧录操作,并监控烧录状态。
4. 验证模块:确保固件正确无误地烧录到设备中。
5. 用户界面:提供直观的操作界面,使用户能够方便地进行烧录操作。
6. 错误处理模块:当烧录过程中出现问题时,能够提供错误信息和解决方案。
为了能够使用正点原子MFG_TOOL烧录工具,开发者需要有对应的硬件设备,安装相应的驱动程序,并在计算机上运行Qt项目生成的应用程序。随后,开发者可以通过友好的操作界面选择固件文件并进行烧录操作,整个过程可能还包括对烧录结果的验证,以确保固件正确加载到目标设备中。
正点原子MFG_TOOL烧录工具的开发和使用,展现了Qt框架在嵌入式设备开发领域的强大功能和灵活性。通过Qt的信号与槽机制、事件处理以及丰富的控件库,开发者能够创建出功能强大且用户友好的界面,极大地提升了工作效率和产品质量。
由于该工具是针对正点原子的产品设计,因此它可能只支持正点原子提供的特定型号的微控制器。在使用该工具之前,开发者需要确保已经了解并遵守正点原子的硬件使用协议和指南。
Qt项目-正点原子烧录开发工具为正点原子系列产品的研发和生产提供了一个稳定、高效的烧录解决方案,通过这个工具,研发人员可以更加专注于产品的创新与改进,而不必担心固件烧录的问题。

D_H闭目养神
- 粉丝: 94
最新资源
- 大数据时代生物信息学教学探索与改革.pdf
- 消防广播与背景音乐系统集成设计方案要点.doc
- 信息技术计算机病毒知识专家讲座.pptx
- 高级项目管理师4-进度管理.ppt
- 日历日程表(自动更新)(Excel表格通用模板).xlsx
- 项目管理职业道德规范英文版.doc
- 中心学校教育、教学管理工作网络展示型评估实施细则.docx
- 2021 高通人工智能应用创新大赛创新赛道之手绘图像识别赛道
- 网络安全演讲稿最新模板.doc
- 软件工程试卷及参考答案.doc
- 2023年秋计算机一级考试试题.doc
- XX电子商务进农村建设工作方案.doc
- Thor-AI人工智能资源
- 圆心嵌入式控制软件使用说明书中文版.doc
- 怎样将Excel中的坐标及高程数据转入CAD并成图.doc
- 润滑油用好六渠道-轻松搞定网络营销.docx