-
Notifications
You must be signed in to change notification settings - Fork 528
Description
Description
We need to integrate support for the NXP FRDM-KW38A4 evaluation board and its corresponding MKW38A4 microcontroller into pyOCD. This will allow users to debug, program, and interact with this specific NXP device using pyOCD.
Justification
The FRDM-KW38A4 is a popular board utilizing the MKW38A4 MCU, and adding dedicated support ensures pyOCD remains compatible with a wider range of NXP development hardware, enhancing its utility for developers working with wireless connectivity solutions.
Implementation Details (Expected Changes)
The implementation should involve the following steps and asset integration:
SVD File Integration: Obtain and integrate the correct SVD file for the MKW38A4 device. (Source: NXP SDK_2_6_15_FRDM-KW38)
Flash Algorithm: Generate or source a compatible flash algorithm (e.g., based on KW38x_P256_2KB_SEC.FLM) to enable reliable programming of the device's internal flash.
Target Class Implementation: Implement a new dedicated target class (e.g., KW38A4) inheriting from the appropriate base class.
Target Registration: Register the new target class in the pyocd/target/init.py file to enable automatic target detection via the board ID.
Related Resources
Source SDK: NXP SDK_2_6_15_FRDM-KW38
Implemented by #1859