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 !!!!!!!!!!