Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,23 @@ See the [target support documentation](https://pyocd.io/docs/target_support) for
the MCU(s) you are using have built-in support, and how to install support for additional MCUs via
CMSIS-Packs.

### i.MX95 targets

`mimx95_cm7` and `mimx95_cm7_mx25um` debug the i.MX95 Cortex-M7 while the System Manager keeps running
on the Cortex-M33; `mimx95_cm33` and `mimx95_cm33_mx25um` debug the Cortex-M33 itself. The Cortex-M33 runs the
System Manager: a `mimx95_cm33_mx25um` flash halts it and the Cortex-M7, loads the flash algorithm over System
Manager code and ends with a SoC reset, so Linux reboots; use the cm7 targets to flash without a reboot. Unit tests must not see a probe: `test/unit/test_semihosting.py` opens the first probe
it finds and halts the cores of whatever board is attached, so run the unit tests with every probe user
excluded:

python -m pytest test/unit -q -p no:cacheprovider \
--ignore test/unit/test_semihosting.py --deselect test/unit/test_semihosting.py \
--ignore test/unit/test_debug_sequences.py --deselect test/unit/test_debug_sequences.py \
-k "not semihost"

Before a run, `grep -lE "ConnectHelper|session_with_chosen_probe|DebugProbe" test/unit/*.py` must list
no other file; add any new one to the exclusions.


Using GDB
---------
Expand Down
5 changes: 5 additions & 0 deletions pyocd/target/builtin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from . import target_MIMXRT1062xxxxA
from . import target_MIMXRT1064xxxxA
from . import target_MIMXRT1176xxxxx
from . import target_MIMX95
from . import target_MKE15Z256xxx7
from . import target_MKE17Z256xxx7
from . import target_MKE18F256xxx16
Expand Down Expand Up @@ -209,6 +210,10 @@
'mimxrt1064': target_MIMXRT1064xxxxA.MIMXRT1064xxxxA,
'mimxrt1170_cm7': target_MIMXRT1176xxxxx.MIMXRT1176xxxxx_CM7,
'mimxrt1170_cm4': target_MIMXRT1176xxxxx.MIMXRT1176xxxxx_CM4,
'mimx95_cm7': target_MIMX95.MIMX95_CM7,
'mimx95_cm7_mx25um': target_MIMX95.MIMX95_CM7_MX25UM,
'mimx95_cm33': target_MIMX95.MIMX95_CM33,
'mimx95_cm33_mx25um': target_MIMX95.MIMX95_CM33_MX25UM,
'nrf51': target_nRF51822_xxAA.NRF51,
'nrf51822': target_nRF51822_xxAA.NRF51,
'nrf52': target_nRF52832_xxAA.NRF52832,
Expand Down
Loading
Loading