]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/readme.txt
391b4a94762888ffc8fd339a50638f5d8df4024c
[freertos] / FreeRTOS / Demo / RISC-V_RV32M1_Vega_GCC_Eclipse / common / rv32m1_sdk_riscv / board / readme.txt
1 Overview
2 ========
3 The Hello World demo application provides a sanity check for the new SDK build environments and board bring up. The Hello
4 World demo prints the "Hello World" string to the terminal using the SDK UART drivers. The purpose of this demo is to
5 show how to use the UART, and to provide a simple project for debugging and further development.
6
7 Toolchain supported
8 ===================
9 - GCC RISC-V Embedded 7.1.1
10 - RISC-V Eclipse IDE 4.7.2
11
12 Hardware requirements
13 =====================
14 - Mini/micro USB cable
15 - RV32M1-VEGA board
16 - Personal Computer
17
18 Board settings
19 ==============
20 No special settings are required.
21 If download M0+ core project, need to let MCU boot from M0+ core, please follow below steps:
22 1. Download blhost.exe from www.nxp.com/kboot.
23 2. Connect J8 on board to PC using USB cable.
24 3. After PC recognize the USB HID device, go to blhost.exe folder, open command line.
25 4. Run command "blhost.exe -u -- flash-erase-all-unsecure", it will erase the flash on chip.
26 5. Run command "blhost.exe -u -- flash-program-once 0x84 4 ffffffbf", set FOPT3 to boot from M0+ core.
27
28 Prepare the Demo
29 ================
30 1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board. 
31 2.  Open a serial terminal with the following settings:
32     - 115200 baud rate
33     - 8 data bits
34     - No parity
35     - One stop bit
36     - No flow control
37 3.  Download the program to the target board.
38 4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
39
40 Running the demo
41 ================
42 The log below shows the output of the hello world demo in the terminal window:
43 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 hello world.
45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46 Customization options
47 =====================
48