当前位置:网站首页>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按钮进行代码编译,如果设置正确,编译结果如下:
边栏推荐
- MySQL error: expression 1 of select list is not in group by claim and contains nonaggre
- Déchirure à la main - tri
- [C language] Dynamic Planning --- from entry to standing up
- Where can I buy cancer insurance? Which product is better?
- Analysis of the overall design principle of Nacos configuration center (persistence, clustering, information synchronization)
- Go language naming specification
- Introduction to vmware workstation and vSphere
- Use of go package
- Landing guide for "prohibit using select * as query field list"
- Spring moves are coming. Watch the gods fight
猜你喜欢
Demonstration description of integrated base scheme
go 包的使用
Deep understanding of lambda expressions
Typescript practice for SAP ui5
Delete the code you wrote? Sentenced to 10 months!
WiFi 5GHz frequency
Pytorch---使用Pytorch进行鸟类的预测
office_ Delete the last page of word (the seemingly blank page)
Spring recruitment of Internet enterprises: Kwai meituan has expanded the most, and the annual salary of technical posts is up to nearly 400000
A summary of common interview questions in 2022, including 25 technology stacks, has helped me successfully get an offer from Tencent
随机推荐
Wechat applet pull-down loading more waterfall flow loading
Typescript practice for SAP ui5
66.qt quick-qml自定义日历组件(支持竖屏和横屏)
Actual combat | use composite material 3 in application
[JS -- map string]
Go language naming specification
Bitmap principle code record
Why can't you remember when reading? Why can't you remember- My technology learning methodology
藍湖的安裝及使用
The original author is out! Faker. JS has been controlled by the community..
XSS prevention
[improvement class] st table to solve the interval maximum value problem [2]
How much can a job hopping increase? Today, I saw the ceiling of job hopping.
[C language] basic learning notes
Realizing deep learning framework from zero -- Introduction to neural network
C language practice - binary search (half search)
二叉树解题(二)
Déchirure à la main - tri
go 分支与循环
[source code analysis] NVIDIA hugectr, GPU version parameter server - (1)