LPC4088 Updating the DAPLink interface

Note

These files/instructions are only valid for the LPC4088 QuickStart Board. For the LPC4088 Display Module see instructions here.

Information

Starting with the 2016-08-22 version of the firmware it is now based on the DAPLink firmware instead of the old CMSIS-DAP.

DAPLink supports MacOS as well as Windows 8, 8.1 and 10. Linux and older Windows versions still work.

DAPLink Interface Firmware Update

The LPC4088 QuickStart Board is fitted with an LPC11U35 MCU running the DAPLink interface firmware to provide three main functions over a single physical USB connection :

  • USB Disk “drag and drop” programming - ideal for fast turn around prototyping, or in-field upgradable products
  • Debug interface using the CMSIS-DAP - Provides full debug capability with tools like Keil MDK
  • USB Serial interface between the host computer and the target

Firmware History

2016-08-22 Download (MD5: a2242217e36ce613f5f230509f343a92)
In sync with the official DAPLink repository as of 2016-08-11

2014-11-24 Download (MD5: 347472c26b996bb4d07f0abcff0f7157)
In sync with the official CMSIS-DAP repository as of 2014-09-04

2014-01-07 Download (MD5: 01241132bd458930948bb56cd54c6206)
Fixes the reported issues with Windows 8.1.

Known Issues

These are the known Issues with the 2014-01-07 firmware:

  • Not possible to download programs to the LPC4088 from a Mac OSX (tested on 10.7.5 and 10.9.1)

2013-10-02 Download (MD5: 6f975c3c7cfaa78d46a6776f9bf60a76)
Comes preloaded on the LPC4088 QuickStart Boards produced in 2013.

Known Issues

These are the known Issues with the 2013-10-02 firmware:

  • Some users have reported problems with Windows 8.1
  • Not possible to download programs to the LPC4088 from a Mac OSX (tested on 10.7.5 and 10.9.1)

Which Firmware Am I Using?

