Mini2440 bare metal Program-UART

Source: Internet
Author: User

 

1. Preparations

    • Jlink is connected to the Development Board. The driver has been installed.
    • Keil MDK 4.0 installation is complete.

2. Create a project

    • Select the device Samsung/s3c2440a for the project
    • There is a dialog box asking if you want to copy the default startupCodeSelect "no" in the project. (Other information on the internet says that the MDK has a problem with the startup code of the 2440 built-in routine. Therefore, we use our own startup code)
    • Add the source file init. s, led. c
    • Copy ext_ram from \ Keil \ Arm \ boards \ Samsung \ S3C2440 \ rtx_blinky to the folder of your project and modify load OBJ \ Blinky. blinky in axf incremental. the name of the project created by axf for you, for exampleProgramIn, my name is mini2440_uart.

3. Set the project

    • Target page settings (three addresses need to be written to the correct number of digits)

    • Select our own link script on the linker page, or use the default options.

L The debug page is set as follows:

L click the debug button to start debugging !!!!!!!!!!

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.