From 0dcc7dbec84a7516155269bc31e7203f512900a5 Mon Sep 17 00:00:00 2001 From: Devan Lai Date: Thu, 9 Dec 2021 22:26:06 -0800 Subject: [PATCH] Update MCUXpresso instructions (#15) Fix #15 by updating MCUXpresso probetable.csv instructions. Thanks @Doumanix --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dfdf404..1d2aa03 100644 --- a/README.md +++ b/README.md @@ -44,11 +44,15 @@ In general, the probe can be used with OpenOCD just by specifying the cmsis-dap Example OpenOCD configurations can be found under the [openocd/](openocd/) folder. -### LPCXpresso -As of LPCXpresso 8.0.0, the default probe detection rules will not auto-discover generic CMSIS-DAP probes. -To use the dap42 probe with LPCXpresso, you can modify the detection rules by editing `lpcxpresso/bin/Scripts/probetable.csv` in your LPCXpresso installation. +### MCUXpresso +The default probe detection rules used by MCUXpresso (formerly LPCXpresso) will not auto-discover generic CMSIS-DAP probes. +To use the dap42 probe with MCUXpresso, you can modify the detection rules by editing `probetable.csv` in your MCUXpresso installation. -Add the following line to `probetable.csv`: +For MCUXpresso version 11.4 or newer, edit `probetable.csv` under `ide/plugins/com.mcuxpresso.tools.bin.<...>/binaries/Scripts`: + + 0x1209, 0xDA42, 64, 1, 0, 0, 0, "", 0x0000, -1, -1 + +In older versions, the CSV format has one fewer entry at the end: 0x1209, 0xDA42, 64, 1, 0, 0, 0, "", 0x0000, -1