njsyw1997 / avh_example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo is trying to use the files from ethos-u-platform to setup a test framework like CMSIS-NN test on FVP_Corstone_SSE-300.

Compiler

arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi

Compile

bash cmake_build.sh

Overview

arm-none-eabi-gcc.cmake the toolchain copied from ethos-u-core-platform/cmake/toolchain/arm-none-eabi-gcc.cmake
nn_test is the test setup copied from CMSIS-NN tests.
ethos_test is the test setup copied from ethos-u-core-platform/targets/corstone-300 and ethos-u-core-platform/drivers/uart/

Run

/path/to/FVP_Corstone_SSE-300/models/Linux64_GCC-9.3/FVP_Corstone_SSE-300_Ethos-U55 -C mps3_board.visualisation.disable-visualisation=1 -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file="-" -C mps3_board.uart0.unbuffered_output=1  -a /path/to/repo/build/src/main_ethos

/path/to/FVP_Corstone_SSE-300/models/Linux64_GCC-9.3/FVP_Corstone_SSE-300_Ethos-U55 -C mps3_board.visualisation.disable-visualisation=1 -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file="-" -C mps3_board.uart0.unbuffered_output=1  -a /path/to/repo/build/src/main_nn

Problems

  1. Ethos test cannot print "Hello World" on the terminal. alt text alt text
  2. Uncomment line 14 in src/main.c, ethos test cannot print "Hello world", but print 'a' correctly. While nn test print 'Hello World', 'a' and an extra 'a'. alt text alt text
  3. Uncomment line 15 in src/main.c, both tests print correctly. alt text alt text

About


Languages

Language:C 78.3%Language:CMake 21.2%Language:Shell 0.5%