ARM development board development steps and method of debugging

1, do a minimum system board: if you have never done ARM development, I suggest you do not start a Tandaqiuquan, all applications are made, because ARM start-up mode and DSP or chip is different, often can encounter all sorts of problems, so it is recommended that the first cloth is only one Flash, SRAM or SDRAM, CPU, JTAG, and a reset signal to the system board, set aside the expansion interface. The smallest of the system can be running, your task is half done, but ARM peripheral interface is the basic standard interface, if you have the hardware wiring through the test, this is for you is a very easy thing.

2, write, according to the hardware address to write an able to start a small code, include the following:Initialize port, interrupt, the program copy to SRAM; complete code of remapping the interrupt handler; configuration, connect to the C language entrance. Maybe you see give you some sample programs, bootloader will have a lot of things, but don't be troubled by these complex procedures, because you are not doing the development board, your task is to do a small program, your application will run.

In 3, a careful study of your use of the chip data, while the ARM kernel compatible, but each chip has its own characteristics, the preparation process must consider these issues. Especially the girls, here don't have a psychological dependence, always want to take someone else's sample program modification, but more change more chaos.

4, look at a number of operating system programming, ARM in the application of open source code of the program, want to enhance oneself, must look at others procedure, Linux, UC / os-II and these are a very good source.

5, if you are to make hardware, each manufacturer basically have the chip of the DEMO board schematics. Firstly the principle of digestion. So you do after the design of the allocation of resources, know the score. Device DATSHEET must have a good digestion.

6, if you are to make hardware, each manufacturer basically have the chip of the DEMO board schematics. The first principle of digestion. So you do after the design of the allocation of resources, know the score. Device DATSHEET must digest.

7, if the software to do the best on the operating system to understand the mechanism of. Of course, the software engineer is a piece of cake. But if it is a hardware was a bit strenuous.