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

Energy Micro µC Problem: SWD communication failure

Hi,

I have a problem with an Enery Micro µC EFM32G200F64 and uVision V4.14.4.0:
1st error: SWD communication failure
2nd error: Error: Flash Download failed - ...
I have tested the following:
- The ulink2 works fine with an other harware via JTAG.
- The target hardware with the EFM32G200F64 works fine with an other link device and an other development system too.
The ulink2 doesn't work with the EFM32G200F64 target hardware.
It is a standard 20 pin JTAG connector used on the target hardware and the ulink2 also.
I have tested several settings in the project options - debug - ulink cortex debugger - settings menu, but nothing help:
Debug:
- ulink serial number is shown
- SWJ not marked Port: SW
- Max. Clock 1MHz
- Connect: Under reset
- Reset: Autodetect
- Reset after connect is marked
Trace: - off
Flash Download:
- Erase full chip
- Program, Verify, Reset and run all marked
- Ram for Algorithm: 0x20000000 0x0800
- Programming algorithm: EFM32G / on chip flash / 128k ...

Can anybody help?

ipc

  • Hi,

    I've solved the problem. It is necessary to make a power cycle after each change in the settings. My actual settings are:

    -> project - options - debug - ulink cortex debugger - settings menu:
    Debug:
    - ulink serial number is shown
    - SWJ not marked Port: SW
    - Max. Clock 1MHz
    - Connect: normal
    - Reset: Autodetect
    - Reset after connect is marked
    - Cache Options both marked
    - Download Options both not marked
    Trace: - off
    Flash Download:
    - Erase Sectors
    - Program, Verify, Reset and run all marked
    - Ram for Algorithm: 0x20000000 0x0800
    - Programming algorithm: EFM32G / on chip flash / 128k ...

    ipc