To see which firmware you are using, connect the LPC4088 QuickStart Board to a computer to get the MBED drive and then open the mbed.htm file in an editor e.g. notepad (don't double click the file as it will launch a web browser and that will not help).

The 2013-10-02 firmware have a mbed.htm file that looks like this (the value of the code= will be different):

<!-- mbed Microcontroller Website and Authentication Shortcut -->
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://mbed.org/platforms/EA-LPC4088/?code=..."/>
<title>mbed Website Shortcut</title>
</head>
<body></body

The 2014-01-07 firmware contains these two lines:

<!-- Version: 0200 Build: Jan  7 2014 10:48:51 -->
<!-- Released by Embedded Artists on 2014-01-07 -->

The 2014-11-24 firmware contains this line:

<!-- Version: 0203 Build: Nov 24 2014 14:23:24 Git Commit SHA: fa73641e12c39d2595ca566a3d7b19380ece836c Git local mods:No-->

Starting with the 2016-08-22 firmware the unique parts of the mbed.htm file have been moved to the new DETAILS.TXT file. The information unique in this version:

Interface Version: 0241
Git SHA: 4864068bf12868869d83ae48ccbbffba1602d8c3
Interface CRC: 0xf1b0a32a

Update Procedure

See the location of the RESET pushbutton and the USB interface to use for firmware update in the image below:

/media/uploads/embeddedartists/lpc4088_qsb_start_350.png

Windows (or Linux)

  1. Start by downloading the firmware that you want (links above)
  2. Connect the LPC4088 QuickStart Board to a Windows machine (Linux does not always work - this is a limitation of the LPC11U35 MCU)
  3. Press and hold down the RESET button on the LPC4088 QuickStart Board
  4. Insert the USB cable
  5. Release the RESET button
  6. You should now have a CRP_DISABLD drive (if not unplug and redo steps 2, 3 and 4)
  7. Delete the firmware.bin file from the CRP_DISABLD drive
  8. Copy the binary that you downloaded in step 1 to the CRP_DISABLD drive
  9. Disconnect and then connect the USB cable to get the normal DAPLINK drive

Mac

Upgrade Problems

We strongly recommend using a PC with Windows when updating the CMSIS-DAP firmware if at all possible. If the only computer you have available is a Mac then try the procedure below, but note that the board may become unresponsive. If that happens you will need to download the firmware from a PC with Windows to get it to work again.

  1. Start by downloading the firmware that you want (links above)
  2. Press and hold down the RESET button on the LPC4088 QuickStart Board
  3. Insert the USB cable
  4. Release the RESET button
  5. You should now have a CRP_DISABLD drive (if not unplug and redo steps 2, 3 and 4)
  6. Run the following command in a terminal:
    cp -X if_lpc11u35__target_lpc4088_2014-01-07.bin /Volumes/CRP\ DISABLD/
    (Replace the filename to that of the file you downloaded in step 1)
  7. Disconnect and then connect the USB cable to get the normal DAPLINK drive


16 comments on LPC4088 Updating the DAPLink interface:

04 Feb 2014

Hi, is there a chance of Mac OS X working, or is the issue deeper and can not be resolved by firmware mod?

04 Feb 2014

Hi Andy! The issue is being worked on and I expect it to be solved with a firmware update. I don't know when a fix will be available, but know that this is the top priority right now.

Anders @ Embedded Artists

01 Aug 2014

Dear Anders, we met at Embedded World Nurnberg earlier this year, maybe you remember me. Any news on the improved firmware for Mac OS X ? Your board is one of the smallest in the market and now that mbed.org has official support from ARM and other companies, this board would easily be one of the top contenders due to the integrated SDRAM, LCD, Ethernet, USB and wifi interfaces. I would love to try a miniature OLED 0.96" on this board, on Mac. Best regards,.

19 Sep 2014

How can I use Mac OSX to develop LPC4088 code??

27 Sep 2014

What's going on with OSX for this board? I just purchased one, plugged it in, and ended up here finding it doesn't support OSX.

Considering that this has been an issue since at least 2013-10-02, can we have an update on the status please? This board is a brick for me at the moment.

13 Dec 2014

Hello, does the latest firmware(from 24 Nov) have the mac OSX problems when downloading programs to the LPC4088?

Thank you

19 Jan 2015

Good day, I'd like to use an Embedded Artists LPC11U35 Quickstart board I have as an MBED CMSIS-DAP programmer and debugger. I'd like to build the current firmware for other targets. Could you perhaps help with what is needed and how you went about building this firmware for the LPC4088 board so I can adapt it for my purposes?

Thanks in advance

03 Feb 2015

We are following the progress of the Mac OS X issues with CMSIS-DAP (https://github.com/mbedmicro/CMSIS-DAP/issues/69) and we will update the firmware when there is a confirmed and stable solution to the problem. There is work ongoing to merge the different branches and hopefully that makes it into the master branch soon.

Anders @ Embedded Artists

08 Mar 2015

Hi, I obtained an LPC4088QSB together with the experiment board. For that I have installed the newest Keil MDK 5.14. However, I cannot flash/debug programs due to "no debug unit device found". I have installed already the legacy device database to work with an old version. That does not help either. I tested all possible combinations with an old and the newest firmware found on this site. The CMSIS-DAP is not found. OS: Windows 7.

Problem solved: The driver that comes with the MDK is different from the driver linked on http://developer.mbed.org/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port After downloading the driver from this page everthing works fine.

rk

30 Mar 2015

hi, i downloaded in step 1 to the CRP_DISABLD drive

but it still not work right .I put the .bin to EBED it give me - SWD ERROR

why ? can you help me

13 Apr 2015

Force LPC4088 into ISP mode

  1. Power off LPC4088.
  2. While holding the user pushbutton: a) Power on LPC4088. b) Download a working application to it.
  3. Press and release the reset pushbutton.

The drive is named "CRP_DISABLD".

16 Oct 2015

Is this fiwmware can Use for else board? I have lpc4078 board and lpc11u35 board.

26 Aug 2016

I can confirm that 2016-08-22 works great on my Mac (OSX 10.11 El Capitan) and my Windows 10 Machine.

Previous versions worked sporadically on my Mac and not at all on Windows 10.

Thank you.

08 Nov 2016

I updated to 2016-08-22 firmware. It have garbled with mbed-serial at more than 230400bps. It's no problem when monitoring UART(HDK_MBED_TX) using FT232R at 921600bps.

Thank you.

16 Dec 2017

Hi Suga -

We have a release site for DAPLink interface firmware with the latest builds. https://armmbed.github.io/DAPLink/ Would you mind updating to the latest firmware and if the problem still exist create an issue on DAPLink?

10 May 2018

EmbeddedArtists AB, please update this page to tell your users to get the latest firmware from https://armmbed.github.io/DAPLink/. You list the latest here as version 0241, which is two years old, but there have been several updates since then (up to 0246 now).

Please log in to post comments.