Target interface type for CrossConnect "CrossStudio 3.5"

Comments

7 comments

  • Avatar
    Michael Johnson

    It's a project property "Target Interface Type"

    0
    Comment actions Permalink
  • Avatar
    Shersey

    I am experiencing a similar issue, except that I've added the arm_target_interface_type="SWD" property to my project configuration, and I still get "cannot set debug register" from Crossstudio and Crossload 3.5.

    I've attached a project file below.

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    For an STM32 you can try setting the project property "Connect With Reset" to "Yes" - note that this requires the NSRST pin to be wired to the debug header. Alternatively if you have an option of forcing the chip into a bootloader mode this can be used. For development we recommend not setting STARTUP_FROM_RESET so the device is always in a known state after reset.

    0
    Comment actions Permalink
  • Avatar
    Shersey

    Hmmm, that didn't change anything. I still get the same error, even if I set a 100 KHz debug clock rate. Other thoughts?

    0
    Comment actions Permalink
  • Avatar
    Shersey

    BTW, this is all under Ubuntu 14.04, 64-bit OS. I haven't tried under Windows yet to isolate OS-dependency. Is there a driver update required?

    0
    Comment actions Permalink
  • Avatar
    Shersey

    Behavior is identical under Windows 7 (with CrossStiudio 3.3).

    0
    Comment actions Permalink
  • Avatar
    Shersey

    After much fiddling with target options, I've managed to convince the JTAG pod to connect to the target under reset. I think the fire is out.

    0
    Comment actions Permalink

Please sign in to leave a comment.