Si4010-DK
Rev. 0.1
9
3.
EC3 debug adapter
Programming adapter
User’s own application
In this setup, the user can incorporate the debugging capabilities into the final application using a cheap 4-pin
header connection.
2. Debugging an Application
To debug an application the user is provided with the Silicon Laboratories IDE (Integrated Development
Environment). The IDE has an integral help. This section is not a user manual for the IDE, but highlights the items
which are important when working with the IDE.
2.1. Installing the IDE and USB Debug Adapters
Download the Silicon Labs IDE (Integrated Dvelopment Environment) from the following URL:
http://www.silabs.com/products/mcu/Pages/SiliconLaboratoriesIDE.aspx
and install it on your computer. The IDE
gets installed into its own directory. The main executable file is
IDE.exe
. The IDE works with the USB Debug
Adapter or the Toolstick Base Adapter, shown in the section above. When the IDE recognizes the Silicon Labs USB
debug adapters, it queries whether its internal firmware is compatible with the Si4010. If not, then it notifies the user
and requests permission to update the adapter's firmware. Silicon Labs also provides a program,
usb_debug_adapter_firmware_reset.exe
, to clear the adapter's firmware manually before connection to
the IDE. The program resides in the same directory as the IDE main executable.
With the Si4010 debugging chain it is required that the manual adapter firmware clearing is done for each USB
adapter before using the key fob debugging chain. That operation needs to be done only once per USB Debug
Adapter. The IDE will then program the correct firmware into the adapter.
The reset firmware executable will scan USB ports and give the user a list of connected Silicon Labs USB
adapters. The USB Debug Adapter name starts with EC. Users can have more than one USB adapter connected
to the computer.
2.2. Keil toolchain integration
The project files in examples assume that the Keil toolchain is installed into:
C:\Keil directory
. The location of
the Keil toolchain can be easily changed in the Silabs IDE in the Project—Tool Chain Integration menu. An
evaluation version of the Keil toolchain can be downloaded from the Keil website at
http://www.keil.com/
. This free
version has a 2 kB code limitation and starts the code at the 0x0800 address. The Keil free evaluation version can
be unlocked to become a 4 kB version with no code placement limitation by following the directions given in
application note AN104 about Keil toolchain integration and license management. Unlock code can be found on
the WDS CDROM in the root folder in the Keil_license_number.txt file. Contact your Silicon Laboratories sales
representative or distributor for application assistance.
Downloaded from
Elcodis.com
electronic components distributor