CMSIS-DAP interface firmware for LPC11U35 target to LPC11U68

First, you should fork?? the CMSIS-DAP Project from GitHub site. The source code of the mbed HDK (tools + libraries) is available in this repository:

  1. modify "preprocessor symbol" :

TARGET_LPC11U35, __RTX, DBG_LPC11U68, BOARD_LPC11U68
  1. change "include path" : There is another similar path for another target chip, so should change this.

;..\..\target\hal\DBG_NXP\DBG_LPC11U68
  1. If you want, you might change output directory. not important~
  2. compile and done.

and, read http://mbed.org/questions/2318/How-to-Build-HDK-Firmware/ page for compile HDK in detail.

Quote:

Hi Rob - I'll work on creating a guide to building the CMSIS-DAP project. In the meanwhile, following these steps should get you what you need.

  1. Install Keil uVision MDK-ARM
  2. Clone CMSIS-DAP to your local machine
  3. Navigate to the uVision project files
  • ./interface/mdk/lpc11u35/*.uvproj (NXP targets)
  • ./interface/mdk/k20dx128/*.uvproj (Freescale targets)
  1. Select the project target that represents your hardware
  2. Compile

Quote:

http://mbed.org/questions/3938/How-to-use-flash_algotxt/

How to use "flash_algo.txt"??

Copy that and paste it on /interface/target/hal/DBG_xxxx/DBG_xxxxxx/target_flash.h. Do not forget to edit RSP and RSB. You can see base address of PrgData on map file.


Please log in to post comments.