Git Product home page Git Product logo

imxdownloader's Introduction

IMX6U Downloader

简介

本软件是针对 NXP 的 IMX6U 系列芯片的 Windows 平台裸机烧写工具,用于将 Bin 文件烧写到 SD 卡中,会自动添加 IVT、DCD 等信息。

本软件的实现参考了正点原子的 Linux 平台 IMXDownload 工具。

IVT 和 DCD 表

不同的开发板其 IVT 和 DCD 表的数据是不同的,因此需要获取所使用的开发板的 IVT 和 DCD 表信息,最简单的方法就是读取开发板配套资料里面的 u-boot.imx 的前 1KB 数据,理论上应该读取 3KB 的数据,但是表信息远远没有 3KB 这么多,因此读取 1KB 即可。

使用方法

  1. 将本软件所在目录加入到环境变量中。

  2. 编译好原始的二进制 Bin 文件,如 u-boot.bin 等。

  3. 以管理员身份执行命令 imxdownload <soucre_bin> <sd_device>,例如烧写 u-boot.bin\\.\PhysicalDrive2 中即可使用如下命令:

    在 PowerShell 或 CMD 中使用:

    imxdownload u-boot.bin \\.\PhysicalDrive2

    在 Makefile 中使用:

    .PHONY: burn
    burn: u-boot.bin
        imxdownload $< \\\\.\\PhysicalDrive2

附录

可以使用 WinObj 查看磁盘设备名称

WinObj 是一个程序,它使用本机 Windows API(由 NTDLL.DLL 提供)来访问和显示 NT 对象管理器命名空间上的信息。

WinObj - Sysinternals | Microsoft Learn

imxdownloader's People

Contributors

yukiisait avatar

Stargazers

ConstnatZ avatar

Watchers

 avatar

imxdownloader's Issues

求大佬指点

出现 Error: Failed to open device. 错误

  • 如下图问题
    反馈1
  • 编译好的exe文件我放在了主目录下 bin文件也是:
    反馈2
    后续我不知道这个imxdownload <soucre_bin> <sd_device>中的sd_device具体是什么
  • 我的u盘信息如下
    反馈3
    望大佬解决指正

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.