This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Infineon XMC 1200, RTX_Blinky project, "Cannot access target"

Hi,

I used the Keil/Arm/Boards/Infineon/XMC1200 Boot Kit/RTX_Blinky project to validate whether my xmc1200 boot kit is ok.

Building it for Flash (XMC1200 Flash) does not give any errors, see here:
*** Note: 'Create Batch File' is active - using 'Rebuild'.
Rebuild target 'XMC1200 Flash'
assembling startup_XMC1200.s...
compiling system_XMC1200.c...
compiling RTX_Conf_CM.c...
compiling LED.c...
compiling Blinky.c...
linking...
Program Size: Code=4120 RO-data=116 RW-data=64 ZI-data=2444
".\Flash\Blinky.axf" - 0 Error(s), 0 Warning(s).

Starting a debug session gives the following error window:
Jlink- Cortex-M error
Cannot access target
Shutting down debug session

Doing the build and the debug session for RAM (XMC1200 RAM) works fine, no such JLink error.

Any idea what could be wrong with the XMC1200 Flash project settings?

Thx

Parents Reply Children
  • Can you see it with J-Link Commander?
    What about the debug configuration pane? Mode SWD or JTAG?
    If you have a project that works, vs one that does not, look more carefully at the debug configuration for both.
    If nothing works, look at the cables, connectors, pull-ups and powering of the device you wish to debug.

  • I had the exact same problem when I was trying to debug with a uVision 4.73 a LCP1114(301). For some reason the exact same settings were working just fine with a LPC1343 and a LCP1788.

    ... then I noticed a checkbox in the Debug tab of the project options "Download to flash".

    I checked that box, fired up the puppy, and I never looked back. It worked!

    why that box wasn't checked, I dunno.