![Silicon Laboratories Si4012 Programming Manual Download Page 4](http://html1.mh-extra.com/html/silicon-laboratories/si4012/si4012_programming-manual_1272046004.webp)
A N 7 4 6
4
Rev. 0.1
3. Software Tools
There are two software tools provided by Silicon Labs to help EZRadio software development, the Wireless
Development Suite (WDS) and the Silicon Labs Integrated Development Environment (IDE), both available on
silabs.com.
3.1. Wireless Development Suite (WDS)
The recommended starting point for Si4012 development is the WDS. It can be downloaded from silabs.com and
can be installed on a PC. After connecting one of the hardware platforms described in this document to the PC,
WDS is able to identify the connected board by reading the EBID memories of the board.
The EZConfig Setup GUI is part of the Wireless Development Suite (WDS) program. This setup interface provides
an easy path to quickly selecting and loading the desired configuration for the Si4012 device. The configuration
table provides a list of preloaded, common configurations validated by Silicon Labs. EZConfig also allows for
custom configuration to be loaded using the Radio Configuration Application. After the desired configuration is
selected, the EZConfig setup automatically creates the configuration data that can be used to configure the
EZRadio chip. The program then gives the option to configure directly the EZRadio chip of the connected
hardware, to modify a selected demo code with the configuration and download it to the connected hardware, or to
launch Silicon Labs IDE with the new configuration data preloaded into the user program. For more complete
information on WDS and EZConfig usage, refer to the WDS User’s Guide, available on silabs.com.
3.2. Silicon Labs IDE
The Silicon Laboratories Integrated Development Environment (IDE) is a standard tool for program development
for any Silicon Labs 8-bit MCUs including the C8051F930 that is used on the hardware platforms described in this
document.
The Silicon Laboratories IDE integrates a project manager, a source-code editor, source-level
debugger, and an in-system flash programmer. The IDE interfaces to third party development tool chains to provide
system designers a complete embedded software development environment. The Keil Demonstration Toolset
includes a compiler, linker, and assembler and easily integrates into the IDE.
3.2.1. Downloading and Running the Example Codes
1. Connect the hardware platform to the PC according to the description of the used platform.
2. Start Silicon Labs IDE (IDE 4.40 or higher required) on your computer.
3. Select
Project
→
Open Project...
to open a previously saved project.
4. Before connecting to the target device, several connection options may need to be set. Open the
Connection Options
window by selecting
Options
→
Connection Options...
in the IDE menu.
5. Select USB Debug Adapter in the “Serial Adapter” section.
6. If more than one adapter is connected, choose the appropriate serial number from the drop-down list.
7. Check the “Power target after disconnect” if the target board is currently being powered by the USB Debug
Adapter. The board will remain powered after a software disconnect by the IDE.
8. Next, the correct “Debug Interface” must be selected. Check the C2 Debug Interface.
9. Once all the selections are made, click the
OK
button to close the window.
10. Click the
Connect
button in the toolbar or select
Debug
→
Connect
from the menu to connect to the
C8051F930 MCU of the platform.
11. Erase the flash of the C8051F930 MCU in the Debug
→
Download object code
→
Erase all code space
menu item.
12. Download the desired example HEX file either by hitting the Download code (Alt+D) toolbar button or from
the Debug
→
Download object code menu item.
13. Hit the Disconnect toolbar button or invoke the Debug
→
Disconnect menu item to release the device from
halt and to let it run.
Summary of Contents for Si4012
Page 14: ...AN746 14 Rev 0 1...
Page 18: ...AN746 18 Rev 0 1...
Page 29: ...AN746 Rev 0 1 29 NOTES...