十六进制转八进制c++代码

Read: 8051 Microcontroller programming using Keil Uvision IDE

阅读: 使用Keil Uvision IDE进行8051单片机编程

将HEX文件上传到微控制器 (Uploading a HEX file to Microcontroller)

Once you have developed the hex code for the program which is to upload to the microcontroller, the next major task is to burn the hex code properly into the device. If the microcontroller has an inbuilt bootloader then it is possible to upload the code using the serial port. Mostly you will require a USBASP programmer to dump your code. The programmer is a hardware device that contains inbuilt software to assist in transferring of codes to a microcontroller via PC.

为要上传到微控制器的程序开发十六进制代码后,下一个主要任务是将十六进制代码正确刻录到设备中。 如果微控制器具有内置的引导程序,则可以使用串行端口上载代码。 通常,您将需要USBASP程序员来转储代码。 编程器是一种硬件设备,其中包含内置软件,以帮助通过PC将代码传输到微控制器。

Here, we will be using ATMEL 8051 AVR USB ISP Programmer for burning our required code.

在这里,我们将使用ATMEL 8051 AVR USB ISP编程器来刻录所需的代码。

ATMEL 8051 AVR USB ISP Programmer

ProgISP (ProgISP)

  • It is a tool through which you can perform code uploading on all AVR chips, it also supports AT89S51, AT89S52.

    它是您可以在所有AVR芯片上执行代码上传的工具,它还支持AT89S51,AT89S52。

  • Custom serial download programming.

    自定义串行下载编程。

  • Supports custom programmed chips.

    支持定制的编程芯片。

  • Supports high voltage programmers.

    支持高压编程器。

  • Project Management.

    项目管理。

  • Standalone tool – No installation required.

    独立工具–无需安装。

USB ISP编程器的功能 (Features of USB ISP Programmer)

  • Supports multiple platforms linux, Mac OS and Windows.

    支持多种平台的linux,Mac OS和Windows。

  • Jumper for 5V supply.

    5V电源跳线。

  • Contains Header Pin for easy interface of various ISP header pin.

    包含Header Pin,可轻松连接各种ISP Header引脚。

  • SCK option to support target with low clock speed.

    SCK选项可支持低时钟速度的目标。

将十六进制代码上传到微控制器的步骤 (Steps to upload HEX code to microcontroller)

  1. Download ProgISP, which is a zip file. Extract it in a folder. No need to install it, it is a self-executable software, click on progisp.exe to launch it.

    下载ProgISP,它是一个zip文件。 将其解压缩到一个文件夹中。 无需安装,它是可自行执行的软件,单击progisp.exe以启动它。

  2. USBASP should be connected to the AVR microcontroller development board using the 6 pin connectors. Make sure jumper J1 is connected.

    应使用6针连接器将USBASP连接到AVR微控制器开发板。 确保已连接跳线J1。

  3. Check the program state in the progisp interface, it should show colored icons of USB and ASP or else if it is faded then look for errors in connections, power supply or jumper connection.

    在progisp界面中检查程序状态,它应显示USB和ASP的彩色图标,否则,如果其褪色,则查找连接,电源或跳线连接中的错误。

  4. Select the type of chip you are working within our case it is AT89S52.

    在我们的案例中,选择要工作的芯片类型为AT89S52。

  5. In the task, windows look for the following to be checked with a tick.

    在任务中,窗口查找要打勾的项目。

    • Verify Signature
    • Chip Erase
    • Program Flash
    • Verify Flash
  6. Click on load flash from the leftmost tab, this tab is used to load the hex file. Click on the tab and locate the hex file.

    单击最左侧选项卡上的加载闪存,此选项卡用于加载十六进制文件。 单击选项卡并找到十六进制文件。

  7. Now click on Auto to begin the burning process. All the options which you have ticked from the task box will be performed during the process.

    现在单击自动开始刻录过程。 您在任务框中打勾的所有选项将在此过程中执行。

  8. Your code is successfully transferred to the microcontroller.

    您的代码已成功传输到微控制器。

  9. In order to erase the code, untick all options from task box except Chip Erase.

    为了清除该代码,请取消选中任务框中除“芯片擦除”之外的所有选项。

How to upload HEX code to microcontrollers?

翻译自: https://www.includehelp.com/embedded-system/how-to-upload-hex-code-to-microcontrollers.aspx

十六进制转八进制c++代码

