Difference between revisions of "WISE-ED22 User Manual"

From ESS-WIKI
Jump to: navigation, search
Line 2: Line 2:
  
 
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 =
 +
 +
[https://developer.mbed.org/media/downloads/drivers/mbedWinSerial_16466.exe Download latest driver]
  
 
== Drag-n-drop Programming ==
 
== Drag-n-drop Programming ==
  
Program the target microcontroller(STM32L443/STM32F412) by copying or saving a file in one of the supported formats to the ED22 drive. Upon completion the drive will re-mount. If a failure occurs then the file FAIL.TXT will appear on the drive containing information about the failure.
+
Program the target microcontroller(STM32L443/STM32F412/...) by copying or saving a file in one of the supported formats to the ED22 drive. Upon completion the drive will re-mount. If a failure occurs then the file FAIL.TXT will appear on the drive containing information about the failure.
  
 
Supported file formats:
 
Supported file formats:
Line 19: Line 23:
  
 
Supported baud rates:
 
Supported baud rates:
 
*9600
 
*14400
 
*19200
 
*28800
 
*38400
 
*56000
 
*57600
 
*115200
 
  
 
==  ==
 
==  ==
  
= H/W  =
+
= H/W Introduction =
  
 
[[File:ED22 board v1.png|upright|ED22 board v1.png]]
 
[[File:ED22 board v1.png|upright|ED22 board v1.png]]
  
1: ED22 reset button
+
#ED22 board reset 
 +
#Target MCU reset
 +
#Micro USB connector
 +
#10pin FFC connector
  
  

Revision as of 11:31, 12 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.

Driver

Download latest driver

Drag-n-drop Programming

Program the target microcontroller(STM32L443/STM32F412/...) by copying or saving a file in one of the supported formats to the ED22 drive. Upon completion the drive will re-mount. If a failure occurs then the file FAIL.TXT will appear on the drive containing information about the failure.

Supported file formats:

  • Raw binary file
  • Intel Hex

Serial Port

The serial port is connected directly to the target MCU allowing for bidirectional communication. It also allows the target to be reset by sending a break command over the serial port.

Download latest driver

Supported baud rates:

H/W Introduction

ED22 board v1.png

  1. ED22 board reset 
  2. Target MCU reset
  3. Micro USB connector
  4. 10pin FFC connector


Reprogramming SWDAP

When a new SWDAP 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:

  • Open the drive, and delete the file called "firmware.bin"
  • Download the required image from the table above (or built your own using 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.