3130 views|47 replies

7815

Posts

57

Resources
The OP
 

Record a crash experience of building STM32G030F6P6 environment [Copy link]

 

I'm old and my memory is not good.

I'm afraid I'll forget. To be honest, being a developer is not easy. You have to write new features, fix bugs, and compete with the development environment anytime and anywhere.

For example, I am still very angry and want to curse Yifa

If you give me a sample package to download like before, F1 or even F0 F4, I will die~~

Forget it, my throat is really hoarse from yelling at home in the middle of the night. I can’t do anything to the Italians or Frenchmen even if it hurts my health.

Let me get back to the point because I’m afraid I’ll really forget it.

Although this time, I will not delete it and start over again, to verify and prove that I can really start from scratch

This post is from stm32/stm8

Latest reply

Come on and work hard   Details Published on 2024-1-27 16:34
Personal signature

强者为尊,弱者,死无葬身之地

 

7815

Posts

57

Resources
2
 

First of all, after downloading STM32CubeMX, it is basically empty.

Yes, it is very annoying. It is easy to learn but you don’t have to learn it. If you want to learn Keil 5, you have to download the firmware package yourself.

The most annoying thing is the slow internet speed. At first, I thought it had something to do with scientific Internet access - because as we all know, old folks like me often use simple and easy-to-use things and hang them on the wall.

After hanging for too long, I became unscientific.

Later, my little brother saw me self-harming by pricking my thigh with a needle in the middle of the night and was terrified. He quickly helped me remotely. Only then did I realize that I didn’t need to use the Internet scientifically.

There is also a thing called Watt tookit, which can accelerate the computer with one click. I will talk about it later.

Let’s get back to this matter first.

I checked online and some friends said that it doesn’t matter if the package is not easy to download, you can download the offline package and do a local update.

When I updated, it turned out that there was no such thing at all, or rather, even if I used the offline package, I might have to log in first or something.

Yes, you read this correctly.

My latest registered name is FuckYouCubeMX

Anyway, for the latest 6.9.0, downloaded from the official website, if your server cannot be connected, my brother and I have studied it for a long time and still don’t know how to update the offline package locally.

If you know, please tell me, so I can cry.

This post is from stm32/stm8

Comments

Each firmware is not only slow to download but also not small. Generally, you can download it from the official website and load it in the software.  Details Published on 2023-9-1 08:38
 
Personal signature

强者为尊,弱者,死无葬身之地

 

7815

Posts

57

Resources
3
 

Then, let's talk about the watt tookit above.

To be honest, for an old guy like me, I don’t know if this has anything to do with scientific Internet access.

But it seems that in my titanium dog eyes, the effect is similar, for example

Isn't it just for GitHub to be faster?

Yes, foreigners will really die without GitHub, but they don’t want to think about how our GitHub is stuck.

Anyway, the little brother was busy for a while. In the middle, I occasionally ordered a milk tea to calm down, and complained to him. I also misjudged what he was doing.

Anyway, take a screenshot.

Well, what PAC acceleration mode should I choose?

Then, um, I have to restart it, it seems to be fine, otherwise there is always a 463 port, I don’t know what it does, anyway, I don’t use this

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 

7815

Posts

57

Resources
4
 

Then, continue back to CubeMX

To be honest, I don't know what happened.

But I think it might be helpful if I take a screenshot of the relevant interfaces.

As I said, local manual operation is not possible.

2. Fortunately, it is possible without an agent.

By the way, you can click that button to test whether you can connect now.

If you can't connect at all, you can use one-click acceleration, the watt took it above

If not, restart or something.

If you are connected, don’t be too happy, because there are a lot of things in the middle. For example, you may find that you still can’t log in.

3. Almost universal Refresh Data

My little brother and I found that as long as you have a certain watt, you can speed up the process normally.

As long as you set it up - in fact, you don't need to set anything at all

We found that if you find that you can't log in - in my miserable process, this is mainly the problem

Then, you can refresh the data frequently, which often has a miraculous effect.

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
5
 

Then, as for the rest, the part about setting the pins has been written many times by those useless self-media articles on the Internet, so I won’t go into details.

You know

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
6
 

Then a project file was generated

I don't know what you guys use, but I'm used to using MDK.

So I came to MDK.

Here at MDK, I thought everything was fine, but it wasn't.

First, the latest MDK now seems to be 538.

You can download the ready-made one directly. Here I will give you a link.

I can still open it and it seems to be normal.

Although it is annoying to fill in things - it is the same as ST, so annoying.

Who cares about that stuff? You have to fill in information to download a software. Damn it.

It just wants to trick people into registering - just like Baidu, but it's very strange. Damn, the more it does this, the less I want to register and download the Baidu APP.