十六进制转八进制c++代码_如何将十六进制代码上传到微控制器?相关推荐

  1. 腾讯视频下载安装免费装到手机_腾讯视频怎么上传个人本地视频

    不管这个腾讯视频好用与否,都有一大批用户,本文播放器家园网小编分享腾讯视频下载安装免费装到手机_腾讯视频怎么上传个人本地视频.VIP会员频道聚合海量VIP品质内容,连续签到解锁惊喜奖励.摇一摇抽VIP ...

  2. 简单的php文件_简单的php文件上传(实例)

    把下面代码另存为uploads.php 简易文件上传 请选择文件: function file_list($dir,$pattern=""){ $arr=array(); $dir ...

  3. java 批量上传pdf文件_使用fileinput插件批量上传文件

    使用fileinput插件批量上传文件 前言 最近在做项目的时候涉及文件批量上传,使用bootstrap结合fileinput插件批量上传文件!以下是我在使用fileinput上传文件的过程.项目是基 ...

  4. angularjs java 文件上传_学习使用AngularJS文件上传控件

    前段时间做项目遇到一个需求是上传文件,大概需要实现的样式是这样子的,见下图: 需要同时上传两个文件.并且规定文件格式和文件大小.因为前端框架使用angular,且不想因为一个上传功能又引入一个jque ...

  5. Hadoop环境下用java代码实现hdfs远程文件的上传和下载

    Hadoop环境下用java代码实现hdfs远程文件的上传和下载 文章目录 Hadoop环境下用java代码实现hdfs远程文件的上传和下载 一.新建maven工程 二.文件的上传 三.文件的下载 四 ...

  6. 什么样的代码是好代码_什么是好代码?

    什么样的代码是好代码 编码最佳实践 (Coding Best-Practices) In the following section, I will introduce the topic at ha ...

  7. python 代码_如何让Python代码加速运行?

    Python 是一种脚本语言,相比 C/C++ 这样的编译语言,在效率和性能方面存在一些不足.但是,有很多时候,Python 的效率并没有想象中的那么夸张.本文对一些 Python 代码加速运行的技巧 ...

  8. 什么样的代码是好代码_什么使好代码3 7

    什么样的代码是好代码 原则守则(A code of principles) This is the third section of an article about code practices. ...

  9. Hadoop入门(10)_通过java代码实现从本地的文件上传到Hadoop的文件系统

    2019独角兽企业重金招聘Python工程师标准>>> 第一步:首先搭建java的编译环境.创建一个Java Project工程,名为upload. 第二步:选中所需的Jar包.   ...

最新文章

  1. 关于css中float的一切
  2. mysql 硬盘写入速度_MySQL存储写入速度慢分析
  3. python meataclass详解
  4. JSONP跨域原理和jQuery.getJSON用法
  5. Django笔记 —— 表单(form)
  6. POJ 2377 Bad Cowtractors
  7. GB28181协议简介及实践
  8. 必须收藏!Jboss下载(全版本秒下载!)
  9. 字体主题宝库:25款很好看的液晶数字字体下载
  10. java long 多少位_long long 可以支持多少位的数?
  11. win10修改dns服务器命令,win10怎么修改DNS服务器?win10修改DNS服务器的方法
  12. div实现antd Descriptions描述列表(可灵活修改、固定宽度)
  13. 蓝牙耳机连接笔记本后,音乐会断断续续,卡顿。
  14. vscode——VScode 中 使用 comment translate翻译 插件
  15. jQuery Fancybox插件介绍
  16. 2020年遥感类期刊SCI期刊影响因子排名—遥感, 地理, 水文类
  17. 日常一记(3)--禁止excel自动运行宏
  18. POE交换机供电时,网线如何连接?
  19. 9年研发经验,扫地盲僧带你看2022年前端未来发展趋势
  20. 创建手机页面弹出键盘的时候背景图片被挤上去的解决办法

热门文章

  1. python dicom图像分割_python读取DICOM头文件的实例
  2. Vim进阶2 map映射
  3. c++注释快捷键_Jupyter Notebook amp; Lab快捷键大全
  4. XMLHttpRequest+WebForm模式(接口IHttpHandler)实现ajax
  5. TemplatePart用法说明
  6. Babylon-AST初探-代码更新删除(Update Remove)
  7. maven安装及集成myeclipse
  8. 谈谈重载(overload)覆盖(override)与隐藏
  9. 重复T次的LIS的dp Codeforces Round #323 (Div. 2) D
  10. Golang Clearing slice