Software Development
FM4 S6E2H-Series Starter Kit Guide, Doc. No. 002-11387 Rev. **
46
4.3.2 Programming the CMSIS-DAP
(MB9AF312K) Device Using the FLASH USB DIRECT
Programmer
By default, the latest CMSIS-DAP firmware is programmed on the MB9AF312K. It is not required
for the user to re-program firmware again before running the CMSIS-DAP debugger. Follow the
steps below to update the firmware, if needed.
1. The FLASH USB DIRECT Programmer gets installed on your PC as part the kit installer.
2. Make sure the jumpers on the FM4 S6E2H-Series Starter board are placed according to
Table 4-5: Programming Jumper Settings for CMSIS-DAP programming
Jumper
Position
Description
J2
Open
Sets MB9AF312K to 3.3V.
J3
Open
Enable MB9AF312K CMSIS-DAP for
programming and debugging purpose.
J5
Closed
Sets MB9AF312K (CMSIS-DAP) in
programmer mode.
J7
Closed
Selects CMSIS-DAP as power source.
J10
Closed
Sets S6E2HG in programming mode
J15
Pin1 to Pin2
Sets S6E2HG to 3.3V.
J18
Open
Sets S6E2HG in run mode
J19
Closed
CMSIS-DAP virtual COM connection (SIN0 to
pin 21 of MB9AF312K)
J20
Pin1 to Pin2
CMSIS-DAP virtual COM connection (SOT0
to pin 20 of MB9AF312K)
J21
Pin2 to Pin3
Sets pin PE0 to drive the LED
3. Connect the USB cable to the CN3 port.
4. Observe that the Power LED (LED5) is glowing green.
5. Launch the FLASH USB DIRECT Programmer from Windows
Start Menu
>
All Programs
>
Cypress
>
FLASH USB DIRECT Programmer
>
USBDirect
6. Select the Target MCU as MB9AF312K.
7. Select the Motorola-S format file or Intel-HEX format file to be programmed on
MB9AF312K. The hex file is included in the following directory:
<User_Directory>:
\FM4 S6E2H-Series Starter Kit_Ver01\Firmware\CMSIS-DAP