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

CMSIS-DAP on KL25Z

Note: This was originally posted on 1st March 2013 at http://forums.arm.com

I'm following instructions on http://www.keil.com/appnotes/files/apnt_232.pdf to update firmware on KL25Z to enable CMSIS-DAP, but failed.

The first 6 steps were exactly the same as described. My in step 7, after connected to PC, the green LED just keeps flashig each second, rather than blink once and then stay on. Checking content on the flash the CMSIS-DAP.S19 was just gone.

Did anyone encountered same problem as me? What happenned and how to make it work?

Thanks - Joey
  • Note: This was originally posted on 2nd March 2013 at http://forums.arm.com

    Hello

    I am the author of the document you are using.  I have begun to update it for MDK 4.70.  Is this the version you are using ?

    The other day I plugged my Freedom board in for the first time in a few months and noticed no LED stayed on but I was still able to load and run a program.  The original [size=2]CMSIS-DAP.[/size]S19 file was still loaded in the Freedom K20 processor.  It has stayed in there all this time.

    Make sure when you cycle the board power after loading the S19 file into the Flash that you do not hold the RESET button down.  This removes the S19 file.

    I will look into this on Monday.  One of the other guys at the office is working through this lab and I will find out how he made out.

    On another note:  the DSP example does not work correctly.  The four variables in the Watch window do not update as they should.  We believe we have a fix for this and are validating it.

    Thanks

    Bob Boys
  • Note: This was originally posted on 4th March 2013 at http://forums.arm.com


    Make sure when you cycle the board power after loading the S19 file into the Flash that you do not hold the RESET button down.  This removes the S19 file.

    I did NOT hold or press RESET when I disconnect and reconnect USB cable after S19 is copied. My suspicious is SW1 is broken so that it is always down, does it sound a reasonable guess?
  • Note: This was originally posted on 4th March 2013 at http://forums.arm.com


    I did NOT hold or press RESET when I disconnect and reconnect USB cable after S19 is copied. My suspicious is SW1 is broken so that it is always down, does it sound a reasonable guess?


    Is the OpenSDA CMSIS-DAP available in the Configuration Dialog as shown here:
    http://www.keil.com/support/man/docs/dapdebug/dapdebug_drvsel_adapter.htm
  • Note: This was originally posted on 5th March 2013 at http://forums.arm.com

    Hello

    I tried this today.  I had no problem programming  CMSIS-DAP.S19 into the Freedom board as described.  I used the file from here:  from C:\Keil\ARM\Boards\Freescale\FRDM-KL25Z.
    I used MDK 4.70.

    The only difference from before is:  after cycling the power to the board the green led blinked once for about 1/4 second and went out.

    When I entered Debug mode in uVision (with CMSIS-DAP selected) this led came on until I left Debug mode.
    I will modify the lab with this new information when the DSP fix is confirmed. (will be soon)

    Suspecting a defective Freedom board makes some sense here.

    Thanks

    Bob
  • Note: This was originally posted on 11th March 2013 at http://forums.arm.com

    Hello

    MBED.org now works with the Freedom board and CMSIS-DAP:

    https://mbed.org/handbook/mbed-FRDM-KL25Z-Getting-Started
    [size="3"]
    Might be worth a try...

    Bob[/size]