The normal life of a programmer
Work related
A is good for the brain and has fewer thorns.Well, I won't say much, bye. "
Wang Zheng was shocked after listening to the whole process. Mr. Lin, your love brain is too thoughtful, you even care about whether you have DHA?Doesn't the girl bother you?Are you talking too much?If it weren't for the bad signal to enter the elevator, can you tell me what to eat and what to drink?Where did that serious, calm, handsome boss go?I also work overtime all day, why don't you let me eat more fish?
The "girl" was not annoying at all, and she really had hairtail fish, as well as a portion of mushrooms and green vegetables.
Sitting down, he was not in a hurry to eat. Instead, he sent a message to Han Jing while deliberating: "Lin Yu said to let him tell you first. There is no delay."
Han Jing was quiet for a while, and then replied quietly: "It's great, you can reply so many words."
Han Shaochen always felt that these people's concerns made him speechless.Lin Yu wondered that he could think of those, and his mother wondered how many words he could reply. Is it strange?
It's not surprising to ordinary people, but it's still a little strange to autistic people.
Han Shaochen's learning ability is too strong. Although he still doesn't understand why many things are connected, he knows that people often connect these things. He didn't care before, but now he is trying to imitate it. Things that are not allowed will be asked, just like asking why Lin Yu told Han Jing first, and trying to figure out the thoughts behind Han Jing's question, and gradually become more like a normal person with sound thinking.But it's just like it, and it can't be as thoughtful as ordinary people.
In fact, Han Jing didn't think he delayed the notification to her, but was depressed that she learned about her son's emotional movements from outsiders.Han Shaochen still couldn't understand such complicated emotions.
But even so, Han Jing was shocked. If it was before, Han Shaochen might only reply to her: "Lin Yu told him to tell you first." There would be no explanation at all.
The power of love is really amazing.Han Jing looked at the phone with emotion.
Chapter 28
The Gewei Anniversary Edition mobile phone project was officially launched. The product manager Xiang Chuming organized a kickoff meeting for the participants from various departments. At first, they only knew about winning the bid, but the grassroots developers who didn’t know what M Communication had promised. How to develop a mobile phone.
During the meeting, the hardware and software personnel scolded into a ball.
What the hell kind of configuration is this?The body must be ultra-thin, and the screen must be a large 5.1-inch screen, so the battery capacity should not be too low, and the battery capacity is directly proportional to the volume, so a large battery is stuck in the phone, plus the thickness of the screen, the back shell Just don't do it.I don't know if the Japanese designer will go crazy.
Complaints about hardware development, USB3.0 has just been implemented, and this mobile phone has also implemented USB Type-C. Do you want to follow the protocol so closely, and the development time given is so short, is it killing people?What NFC is there, is it going to kill the phone?How many people will use this function?
As a software complaint, the parameters of the front and rear cameras are so high, and the rear is still dual cameras, with various high-definition camera and photography functions, and low power consumption for playback. Let’s not say anything else, everyone in the image processing team has to do it vomiting blood.
Countless complaints came and went, the key is that the time given is still tight, one-third of the team is newcomers, this is the result of the best scheduling, otherwise half of them would have to be newcomers.And newcomers are even more confused, what is NFC, what is Type-C, what the hell is a Hall sensor?
A kick-off meeting that should have been bloody was full of complaints.Xiang Chuming was actually very helpless deep in his heart, but no matter how helpless he was, he had to bite the bullet and kept cheering everyone up: "It is not easy for us to get this anniversary mobile phone. If we can do it well, it will be a milestone. It is different from the small fights in the past."
"In the past, I have been working overtime all day until midnight, what kind of trouble do I want to make?" Someone howled, which resonated with everyone.
Nuoda’s conference room was full of people frowning, shaking their heads and sighing. Only a few people did not join the complaining army, but seriously began to calculate or plan the time and workload allocation. Han Shaochen looked at the PPT with a blank expression. Based on the key technology, estimate the tasks that you may be assigned to.
The fact that he was suddenly dragged away to be the software development team leader was not at all what he expected.
Ding Chi, the project manager, looked at the dazed Han Shaochen, and sighed: "Originally, Si Guangcai, who had been working for ten years, was going to be the team leader. I have already informed him. Who knew that he submitted his resignation yesterday?" The application said that he couldn’t hold on to our busy schedule. If this continues, his wife is going to get a divorce. We can’t force him to stay. At present, the qualifications and abilities of the software team, after comprehensive consideration, you are the most suitable one. .I know you don't like talking very much, but this is also a good opportunity to exercise your coordination and organization skills. If this project is done well, you will have the opportunity to develop into the leadership team in the future."
Han Shaochen, who has always been used to accepting tasks and working silently, has not yet learned to refuse.By the time he has digested what the software team leader needs to do, and he may not be able to do it himself, his status as the team leader is already a certainty.
Tan Mingming has already come over to express his happiness: "Wow, master, you are the team leader this time. That's really great. I don't worry if I have someone to protect me."
Han Shaochen didn't have time to refuse at that time, but now he refuses and doesn't know how to say it.After thinking about it, I finally called Lin Yu at night.
He was used to not asking Han Jing any more about work issues.
After Han Shaochen's brief description, Lin Yu heard his troubles: "Do you think that being a software team leader requires coordinating with all aspects of work, arranging tasks, organizing progress, and various meetings? For you Said it was too difficult?"
"Well." Han Shaochen said that Lin Yu's conclusion was right.
"But you have also brought newcomers, and helped her arrange tasks and coordinate work, right?"
"Well." Tan Mingming was not that busy when she joined the job. At the beginning, her tasks were assigned from her side, and it was indeed arranged for a while.
"You should also attend the morning meeting, weekly meeting, regular leadership meeting, right? Have you never spoken before?"
"Participate, I will speak on issues that I am responsible for." Han Shaochen answered honestly.
"I'm in the market. Although I don't understand the rules of your development, reporting the progress of my own tasks should be done regularly, right?"
"There is a weekly report every week, and a morning report when the project is tight."
"Then did any leaders criticize you for doing these things that you did not do well?"
"No." In fact, occasionally he used his report emails as a model to teach newcomers how to write during meetings.
"Look, in fact, you have already done a good job. The software team leader just does more similar things. Why do you feel that you are not competent?" Lin Yu guided Han Shaochen to develop ideas, "I know you I like to study technology and develop code alone, but even if you are immersed in work, you have to communicate with the testers just like when you came to solve the problem on a business trip last time, and you have to report the progress when you face the leader. Our testers treat you Your ability has always been affirmed, and your leader also said that you are their key staff, and your apprentices respect you very much after graduation, and you are doing much better than you imagined. And now you have also been able to communicate well with Colleagues have communicated and communicated, wouldn’t it be great to get out of the current comfort zone and further exercise yourself as a challenge?”
In the process of Lin Yu's step-by-step analysis, Han Shaochen gradually realized something, and finally found that it was irrefutable. Although he was still a little confused, he was no longer unsure.
"What do you think?" After Lin Yu finished speaking, he wanted to know what the other party thought.
"Lin Yu." Han Shaochen called him softly.
"Huh?" Lin Yu's voice was gentle.
"Thank you."
Lin Yu smiled, "Why are you being polite to me, I'm your boyfriend. Feel free to contact me if there's anything you can't handle." In fact, I really want to talk about my husband, but I'm afraid of being abrupt.
Boy friend?
After hanging up the phone, Han Shaochen recalled these words in his heart, and looked up to find a smile on the face reflected on the dark computer screen under the desk lamp.
After the final tasks are assigned, Han Shaochen will not only be the software team leader, but also be responsible for the development of USB Type-C software drivers.
Because Han Shaochen also participated in the development of USB3.0 software and hardware before this, and his familiarity with related protocols is unmatched among the current team members. I also know a little bit about the debugging method. Li Zhigang, who happened to be in charge of USB Type-C after the hardware assignment, has experience, but he has never done USB, so he can still bring it with him.On the software side, whether old or new employees, if they are fully responsible for USB Type-C, they will almost learn from scratch, and they will not be able to afford time and work quality.Just let him carry on.
国内手机都已经支持USB3.0,相比十几年前最大传输带宽为480Mbps的USB2.0接口,最大传输带宽5Gbps的USB3.0甚至10Gbps的USB3.1才能满足手机存储容量越来越大,人们传输高清视频之类大文件的需求。
It’s just that everyone always complains that the USB interface is always inaccurate. It’s really annoying when you plug it in when you’re in a hurry to charge. Compared with the Lightning interface launched by Apple, it’s thin and light, and you don’t need to distinguish the front and back. Compete with the new USB interface.
The USB Type-C protocol came into being. M Communication is also doing pre-research closely following the agreement, but everyone is too busy with their own work, such things as pre-research are always not done carefully enough, this is the first commercial use, coupled with the blessing of the anniversary, the leaders began to pay attention stand up.
Han Shaochen originally thought that he was either responsible for image processing, high-definition video decoding and playback, or WIFI or USB for high-speed data transmission.It is not surprising that he is in charge of USB Type-C now, but at the same time he has to assume the responsibility of the software team leader, and his estimated working hours are beginning to be insufficient.
He needs to follow up the development progress of the person in charge of each module, the progress of hardware debugging needs to be followed up, and even some newcomers who are not capable enough to solve the problem will come to him for help, plus various documents and process meetings, such as a software requirement and function After confirming the document, after three meetings, Han Shaochen didn't even have time to read the USB Type-C protocol during normal working hours, let alone study the implementation code, so he had to work overtime until late at night.
Lin Yu was very depressed to find that his lover didn't have time to talk to him because of this project. Every phone call was like this:
"Chen'er, what are you doing? I just finished a meeting and I'm going to have a midnight snack, so I'm starving to death."
"Just saw SupportedConfiguration."
"Uh, you're looking at the agreement, isn't it difficult?"
"Fortunately."
"It's almost twelve o'clock, are you still in the company?"
"I just got home, I don't need to stay in the company to see the agreement."
"Oh, well, then you watch it first, don't stay up too late."
"Ah."
"Good night, Chen'er."
"Good night."
Although Han Shaochen couldn't hear the impatience in his tone, but in the shorter conversation than usual, he could still feel that he was actually very busy.
I can't stop feeling distressed, but I can't stop my lover. After all, he is the one who encourages the other party to take on so many things.It's just that Han Shaochen basically works overtime every night to read the agreement or write codes, which makes him embarrassed to say a few more words, and even the advice to go to bed early seems weak, because it is useless to say it.
At this time, Lin Yu deeply understands the helplessness of a long-distance relationship. If he is by his side, no matter how busy he is, he can see people, and at least he can take care of him. Now he doesn't even have time to talk on the phone. It's really scratching his head uncomfortable.And in fact, the busyness of the two of them is basically the same, and they can only send a wechat every now and then to relieve the pain of lovesickness.
Should I change my position or job to be closer to Shao Chen?Lin Yu began to think about this problem.He didn't think about asking Han Shaochen to change places at all, after all it was easier for him to get familiar with the unfamiliar environment.
To be a regional marketing manager, it is not so easy to find opportunities to change jobs or change jobs, but as soon as the idea was planted, Lin Yu began to pay attention to some relevant information.
Once Han Shaochen concentrates on his work, he seldom thinks about his lover.But every time he lay down on the bed at one or two o'clock in the middle of the night, he realized that he didn't seem to talk to Lin Yu again today.Fortunately, there are always photos or voice messages sent by Lin Yu on the mobile phone, and he always has to review a few before he is willing to sleep.
On the contrary, Han Jing and Lin Yu occasionally get together to eat and chat on weekends, and their relationship is becoming more and more harmonious.Lin Yu thought happily, this is the first way to attack the parents.
Finally, when the USB hardware module has been verified and can be used for joint debugging on the board, Han Shaochen finds that there is no way to solve the problem even if he works overtime.Li Zhigang, a hardware engineer, said he has experience. In fact, he has only been in the job for more than a year, and his comprehensive ability is not very good. There is a problem with the logic synthesized by the minimum hardware system and the USB Type-C module. At the beginning, even the serial port could not print debugging information. , and always thought that his hardware was fine, and Han Shaochen's software configuration was wrong.
Han Shaochen didn't talk to him about the software. He connected to the emulator, and after the software initialization program finished running, he directly checked the values in the hardware registers through the emulator. After Li Zhigang went through the register configuration and confirmed that it was correct, he waited next to him. He confirmed the hardware code, and found that there was a place where the AND or relationship was reversed. After the modification, it was finally able to print smoothly, and Li Zhigang admitted that it was his own problem.
But when the serial port can print, the minimum Linux system runs smoothly, and there is a problem with the interaction between the USB Host and Device, and the USB device descriptor cannot be obtained.Li Zhigang felt that there was no problem with his module verification, and there would be no more mistakes. He also wanted to suspect that the software was wrong, but the results of the blatant face slap made him embarrassed to say it directly, so he could only drag Han Shaochen to keep debugging.
But on Han Shaochen's side, people kept interrupting his work during the day, and as the team leader, he couldn't just ignore it.While he was dealing with other matters, Li Zhigang could only wait.I want Li Zhigang to load the Linux system by himself, enter test commands to debug, and list out the process for him, but the other party only says that he is a hardware person and knows nothing about software, and he refuses to do it himself.Although Han Shaochen was a little angry, he couldn't force the other party, but he was really at his wits end, and he began to think about whether his way of handling work was inappropriate.
When Han Shaochen finally described these problems with Lin Yu at twelve o'clock one night, Lin Yu realized how busy Han Shaochen was, and felt distressed for his diligence and reticence.
"Is your attitude towards the newcomers in the group the same as you used to treat your apprentice Tan Mingming?" Lin Yu asked carefully.
"Well, their condition may be a little worse than Tan Mingming's. They are quite nervous to participate in such a large project as soon as they work."
"You, you are so kind." Lin Yu sighed, "Tan Mingming is your apprentice, you can take care of him a little bit, but the team members take care of you like this, you two can't handle it."
"Is this wrong?" Han Shaochen was puzzled.
"No." Lin Yu didn't go around with him, "The main responsibility of the team leader is to assign tasks and collect the progress of the team members. What's more, you also have development tasks yourself, and you are not their nanny. Even newcomers, they also have masters. If you have any questions, you can ask the master."
"But their masters are not familiar with our project, nor do they understand the modules they are responsible for." Han Shaochen was a little puzzled, "It's useless to ask them."
"Do you understand everything?"
"Well, almost." Han Shaochen answered honestly. After all, he has been working for four or five years, and he has to do everything when he is busy. He has touched almost all the modules.
"Ahem—" There is a lover with all-round skills who really can't chat, "But it's not the responsibility of the team leader to teach newcomers, do you understand that?"
"Oh." Han Shaochen actually didn't understand, but he listened to Lin Yu very much, "There is no document explaining the specific affairs of the team leader, so I really don't understand."
"I know you want to do a good job as the team leader so that the tasks of the whole team can be completed on time." Lin Yu complained a little about the leader who made Han Shaochen the team leader, but he also knew that the main reason for the current situation was himself, "But Think about it, would the team leader you participated in the project before do it to the same level as you?"
"I don't know." In fact, he never paid attention to it.
Lin Yu wanted to know what was going on, so he could only follow the temptation: "then you are also a newcomer, and sometimes you can't, what do you do?"
"Look at the documents. The process specifications and operation documents are very complete. Combined with the documents to look at the code, coupled with the unified newcomer training of the department, after mastering everything, you can independently carry out development tasks, and you don't need to ask people." Han Shaochen said As he spoke, he also noticed something was wrong.
"That's right, those newcomers are just lazy and not serious, plus you are responsive and answer your questions, of course you don't want to spend more time to master it. Don't get used to their bad habits." Lin Yu gets angry when he thinks about it, a bunch of bastards , I know how to bully his wife, if all his subordinates withhold bonuses!
Lin Yu went on to say: "And I also heard from Tan Mingming before that you often let her read the documents when she has any problems, so as to cultivate her ability to solve problems independently. Now that she is the team leader, why not Let people read the document, are you afraid that you will not be able to keep up with the development progress?"
It seems that this is the case, Han Shaochen thought about it, he unconsciously shouldered too many responsibilities for himself, and he didn't know what to do and what not to do.
After the conversation, it was already past one o'clock when they said good night to each other, but the heavy stone that had been weighing on Han Shaochen's heart these days seemed to be lifted a little, which made him feel a little more at ease even when he fell asleep.
Then, the newcomers to the anniversary software development team found that their team leader was not so hands-on for them after sending a long email.
In the email, the software and hardware documents related to each module and the hardware support personnel are listed in detail. Because it is too long, even if there is a red mark in the header of the email, many people are too lazy to read it carefully. When encountering problems, they still habitually ask the group long.
But after listening to the problem, the team leader told them without looking up to read the red-labeled email, and even set a time for them to solve the problem and check it at that time.
The new people dare not speak out, and their attitudes can be roughly divided into three types:
Some people read carefully, searched for clues, and successfully found the answer to the question from the document. At the same time, they found that the original document contained almost everything, and their enthusiasm for solving problems by reading the document also increased.
Some people glanced at it, but still couldn't solve the problem. When Han Shaochen checked the progress, he stared and said that he couldn't find a solution.Han Shaochen dug out the email in person, pointed to the document in the list and asked him to open it, and found the technical points to answer related questions from the document in two or three clicks.Because Han Shaochen never talked nonsense, his face was expressionless, and he couldn't even express euphemistically. His straightforward attitude made even people with a little bit of face feel embarrassed.
Individuals who do not eat oil and salt can only be treated individually.
Finally, Han Shaochen was no longer disturbed so frequently.The attitude of these newcomers in the face of this change basically determines the height they can achieve in their future work.
The first type of people is the backbone who is willing to delve into technology, the second type of people is the employees who can be saved, and the last type of people is almost certain to join the layoff army that will be eliminated at the bottom in the future.
These are the results of Lin Yu's secret teaching and Han Shaochen's silent study and handling. When he is no longer anxious about these daily affairs, he can focus on USB Type-C debugging.
The author has something to say:
The main time point of this article was a few years ago, so some technologies have fallen behind at present, and growth must be accompanied by work. I have tried my best to streamline the more professional content, haha
Chapter 29
The supporting software debugging code currently used by USB Type-C is written by Han Shaochen according to the original text of the agreement and referring to the relevant framework code in the Linux source code before the hardware is ready.
In layman's terms, when a device with a USB interface is plugged into a computer, the computer detects that there is a USB device connected through the voltage change on the USB socket, and will perform a series of initial data communications with the device, and then make correspondence according to the device type. format for data transfer.
The hardware logic made by Li Zhigang is to simulate a device with a USB Type-C interface, and download the hardware logic to the FPGA debugging board. The debugging board itself is connected to the computer through a serial port to print debugging information, and then connected to a The USB Type-C data cable is connected to the USB3.0 interface of the computer. When the USB is connected, the computer sends an inquiry, but the correct feedback signal from the device is always not received. If the most critical USB device descriptor cannot be obtained, then it is impossible If it is not recognized as a USB Type-C device, and the identity cannot be authenticated, then the next step of data transmission cannot be performed.
Li Zhigang still had some doubts about Han Shaochen's code problem. After repeatedly checking the agreement and even comparing the hardware verification code, Han Shaochen confirmed that his code was at least fine in the initial initialization process, and there should be no failure to respond.
Fortunately, the precedent of the serial port is there. Li Zhigang also knows that Han Shaochen's professional ability has always been excellent, so he didn't dare to put all the responsibility on him.But this problem has been stuck for a few days, and it is difficult to guarantee the progress after it gets stuck. The hardware team leader is also very concerned about this problem, and he must solve it within a week. Seeing that the time is coming, Li Zhigang can only discuss it with Han Shaochen overnight debugging.
Han Shaochen agreed without hesitation.
When he was busy before, Han Shaochen worked overtime until two or three o'clock at the latest, and went back to take a rest. He also went to work on time in the morning, but he had never tried it all night.
Lin Yu used to greet WeChat at twelve o'clock, and received the news that Han Shaochen needed to stay overnight.
Although he himself had stayed up all night many times, he still felt sorry for Han Shaochen being so busy, so he made a phone call directly: "Chen'er, why are you so busy? Is your dinner delicious? Is there any overtime meal for you?"
"Well, the progress is slow, and we need to catch up. After dinner, the project team has bought some snacks." Even though it was late at night, Han Shaochen still answered every question without any mistakes.
"That's good. If you are really sleepy in the middle of the night, you can take a little sleep. Have you put a lunch break bed in the company?" Lin Yu asked worriedly.
"Yes." Han Shaochen didn't deviate at all on the road of working like an ordinary person.The necessary lunch break bed or floor mat for software and hardware engineers should be bought with the crowd even if they are not used.
"Drink more water. Working overtime is impetuous, and you are most likely to lack water." Lin Yu then urged.
"Well," Han Shaochen agreed, but still added, "I'm not impetuous."
"Haha, well, you are the calmest." Lin Yu laughed, but he didn't laugh twice, his voice became a little low, "I love you so much, I'm so busy, I can't take care of you by your side."
Facing the concern of his lover, Han Shaochen really couldn't cope with it, so he was silent for a while and said, "It's okay, it's late, you should rest first." After thinking about it, he learned to comfort the other party, "Say Maybe the problem will be solved soon, and you don't have to worry too much."
"Well, you are so good, it must be because someone is holding you back." Lin Yu took it for granted, although it was almost right, "If it's someone else's problem, you should be lazy and rest for a while."
Han Shaochen looked at Li Zhigang who was waiting for him to load the software for debugging, and shook his head, "I'm going to work, good night."
"Okay, okay, I won't disturb you anymore, good night." Lin Yu sighed and hung up the phone.
Li Zhigang stared at Han Shaochen gossipingly and smiled: "Han Gong, are you reporting this to your wife?"
Han Shaochen was startled, then shook his head: "I'm not married."
"Oh, that's my girlfriend." Li Zhigang said casually, stepping aside a bit, "I just optimized the route to see if this version can pass."
Han Shaochen ignored Li Zhigang's unintentional gossip and focused on debugging.
In fact, there are not many things to be done by the software on the USB device side. Basically, the hardware responds automatically. However, Li Zhigang always believes that there is no problem with the hardware code that has passed the verification. He always hopes to solve the unresponsive bug through software debugging.
After Han Shaochen spent time making the symbol table, loading the function information, and performing complex single-step debugging with the emulator, it was finally confirmed that the software was stuck waiting for the hardware signal, and nothing happened after the command was sent.
No matter how confident Li Zhigang is, he has no way to say that there is a problem with the software. He can only look at the hardware code with a sad face, simulate the process for verification, and grab the data waveforms one by one.
Han Shaochen was not idle either, and sat on the side to help him watch the waveform. After reading a series of data, he really didn't find any problem, so he suddenly asked: "Has the clock signal been pulled out?"
Li Zhigang was stunned, "I didn't pull it out alone, and it wouldn't work without the clock device. That should be fine."
"Run another version of verification, and the clock waveform will be pulled out." Han Shaochen said in an unquestionable tone.
Although Li Zhigang didn't think so, but it's been all night anyway, and his mind is numb, so let's follow the instructions.
After the square wave of the clock was amplified and amplified again, the two discovered the problem together.Originally, the square wave of the clock should be stable, with one high and one low level staggered in an orderly manner, but the square wave they saw was connected with two high levels at intervals.This explains that although the device can be powered on and work, but the clock line is not correct, even if the data on the data line is correct, the combined returned data will not be correct, no wonder the correct device descriptor cannot be obtained.
Li Zhigang had a face full of "shit", and he didn't care about losing face. He wiped his face and asked Han Shaochen: "How did you think of it, Han Gong? Aren't you a software guy?"
Han Shaochen was a little puzzled: "Can't someone who works on software know a little bit about hardware? I just want you to grasp the waveform more comprehensively."
"Big guy, really big guy. No wonder I said before that I didn't get a USB and I was worried that I couldn't fix it. The team leader said that there is nothing that can't be fixed when we cooperate with Hangong." Li Zhigang was a little convinced, "I always feel that the software I have a problem, I’m really sorry. I only now understand why the team leader would say that, Han Gong, you are really good.”
Han Shaochen was a little speechless, and just tapped the screen: "Finding a problem doesn't mean the problem is solved, let's see what went wrong and caused the clock to be confused."
Li Zhigang scratched his head, "Knowing the reason is not far from solving the problem. Let Han Gong take a look with me. Anyway, you understand the hardware language, and you just sit and wait. There is no problem with the software."
What he said was actually inappropriate. Since it was confirmed that it was a hardware problem, Han Shaochen should go to sleep for a while, so why would he just sit there.But Han Shaochen couldn't think of so much, and Li Zhigang's frizzy work style, who knows when he can check it alone, Han Shaochen didn't refuse, the two of them stared at the screen together and looked at the hardware. code.
At three o'clock, the two of them opened the hardware document and compared each line line by line. Only then did they find out that the hardware initialization part was configured with one bit missing. After changing it, it finally passed smoothly.
Li Zhigang couldn't help cheering when he saw the device descriptor printed out by the serial port on the computer, and the words USBType-CDevice appeared. Anyway, the laboratory is empty, so he is not afraid of disturbing others.
Han Shaochen was also affected by this young man's emotions. Although his brain was exhausted, his mood was rarely relaxed.
Looking at the watch, it was already five o'clock. Li Zhigang stretched his waist and said, "It's done. I wrote an email and went home to sleep. Come back when I wake up. Thank you Han Gong. Why don't you go back first?"
Han Shaochen nodded: "Then I'm leaving."
When Qiang arrived home, the east was already pale. Han Shaochen washed up a little, lay down on the bed and looked at his phone, only to find that Lin Yu had sent him a message before going to bed: "If the problem is solved, tell me Just a word, it doesn't matter what time it is, and don't be so stupid and continue to work after all night, tell the leader that you want to go home and rest."
Although he was a little puzzled about whether he could solve the problem or not had anything to do with Lin Yu, he still replied honestly: "It's solved, just go home and lie down."
Then he threw the phone aside and fell asleep instantly.
Anyone who has been through the night knows that as long as it is not a gifted person, it is always difficult to sleep during the day. Han Shaochen sleeps intermittently until noon and can no longer fall asleep.I can only get up and prepare to go to the company, and then I see Lin Yu's reply: "sleep well, if you have melatonin or something, take a piece, it will help you sleep more comfortably."
Melatonin?Han Shaochen really didn't know about this thing, so he silently wrote it down and prepared to use it after an overnight stay.
"I'm up, ready to go to work." Han Shaochen replied and went downstairs to drive.
"Have you eaten yet?" Lin Yu replied quickly.
I really forgot.Han Shaochen turned black and white into confusion, and then realized that he hadn't eaten for a long time, and it was too late to go to the company cafeteria, so he could only deal with it in the small restaurant outside, and chat with Lin Yu for a while.
"Just about to eat."
Lin Yu called, "Didn't you just say you were going to work? If I hadn't reminded you, would you have forgotten to eat?"
"Well—" Han Shaochen couldn't deny it, "I'm a little sleepy."
"You are not sleepy, you are too sleepy." Lin Yu was funny and distressed, "Why don't you sleep a little longer, is the leader urging you?"
"No, I can't sleep, there are still many things to do."
Lin Yu is also very aware of this state. Although he has been spinning, there are still too many things to do, and he can't sleep at ease. He sighed and said, "Then try to go home and sleep as early as possible tonight. When will this project be ready?" Is it over?"
Han Shaochen thought for a while about the schedule of the anger and grievances, and he was a little uncertain: "The shipment is estimated to be more than a year away. Before that, the software has to be involved. The early stage is a little busy, and it should be easier later."
It is estimated that he will be busy for more than half a year. Although his lover is also making things for their company, he can't help but complain that this anniversary is really not coming at the right time. Lin Yu heard the voice of the waiter over there, and told him to drink more water. Only then did I hang up the phone.
Just when Wang Zheng came over to inform him of the meeting, Lin Yu got up and asked, "Is there any opportunity to go on a business trip recently?"
"Isn't there a business trip almost every week recently?" Wang Zheng looked at the notepad, "I will go to City B the day after tomorrow, and there will be a meeting in City N next Monday."
"No," Lin Yu scratched his head irritably, and expressed his expectation directly, "Is there any in city A?" Basically, Lin Yu would know where he went on a business trip. He didn't seem to have any in his memory, but he still couldn't help thinking more ask a question.
"Uh, not recently." Wang Zheng remembered that Lin Yu stayed in City A for two days before, so he couldn't help asking, "Is Mr. Lin's girlfriend in City A?"
Lin Yu glanced at Wang Zheng in surprise, and the young assistant smiled a little embarrassedly, "Seeing that you have been a little strange recently, it feels like you are in a relationship. Long-distance relationships are very hard."
"Is it that obvious?" Lin Yu didn't deny it.
"It's a little bit, others may not see it
Wang Zheng was shocked after listening to the whole process. Mr. Lin, your love brain is too thoughtful, you even care about whether you have DHA?Doesn't the girl bother you?Are you talking too much?If it weren't for the bad signal to enter the elevator, can you tell me what to eat and what to drink?Where did that serious, calm, handsome boss go?I also work overtime all day, why don't you let me eat more fish?
The "girl" was not annoying at all, and she really had hairtail fish, as well as a portion of mushrooms and green vegetables.
Sitting down, he was not in a hurry to eat. Instead, he sent a message to Han Jing while deliberating: "Lin Yu said to let him tell you first. There is no delay."
Han Jing was quiet for a while, and then replied quietly: "It's great, you can reply so many words."
Han Shaochen always felt that these people's concerns made him speechless.Lin Yu wondered that he could think of those, and his mother wondered how many words he could reply. Is it strange?
It's not surprising to ordinary people, but it's still a little strange to autistic people.
Han Shaochen's learning ability is too strong. Although he still doesn't understand why many things are connected, he knows that people often connect these things. He didn't care before, but now he is trying to imitate it. Things that are not allowed will be asked, just like asking why Lin Yu told Han Jing first, and trying to figure out the thoughts behind Han Jing's question, and gradually become more like a normal person with sound thinking.But it's just like it, and it can't be as thoughtful as ordinary people.
In fact, Han Jing didn't think he delayed the notification to her, but was depressed that she learned about her son's emotional movements from outsiders.Han Shaochen still couldn't understand such complicated emotions.
But even so, Han Jing was shocked. If it was before, Han Shaochen might only reply to her: "Lin Yu told him to tell you first." There would be no explanation at all.
The power of love is really amazing.Han Jing looked at the phone with emotion.
Chapter 28
The Gewei Anniversary Edition mobile phone project was officially launched. The product manager Xiang Chuming organized a kickoff meeting for the participants from various departments. At first, they only knew about winning the bid, but the grassroots developers who didn’t know what M Communication had promised. How to develop a mobile phone.
During the meeting, the hardware and software personnel scolded into a ball.
What the hell kind of configuration is this?The body must be ultra-thin, and the screen must be a large 5.1-inch screen, so the battery capacity should not be too low, and the battery capacity is directly proportional to the volume, so a large battery is stuck in the phone, plus the thickness of the screen, the back shell Just don't do it.I don't know if the Japanese designer will go crazy.
Complaints about hardware development, USB3.0 has just been implemented, and this mobile phone has also implemented USB Type-C. Do you want to follow the protocol so closely, and the development time given is so short, is it killing people?What NFC is there, is it going to kill the phone?How many people will use this function?
As a software complaint, the parameters of the front and rear cameras are so high, and the rear is still dual cameras, with various high-definition camera and photography functions, and low power consumption for playback. Let’s not say anything else, everyone in the image processing team has to do it vomiting blood.
Countless complaints came and went, the key is that the time given is still tight, one-third of the team is newcomers, this is the result of the best scheduling, otherwise half of them would have to be newcomers.And newcomers are even more confused, what is NFC, what is Type-C, what the hell is a Hall sensor?
A kick-off meeting that should have been bloody was full of complaints.Xiang Chuming was actually very helpless deep in his heart, but no matter how helpless he was, he had to bite the bullet and kept cheering everyone up: "It is not easy for us to get this anniversary mobile phone. If we can do it well, it will be a milestone. It is different from the small fights in the past."
"In the past, I have been working overtime all day until midnight, what kind of trouble do I want to make?" Someone howled, which resonated with everyone.
Nuoda’s conference room was full of people frowning, shaking their heads and sighing. Only a few people did not join the complaining army, but seriously began to calculate or plan the time and workload allocation. Han Shaochen looked at the PPT with a blank expression. Based on the key technology, estimate the tasks that you may be assigned to.
The fact that he was suddenly dragged away to be the software development team leader was not at all what he expected.
Ding Chi, the project manager, looked at the dazed Han Shaochen, and sighed: "Originally, Si Guangcai, who had been working for ten years, was going to be the team leader. I have already informed him. Who knew that he submitted his resignation yesterday?" The application said that he couldn’t hold on to our busy schedule. If this continues, his wife is going to get a divorce. We can’t force him to stay. At present, the qualifications and abilities of the software team, after comprehensive consideration, you are the most suitable one. .I know you don't like talking very much, but this is also a good opportunity to exercise your coordination and organization skills. If this project is done well, you will have the opportunity to develop into the leadership team in the future."
Han Shaochen, who has always been used to accepting tasks and working silently, has not yet learned to refuse.By the time he has digested what the software team leader needs to do, and he may not be able to do it himself, his status as the team leader is already a certainty.
Tan Mingming has already come over to express his happiness: "Wow, master, you are the team leader this time. That's really great. I don't worry if I have someone to protect me."
Han Shaochen didn't have time to refuse at that time, but now he refuses and doesn't know how to say it.After thinking about it, I finally called Lin Yu at night.
He was used to not asking Han Jing any more about work issues.
After Han Shaochen's brief description, Lin Yu heard his troubles: "Do you think that being a software team leader requires coordinating with all aspects of work, arranging tasks, organizing progress, and various meetings? For you Said it was too difficult?"
"Well." Han Shaochen said that Lin Yu's conclusion was right.
"But you have also brought newcomers, and helped her arrange tasks and coordinate work, right?"
"Well." Tan Mingming was not that busy when she joined the job. At the beginning, her tasks were assigned from her side, and it was indeed arranged for a while.
"You should also attend the morning meeting, weekly meeting, regular leadership meeting, right? Have you never spoken before?"
"Participate, I will speak on issues that I am responsible for." Han Shaochen answered honestly.
"I'm in the market. Although I don't understand the rules of your development, reporting the progress of my own tasks should be done regularly, right?"
"There is a weekly report every week, and a morning report when the project is tight."
"Then did any leaders criticize you for doing these things that you did not do well?"
"No." In fact, occasionally he used his report emails as a model to teach newcomers how to write during meetings.
"Look, in fact, you have already done a good job. The software team leader just does more similar things. Why do you feel that you are not competent?" Lin Yu guided Han Shaochen to develop ideas, "I know you I like to study technology and develop code alone, but even if you are immersed in work, you have to communicate with the testers just like when you came to solve the problem on a business trip last time, and you have to report the progress when you face the leader. Our testers treat you Your ability has always been affirmed, and your leader also said that you are their key staff, and your apprentices respect you very much after graduation, and you are doing much better than you imagined. And now you have also been able to communicate well with Colleagues have communicated and communicated, wouldn’t it be great to get out of the current comfort zone and further exercise yourself as a challenge?”
In the process of Lin Yu's step-by-step analysis, Han Shaochen gradually realized something, and finally found that it was irrefutable. Although he was still a little confused, he was no longer unsure.
"What do you think?" After Lin Yu finished speaking, he wanted to know what the other party thought.
"Lin Yu." Han Shaochen called him softly.
"Huh?" Lin Yu's voice was gentle.
"Thank you."
Lin Yu smiled, "Why are you being polite to me, I'm your boyfriend. Feel free to contact me if there's anything you can't handle." In fact, I really want to talk about my husband, but I'm afraid of being abrupt.
Boy friend?
After hanging up the phone, Han Shaochen recalled these words in his heart, and looked up to find a smile on the face reflected on the dark computer screen under the desk lamp.
After the final tasks are assigned, Han Shaochen will not only be the software team leader, but also be responsible for the development of USB Type-C software drivers.
Because Han Shaochen also participated in the development of USB3.0 software and hardware before this, and his familiarity with related protocols is unmatched among the current team members. I also know a little bit about the debugging method. Li Zhigang, who happened to be in charge of USB Type-C after the hardware assignment, has experience, but he has never done USB, so he can still bring it with him.On the software side, whether old or new employees, if they are fully responsible for USB Type-C, they will almost learn from scratch, and they will not be able to afford time and work quality.Just let him carry on.
国内手机都已经支持USB3.0,相比十几年前最大传输带宽为480Mbps的USB2.0接口,最大传输带宽5Gbps的USB3.0甚至10Gbps的USB3.1才能满足手机存储容量越来越大,人们传输高清视频之类大文件的需求。
It’s just that everyone always complains that the USB interface is always inaccurate. It’s really annoying when you plug it in when you’re in a hurry to charge. Compared with the Lightning interface launched by Apple, it’s thin and light, and you don’t need to distinguish the front and back. Compete with the new USB interface.
The USB Type-C protocol came into being. M Communication is also doing pre-research closely following the agreement, but everyone is too busy with their own work, such things as pre-research are always not done carefully enough, this is the first commercial use, coupled with the blessing of the anniversary, the leaders began to pay attention stand up.
Han Shaochen originally thought that he was either responsible for image processing, high-definition video decoding and playback, or WIFI or USB for high-speed data transmission.It is not surprising that he is in charge of USB Type-C now, but at the same time he has to assume the responsibility of the software team leader, and his estimated working hours are beginning to be insufficient.
He needs to follow up the development progress of the person in charge of each module, the progress of hardware debugging needs to be followed up, and even some newcomers who are not capable enough to solve the problem will come to him for help, plus various documents and process meetings, such as a software requirement and function After confirming the document, after three meetings, Han Shaochen didn't even have time to read the USB Type-C protocol during normal working hours, let alone study the implementation code, so he had to work overtime until late at night.
Lin Yu was very depressed to find that his lover didn't have time to talk to him because of this project. Every phone call was like this:
"Chen'er, what are you doing? I just finished a meeting and I'm going to have a midnight snack, so I'm starving to death."
"Just saw SupportedConfiguration."
"Uh, you're looking at the agreement, isn't it difficult?"
"Fortunately."
"It's almost twelve o'clock, are you still in the company?"
"I just got home, I don't need to stay in the company to see the agreement."
"Oh, well, then you watch it first, don't stay up too late."
"Ah."
"Good night, Chen'er."
"Good night."
Although Han Shaochen couldn't hear the impatience in his tone, but in the shorter conversation than usual, he could still feel that he was actually very busy.
I can't stop feeling distressed, but I can't stop my lover. After all, he is the one who encourages the other party to take on so many things.It's just that Han Shaochen basically works overtime every night to read the agreement or write codes, which makes him embarrassed to say a few more words, and even the advice to go to bed early seems weak, because it is useless to say it.
At this time, Lin Yu deeply understands the helplessness of a long-distance relationship. If he is by his side, no matter how busy he is, he can see people, and at least he can take care of him. Now he doesn't even have time to talk on the phone. It's really scratching his head uncomfortable.And in fact, the busyness of the two of them is basically the same, and they can only send a wechat every now and then to relieve the pain of lovesickness.
Should I change my position or job to be closer to Shao Chen?Lin Yu began to think about this problem.He didn't think about asking Han Shaochen to change places at all, after all it was easier for him to get familiar with the unfamiliar environment.
To be a regional marketing manager, it is not so easy to find opportunities to change jobs or change jobs, but as soon as the idea was planted, Lin Yu began to pay attention to some relevant information.
Once Han Shaochen concentrates on his work, he seldom thinks about his lover.But every time he lay down on the bed at one or two o'clock in the middle of the night, he realized that he didn't seem to talk to Lin Yu again today.Fortunately, there are always photos or voice messages sent by Lin Yu on the mobile phone, and he always has to review a few before he is willing to sleep.
On the contrary, Han Jing and Lin Yu occasionally get together to eat and chat on weekends, and their relationship is becoming more and more harmonious.Lin Yu thought happily, this is the first way to attack the parents.
Finally, when the USB hardware module has been verified and can be used for joint debugging on the board, Han Shaochen finds that there is no way to solve the problem even if he works overtime.Li Zhigang, a hardware engineer, said he has experience. In fact, he has only been in the job for more than a year, and his comprehensive ability is not very good. There is a problem with the logic synthesized by the minimum hardware system and the USB Type-C module. At the beginning, even the serial port could not print debugging information. , and always thought that his hardware was fine, and Han Shaochen's software configuration was wrong.
Han Shaochen didn't talk to him about the software. He connected to the emulator, and after the software initialization program finished running, he directly checked the values in the hardware registers through the emulator. After Li Zhigang went through the register configuration and confirmed that it was correct, he waited next to him. He confirmed the hardware code, and found that there was a place where the AND or relationship was reversed. After the modification, it was finally able to print smoothly, and Li Zhigang admitted that it was his own problem.
But when the serial port can print, the minimum Linux system runs smoothly, and there is a problem with the interaction between the USB Host and Device, and the USB device descriptor cannot be obtained.Li Zhigang felt that there was no problem with his module verification, and there would be no more mistakes. He also wanted to suspect that the software was wrong, but the results of the blatant face slap made him embarrassed to say it directly, so he could only drag Han Shaochen to keep debugging.
But on Han Shaochen's side, people kept interrupting his work during the day, and as the team leader, he couldn't just ignore it.While he was dealing with other matters, Li Zhigang could only wait.I want Li Zhigang to load the Linux system by himself, enter test commands to debug, and list out the process for him, but the other party only says that he is a hardware person and knows nothing about software, and he refuses to do it himself.Although Han Shaochen was a little angry, he couldn't force the other party, but he was really at his wits end, and he began to think about whether his way of handling work was inappropriate.
When Han Shaochen finally described these problems with Lin Yu at twelve o'clock one night, Lin Yu realized how busy Han Shaochen was, and felt distressed for his diligence and reticence.
"Is your attitude towards the newcomers in the group the same as you used to treat your apprentice Tan Mingming?" Lin Yu asked carefully.
"Well, their condition may be a little worse than Tan Mingming's. They are quite nervous to participate in such a large project as soon as they work."
"You, you are so kind." Lin Yu sighed, "Tan Mingming is your apprentice, you can take care of him a little bit, but the team members take care of you like this, you two can't handle it."
"Is this wrong?" Han Shaochen was puzzled.
"No." Lin Yu didn't go around with him, "The main responsibility of the team leader is to assign tasks and collect the progress of the team members. What's more, you also have development tasks yourself, and you are not their nanny. Even newcomers, they also have masters. If you have any questions, you can ask the master."
"But their masters are not familiar with our project, nor do they understand the modules they are responsible for." Han Shaochen was a little puzzled, "It's useless to ask them."
"Do you understand everything?"
"Well, almost." Han Shaochen answered honestly. After all, he has been working for four or five years, and he has to do everything when he is busy. He has touched almost all the modules.
"Ahem—" There is a lover with all-round skills who really can't chat, "But it's not the responsibility of the team leader to teach newcomers, do you understand that?"
"Oh." Han Shaochen actually didn't understand, but he listened to Lin Yu very much, "There is no document explaining the specific affairs of the team leader, so I really don't understand."
"I know you want to do a good job as the team leader so that the tasks of the whole team can be completed on time." Lin Yu complained a little about the leader who made Han Shaochen the team leader, but he also knew that the main reason for the current situation was himself, "But Think about it, would the team leader you participated in the project before do it to the same level as you?"
"I don't know." In fact, he never paid attention to it.
Lin Yu wanted to know what was going on, so he could only follow the temptation: "then you are also a newcomer, and sometimes you can't, what do you do?"
"Look at the documents. The process specifications and operation documents are very complete. Combined with the documents to look at the code, coupled with the unified newcomer training of the department, after mastering everything, you can independently carry out development tasks, and you don't need to ask people." Han Shaochen said As he spoke, he also noticed something was wrong.
"That's right, those newcomers are just lazy and not serious, plus you are responsive and answer your questions, of course you don't want to spend more time to master it. Don't get used to their bad habits." Lin Yu gets angry when he thinks about it, a bunch of bastards , I know how to bully his wife, if all his subordinates withhold bonuses!
Lin Yu went on to say: "And I also heard from Tan Mingming before that you often let her read the documents when she has any problems, so as to cultivate her ability to solve problems independently. Now that she is the team leader, why not Let people read the document, are you afraid that you will not be able to keep up with the development progress?"
It seems that this is the case, Han Shaochen thought about it, he unconsciously shouldered too many responsibilities for himself, and he didn't know what to do and what not to do.
After the conversation, it was already past one o'clock when they said good night to each other, but the heavy stone that had been weighing on Han Shaochen's heart these days seemed to be lifted a little, which made him feel a little more at ease even when he fell asleep.
Then, the newcomers to the anniversary software development team found that their team leader was not so hands-on for them after sending a long email.
In the email, the software and hardware documents related to each module and the hardware support personnel are listed in detail. Because it is too long, even if there is a red mark in the header of the email, many people are too lazy to read it carefully. When encountering problems, they still habitually ask the group long.
But after listening to the problem, the team leader told them without looking up to read the red-labeled email, and even set a time for them to solve the problem and check it at that time.
The new people dare not speak out, and their attitudes can be roughly divided into three types:
Some people read carefully, searched for clues, and successfully found the answer to the question from the document. At the same time, they found that the original document contained almost everything, and their enthusiasm for solving problems by reading the document also increased.
Some people glanced at it, but still couldn't solve the problem. When Han Shaochen checked the progress, he stared and said that he couldn't find a solution.Han Shaochen dug out the email in person, pointed to the document in the list and asked him to open it, and found the technical points to answer related questions from the document in two or three clicks.Because Han Shaochen never talked nonsense, his face was expressionless, and he couldn't even express euphemistically. His straightforward attitude made even people with a little bit of face feel embarrassed.
Individuals who do not eat oil and salt can only be treated individually.
Finally, Han Shaochen was no longer disturbed so frequently.The attitude of these newcomers in the face of this change basically determines the height they can achieve in their future work.
The first type of people is the backbone who is willing to delve into technology, the second type of people is the employees who can be saved, and the last type of people is almost certain to join the layoff army that will be eliminated at the bottom in the future.
These are the results of Lin Yu's secret teaching and Han Shaochen's silent study and handling. When he is no longer anxious about these daily affairs, he can focus on USB Type-C debugging.
The author has something to say:
The main time point of this article was a few years ago, so some technologies have fallen behind at present, and growth must be accompanied by work. I have tried my best to streamline the more professional content, haha
Chapter 29
The supporting software debugging code currently used by USB Type-C is written by Han Shaochen according to the original text of the agreement and referring to the relevant framework code in the Linux source code before the hardware is ready.
In layman's terms, when a device with a USB interface is plugged into a computer, the computer detects that there is a USB device connected through the voltage change on the USB socket, and will perform a series of initial data communications with the device, and then make correspondence according to the device type. format for data transfer.
The hardware logic made by Li Zhigang is to simulate a device with a USB Type-C interface, and download the hardware logic to the FPGA debugging board. The debugging board itself is connected to the computer through a serial port to print debugging information, and then connected to a The USB Type-C data cable is connected to the USB3.0 interface of the computer. When the USB is connected, the computer sends an inquiry, but the correct feedback signal from the device is always not received. If the most critical USB device descriptor cannot be obtained, then it is impossible If it is not recognized as a USB Type-C device, and the identity cannot be authenticated, then the next step of data transmission cannot be performed.
Li Zhigang still had some doubts about Han Shaochen's code problem. After repeatedly checking the agreement and even comparing the hardware verification code, Han Shaochen confirmed that his code was at least fine in the initial initialization process, and there should be no failure to respond.
Fortunately, the precedent of the serial port is there. Li Zhigang also knows that Han Shaochen's professional ability has always been excellent, so he didn't dare to put all the responsibility on him.But this problem has been stuck for a few days, and it is difficult to guarantee the progress after it gets stuck. The hardware team leader is also very concerned about this problem, and he must solve it within a week. Seeing that the time is coming, Li Zhigang can only discuss it with Han Shaochen overnight debugging.
Han Shaochen agreed without hesitation.
When he was busy before, Han Shaochen worked overtime until two or three o'clock at the latest, and went back to take a rest. He also went to work on time in the morning, but he had never tried it all night.
Lin Yu used to greet WeChat at twelve o'clock, and received the news that Han Shaochen needed to stay overnight.
Although he himself had stayed up all night many times, he still felt sorry for Han Shaochen being so busy, so he made a phone call directly: "Chen'er, why are you so busy? Is your dinner delicious? Is there any overtime meal for you?"
"Well, the progress is slow, and we need to catch up. After dinner, the project team has bought some snacks." Even though it was late at night, Han Shaochen still answered every question without any mistakes.
"That's good. If you are really sleepy in the middle of the night, you can take a little sleep. Have you put a lunch break bed in the company?" Lin Yu asked worriedly.
"Yes." Han Shaochen didn't deviate at all on the road of working like an ordinary person.The necessary lunch break bed or floor mat for software and hardware engineers should be bought with the crowd even if they are not used.
"Drink more water. Working overtime is impetuous, and you are most likely to lack water." Lin Yu then urged.
"Well," Han Shaochen agreed, but still added, "I'm not impetuous."
"Haha, well, you are the calmest." Lin Yu laughed, but he didn't laugh twice, his voice became a little low, "I love you so much, I'm so busy, I can't take care of you by your side."
Facing the concern of his lover, Han Shaochen really couldn't cope with it, so he was silent for a while and said, "It's okay, it's late, you should rest first." After thinking about it, he learned to comfort the other party, "Say Maybe the problem will be solved soon, and you don't have to worry too much."
"Well, you are so good, it must be because someone is holding you back." Lin Yu took it for granted, although it was almost right, "If it's someone else's problem, you should be lazy and rest for a while."
Han Shaochen looked at Li Zhigang who was waiting for him to load the software for debugging, and shook his head, "I'm going to work, good night."
"Okay, okay, I won't disturb you anymore, good night." Lin Yu sighed and hung up the phone.
Li Zhigang stared at Han Shaochen gossipingly and smiled: "Han Gong, are you reporting this to your wife?"
Han Shaochen was startled, then shook his head: "I'm not married."
"Oh, that's my girlfriend." Li Zhigang said casually, stepping aside a bit, "I just optimized the route to see if this version can pass."
Han Shaochen ignored Li Zhigang's unintentional gossip and focused on debugging.
In fact, there are not many things to be done by the software on the USB device side. Basically, the hardware responds automatically. However, Li Zhigang always believes that there is no problem with the hardware code that has passed the verification. He always hopes to solve the unresponsive bug through software debugging.
After Han Shaochen spent time making the symbol table, loading the function information, and performing complex single-step debugging with the emulator, it was finally confirmed that the software was stuck waiting for the hardware signal, and nothing happened after the command was sent.
No matter how confident Li Zhigang is, he has no way to say that there is a problem with the software. He can only look at the hardware code with a sad face, simulate the process for verification, and grab the data waveforms one by one.
Han Shaochen was not idle either, and sat on the side to help him watch the waveform. After reading a series of data, he really didn't find any problem, so he suddenly asked: "Has the clock signal been pulled out?"
Li Zhigang was stunned, "I didn't pull it out alone, and it wouldn't work without the clock device. That should be fine."
"Run another version of verification, and the clock waveform will be pulled out." Han Shaochen said in an unquestionable tone.
Although Li Zhigang didn't think so, but it's been all night anyway, and his mind is numb, so let's follow the instructions.
After the square wave of the clock was amplified and amplified again, the two discovered the problem together.Originally, the square wave of the clock should be stable, with one high and one low level staggered in an orderly manner, but the square wave they saw was connected with two high levels at intervals.This explains that although the device can be powered on and work, but the clock line is not correct, even if the data on the data line is correct, the combined returned data will not be correct, no wonder the correct device descriptor cannot be obtained.
Li Zhigang had a face full of "shit", and he didn't care about losing face. He wiped his face and asked Han Shaochen: "How did you think of it, Han Gong? Aren't you a software guy?"
Han Shaochen was a little puzzled: "Can't someone who works on software know a little bit about hardware? I just want you to grasp the waveform more comprehensively."
"Big guy, really big guy. No wonder I said before that I didn't get a USB and I was worried that I couldn't fix it. The team leader said that there is nothing that can't be fixed when we cooperate with Hangong." Li Zhigang was a little convinced, "I always feel that the software I have a problem, I’m really sorry. I only now understand why the team leader would say that, Han Gong, you are really good.”
Han Shaochen was a little speechless, and just tapped the screen: "Finding a problem doesn't mean the problem is solved, let's see what went wrong and caused the clock to be confused."
Li Zhigang scratched his head, "Knowing the reason is not far from solving the problem. Let Han Gong take a look with me. Anyway, you understand the hardware language, and you just sit and wait. There is no problem with the software."
What he said was actually inappropriate. Since it was confirmed that it was a hardware problem, Han Shaochen should go to sleep for a while, so why would he just sit there.But Han Shaochen couldn't think of so much, and Li Zhigang's frizzy work style, who knows when he can check it alone, Han Shaochen didn't refuse, the two of them stared at the screen together and looked at the hardware. code.
At three o'clock, the two of them opened the hardware document and compared each line line by line. Only then did they find out that the hardware initialization part was configured with one bit missing. After changing it, it finally passed smoothly.
Li Zhigang couldn't help cheering when he saw the device descriptor printed out by the serial port on the computer, and the words USBType-CDevice appeared. Anyway, the laboratory is empty, so he is not afraid of disturbing others.
Han Shaochen was also affected by this young man's emotions. Although his brain was exhausted, his mood was rarely relaxed.
Looking at the watch, it was already five o'clock. Li Zhigang stretched his waist and said, "It's done. I wrote an email and went home to sleep. Come back when I wake up. Thank you Han Gong. Why don't you go back first?"
Han Shaochen nodded: "Then I'm leaving."
When Qiang arrived home, the east was already pale. Han Shaochen washed up a little, lay down on the bed and looked at his phone, only to find that Lin Yu had sent him a message before going to bed: "If the problem is solved, tell me Just a word, it doesn't matter what time it is, and don't be so stupid and continue to work after all night, tell the leader that you want to go home and rest."
Although he was a little puzzled about whether he could solve the problem or not had anything to do with Lin Yu, he still replied honestly: "It's solved, just go home and lie down."
Then he threw the phone aside and fell asleep instantly.
Anyone who has been through the night knows that as long as it is not a gifted person, it is always difficult to sleep during the day. Han Shaochen sleeps intermittently until noon and can no longer fall asleep.I can only get up and prepare to go to the company, and then I see Lin Yu's reply: "sleep well, if you have melatonin or something, take a piece, it will help you sleep more comfortably."
Melatonin?Han Shaochen really didn't know about this thing, so he silently wrote it down and prepared to use it after an overnight stay.
"I'm up, ready to go to work." Han Shaochen replied and went downstairs to drive.
"Have you eaten yet?" Lin Yu replied quickly.
I really forgot.Han Shaochen turned black and white into confusion, and then realized that he hadn't eaten for a long time, and it was too late to go to the company cafeteria, so he could only deal with it in the small restaurant outside, and chat with Lin Yu for a while.
"Just about to eat."
Lin Yu called, "Didn't you just say you were going to work? If I hadn't reminded you, would you have forgotten to eat?"
"Well—" Han Shaochen couldn't deny it, "I'm a little sleepy."
"You are not sleepy, you are too sleepy." Lin Yu was funny and distressed, "Why don't you sleep a little longer, is the leader urging you?"
"No, I can't sleep, there are still many things to do."
Lin Yu is also very aware of this state. Although he has been spinning, there are still too many things to do, and he can't sleep at ease. He sighed and said, "Then try to go home and sleep as early as possible tonight. When will this project be ready?" Is it over?"
Han Shaochen thought for a while about the schedule of the anger and grievances, and he was a little uncertain: "The shipment is estimated to be more than a year away. Before that, the software has to be involved. The early stage is a little busy, and it should be easier later."
It is estimated that he will be busy for more than half a year. Although his lover is also making things for their company, he can't help but complain that this anniversary is really not coming at the right time. Lin Yu heard the voice of the waiter over there, and told him to drink more water. Only then did I hang up the phone.
Just when Wang Zheng came over to inform him of the meeting, Lin Yu got up and asked, "Is there any opportunity to go on a business trip recently?"
"Isn't there a business trip almost every week recently?" Wang Zheng looked at the notepad, "I will go to City B the day after tomorrow, and there will be a meeting in City N next Monday."
"No," Lin Yu scratched his head irritably, and expressed his expectation directly, "Is there any in city A?" Basically, Lin Yu would know where he went on a business trip. He didn't seem to have any in his memory, but he still couldn't help thinking more ask a question.
"Uh, not recently." Wang Zheng remembered that Lin Yu stayed in City A for two days before, so he couldn't help asking, "Is Mr. Lin's girlfriend in City A?"
Lin Yu glanced at Wang Zheng in surprise, and the young assistant smiled a little embarrassedly, "Seeing that you have been a little strange recently, it feels like you are in a relationship. Long-distance relationships are very hard."
"Is it that obvious?" Lin Yu didn't deny it.
"It's a little bit, others may not see it
You'll Also Like
-
I failed a course, and the system became my study supervisor.
Chapter 100 6 hours ago -
Becoming a God by Visualizing the Sun
Chapter 69 6 hours ago -
I came to the chat group like a savior
Chapter 75 6 hours ago -
Crossing at the same time, all nightmares start
Chapter 88 6 hours ago -
Alien signal? It seems to be from me.
Chapter 76 6 hours ago -
No war in the Northern Song Dynasty
Chapter 86 6 hours ago -
Me, Godzilla, you want me to be a ship girl admiral?
Chapter 65 6 hours ago -
North America: An Extraordinary Life Beginning with Exorcism
Chapter 76 6 hours ago -
How can a mere enemy like me?
Chapter 72 6 hours ago -
Honghuang: Starting from the Enlightenment of the Great Emperor Dongyue
Chapter 65 6 hours ago