EXAMPLE: S32k144 UART printf/scanf under FreeRTOS - S32DS

File uploaded by Jiri Kral Employee on Sep 8, 2017Last modified by Jiri Kral Employee on Mar 19, 2018
Version 4Show Document
  • View in full screen mode

Application based on FreeRTOS S32DS example performs prinf/scanf functionality
in FreeRTOS. Application runs in two modes - standard run-time mode with two tasks
maintained by scheduler and command mode implementing basic memory monitor.
Application was tested with putty terminal (http://www.putty.org/).


Putty serial terminal settings: 115200 8N1, no HW control.


In run-time mode is green LED blinking and on terminal are shown task
counter values.


To enter into COMMAND MODE - press button (next to LED diode). LED light
switches to red and you can enter commands.


Available commands:


F show free heap memory
A set memory address
V print value on address
M set address to main()
P previous mem page
N next mem page
? help
X Exit from command mode


Putty configuration:



Terminal output: