
47 RSB-4210 User Manual
Chapter 3 Software Functionality
3. After the bootloader is programmed on SD card, press "POWER" key to power
up the board. The bootloader prompt is displayed on the terminal screen.
Figure 3.6 HyperTerminal Settings for Terminal Setup
3.8 Linux Software Applications on RSB-4210
This section will guide you to develop your own application under Linux. Firstly an
example "Hello World" will be shown, and some of the pre-installed applications on
RSB-4210 platform will be introduced in detail then.
3.8.1 Writing Your Own "Hello World!" program on RSB-4210
This section will guide you how to write the sample program "Hello World". Follow
these steps:
1. Open "Terminal" utility
2. Type #sudo su (Change to "root" authority)
3. Type user password.
4. Type #cd Desktop/RSB-4210_BSP/scripts/
5. Type #. setenv.sh (To configure the developing environment automatically)
6. Type #cd /home/user/Desktop
7. Type #mkdir helloworld (Create your own work directory on the Desktop)
8. Type #cd helloworld (Enter the work directory)
9. Type # gedit helloworld.c (Create a new C source file)
10. Edit the helloworld.c with the following source code:
#include <stdio.h>
void main()
{
printf("Hello World!\n");
}
Kommentare zu diesen Handbüchern