LilyPad, nano51822

出自 flip the world
前往: 導覽搜尋

LilypadLilypadLilypad

LPCXpresso IDE installation

i386 libraries dependency

  1. sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 libxtst6:i386 libncurses5:i386

Install

  1. tar -zxvf Installer_LPCXpresso_8.1.0_597_Linux-x86.tar.gz
  2. ./Installer_LPCXpresso_8.1.0_597_Linux-x86

Uninstall

  1. rm -rf /usr/local/lpcxpresso_8.1.0_597/
  2. rm -rf ~/.eclipse/org.eclipse.platform_4.5.1_1432965327_linux_gtk_x86/
  3. ls ~/.eclipse/org.eclipse.platform_4.5.1_1432965327_linux_gtk_x86/plugins/ <---installed software

Running IDE

  1. /usr/local/lpcxpresso_8.1.0_597/lpcxpresso/lpcxpresso

Install Plugin-in

  1. Go to "Help / Install New Software..." and press "Add"
    1. Name: Eclipse Juno
    2. Location: http://download.eclipse.org/releases/juno
  2. Select Plug-in
    1. General Purpose Tools / Marketplace Client
    2. Mobile and Device Development / Target Management Terminal
  3. Go to "Help / Install New Software..." and press "Add"
    1. Name: RXTX
    2. Location: http://archive.eclipse.org/tm/updates/rxtx
  4. Go to "Help / Eclipse Marketplace" and search "SVN"
    1. Install "Subversive - SVN Team Provider"
  5. Got to "Window / Show View / Other..." and select "SVN / SVN Repositories"
    1. Install "Subversive SVN Connector / SVN Kit 1.8.11" <--- select latest version

Checkout SDK

  1. Go to "SVN Repositories" tag and press "New Repositories Locations"
  2. Add URL "https://github.com/ucxpresso/nano51822"
  3. Expand the SVN repository and right click the "trunk / uCXpresso.NRF" to checkout the base

Checkout example & compile it

  1. Expand the SVN repository and right click the "trunk / examples" to checkout the code
  2. Go to Workspace and select the example you want to compile
  3. Go to "Quickstart Panel" and run "Build 'xxx'[Debug]"
  4. The image(xxx.hex) will under Debug folder

Upgrade FW through DFU

  1. Install "Master Control Pannel"(MCP)APP for Android
  2. Upload .hex to dropbox
  3. DFU over the air
    1. Switch to DFU mode by long press DFU button(~3 secs)
    2. scan & connect to "nanoDFU' device
      nanoDFU
    3. press dfu to start upgrade
      DFU button
    4. Select file type
    5. Choose your source
    6. Press "No" for Init Packet without CRC checking
    7. waiting for finish

Reference