Open main menu

DAVE Developer's Wiki β

Changes

BELK-TN-007: FreeRTOS on single-core Bora Lite SoM

839 bytes added, 11:58, 5 February 2020
Running the application
==Running the application==
There are several ways to run the application on the target. For instance, a JTAG debugging tool can be used. The following <pre classsyntaxhighlight lang="makefile" line="board-terminalline">Hello from Freertos example main SYStem.CPU ZYNQ-7000CORE0 ; This selects the DAP for accessing the ARM cores ; (accessing the TAP of the FPGA logic requires different settings) SYStem.CONFIG DAPIRPRE 6. SYStem.CONFIG DAPIRPOST 0. SYStem.CONFIG DAPDRPRE 1. SYStem.CONFIG DAPDRPOST 0. TRONCHIP.SET UNDEF OFF TRONCHIP.SET DABORT OFF TRONCHIP.SET PABORT OFF SYStem.Option DACR ON SYStem.OPTION MMU ON SYStem.OPTION MMUSPACES OFF ; linux is not started yet! ;enddo ; run bootrom and FSBL to init the whole system ;SYStem.UP ; go is disabled because reset is not connected and UP act like a attach ;go system.mode attach  break break.delete /all TASK.CONFIG ~~/demo/arm/kernel/freertos/freertos.t32 ; load FreeRTOS awareness MENU.ReProgram ~~/demo/arm/kernel/freertos/freertos.men ; load FreeRTOS menu Rx task received string from Tx task data.load.elf r: Hello World\home\dvdk\devel\boralite\workspace-2019.1\freertos_hello_world\Debug\freertos_hello_world.elfRx task received string from Tx task: Hello WorldRx task received string from Tx task: Hello World b.s main Rx task received string from Tx task: Hello World goRx task received string from Tx task: Hello World enddoRx task received string from Tx task: Hello World</presyntaxhighlight[[File:BoraLite-FreeRTOS9.png|thumb|center|600px|caption]]
4,650
edits