Skip to content

Conversation

DineshArasu-Microchip
Copy link

This PR adds support for the Microchip WBZ451/WBZ351/PIC32WM device in OpenOCD, including a new flash driver and target configuration file.

Features
Added wbz451.c/wbz351.c/pic32wm.c OpenOCD flash driver.
Added target/wbz451.cfg/wbz351.cfg/pic32wm.cfg for target initialization.
Implemented row-based flash programming using NVMCON.
Added page erase commands.
Added multi-bank flash handling support.

Testing
Verified flashing .bin, .hex, and .elf files.
Tested with WBZ451 Curiosity board.
Compared results with MPLAB IPE programming.
Successfully debugged using GDB.

@DineshArasu-Microchip DineshArasu-Microchip changed the title flash: wbz451/wbz351/pic32wm: Add custom OpenOCD flash driver and docs flash: wbz451, wbz351 and pic32wm: Add custom OpenOCD flash driver and docs Aug 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant