iso14229 0.9.0
ISO14229-1 (UDS) C Library
Loading...
Searching...
No Matches
NXP S32K144 Server Example

UDS server example for NXP S32K144 microcontroller.

Overview

This example demonstrates a UDS server running on the NXP S32K144 evaluation board.

Files

See the source files in the examples/s32k144_server/ directory.

Hardware

This demo uses the S32K144-EVB

Building

This uses gcc-arm-none-eabi, make sure it's installed first.

sudo apt install gcc-arm-none-eabi
bazel build --config=s32k //examples/s32k144:main

CMSIS-DAP

  1. update programming interface from "OpenSDA" to CMSIS-DAP 1 2
  2. install pyocd
  3. pyocd pack install S32K144UAxxxLLx
  4. update /etc/udev/rules.d/50-cmsis-dap.rules with the following:
# c251:f002 S32K144-EVB
SUBSYSTEM=="usb", ATTR{idVendor}=="c251", ATTR{idProduct}=="f002", MODE:="666"
pyocd gdbserver --persist -Otarget_override=S32K144UAxxxLLx

Physical Setup

  • The S32K144-EVB needs an external 12V supply to power the CAN transciever