https://developer.arm.com/documentation/kan344/1-1/Installation

But first of all, this is a non-cracked version.

Of course, in this era, it is easy to crack.

The specific cracking method is the same as before. I believe you all still remember the dark European and American style with a lot of harsh garbage music~~ I won’t go into details

Just give the latest tool, also provided by my little brother.

Oh, I really haven't worked on MCU for three or four years and I can't keep up at all.

2020版keil最新注册机.zip (23.49 KB, downloads: 20)
This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
7
 

Then, this broken thing is very annoying. STM32G030F6P6 has been out for many years, but this thing still doesn’t come with its own package.

Then, Keli 5 is still well-known that it is often impossible to download directly in its own pack manager. Fortunately,

Keil 5 supports manual installation of offline packages.

I believe you all know how to install it. There is nothing much to say. Just download the .pack

It's something like this

Just install it, and then Keil 5 will remind you to update in real time.

The annoying thing here is that it is hard to find your pack.

First provide the URL, then I will explain the whole process in the next post, taking the example of me downloading the G030 pack

https://www.keil.arm.com/devices/

Some people may think this is stupid, but I tell you, it's true, I got to the last step at the beginning and I didn't know where to click to download

So I'm usually very considerate of this kind of post to prevent people from posting vents because of their old age and poor memory. If you find it annoying, just take a detour. Don't be too fussy.

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
8
 
This post was last edited by Xin Xin on 2023-9-1 01:44

Screenshot of the whole process of finding packs, taking G030 as an example

1. These two ST and M0 are naturally filled in by ourselves

Note: On this page, all the options will take effect automatically when you select them, so there is no confirmation button.

2. Stay calm, G0 has more than just these series, if you want more, click the yellow button

3. Then, I found the F6 series I wanted

4. Click it DFP

5. This is the damn place I was talking about. Should I click on the arrow or the line of text? Anyway, they are all blue, so it is probably a link.

6. One last tip

As far as I can remember, I can't successfully open the download link using Google Chrome.

But strangely, I can use EDGE.

You can try it if you encounter it.

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
9
 

Finally, the last question

It is a problem with the keil5 compiler

To be honest, I haven't worked on MCU for three or four years, so I don't really know when Keil 5 was replaced by ARMCC 6, referred to as AC6 - that's what the little brother calls it.

Actually, I didn't care about it before. It was AC5

But it seems that after AC6 it seems to be ARMCC LANG. I have come into contact with this CLANG series of things once. It was very annoying. I couldn't figure it out and wanted to die.

It should have been 2017. I originally wanted to port the agg graphics library. I had almost done it, but in the end I got stuck on the clang issue.

Don't mention it anymore.

In short, to put it simply, because CubeMX still uses AC5 as the default MDK compiler, it will conflict with the latest MDK.

If you use the old one - but I don't remember it either

CubeMX seems to specify that the MDK version must be 5.32 or above.

So don't worry about it. With the help of my little brother, I have also managed to replace the latest keil 5 with AC5 compiler.

First, I'll give you a reference. This was given to me by my little brother. It's very useful.

https://blog.csdn.net/qcmyqcmy/article/details/125814461

Here’s the link first, you can refer to it later - I just followed what he said and it worked fine.

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
10
 

Damn, it's just a CSDN link, but they swallowed it. I guess they didn't swallow it. I'll ask them to spit it out when I go to work tomorrow.

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
11
 

Let’s get back to business.

I'll try an AC5 compiler first

ARMCompiler_506_Windows_x86_b960.zip (80.94 MB, downloads: 14)

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
12
 

Then, let me talk about one thing

This is also what the CSDN link just mentioned is not very clear.

Well, actually he explained it very clearly, and all that remains is to see how it works in practice.

This post is from stm32/stm8
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

7815

Posts

57

Resources
13
 

Next, I'm going to get one of those dime-dollar microcontrollers from Jiuqi. I hope I don't lose control like I did tonight.

However, I have experience, probably mainly, how should I put it, STM32, MDK, always gives me the feeling that this is something I have used for a long time

I shouldn't be tormented by the environment like this.

So it’s easy to go crazy every time.

New things? They are all new anyway. Maybe I will be more likely to forgive myself~~

This post is from stm32/stm8

Comments

This is also the reason why few people use new films. Everyone is unwilling to change their habits.  Details Published on 2023-9-1 08:39
 
Personal signature

强者为尊,弱者,死无葬身之地

 
 

6060

Posts

6

Resources
14
 
Xin Xin posted on 2023-9-1 00:36 First of all, when you download STM32CubeMX, it is basically empty. Yes, it is very annoying. It is easy to learn, but you don’t have to learn Keil 5, firmware package Pack ...

Each firmware is not only slow to download but also not small. Generally, you can download it from the official website and load it in the software.

