Skip to content

Commit

Permalink
cortexm: Log part ID details before probe
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer committed Aug 6, 2024
1 parent 7885b89 commit b98097c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/target/cortexm.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,8 @@ bool cortexm_probe(adiv5_access_port_s *ap)
if (conn_reset)
target_mem32_write32(target, CORTEXM_DEMCR, 0);

DEBUG_TARGET("%s: Examining Part ID 0x%04x, AP Part ID: 0x%04x\n", __func__, target->part_id, ap->partno);

switch (target->designer_code) {
case JEP106_MANUFACTURER_FREESCALE:
PROBE(imxrt_probe);
Expand Down

0 comments on commit b98097c

Please sign in to comment.