You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The S32K EVB boards include an OpenSDA debugger that exposes a USB mass storage interface for easy programming. Simply copy the `.srec` file to the mounted USB drive.
2932
+
2933
+
**Steps:**
2934
+
2935
+
1. Connect the S32K EVB board via USB (OpenSDA port)
2936
+
2. The board will mount as a USB drive (e.g., `S32K142EVB`)
2937
+
3. Build the factory image:
2927
2938
2928
-
When debugging with GDB:
2929
2939
```sh
2930
-
arm-none-eabi-gdb
2931
-
target remote :7224
2932
-
add-symbol-file wolfboot.elf 0x0
2933
-
add-symbol-file test-app/image.elf 0xC100
2934
-
set mem inaccessible-by-default off
2935
-
monitor reset halt
2936
-
b main
2937
-
c
2940
+
make factory.srec
2938
2941
```
2939
2942
2940
-
For UART debug output, connect a USB-to-serial adapter to LPUART1 pins (PTC6=RX, PTC7=TX) and open a terminal at 115200 baud.
2943
+
4. Copy the `.srec` file to the mounted drive:
2944
+
2945
+
```sh
2946
+
cp factory.srec /media/<user>/S32K142EVB/
2947
+
```
2948
+
2949
+
The board will automatically program the flash and reset.
2950
+
2951
+
### NXP S32K1XX: Test Application
2952
+
2953
+
The S32K1xx test application (`test-app/app_s32k1xx.c`) provides a feature-rich demo application for testing wolfBoot functionality.
2954
+
2955
+
**Features:**
2956
+
-**LED Indicators**: Green LED for firmware v1, Blue LED for firmware v2+
0 commit comments