This post is from stm32/stm8

Comments

I also want to update locally. I don't know why, but I can't find it. My version is 6.9.0 from the latest ST official website. Can you still find the local update for me? Please provide the installation package  Details Published on 2023-9-1 10:45
 
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 

6060

Posts

6

Resources
15
 
Xin Xin posted on 2023-9-1 01:13 Next, I will also work on the one-cent microcontrollers from Jiuqi. I hope I won’t lose control like I did tonight. However, I have experience, which may be mainly...

This is also the reason why few people use new films. Everyone is unwilling to change their habits.

This post is from stm32/stm8
 
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 

6069

Posts

4

Resources
16
 

It's really annoying to rely on GitHub to install things. I worked on it until 1 or 2 o'clock yesterday and yesterday, but it still didn't work.

This post is from stm32/stm8
 
 
 

6069

Posts

4

Resources
17
 

Cubemx of st now requires user and password. A serious regression!

This post is from stm32/stm8
 
 
 

623

Posts

0

Resources
18
 

I sympathize with the original poster. I don't like this approach either. I also write code by looking at the examples directly.

You can download the cubemx installation package of stm32g0 from ST's official website. After decompression, the routine is inside.

In addition, Keil has waived licensing fees for several MCUs including the G0 series.

This post is from stm32/stm8

Comments

What? You mean, there's no need to import it at all, just unzip it directly... Oh, shit, eh, my brain must be crazy. When I woke up today, my computer suddenly turned off color for no apparent reason. I thought it was infected, so I reinstalled Kingsoft Internet Security and checked it, but it didn't work. It turns out that the computer was suddenly set back for some unknown reason.  Details Published on 2023-9-1 10:47
What? You mean, there's no need to import it at all, just unzip it directly... Oh, shit, eh, my brain must be crazy. When I woke up today, my computer suddenly turned off color for no apparent reason. I thought it was infected, so I reinstalled Kingsoft Internet Security and checked it, but it didn't work. It turns out that the computer was suddenly set back for some unknown reason.  Details Published on 2023-9-1 10:46
 
 
 

1w

Posts

25

Resources
19
 
So now single-chip microcomputers are also beginning to have less code or no code programming.
This post is from stm32/stm8

Comments

Less code programming or no code programming, is it graphical programming?   Details Published on 2023-9-1 10:45
Less code programming or no code programming, is it graphical programming?   Details Published on 2023-9-1 10:34
 
 
 

2w

Posts

341

Resources
20
 
dcexpert posted on 2023-9-1 09:10 So now microcontrollers are also beginning to have less code or no code programming.

Less code programming or no code programming,

It's graphical programming.

This post is from stm32/stm8

Comments

Graphics is just one of them, there is also automatic code generation  Details Published on 2023-9-1 15:16
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
Featured Posts
[Classic Books] Bluetooth Core Technology (for reference by researchers and developers in the communications industry)

This book was written by two members who participated in the formulation of the Bluetooth standard. It consists of four ...

3G video service market survey and analysis (Yuan Xiaoming and Xue Yulin, School of Economics and Management, Nanjing University of Posts and Telecommunications)

In order to truly understand the consumer demand for 3G mobile video services, the author conducted a market survey on t ...

Software simulation of asynchronous communication of BF561 SPORT port

In various DSP application systems, the universal asynchronous receiver /transmitter (UART) is a commonly used communic ...

Inductor knowledge points record

This post was last edited by Xiao Wei Gege on 2021-10-9 09:52 1. Inductors are often used in switching power supply cir ...

【i.MX6ULL】Driver Development 7——Key Input Capture

This post was last edited by DDZZ669 on 2021-11-9 00:04 In the previous articles, we have gradually learned about the ...

[HPM-DIY]littlevgl benchmark score? Xianji hpm6750 or STM32h747 winer?

This post was last edited by RCSN on 2022-8-6 15:55 There is no need for comparative data, but out of curiosity, I wil ...

40 "Millions" of Raspberry Pi Cars - ROS Learning (C Language Programming to Control the Turtle)

This post was last edited by lb8820265 on 2022-11-1 14:52 In the previous section, we introduced how to run the "tu ...

Communication Cat MQTT server online client problem

I'm looking for a MQTT server online client on the Internet. I'm a little confused whether it is a server or a client. 6 ...

Evaluation shortlist: Sipeed BL808 all-round board, RISC-V triple-core, wireless triple-mode, AIoT+Linux+RTOS

Thanks to the netizens who participated in the Sipeed BL808 all-round board, RISC-V triple-core, wireless triple-mode, A ...

Looking for someone to try a USB packet capture tool, with compensation

Hello everyone, I have developed a USB packet capture tool and would like to find someone to try this product and see if ...

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