Embedded module TQMa8MPxL - YOCTO Linux BSP documentation


This manual has been tested with Ubuntu 20.04 as host and the Segger J-Link debugger.
  • Open a second terminal
  • Install the following packages on your host sudo apt install libncurses5 cmake
  • Download MCU Espresso SDK from TQ GitHub Repository
  • Change System Variables to Toolchain SDK
export ARMGCC_DIR=${install_dir}/gcc-arm-none-eabi-9-2019-q4-major
export PATH=$PATH:${install_dir}/gcc-arm-none-eabi-9-2019-q4-major/bin
  • Change in your MCU Espresso SDK directoy
cd ${MCU_Espresso_SDK}/boards/tqma8mpxl-mba8mpxl/demo_apps/hello_world/armgcc
  • if necessary make the script build_debug.sh executable
chmod +x build_debug.sh
  • run the script to build the firmware
./build_debug.sh
  • Open UART_3 in your serial console
  • cd ${MCU_Espresso_SDK}/boards/tqma8mxnl-mba8mx/demo_apps/hello_world/armgcc/debug
  • arm-none-eabi-gdb hello_world.elf
  • target remote localhost:2331
  • monitor reset
  • monitor halt
  • load
  • monitor go
  • In your console TQ-Systems GmbH TQMa8MPxL-MBa8MPxL hello world. should be seen
  • Last modified: 2022/09/17 11:42