当前位置:网站首页>CY7C68013A之keil编译代码
CY7C68013A之keil编译代码
2022-07-02 04:21:00 【火柴棍mcu】
CY7C68013A处理器的内核为8051内核,可以使用keil、IAR等IDE工具进行程序开发。
安装开发包
开发CY7C68013A之前可下载官方提供的开发包CY3684Setup.exe,开发包里包含Z-USB开发文档、驱动程序、固件开发例程、Hex2Bix.exe、以及Keil、GPIF Designer Cypress Suite USB 3.4.7软件、CY3684原理图等,即CY3684官网开发板的资料。开发包提供keil工具为uv2版本,如果想使用更高版本或电脑上已经有更高版本的keil工具,则安装开发包时可取消keill工具的安装,开发包的安装路径可自定义,我是安装在E:\Cypress\USB目录下。
编译例程
打开E:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Firmware\Dev_io目录下的dev_io.Uv2工程。

左侧的*.H文件上有感叹号,表示没有找到文件,则是keil工具的路径没设置对。
选择Manage Project Items进行路径修改:

选择Folders/Extensions:
根据电脑上的keil C51工具和CY3684_EZ-USB_FX2LP_DVK开发包的实际路径进行修改。
我电脑上keil C51工具的路径为:D:\Keil_v5\C51;
CY3684_EZ-USB_FX2LP_DVK开发包的路径为:E:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK;
修改后如下:

Option for Target选择device的型号:

Option for Target设置生成*.hex文件的指令:
E:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Bin\hex2bix -i -f 0xC2 -o dev_io.iic dev_io.hex

编译代码
点击工具栏上的Build或Rebuild按钮进行代码编译,如果设置正确,编译结果如下:
边栏推荐
- Is the product of cancer prevention medical insurance safe?
- Landing guide for "prohibit using select * as query field list"
- 手撕——排序
- JVM knowledge points
- Pytoch --- use pytoch to predict birds
- Wechat applet calculates the distance between the two places
- 千亿市场规模医疗美容行业的水究竟有多浑?
- cookie、session、tooken
- [source code analysis] NVIDIA hugectr, GPU version parameter server - (1)
- WPViewPDF Delphi 和 .NET 的 PDF 查看组件
猜你喜欢

BGP experiment the next day

How much can a job hopping increase? Today, I saw the ceiling of job hopping.
![[C language] Dynamic Planning --- from entry to standing up](/img/7e/29482c8f3970bb1a40240e975ef97f.png)
[C language] Dynamic Planning --- from entry to standing up

PR zero foundation introductory guide note 2

Websites that it people often visit

Lei Jun wrote a blog when he was a programmer. It's awesome

How much is the tuition fee of SCM training class? How long is the study time?

First acquaintance with P4 language

万卷共知,一书一页总关情,TVP读书会带你突围阅读迷障!

Li Kou interview question 02.08 Loop detection
随机推荐
LxC limits the number of CPUs
Pytorch---使用Pytorch进行鸟类的预测
Fluent icon demo
Thinkphp6 limit interface access frequency
文档声明与字符编码
Force buckle 540 A single element in an ordered array
Pytorch yolov5 exécute la résolution de bogues à partir de 0:
Exposure X8标准版图片后期滤镜PS、LR等软件的插件
Wechat applet - realize the countdown of 60 seconds to obtain the mobile verification code (mobile number + verification code login function)
Pytoch --- use pytoch for image positioning
Handling of inconsistency between cursor and hinttext position in shutter textfield
Common locks in MySQL
Three ways for programmers to learn PHP easily and put chaos out of order
Play with concurrency: draw a thread state transition diagram
The original author is out! Faker. JS has been controlled by the community..
【c语言】基础篇学习笔记
C language practice - number guessing game
Use of go package
Wpviewpdf Delphi and Net PDF viewing component
Wechat applet JWT login issue token