Freescale Kinetis MKL25Z128 (ARM M0+) issue with Segger JLINK in Keil IDE

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Freescale Kinetis MKL25Z128 (ARM M0+) issue with Segger JLINK in Keil IDE

    Dear users,


    I am a happy JLINK user.
    However lately I tried to use Kinetis MKL25Z128 (ARM M0+) board with a Keil Project.
    I could not find a suitable config in Keil IDE.
    it seems JLINK is detecting the device (following entry in the Keil output LOG file see below)
    However short after, the KEIL IDE trigs a message "No Cortext-M SW device found"
    Same hardware with a Segger but with a Freescale CodeWarrior project is working correctly

    Does another user have tried same config successfully please ?
    Thanks
    Vince

    * JLink Info: Found
    SWD-DP with ID 0x0BC11477



    * JLink Info: Found
    SWD-DP with ID 0x0BC11477



    * JLink Info: FPUnit: 2
    code (BP) slots and 0 literal slots



    * JLink Info: Found
    Cortex-M0 r0p0, Little endian.



    * JLink Info: Kinetis
    L-series (setup): Disabling watchdog.
  • Hi,

    I assume that you are using Keil MDK V4.60, correct?
    There is a known problem in the Keil <-> J-Link interface DLL (initially created by Keil/ARM, we took maintenance over shortly).

    Please refer to segger.com/IDE_Integration_Keil.html#knownproblems
    for more information about how to solve the problem.

    Short feedback if this solves the problem would be appreciated.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hello

    Thanks for the hint, but no successful unfortunately.
    I installed the DLL available from SEGGER Web page in Keil corresponding directory (MDK_JL2CM3_DLL_2_74)

    To check if issue is coming from Hardware I installed 2 IDEs (CW 10.2 from Freescale + KEIL version 4.60)
    Hardware is same in both case a TWR-KL25Z48 from Freescale with a JLINK probe
    Using CW + SEGGER > No issue for flashing Debugging the target
    Using Keil + SEGGER > ERROR > I still have the message "No Cortex-L SW device found"

    I tested also a probe from P&E micro. This one is working with both IDE
    I hope that SEGGER will issue a new patch to fix that issue
    Thanks for you help
    Vince
  • Hi Vince,

    We were able to reproduce the problem here with an old version of the "JL2CM3.dll" (2.73.0.0).
    After replacing the old JL2CM3.dll with the new one from the web (2.74.0.0) the problem is solved and everything works just fine.

    Could you please verify that you are using the latest fixed version of the JL2CM3.dll (2.74.0.0)?


    Best regards
    Erik
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.