Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Give some advice to beginners who are embedded.

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Learn linux

According to my understanding in the forum, I chose to learn embedded linux, just our school also attaches importance to embedded linux, from the lab to the curriculum is about embedded linux, at the right time and in the right place! Here I would like to talk about the experiences and lessons of learning linux.

It can be said that learning linux is almost like learning the linux kernel in the forum. So I installed linux on my computer and began to read books about the linux kernel. I remember buying a first edition of Chen Lijun's linux kernel before I came to school, and now there is a second edition. I began to read that book and said that everyone said that the linux kernel scenario analysis was good, so I bought the upper and lower volumes, and then I bought the "in-depth understanding of the linux kernel". Finally, I also bought Mao Dezao's "embedded system", which is also used to analyze the linux kernel code, mainly about arm.

Look at the core is a very painful process, look at the scenario analysis has a way to find a way out in the forest, during which I organized some students to learn the core, few of them can stick to it. I think I stuck it out. Scenario analysis in the first time, the second time is almost no way, I analyze there are three reasons: 1, their own foundation is poor, which is the most important. 2. The kernel itself is difficult. 3. There is no communication and expert guidance. It was only when I touched the door for the third time that I almost knew the general context of a linux, and many of the details were confused.

To sum up from linux, let's make it clear here that I mean embedded mainly in favor of software. The key point and difficulty of learning embedded system lies in the operating system. If you do not master the operating system, I think it is difficult to grasp an embedded system. Even in embedded development, the development of the proper layer can be developed almost without knowing that the operating system can be developed. I think it is floating on the surface. It is difficult to deepen and improve their own level. Statement: an one-hole view! Don't delve into it!

In the process of learning the linux kernel, I made an extremely serious mistake: I started learning the kernel when I knew little about linux. I personally recommend a learning route: use linux- > linxu system programming development-- > driver development and analysis of the linux kernel. On the contrary, you can actually learn the kernel without using linux, but you can learn more efficiently if you understand these things.

My answer to the question of whether or not to learn the kernel is as follows: not necessarily. If you like to delve into it, then getting into the kernel will satisfy your desires. At the same time, it will have a good impact on your future embedded system development. If you want to develop embedded linux systems, you'd better know something about kernels. It is not necessary to just do application development. Let me make an analogy: C, C++, java and other languages are the words of a certain martial arts faction in the martial arts, such as what kind of boxing, what knife skills, etc., then the linux kernel should be a person's internal reaction.

How to start learning the linux kernel: it's best to have three treasures: "in-depth understanding of the linux kernel", "scenario analysis" and source code.

First look at "deep", which mainly talks about the principle, as if there is a principle on the market and more shallow, "linux kernel design and implementation" heard good. If you don't study the operating system, like me, you'd better read the book on the principle of the operating system first. After watching it several times, look at the situation analysis, it is best to look at the "deep". Looking at the cross between the two books, "deep" is the outline, and "affection" is the goal. Finally, go deep into the code.

2. Learn embedded linux

Learning embedded, I think two key points, cpu and operating system, the current market is more popular arm, so it is recommended that you learn arm. There are many operating systems, I personally recommend learning ucos for those who start to learn, especially those who are not computer majors. It's open source and small at the same time. I study very well. Why choose linux, I do not want to say too much, there are too many on the Internet, but I found in my work that the technical route of doing linux is very difficult, and the problems that rarely exist in windows are almost full of traps in linux development. Once you fall in and row out for a long time, once you solve the problem, you will grow again! Relatively speaking, the development cycle is long and difficult. Now the information has been gradually enriched, and the difficulty has been reduced.

As for how to learn, this is his characteristic place, there must be a development board, I am the first among my classmates to buy a learning board, although Hua Qian, I think it is worth it. It has a great impact on my internship and work.

If there is no development board, it is on paper. Some people say that it costs 1000-2000 Asia, indeed, brother, in the long run, that little money is nothing to your career and development! Some people say that I don't have low back pain when I stand up and talk. Well, money has a great influence on me. I sweep toilets in college. I sweep well, with a prize of 5 yuan per month. Dude, have you ever had one? I think the benefit of investment in education is the most guaranteed! I get 3k for my internship, and many students get 1-2k. Of course, some of them are taller than me. Although I didn't graduate now, a company signed it. Engaged in the research and development of popular high-end consumer electronics. For me, who knew nothing about me two years ago, there should be a qualitative change. I thank the school for collecting this waste product. Of course, I also work very hard. Saying so much is not to show off anything, in fact, it is not worth showing off at all, although the working environment and treatment are more satisfactory now, but I find that I am very poor, especially the ability of code. I hope that people usually play games less and program more. Programming is the last word!

3. Learning board and training

You don't have to be trained, but you have to buy a development board. If you want to learn embedded must buy a learning board, you'd better buy an arm9, more expensive is also worth it. Can run advanced operating system. This does not want any brand company, generally will not have any problems, the board on the market is generally Samsung's 2410, basically copied. If you are making a product, you should be more careful. The average company costs 2000, and adding lcd costs 3000 or more. I come into contact with some boards only 1200, plus lcd is also 2000, the difference is relatively big, I think learning is enough.

For training, if there are conditions, it is best to participate, mainly embedded relative to other different, their own groping is very time-consuming, if there is a master guidance is very good, rapid progress. Especially to know the friends who do this. I was trained to meet a friend. Help me a lot in my future work, thank him here! I remember a MBA student at Harvard said this to the effect: it doesn't matter what you learn at Harvard, the most important thing is that the senior executives of these future companies are my classmates! What a visionary!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report