Some time ago, bare metal was used on the Keil platform. Keil was not born to support both arm11 and arm11 products. It was not very easy to use, but it was still switched back to ads. The Platform should not be an obstacle that binds us. It should be our tool. It should be used when we pick it up!
This blog does not teach you to start learning ads from scratch, but is just a record of my experiment, which is convenient for you and your future reference. How to install, open software, build projects, files, and so on is not within the scope of this blog record. This article mainly records some environment configurations in analyticdb 2440 (mainly debugrel settings ).
First, open the debugrel settings drop-down in the edit tab. The procedure is as follows:
1. On the target settings tab, select arm fromelf for post-linker.
2. on the arm C compiler tab, choose ARM920T for architecture or processor.
3. find the arm linker tab, and change R0 base to 0x30000000 (that is, the initial address of SDRAM). In the equivalent command line box, change-ro-base 0x30000000-first 2440init. O (init ).
4. Find the arm fromelf tab and enter the binfile to be generated in the output file name.
OK, record here ~ Originally, but csdn said, "Sorry, because the blog image review function has not yet been completed, ordinary users temporarily disable the function of referencing out-of-site images. Please forgive me and we will make it available as soon as possible ", fortunately, the tabs and boxes are not difficult to find ~ Hey, exercise, and then eat protein powder!