如何将 dsPIC33 HEX 文件转换为二进制文件? [英] How to convert dsPIC33 HEX file to binary?

查看:112
本文介绍了如何将 dsPIC33 HEX 文件转换为二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 dsPIC33 上有一个适用于我的应用程序的 HEX 文件,现在我想通过串行方式将文件发送到微控制器.

I have a HEX file for my application on dsPIC33, now I want to send the file over to microcontroller via serially.

由于编译器生成的 HEX 文件是 intel hex 格式,我尝试使用 arm-none-eabi-objcopy 将其转换为二进制文件,但按预期不起作用.

As the HEX file generated by the compiler are intel hex format, I tried to convert it to binary with arm-none-eabi-objcopy, which, as expected does not work.

是否有任何工具可以将 HEX 或 ELF 文件转换为 dsPIC33 的原始二进制文件?

Is there any tool to convert HEX or ELF files to raw binary for dsPIC33?

推荐答案

您可以使用 MPLAx IPE.

You could use the MPLAx IPE.

当您加载 .hex 文件并构建环境时,您将获得一个 .bin 文件,

When you load your .hex file and bulid an environment you will get an .bin file,

这篇关于如何将 dsPIC33 HEX 文件转换为二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