Software Development
FM4 S6E2H-Series Starter Kit Guide, Doc. No. 002-11387 Rev. **
40
4. Open the Memory1 window from the
View
>
Memory Windows
. Enter 0x00070000 in the
Address
table and press the
Enter
Key on your PC.
5. Run the program for a while (>10 seconds).
6. Stop the program and check the content of 0x00070000 in the flash.
4.2.4 UART Communication
4.2.4.1 Project Description
This project demonstrates the UART communication of the S6E2HG device. This program
enables the MFS0 as a UART to communicate with the CMSIS-DAP. The CMSIS-DAP serves
as the bridge between the MCU and the PC.
4.2.4.2 Hardware Connection
No specific hardware connections are required for this project. All connections are hardwired on
the board.
4.2.4.3 Verify Output
1. Power the FM4 S6E2H-Series Starter board from CN3 using a USB cable, refer to
2. Open the project file
in IAR Embedded Workbench or Keil µVision IDE from the following
directory on your PC:
IAR project: <User_Directory>:
\FM4 S6E2H-Series Starter Kit_Ver01\Firmware
\Demo Projects\s6e2hg_mfs_uart\IAR\s6e2hg_mfs_uart.eww.
Keil project:<User_Directory>:
\FM4 S6E2H-Series Starter Kit_Ver01\Firmware
\Demo Projects\s6e2hg_mfs_uart\ARM\s6e2hg_mfs_uart.uvprojx.
3. Build the project and download the code into the S6E2HG device.
4. Run the program.
5. Run the Serial Port Viewer, set the baud rate as
115200
, and click the
Disconnected
button to connect the board with the PC, as described in section