Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hands-on Session 1 Boot Linux Connect to Linux via USB-to-UART and Putty Compile and run a simple program.

Similar presentations


Presentation on theme: "Hands-on Session 1 Boot Linux Connect to Linux via USB-to-UART and Putty Compile and run a simple program."— Presentation transcript:

1 Hands-on Session 1 Boot Linux Connect to Linux via USB-to-UART and Putty Compile and run a simple program

2 Exercise 7: Talking to Linux on the DE1-SoC 2 Compile and execute the “Hello World” program #include int main(void){ printf("Hello World!\n"); return 0; }

3 Step 1: Power Off the DE1-SoC 3

4 Step 2: Set MSEL to `b01010 on the DE1-SoC 4 Enables ARM to be able to configure the FPGA

5 Step 3: Insert Linux SD Card 5

6 Step 4: Power On the DE1-SoC 6

7 Step 5: Ensure the UART-to-USB is Connected to the Host Computer 7

8 Step 6: Check Device Manager for COM Port Settings 8

9 Step 7: Open Putty 9

10 Step 8: Select ‘Serial’ Connection Type 10

11 Step 9: Enter COM Port Name in ‘Serial line’ Box 11

12 Step 10: Enter Serial Port Settings as shown 12

13 Step 11: Save Session for Later Use 13

14 Step 12: Open Connection 14

15 Step 13: In Putty: Change to the Example Directory 15

16 Step 14: Compile the Sample Program 16

17 Step 15: Execute the Sample Program 17

18 Step 16: See the Output 18


Download ppt "Hands-on Session 1 Boot Linux Connect to Linux via USB-to-UART and Putty Compile and run a simple program."

Similar presentations


Ads by Google