Tuesday, December 14, 2010

Do arm9 (2410) before and after some experience (reposted)

 Do arm9 (2410) before and after some experience (reposted)
prequel chapter
Although arm9 until now I have not to do it through a piece of the current transfer only. The purpose of writing this article is to want to Embedded lovers do a simple exchange.
2002.9 Pearl ago I was doing the (DragonBall VZ) software, using uClinux, because it has been using the company's board, which is the piece of Motorola's ADS board. anything above that does not look very complicated, so wanted to own a Pearl of the board to play uClinux, but I will not use any of the Sketchpad software is used at most protel schematic drawing of the class (now Think, from schematic to PCB Tingzhi details still to note), and later in a friend's help, I am very strange drawing of a simple board Pearl. did not learn the software, buy a book, have nearly enough computers to. System board is to pay, my salary has been low, in support of his girlfriend, I finally take it the system board, the next step is to buy a component (a very simple but also very cumbersome thing). The next step is welding, the university has a electronic technology practice, I learned to weld the welding electric iron line components, but the face TQFP 144 pin surface mount components, I really do not know how to start . I also met another online friend, but also to their lab looked at how welding paste components, do not think it is very difficult thing:), watch your back I'll try to welding, and finally came out, dark pile, because it is difficult to see things. during the attempt to use solder paste, flux, pine fragrance and the like. Ah, but I was lucky, this board can run uClinux.
and then to 2003, when the Spring Festival, (the when the country has developed arm7 board) I again made a Pearl of the board, the reference to a number of other nice board, so that looks pleasing to the eye than the previous point. has written a detailed document, I The purpose is: to sell. at least make the cost recovery Ah. I do the board first gave a friend who suggested I arm9 (2410) of the board, I started looking for information on the Samsung website, but I and Shenzhen, another friend is working with the Pearl of the board order a bit, wrote a few simple demo program, ready to sell a few. But the momentum arm7 under, DragonBall already known, and in the Pearl on My friends and Shenzhen as best efforts, this case, at least in the money in Shenzhen aspects friends to help me a lot in him, I also learned to work it out, be patient, the user is responsible spirit from the heart, I have been very grateful to him. then pick up a Pearl for small projects, there are some other things, I returned to Guangzhou, it was the end of June this year.
back to Guangzhou girlfriend had just finished a move operation, very weak to accompany her for two weeks, and then wanted to find near her home in similar bodies of their work, their relatives introduced several, mostly just to meet people and talk about responsible talk about, I do not want to spent in that unit. because I found some computer workstations are not connected, or is not with a group of local college graduates with work experience, and embedded did not matter, and to great attention to tune. there is an office environment is also good, just say the morning they want me to put forward a linux site, construction and installation of the afternoon was sent to the network socket, and said to be the lead in organizing training first few months at the bottom say . and there is no accommodation, meals at their own cost, less than 2,000 wage, rent near the surprisingly expensive. toss to toss to, more than a month to go in, what results did not become successful. then pick another reminder that the project emergency, GF parents live there and not very good. simply, I rented a house in Guangzhou, stay out (think of the past year, I sojourn before, rented the basement of less than 7 square meters, surrounded by dark, unventilated The houses ... this is a one-bedroom rental, good feeling)
to August, I finally forced the customer's board design out of the Pearl. That was my first four board, made a total of eight, Shenzhen friend gave me some time enough for Pearl chips. At that time, the heat wave hit the coast, I live in the attic, the weather's death, is a supermarket downstairs, every day advertise promotional activities, and is engaged with several companies, the results of several large speakers on each hegemony, the host is simply hysterical crying, I called the Southern Metropolis Daily complaints, but without any results. I took a soldering iron side of the solder side of the curse, who knows the first piece of plate welding, There is no response to weld the second block, and there is no reaction, was wearing shorts, accidentally fell into the molten solder legs, and now there is a scar, I just angry, anxious. look at the rest of the chip and board, and carefully check the schematic and PCB, really good depressed ah! I thought, anyway, there are eight board it, I welded two pieces only, No welding on the next, then finally in the fourth run when the boards played a uClinux, the following month to do the appropriate software. then save the money I have spent almost the same, so long did not go to work, and my heart urgent ah! time I go to job fairs every week strolling around, hoping to find their favorite in Guangzhou, the right job. but since the second half of this year, work surprisingly hard to find. I comfort myself every day , will be able to find a good job. My girlfriend encouraged me to find their favorite work. In addition, I received a few items to the money, only a few thousand pieces, bitter complaints to the customers a lot, that she more to the 2000. done a few Dragon Ball software (that is, a few simple drivers and test code), I'll get some money, and my heart a little comfort for a moment. this time has come to National Day, arm7 the board has been everywhere in the country. I find that the friends met again and discussed before a bit, and asked if he could help me get 2410 software, then finished off the National Day, they begin to refer to mizi design arm9 (2410) had.
to been so long since I was working, gradually adapted to the worst case scenario and then went to work in Dongguan or Shenzhen Well. I am 25, I feel not too old, ah, it should be, the young capital squandered. from the National Day started I wrote down the wall around October goal: to design the 2410 board. So, the first finished a 4-layer circuit board, I started doing the first 6 laminate design. I used to work, pay attention to learn more about some of the hardware out friends, the 6-layer design, do not know where I called to ask, such as how to do such long-term, Buffer how to deal with, you do not like the CPLD. I used to be a small software engineers, hardware engineers now need to be gradually. So many places we must humbly ask, I know I have to make more friends, thanks to more teachers. designed this 2410, when the purposes of my impatient, need to be patient too, so I rented disc Stallone's point of view, do not want to stick to it every time I rent a I do not want to sleep over, and then draw. While horror films are more exciting, but I'm not a person to see middle of the night: ((during the day and did not dare.) drawing most of the evening I was sleeping during the day, so here is too an argument. In fact, I basically unfinished weeks PCB, and spent a week tinkering, after all, do a 6-layer was not small for me to pay the money ah.
10 月 30, I PCB sent to the system formally a .8 mill to get No. PCB, one of the 8 days, I help people design a 2-layer board Pearl Unfortunately, until next year to get the design fee. such Purchased 2410 components, I was close to exhaustion. This time forced to borrow from a friend that several thousand. For an individual, to buy components is a very complicated thing. First of all supply hard to find, to the Internet to find, not Dial-a-stop (I can not install the telephone rental place, but also no way to access, each to buy chips, then ran back to his girlfriend at home); followed by less, vendors generally ignore you, or to odd lift the price higher. What some elements of delivery, need patience and so on. to about November 22 or so, I basically put together the components. BGA solder is also good. I spent an evening welding done picture on the piece of board. results are not JTAG cable, so only the hardware to do so the next day to call friends to ask where to buy, who knows he suggested to my own, I dug out mizi, looking for information, to do the afternoon good. connected to the board, very fortunately was able to read the ID of the CPU. but can not identify to any Flash, not to mention the programming. Then remove the buffer, the way a direct connection (that is why There are so many on board to fly the line), this can be identified to the nand flash, but still can not be programmed, tried N times, the last extremely depressed. Fortunately, the next night a friend brought a laptop came to ask me some Pearl question, I received trying to burn his notebook, this actually written into the original parallel port is a problem with my motherboard, I was connected to the serial port, it ran smoothly through the vivi, up to now, at least prove that I am still a little movement of the board.
I went and tried to program the zImage (compressed kernel), the results can not download how to use minicom. I suspect that is not a problem with my computer to go in win2000 using HyperTerminal, this time more successful, but although written to the flash, that is not running linux, the next is to ask friends with the help of friends, linux finally got up. Meanwhile, I also welded the other four board (BGA I only posted five), but no matter how I find a cause that can not run from the remaining four board. I venture to have run through the board removed most of the components (cpu exception), and The board can not be interchanged through the results or not, and that a good board can still run. these steps, I continued for more than a week off, are still bothering me. I am almost every night in the demolition of the chip with two iron , welding, fly line, look for cold solder joint with a magnifying glass and the multimeter, short circuit, the results of nothing.
2410 I made very clear that we must have purpose, that is, What do a board for everyone to play. We all like cheap things Little do they know of individuals and small companies, to make an embedded development board, how hard, in many cases above, I have been a passing, and even some not mentioned. I was doing this thing full time, and I was Novice (presumably to do to face a new and unused CPU, everyone is a novice.) Full Shangqie need so much time, let alone development board of the amateur to do. amateur doing no more time to board, playing Phone ... all this is not convenient to buy all the chips, not a true embedded in a warm, hard to say to have the patience to stick with it. Now we all like free stuff, but even give you a complete schematic and PCB files a correct, at least six months, is very difficult to get started. I know to do a similar development board, without exception, experienced an unbearable, from the issue of PCB to the system since then mill to destined to go this step. generally the process is this: to find information -> do a simple test test -> the schematic design -> do package -> Design of PCB-> System board -> Buy Components -> ; welding -> debug hardware -> Fixed Hardware -> Debugging software -> write the instructions -> Packaging Mail -> technical support. This is the process, some of which may seem simple, but if only one person to do so will unknowingly spend a lot of time and effort. in which each step, not the individuals and small companies can delay the beginning of the.
that there may be I have some complaints, but I'm happy still do something you like. Welcome to my more technical exchanges. I do not have much target, just adjust the rest of the four board ;-) pass, or do you still suggest I re-a? Thank you! < br> Hardware articles
the Chinese New Year Chinese New Year finally come home to peace of mind, and now I made five new board can be running linux. many of my friends asked me how I debug the board, and now I do board general process for everyone to talk about, I hope you can help embedded lovers.
start with the tools to talk about it, saying: I do not have too much money to buy advanced tools, it can only be described with soil guns Own Mic it.
First, I do not use this process oscilloscopes, emulators, hot air gun, soldering iron temperature and the like, I start learning to iron out a variety of hardware used, until now I still feel your iron is not easy to use, although the 90 imported two goot brand soldering iron, but the overall feel is not cool with it, that the 30W is not always the tip of soldering iron, the other to the rough 45W soldering iron temperature is too high the first point, the first darkened over time, because it is just live with. I use solder paste, although some people say this there will be some things that the conductance, but I think it is very good use, especially when welding trailer that small pile left over from soldering, I sometimes have to deal with this stuff, I like digging with a pointed tip, like ears and little by little See the left in the chip legs and feet to dig out the solder. of course, sometimes I also use about rosin. I use the washer water is a friend, and now have only a small mouth, and do not know what the ingredients:)
Secondly, I use digital multimeter test equipment is less than 30 yuan, as a relatively low-end of the. because sometimes forget to turn off power during the period, spent the three 9V batteries. I mainly use the multimeter to test voltage, short circuit, light emitting diodes other.
comparison table to engage the general chaos of hardware, I am no exception, my desktop is a desktop, the Eight Immortals, not static pads, welding, extravagant place to Teng A4 white paper. others were forceps pliers, feed boxes, iron, solder wire, board, chip, etc. occupied. because of small components with more, I bought a cell-type material boxes, each small cell chip components are in full bloom, the above model and note the name label package, a large component to the material on the drawer box.
hardware tool around on these.
someone asked me what to use drawing tools, which is nothing to maintain, I have been using is Protel99SE, I learned in college is the DOS version of Protel, the school is not taught, I had read a book is like asking what now feel very good, and then mainly learned to draw schematics, do remember that time automatic control test, all hand-drawn map, I have several people use Protel to print, I feel very alternative. Then learn Protel99 , mainly to see Sketchpad should be right in October 2002, the painting is two-tier board DragonBall VZ, of course, I made reference to someone else's design, layout first, then routing rules. I have heard people say as Protel PowerPCB like Sketchpad Well, there can be such PowerPCB bus routing, automatic push other nice feature, is almost the same time learn Protel PowerPCB I also find the book point of view, but to learn to learn, or feel that Protel easy to use. until now I have not learned PowerPCB, although I would like to. First of all regardless of the schematic drawing or drawing board, have to do something like this package, PowerPCB notion that a bunch of nested set my sleepwalk, includes components such as libraries and packages , corresponding to each package and what a lot of components, going around, I do not know how to start a, Protel is relatively simpler, how do you define a pin lightly, whatever you how to draw a line, there is no network can be painting, can punch and so on. I'm not here to belittle a software difficult to use, may be my way of thinking that has caused such a different feeling of.
some of the functions being described as an introduction techniques .
1. sync. In powerpcb and powerlogic said to be in parallel, protel99se, I feel the same function, that is when changes in some components in the schematic, you can use Design-> Update PCB ... reflect to the PCB, in the out of the dialog box, select the drop-down list Connectivty Net Labels and Ports Global, remove the marquee of the two Classes Generate ... option. Click Preview Changes to preview what, if not What is wrong then Excute, if there are any errors, then follow the prompts to make changes, the most common mistake is not encapsulated.
2. select components. When the PCB in the network table after the import correctly, to the layout, such as access VCC and GND so much capacitance is in the end placed where? of course, is that the module belongs to the capacitor nearby. To make a module of several components are put together, you can first select the module diagram of all components, then use the Tools-> Select PCB Components to one-time option in the PCB in these components, and then they are aligned, placed so that each module can be handled this way, so do not control schematics, one by one to find.
3. file compression. perhaps when you install Protel99SE later, each time you save to the file are large, there are dozens of documents and more time can use the File menu M. Then the drop-down arrow to the left of the Design Utilties .. ., in the dialog box Perform Compact after closing design before the tick, every time you save the file will be relatively small.
4. package library production. Sometimes you use a component package is also in other documents, But you only the files PCB, then use that file in the Design -> Make Library to the PCB can be used to extract all packages to generate a library, so you can use inside the library had.
5. shop copper. When wiring is completed, the shop floors of the circuit board copper is a common operation, generally this is to reduce electromagnetic interference. do not know if you use copper PlacePolygonPlane or PlaceSpiltPlane shop? I like this operation: In Design -> Rules ... dialog, there is a rule set the Rules tab, select the Rule Classes marquee in Clerarance Constraint, point Add .., pop Clearnce Rule dialog box, in the corresponding drop-down list Rules Scope Select the Object Kind, then the following will appear next to many items to your marquee, before the Polygons tick, and then in the right Ruls Attributes fill the size you want, I generally set to 0.6mm. point OK is set up, back to PCB, and then point PlacePolygonPlane shortcut button in the periphery of the PCB board draw a circle, so you can easily shop for a copper.
6. so long. On the other long, nor can a few words explain, I find their own way out, do not know someone is not doing so. FromTo first edit the network to form a class, then the rules set in the high-speed routing rules, the provisions of this class to add and set . Thus, when the wiring is completed, you can use the Tools-> Equalize Net Lengths for so long examination, and set the value of the difference if too large, then they would change the corresponding FromTo network, in fact, hunting is to make wiring easier to do so long some. Of course, such as DRC checks can also be a long examination.
7. diameter, and width. I set the aperture is a through-hole (0.4mm, 0.2mm), the minimum line width is 0.127mm. Do not ask me the system MILL and a control board fees which and how many, do not ask me where solder BGA :-)
said the bar on the Protel temporarily, some of the other books and can refer to the forums to ask other people, I hope my Protel experience not to mislead others :-)
debug board, when not all components prior to welding, welding power supply module I generally go first, check the voltage is normal, so that when the voltage does not damage the components. I do not have adjustable power supply, for insurance purposes,cheap UGG boots, I bought a +5 V (2A) output switching power supply, like transformers, 25. the streets of the ordinary kind of transformer Although marked 5V output or other criteria, but generally do not use this kinds of things, you can test with a multimeter, Analog voltage can be clearly reflect the changes, the general first than 5V, the poor will reach 15V, and then slowly back down to 5V or other, I'd burnt a programming In principle, if the device :-(
normal power supply module, followed by debugging CPU is normal. then more welding things, including the reset circuit, and the components around the CPU, crystal oscillator, JTAG, lights, etc. But because I do not have the emulator, so I soldered something more, must take the serial port such as Flash and SDRAM, and also welded up, and then double-check there is no short-circuit and Weld, the use of the programming provided mizi procedures written into the vivi , and then connect the power and prayed to God ... If there is no output, first check the voltage is normal, and then check the SDRAM have to weld, and then not to check the Flash, and then not have the patience and courage ... This , and hey ... you do not have a good hand, a few board? A good one, welding, and then pray to God ... I was lucky the first edition of the design is also more considered unlucky, five boards God gave me a chance: ), other board I did not toss for a long time to find out why. So I made a lot of determination to do the second edition, the results almost every block of the basic system board are functioning properly.
welding components must pay attention in accordance with the schematic design your own welding, do not take it for granted, for some reason, even experienced engineers will always be there no welding in accordance with the schematic, but is only when it is in the debug control schematic to make changes, and tags. When vivi to come out, but sometimes can not start linux, my experience is that power is not stable enough.
There is also someone asked me mizi What is this? actually mizi out a CD, which contains specific samsung s3c2410 Well, the chip migration of linux kernel source code, compilers and programming contains tools, and a QT graphical interface system, etc., and the use of detailed documentation, these things are developed in three weeks that the board made out of SMDK Of course, this board which contains the schematic, I was designed by a schematic diagram, there are many of them are written in Korean, I do not understand, I just look at that document in English.
no JTAG emulator how to do? mizi have introduced, I was introduced by that which made the JTAG JTAG cable schematic. use it mainly for programming vivi. I have not tried a single-step debugging. I programming The vivi is mizi has been compiled, linux kernel is compiled. file system I own, this being inconvenient to tell, as long as linux can be up, the board should have little problem out.
s3c2410 use uclinux you? nononononono!!! mizi in the piece with a special chip for the linux kernel source code, 2410 is of a MMU (memory management unit) of the microprocessor, it uses the standard linux and linux should be more similar to some of However, the difference is more distant and uclinux.
on the use of vivi download zImage: I use minicom under linux the xmodem protocol to download is always successful, open the file on the error, but in window2000 use HyperTerminal to download to normal, I dont know why.
2410 the process of doing these things basically right. Some friends say there is nothing to do future development board, a board in accordance with the cost of the hardware figure it, it will only 400-600 yuan, and now so many people in China do, people of a lower price, you will earn anything? memory suddenly you look up now, and not as to the fried fried chips. I smiled and said: I am not a businessman, not a business family background, do this thing because there are things I love. My dad grew like electronics, I also like the electronic stuff from childhood, I think he is my hope that I can be successful in the electronic design. I was a kid growing up in rural areas, money those who have no place to buy electronic components, home several times he told me about his cooking tools to take the child with interesting radio, but he was always sorry I did not read many books, now I'm sure the conditions much better than before I do not want to let my ideals of my generation to realize. While I was automatic control of a professional, but my knowledge of hardware design is the work of their own free time after school, I did not see their energy levels how high, do not want to compare what I set itself a goal, try to try to achieve, and then setting a goal, the ultimate goal is what I know now, I'm under the next one or two were still relatively clear, there are certain projects. whether I had worked for which company will have plans to write weekly or even daily, and some people think that it is a symbol of bureaucracy, or is of no use, although I also afraid to write those things, but for a company that is absolutely necessary, not a plan, the project out of control. comes to planning, in fact, almost everyone has a little thinking, as a technology developer, they want to have to be in a development, I write down goals and plans that is necessary at any time to compare with the current situation, would not be passing the time quietly, and I do Pearl of the board from the beginning to progress according to their capacity to develop plans, and then try to perform in accordance with this plan, so I always know what to do next. I started graduate school more than two years after the hardware design, has some friends told me that the hardware to the three school four years time, you or forget it, then I do not know too afraid to so much time, in fact, I would now like to say this is wrong, what you learn is to learn the extent be considered? What is the standard ? I see a disabled person more than 30 years old began to learn microcontroller, I also admire very much doubt that I do not know how he learned, but KFC is the old man after the age of 60 to establish the fact that the real , and after work every day in your place. Maybe we watched too many young, successful people, when there is a move that is different from the examples of ordinary people, the only suspect in the end he is not cut. I think as long as their own objectives and realistic implementation plan and have the patience to go, most things can be done, of course, no one will target may not share the enthusiasm of patience. now I just tune it through a 2410, perhaps I am not qualified to say so, the exchange Well, when I was nothing more casual, I hope for your help, I hope you will talk about their own stories.
design articles
my pursuit of the perfect life, also the pursuit of perfect design.
As a developer, you have the impression that the development board it just stayed in the homes of a group of laboratory board? pick-up is always chaotic The first article The first had to do a little bench experience ah, ha ha .. yes, that was my first piece design ARM9 board, using a Samsung S3C2410x, is part of a panel of commissioning me to continue through to the confidence, and now The piece is the third edition, is a step by step since then developed to the.
(hope I do not know when it becomes the pursuit of perfection, but I see a university like the name Some describe the biography of a very deep impression. It is about the Apple Computer founder Steven Jobs's biography, one of the local board, said Wozi designed not only is able to work on the line, and the design of each circuit line is very neat Even pulled out from the chassis, the look is very beautiful, it is simply a work of art, so I have been carving their ability to dream of such a board.)
fact, beginning from the first edition, I to consider how the design can be beautiful with some, but not because of some parts of the principle, can only I think every day how to design in order to operation, and convenient interface (personal view). because the function module with a lot of 2410, so the board to maximize the functionality and performance out of it, such as USB Host, USB Slave, AD converter, LCD controller, SD card, real-time clock, SPI controller, three serial ports, audio playback and so on. in the extended interface, in view of the second edition of a compact extension socket with the inconvenience, third on the selection of a 2.0mm pitch pin-type interface. Like some of the more common function interface (such as Serial1,UGG boots, USB Host / Slave, Ethe ...

No comments:

Post a Comment