打印
[XMC™]

基于DAVE4.5开发XMC1000/XMC4000操作步骤概述

[复制链接]
703|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
IFX_Lingling|  楼主 | 2024-2-22 09:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 IFX_Lingling 于 2024-2-22 09:26 编辑

Installation
DAVE™ v4.5 installation preparation

For users who have not installed DAVE™ v4 before, you can install it directly. For users who have previously installed DAVE™ v4, you need to delete the folder where the library is located (C:\Users\yourname\Infineon\D_LibraryStore_4.1).Easy installation
Step 1: Go to [url=]Infineon Developer Center Launcher[/url] and download DAVE™ IDE (see Figure 1).
Figure 1: Downloading DAVE™ IDE

The downloaded zip file contains all the required installation instructions.

Step 2: Install DAVE™ v4.

Step 3: Start DAVE™.
  • Go to Help->help contents: New users should first read “Your First steps with DAVE”.
  • Go to Help->Install DAVE APP/Example/Device Library, configure the pop-up window, as shown in Figure 3.
Figure 2: DAVE™ User manual

Figure 3: Library Manager wizard

Create DAVE™ Code Engine (CE) project
Step 1: Start DAVE and enter the path to the workspace folder, as shown in Figure 4.

Figure 4: Workspace location setting

Step 2: Create the project.
  • Go to File->New DAVE Project->Dave CE Project and click Next.
  • Choose the appropriate board or microcontroller (for example, if you are using Infineon kit directly, then choose the corresponding boards; otherwise, choose the device number directly) and click Finish.


Figure 5: Project Name and Type setting

Figure 6: Microcontroller selection page

Step 3: Add the DAVE™ application from the local library store.  

Figure 7 shows the application that connects the microcontroller to two PCs over UART channels X and Y. Periodically, the data is sent to these PCs. The application generation code will be in the “status = DAVE_Init();”.

Figure 7: Adding UART application
Figure 8: UART application

Step 4: Download the example project for the DAVE™ application.
Click the [url=]link[/url] to download test codes for the application.
Flash and debug
Step 1: Ensure that the Debugger of the board is connected to your PC via USB.
Step 2: Go to PC “Device Manager”, check whether the Debugger has been emulated in the Port (COM&LPT). If not, click [url=]here[/url] to download the latest J-link driver (check the “Install USB Driver for J-link (requires admin rights)”).
   
Figure 9: SEGGER J-link installation
Figure 10: Checking ""Device Manager"" for driver installation

Step 3: Go to Windows/Preferences/Run/Debug/SEGGER J-Link, configure the location where SEGGER J-Link is installed.
Step 4: Click Debug to open the debug configuration and choose .elf file in the debug folder.

Figure 11: Configuring the SEGGER J-Link location
Figure 12:Configuing the .elf file location

Step 5: Click Debug to build the project and program the silicon.
Debug perspective launches after the program is complete. DAVE V4 only supports this way to program silicon.
     

Figure 13: Debug configurations
Figure 14: Debug perspective

Step 6: Click Run to start the project on DV

内容同步更新在:英飞凌官方论坛



使用特权

评论回复
沙发
duo点| | 2024-2-25 23:00 | 只看该作者
看不懂,有中文度对照版本吗

使用特权

评论回复
板凳
家有两宝呀| | 2024-2-28 14:38 | 只看该作者
以前安装过DAVE™v4的用户,您需要删除库所在的文件夹,不删除就不能用是吗。那需要用到v4的还要再下载回来?

使用特权

评论回复
地板
家有两宝呀| | 2024-2-28 14:38 | 只看该作者
哦!!!换到其他文件夹也可以吧?

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

认证:
简介:关于英飞凌——我们致力于打造一个更加便利、安全和环保的世界,在赢得自身成功发展的同时,积极践行企业社会责任。

105

主题

189

帖子

5

粉丝