cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32h747 cm4 jtag debug problem with iar & ijet

soulshine
Associate II

Hello I'm working on stm32h747 dualcore with iar & ijet with mipi-10 connector.

I have a problem in CM4 jtag debug 

 

When I try to debug the CM7 project. It always works fine. Jtag and SWD all works.

And if i try to debug the CM4 with SWD method, it works fine too.

But, if I try to debug CM4 project, error comes out.

 

Success settings are:

 - Cm7/Swd/auto

 - Cm7/jtag/explict tap id=0,core no=0

 - Cm4/Swd auto

Failed setting is :

 - Cm4/jtag/explicit tap id=0,core no=1

 

When i try to debug cm4 with failed setting, Debug log said that cm7 at port 0, cm4 is at port3, but try to attach port1. and debug stopped with error.

I think, if i change cm4 dap port number port 0 to port 3, I could debug cm4.

 

Any advise?

 

1 REPLY 1
Andrew Neil
Super User

@soulshine wrote:

 iar & ijet


Specifically IAR tools, then?

https://www.iar.com/embedded-development-tools/iar-debug-probes

So have you asked IAR about this?

https://www.iar.com/support

 

Does it work with other tools - ST? Segger?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.