X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FRISC-V_RV32M1_Vega_GCC_Eclipse%2Fcommon%2Frv32m1_sdk_riscv%2Fboard%2Freadme.txt;fp=FreeRTOS%2FDemo%2FRISC-V_RV32M1_Vega_GCC_Eclipse%2Fcommon%2Frv32m1_sdk_riscv%2Fboard%2Freadme.txt;h=391b4a94762888ffc8fd339a50638f5d8df4024c;hb=9899eb7efcaea06939f55bbe46e57d180181d7bd;hp=0000000000000000000000000000000000000000;hpb=f7fa3e0bc24519d2605efe81d16ece1fbeb5e286;p=freertos diff --git a/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/readme.txt b/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/readme.txt new file mode 100644 index 000000000..391b4a947 --- /dev/null +++ b/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/readme.txt @@ -0,0 +1,48 @@ +Overview +======== +The Hello World demo application provides a sanity check for the new SDK build environments and board bring up. The Hello +World demo prints the "Hello World" string to the terminal using the SDK UART drivers. The purpose of this demo is to +show how to use the UART, and to provide a simple project for debugging and further development. + +Toolchain supported +=================== +- GCC RISC-V Embedded 7.1.1 +- RISC-V Eclipse IDE 4.7.2 + +Hardware requirements +===================== +- Mini/micro USB cable +- RV32M1-VEGA board +- Personal Computer + +Board settings +============== +No special settings are required. +If download M0+ core project, need to let MCU boot from M0+ core, please follow below steps: +1. Download blhost.exe from www.nxp.com/kboot. +2. Connect J8 on board to PC using USB cable. +3. After PC recognize the USB HID device, go to blhost.exe folder, open command line. +4. Run command "blhost.exe -u -- flash-erase-all-unsecure", it will erase the flash on chip. +5. Run command "blhost.exe -u -- flash-program-once 0x84 4 ffffffbf", set FOPT3 to boot from M0+ core. + +Prepare the Demo +================ +1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board. +2. Open a serial terminal with the following settings: + - 115200 baud rate + - 8 data bits + - No parity + - One stop bit + - No flow control +3. Download the program to the target board. +4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo. + +Running the demo +================ +The log below shows the output of the hello world demo in the terminal window: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hello world. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Customization options +===================== +