RTL8711AM Build and Debug Environment Setup – IAR This document illustrates how to build Realtek low power Wi-Fi software under IAR SDK environment.
UM0023 Table of Contents 1. 2. 3. Introduction ................................................................................................................................. 3 How to get IAR ............................................................................................................................. 3 Debugger Setting.......................................................................................................................... 3 3.2 CMSIS-DAP .................................
UM0023 1. Introduction This document illustrates how to build Realtek low power Wi-Fi software under IAR SDK environment. 2. How to get IAR IAR provides an IDE environment for code building, downloading, and debugging. Please check “IAR Embedded Workbench” on http://www.iar.com/, and trail version is available. It requires IAR version greater than v7.20 which supports CMSIS-DAP. 3. Debugger Setting This board supports both CMSIS-DAP debugger and J-Link. 3.
UM0023 After installation, connect the board to PC, and then there should be mbed Serial Port shown in Device Manager. 3.2 J-Link/JTAG The board is configured as CMSIS-DAP mode. To use J-Link debugger, please follow the next procedures. Hardware Configuration Weld JTAG and log UART connectors to HDK board and connect with pitch 2.54mm 2x5pins connector. It is recommended to weld the connector on the bottom side. p.s.
UM0023 2.54mm 2x5pins connector (or use Dupont Line) IAR Setting Change setting of IAR project from CMSIS-DAP to J-Link/J-Trace in Project Options Debugger Setup Driver, and Selecting OK to finish and enjoy JTAG debugging.
UM0023 Power On Holding button (red-circled) then plugging power to disable CMSIS-DAP function. Release the button after power on. Note: To reset main chip, it is recommended to press Reset button (green-circled) instead of re-plugged in the power cable.
UM0023 4.
UM0023 Step 3: Select Project.eww in project\project_name_xxxx\EWARM-RELEASE Step 4: To build project, click Project Rebuild All 2015-07-21 8
UM0023 Step 5: To download code, Click Project 2015-07-21 Download Download active application.
UM0023 After firmware download, click reset button to reboot the system 2015-07-21 10
UM0023 How to debug Set Break point. To debug or trace code step by step, click Project 2015-07-21 Download and Debug.
UM0023 5. How to use sample code There are several peripheral example code under folder “project\project_name_xxxx\ example_sources \”, you can copy & paste the example’s “inc” and “src” to project folder. Ex. To use i2c example code, you can copy “src” and “inc” from “project\project_name_xxxx\example_sources\i2c\”. Ameba API follows mbed API. User can check mbed website for peripheral API.
UM0023 6. Warning 6.1 Federal Communication Commission Interference Statement This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
UM0023 In the users manual of the end product, the end user has to be informed to keep at least 20cm separation with the antenna while this end product is installed and operated. The end user has to be informed that the FCC radio-frequency exposure guidelines for an uncontrolled environment can be satisfied. The end user has to also be informed that any changes or modifications not expressly approved by the manufacturer could void the user's authority to operate this equipment.
UM0023 pourl'émetteur par Industrie Canada. Dans le but de réduire les risques de brouillage radioélectriqueà l'intention des autres utilisateurs, il faut choisir le type d'antenne et son gain de sorte que lapuissance isotrope rayonnée équivalente (p.i.r.e.) ne dépasse pas l'intensité nécessaire àl'établissement d'une communication satisfaisante. IMPORTANT NOTE: IC Radiation Exposure Statement: This equipment complies with IC radiation exposure limits set forth for an uncontrolled environment.
UM0023 6317A-RTL8711AM ". This radio transmitter (IC: 6317A-RTL8711AM) has been approved by Industry Canada to operate with the antenna types listed below with the maximum permissible gain and required antenna impedance for each antenna type indicated. Antenna types not included in this list, having a gain greater than the maximum gain indicated for that type, are strictly prohibited for use with this device.