Difference between revisions of "WISE-ED22 User Manual"

From ESS-WIKI
Jump to: navigation, search
Line 3: Line 3:
 
There are three interfaces that ED22 board provides. These are '''drag-n-drop programming''', '''a serial port''' and '''debugging''' support. In addition ED22 board firmware can be updated using the drag-n-drop programming interface of the bootloader.
 
There are three interfaces that ED22 board provides. These are '''drag-n-drop programming''', '''a serial port''' and '''debugging''' support. In addition ED22 board firmware can be updated using the drag-n-drop programming interface of the bootloader.
  
= Driver =
+
= Install Driver =
  
 
[https://developer.mbed.org/media/downloads/drivers/mbedWinSerial_16466.exe Download latest driver]
 
[https://developer.mbed.org/media/downloads/drivers/mbedWinSerial_16466.exe Download latest driver]
Line 14: Line 14:
  
 
#ED22 board reset 
 
#ED22 board reset 
#Target MCU reset
+
#Target MCU(STM32L443/STM32F412) reset
 
#Micro USB connector
 
#Micro USB connector
 
#10pin FFC connector
 
#10pin FFC connector
Line 21: Line 21:
  
 
= Reprogramming SWDAP =
 
= Reprogramming SWDAP =
 +
 +
When a new ED22 is plugged in to your machine, it will not contain valid any firmware, and so will appear as a disk drive called "CRP Disabled" as.
 +
 +
To progam the SWDAP, follow these steps:
 +
 +
Step1: plugging ED22 in PC with the target mcu reset button held down. 
 +
 +
Step2: Open the drive, and delete the file called "firmware.bin"
 +
 +
Step3: Copy the .bin file onto the "CRP Disabled" drive.
 +
 +
Strp4: Press ED22 board reset to restart, then you can see "DAPLINK" drive.
 +
 +
 +
 +
  
 
Step1: Install the last serial driver
 
Step1: Install the last serial driver
Line 26: Line 42:
 
Step2: Plug in micro USB to PC
 
Step2: Plug in micro USB to PC
  
*Open the drive, and delete the file called "firmware.bin"
 
*Download the required image from the table above (or built your own using [https://github.com/mbedmicro/DAPLink DAPLink project])
 
*Copy the .bin file onto the "CRP Disabled" drive.
 
**On Windows, replace firmware.bin with the above firmware
 
**On Linux/Mac, use command: '''dd if={new_firmware.bin} of={firmware.bin} conv=notrunc'''
 
*Unplug your SWDAP, and plug it back in
 
*It should now appear as a disk drive called DAPLink
 
  
You can re-program your SWDAP at any time by plugging it in with the button held down. This will cause it to appear as the "CRP Disabled" drive, at which point you can follow the steps above.
 
  
 
=  =
 
=  =

Revision as of 02:01, 13 June 2017

ED22 Functions

There are three interfaces that ED22 board provides. These are drag-n-drop programming, a serial port and debugging support. In addition ED22 board firmware can be updated using the drag-n-drop programming interface of the bootloader.

Install Driver

Download latest driver

H/W Introduction

ED22 board v1.png

  1. ED22 board reset 
  2. Target MCU(STM32L443/STM32F412) reset
  3. Micro USB connector
  4. 10pin FFC connector


Reprogramming SWDAP

When a new ED22 is plugged in to your machine, it will not contain valid any firmware, and so will appear as a disk drive called "CRP Disabled" as.

To progam the SWDAP, follow these steps:

Step1: plugging ED22 in PC with the target mcu reset button held down. 

Step2: Open the drive, and delete the file called "firmware.bin"

Step3: Copy the .bin file onto the "CRP Disabled" drive.

Strp4: Press ED22 board reset to restart, then you can see "DAPLINK" drive.



Step1: Install the last serial driver

Step2: Plug in micro USB to PC