当前位置:网站首页>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按钮进行代码编译,如果设置正确,编译结果如下:
边栏推荐
- Common locks in MySQL
- Target free or target specific: a simple and effective zero sample position detection comparative learning method
- 【c语言】动态规划---入门到起立
- Introduction to JSON usage scenarios and precautions
- How much is the tuition fee of SCM training class? How long is the study time?
- 66.qt quick-qml自定义日历组件(支持竖屏和横屏)
- 《动手学深度学习》(二)-- 多层感知机
- 千亿市场规模医疗美容行业的水究竟有多浑?
- Document declaration and character encoding
- 【leetcode】34. Find the first and last positions of elements in a sorted array
猜你喜欢
![[C language] basic learning notes](/img/d2/1aeb2d37d97b9cfe4b21aa3ac37645.png)
[C language] basic learning notes

C language practice - number guessing game

The core idea of performance optimization, dry goods sharing

云服务器的安全设置常识

C language practice - binary search (half search)

手撕——排序

One click generation and conversion of markdown directory to word format

Document declaration and character encoding

66.qt quick QML Custom Calendar component (supports vertical and horizontal screens)

go 包的使用
随机推荐
Playing with concurrency: what are the ways of communication between threads?
SQL: common SQL commands
Fluent icon demo
Which product of anti-cancer insurance is better?
XSS prevention
Pytoch yolov5 runs bug solution from 0:
How to solve the problem that objects cannot be deleted in Editor Mode
[source code analysis] NVIDIA hugectr, GPU version parameter server - (1)
The confusion I encountered when learning stm32
[JS event -- event flow]
Major domestic quantitative trading platforms
Wechat applet calculates the distance between the two places
Go branch and loop
Exposure X8标准版图片后期滤镜PS、LR等软件的插件
Pytorch---使用Pytorch进行图像定位
Hand tear - sort
Wpviewpdf Delphi and Net PDF viewing component
Wechat applet pull-down loading more waterfall flow loading
cookie、session、tooken
Thinkphp6 limit interface access frequency