8 years, 6 months ago.

LPC11U35/401 interface with LPC 1768 target.

Hi,

I have some boards made up which I plan to use the LPC11U35/401 as an interface (programmed through USB) and LPC1768 as the target. I have read through the HDK files but I'm still struggling to understand the exact steps required in order to get the interface up and running. Is the LPC11U35/401 version compatible with the CMSIS-DAP firmware on HDK? I notice in the schematics a 501 version is used.

I hope someone can help.

Cheers.

1 Answer

8 years, 6 months ago.

Hi,

I am afraid that the HDK (CMSIS-DAP interface firmware or DAPLink) for LPC11U35 is using IO Handler code area (SRAM), start from 0x20000000 which is only available for the LPC11U35/501 (not /401).

https://github.com/mbedmicro/CMSIS-DAP/blob/034654f62919fb2d5abeca70131f976e615e5bb6/interface/interface/hal/TARGET_NXP/TARGET_LPC11U35/usb_buf.h#L22

https://github.com/mbedmicro/DAPLink/blob/8b2e1efe883940e3f0432fcbf41640a691881f65/source/hic_hal/nxp/lpc11u35/daplink_addr.h#L55

Accepted Answer

Thanks for the reply.

Can I not use the 401 version to program the LPC1768 without using the CMSIS-DAP sdk? I have the HDK binary file flashed onto the LPC11U35 but now I cannot open the drive without asking to be formatted.

Thanks

posted by Ben Fisher 17 May 2016

If you get the binary from here:
https://developer.mbed.org/teams/mbed/code/mbed-HDK/file/9f2ef206f287/NXP/LPC1768

This is generated from CMSIS-DAP interface firmware repository here:
https://github.com/mbedmicro/cmsis-dap

In this case, the binary is generated for the LPC11U35/501, not /401.

posted by Toyomasa Watarai 18 May 2016

So the /401 cannot be used then ?

posted by Benjamin Fisher 18 May 2016

Quote:

So the /401 cannot be used then ?

I think so.

posted by Toyomasa Watarai 18 May 2016

Correct. Can only use the /501 device.

posted by Sam Grove 18 May 2016