当前位置:网站首页>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按钮进行代码编译,如果设置正确,编译结果如下:
边栏推荐
- 60后关机程序
- The difference between vectorresize and reverse.
- Hand tear - sort
- Yyds dry inventory compiler and compiler tools
- go 变量与常量
- The core idea of performance optimization, dry goods sharing
- Three ways for programmers to learn PHP easily and put chaos out of order
- cookie、session、tooken
- Free drawing software recommended - draw io
- Shutdown procedure after 60
猜你喜欢
![[source code analysis] NVIDIA hugectr, GPU version parameter server - (1)](/img/e3/fc2e78dc1e3e3cacbd1a389c82d33e.jpg)
[source code analysis] NVIDIA hugectr, GPU version parameter server - (1)

手撕——排序

The confusion I encountered when learning stm32

Hands on deep learning (II) -- multi layer perceptron

Spring moves are coming. Watch the gods fight

云服务器的安全设置常识

C language practice - binary search (half search)

The core idea of performance optimization, dry goods sharing

【leetcode】74. Search 2D matrix

Deep understanding of lambda expressions
随机推荐
Where can I buy cancer insurance? Which product is better?
Feature Engineering: summary of common feature transformation methods
Homework of the 16th week
BGP experiment the next day
Which insurance company has a better product of anti-cancer insurance?
Yolov5网络修改教程(将backbone修改为EfficientNet、MobileNet3、RegNet等)
Mysql中常见的锁
Raspberry pie GPIO pin controls traffic light and buzzer
Actual combat | use composite material 3 in application
Microsoft Research Institute's new book "Fundamentals of data science", 479 Pages pdf
Installation et utilisation du lac bleu
Federal learning: dividing non IID samples according to Dirichlet distribution
Three years of experience in Android development interview (I regret that I didn't get n+1, Android bottom development tutorial
Shenzhen will speed up the cultivation of ecology to build a global "Hongmeng Oula city", with a maximum subsidy of 10million yuan for excellent projects
First acquaintance with P4 language
【提高课】ST表解决区间最值问题【2】
Deeply understand the concepts of synchronization and asynchrony, blocking and non blocking, parallel and serial
Exposure X8标准版图片后期滤镜PS、LR等软件的插件
go 函数
Wechat applet pull-down loading more waterfall flow loading