EasyManuals Logo

Texas Instruments CC2540 User Manual

Texas Instruments CC2540
29 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #26 background imageLoading...
Page #26 background image
SWRU270
Page 26 of 28
you would like to write to the device. If you are reading from the CC2540, under “Flash image” enter the
desired path and filename for the hex file. To write to the CC2540, under “Actions” select “Erase,
program and verify. To read from the CC2540, under “Actions” select “Read flash into hex-file”. To
begin the read or write, click the button “Perform actions”.
If the action completes successfully, you should see the progress bar at the bottom of the window fill up,
and either one of the following two messages, depending on whether a write or a read was performed:
“CC2540 - ID2000: Erase, program and verify OK” or “CC2540 - ID2000: Flash read OK”.
You may see the following error message:
Figure 38
If this comes up, it most likely means that you have IAR open and are debugging. You will need to stop
debugging before you can use SmartRF Flash Programmer to communicate with the CC Debugger.
5.3.3 Reading or Writing the CC2540 Device Address
Every CC2540 device comes pre-programmed with a unique 48-bit IEEE address. This is referred to as
the device’s primary address”, and cannot be changed. It is also possible to set a “secondary address” on
a device, which will override the primary address upon power-up. SmartRF Flash Programmer can be
used to read the primary address, as well as to read or write the secondary address.
To read back the primary address of a device connected to the CC Debugger, select “Primary under the
“Location” option, and click the “Read IEEE” button. The primary device address should appear in the
box on the right. Click the “Perform Actions” button at the bottom to perform the read.
To read back the secondary address, select “Secondary under the “Location” option, and click the “Read
IEEE” button. The secondary device address should appear in the box on the right. Click the “Perform
Actions” button at the bottom to perform the read.
To set a new secondary address, select “Secondary under the “Location” option, and enter the desired
address in the box on the right. Click the “Perform Actions” button at the bottom to perform the write. If
the secondary device is set to “FF FF FF FF FF FF”, the device will use the primary address. If the
secondary device is set to anything else, the secondary address will be used.

Other manuals for Texas Instruments CC2540

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2540 and is the answer not in the manual?

Texas Instruments CC2540 Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2540
CategoryMicrocontrollers
LanguageEnglish

Related product manuals