Silicon Laboratories Computer Accessories Software Setup using a USB Debug Adapter, device

Models: Computer Accessories

1 6
Download 6 pages 19.9 Kb
Page 3
Image 3
4. Software Setup using a USB Debug Adapter

USB Debug Adapter

4. Software Setup using a USB Debug Adapter

The Silicon Laboratories Integrated Development Environment (IDE) along with other software tools are provided for device development and debugging. The IDE is available for download from the Silicon Laboratories website and is also available on microcontroller development kit CD-ROMs. Once the IDE has been installed and the hard- ware has been connected as shown in Section 3, follow the steps below to built a project, connect and download to a target board using the USB Debug Adapter.

1.Select ProjectOpen Project... to open a previously saved project.

2.Before connecting to the target device, several connec- tion options may need to be set. Open the Connection Options window (shown in Figure 3) by selecting OptionsConnection Options... in the IDE menu.

3.Select USB Debug Adapter in the “Serial Adapter” section.

4.If more than one adapter is connected, choose the appropriate serial number from the drop-down list.

5.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.

6.Next, the correct “Debug Interface” must be selected. Check the Debug Interface corresponding to the Silicon Laboratories device on the target board.

7.Once all the selections are made, click the OK button to close the window.

8.Click the Connect button in the toolbar or select

DebugConnect from the menu to connect to the

Figure 3. Connection Options

device.

9.Download the project to the target by clicking the Download Code button in the toolbar.

10.Save the project when finished with the debug session to preserve the current target build configuration, editor settings and the location of all open debug views. To save the project, select ProjectSave Project As... from the menu. Create a new name for the project and click on Save.

Rev. 0.1

3

Page 3
Image 3
Silicon Laboratories Computer Accessories Software Setup using a USB Debug Adapter, device, Connection Options