5803 views|11 replies

1366

Posts

6

Resources
The OP
 

[Xianji HPM6750 Review 1] Experience with two IDE (SES and RS) development platforms [Copy link]

 
 

SES is the development platform of Segger Embedded Studio produced by Segger, while RS is the RTThread Studio produced by RTThread. Both development platforms support HPM series development and can be used for commercial development. The cooperation ecology of Xianji in this regard is worthy of recognition.

I mainly use RS for project development, and it is my first time to use SES. I am posting here to record the pitfalls of SES new project and the development of RS. Compared with the two IDEs, I prefer RS to be easier to develop and highly integrated, but it is not as fast as SES in compilation and debugging.

The official SDK of Xianji supports the SES development platform, but it requires env configuration and then generates the corresponding SES project. The generated project is too highly coupled with the SDK. The author does not like this method, so he uses SES to directly generate the corresponding minimum project.

1. New infrastructure project of SES platform

Other online records of SES new projects are mostly relatively simple and not detailed enough. For example, SES projects support debug and release versions. The project configurations of these two versions can be inherited from the common version, so that the same configuration inheritance can be achieved while also realizing differentiated configuration.

When creating a new one here, you need to install the pack package. You can install it by seeing the package manager in the Tool.

When creating a new project, this window will pop up. These configurations are common configurations and can be inherited by both debug and release versions.

When selecting files to add to the project, the author chose to uncheck all of them so that he can freely select files.

This way, the newly created empty project can be completed

This post is from Domestic Chip Exchange

Latest reply

In fact, RT-Thread, a domestic RTOS, is quite good. It supports many chips, and debugging can be improved later.   Details Published on 2022-10-30 12:08
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 
 

6818

Posts

11

Resources
2
 
It’s so quick to get started, looking forward to excellent works.
This post is from Domestic Chip Exchange
 
 
 

1366

Posts

6

Resources
3
 

2. SES add file compilation and related configuration notes

First, you need to copy all the files required by the SDK to your own project directory.

SES supports multi-level directory file classification, which is very convenient. Then add the required existing files to the corresponding folders one by one, or create new files. The final directory layout is as follows.

Related configuration: Right-click on the project to see options. If you need to compile without errors, you need to add the relevant header file path. If you need to be able to debug and download, you need to configure GDB debugging.

Here we need to switch to common, so that some configurations can be inherited by both debug and release versions.

In the build, Project Macros adds a global macro to indicate the current project directory path

Add link file

To add the header file path, SES requires you to enter the path manually, which is very inhumane.

Select debugging mode as GDB

GDB debugging commands

So we switch to the debug version

This post is from Domestic Chip Exchange
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 
 
 

1366

Posts

6

Resources
4
 

At this point, SES configuration is complete. Press F7 to compile. The compilation takes 8.5 seconds. The following is the storage space usage. It is quite impressive.

This post is from Domestic Chip Exchange
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 
 
 

1366

Posts

6

Resources
5
 

Try to connect to the emulator, the connection is successful

Press F5 to debug. The debugging is successful and the debugging information is rich.

At this point, the new SES project is completed.

This post is from Domestic Chip Exchange
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 
 
 

1366

Posts

6

Resources
6
 
This post was last edited by RCSN on 2022-5-4 22:25

RS is a fast and convenient way to create a new project. First, you need to install the SDK.

Then choose to create a new project based on the development board. It is completely fool-proof here, and the compilation and debugging are completely done. However, the new project is not as fast as SES.

After the new build is completed, it is compiled. Compared with SES's 8S, the compilation time is longer, requiring 24S

Debugging is much slower than SES.

This post is from Domestic Chip Exchange
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 
 
 

1366

Posts

6

Resources
7
 

From the development perspective, RS is faster and more convenient to create projects, but it is not as fast as SES in terms of new project speed, directory classification, editing, compilation speed, and debugging speed. From the perspective of commercial development, SES supports advanced development, and it is best to recommend SES development for projects.

This post is from Domestic Chip Exchange
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 
 
 

1366

Posts

6

Resources
8
 
This post was last edited by RCSN on 2022-5-4 22:25

gitee repository, welcome to star and fork. Address:

链接已隐藏,如需查看请登录或者注册

This post is from Domestic Chip Exchange
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 
 
 

7422

Posts

2

Resources
9
 

SES is pretty good, but it seems that there is no rtos plug-in yet.

This post is from Domestic Chip Exchange

Comments

I don't think so, but it's not a big problem, just transplant rtos yourself  Details Published on 2022-5-8 09:24
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

1366

Posts

6

Resources
10
 
freebsder posted on 2022-5-7 16:09 SES is pretty good, but it seems that there is no rtos plug-in yet.

I don't think so, but it's not a big problem, just transplant rtos yourself

This post is from Domestic Chip Exchange
 
 
 

7422

Posts

2

Resources
11
 

rtos debug and runtime plugins

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

115

Posts

0

Resources
12
 

In fact, RT-Thread, a domestic RTOS, is quite good. It supports many chips, and debugging can be improved later.

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list