Software Development
FM4 S6E2H-Series Starter Kit Guide, Doc. No. 002-11387 Rev. **
30
3. Click
Project
>
Rebuild All
to build the project.
4. Make sure the jumpers on the FM4 S6E2H-Series Starter board are placed according to
Table 4-1: Debugging Jumper Settings
Jumper
Position
Description
J2
Open
Sets MB9AF312K to 3.3V.
J3
Open
Sets MB9AF312K (CMSIS-DAP) in run mode. Power from CMSIS-DAP (CN3)
J7
Closed
Sets S6E2HG (CMSIS-DAP) in run mode.
J10
Closed
Sets SW3 user button connected.
J15
Pin1 to Pin2
Sets S6E2HG to 3.3V.
J19
Close
CMSIS-DAP virtual COM connection
J20
Pin1 to Pin2
CMSIS-DAP virtual COM connection
J21
Pin2 to Pin3
PE0 drives blue LED
5. Connect the USB cable to the CN3 port.
6. Observe that Power LED (LED5) is glowing green.
7. Click the
Download and Debug
icon in the tool bar, use Shortcut
Crtl+D,
or choose
Project
>
Download and Debug
to start downloading and debugging.
Note:
When downloading the code example into the board, if you get a following warning:
"Skipping flash loading pass because there is no data in the designated range:
0x200C0000-0x200C7FFF", you can safely ignore it.
The S6E2HG processor includes two banks of flash, the main flash and a smaller work
flash at address 0x200C0000. The code examples do not use the work flash. However, the
debugger memory map includes the work flash, as it should. In effect, the IAR IDE tells you
the code example doesn't use the work flash. That's correct, and not a problem.