Texas Instruments 2531NANO Benutzerhandbuch
9/21
5. First Erase the flash by selecting Erase in Actions and then click Perform Actions
6. Then program the flash by selececting Erase and Program or Erase, program and verify, then
click Perform actions.
6. Then program the flash by selececting Erase and Program or Erase, program and verify, then
click Perform actions.
4.4 SBL Compatible Application Code Image
In this section you will be guided through the steps needed to convert an already existing Z-Stack
2.4.0 or RemoTI 1.2.1 application (in this case the RemoTI RNP application and, in parallel, the Z-
stack ZNP application) into one that is compatible with the SBL. The application needs to be modified
such that it does not overwrite the SBL that has been programmed into flash in the previous section.
After the project has been modified to be SBL compatible the final steps in this section will program
the SBL compatible application into flash using SBDemo.
2.4.0 or RemoTI 1.2.1 application (in this case the RemoTI RNP application and, in parallel, the Z-
stack ZNP application) into one that is compatible with the SBL. The application needs to be modified
such that it does not overwrite the SBL that has been programmed into flash in the previous section.
After the project has been modified to be SBL compatible the final steps in this section will program
the SBL compatible application into flash using SBDemo.
4.5
Generating a Binary file:
The project must be modified to produce a binary file that can be downloaded by the SBL PC
Application “SBDemo.exe”. This will be used in later sections.
Application “SBDemo.exe”. This will be used in later sections.
In IAR, open your project, here we will use RNP and ZNP projects:
1. File->Open->Open workspace
2. Browse to and open
a. for the Z-Stack: " Projects\zstack\ZNP\CC253x\ znp.eww "
2. Browse to and open
a. for the Z-Stack: " Projects\zstack\ZNP\CC253x\ znp.eww "
b. for the RemoTI stack: “Projects\RemoTI\RNP\CC2530EB\ rnp_cc2530.eww”
3. From the project view in Left panel click on the drop down box at the top
4. Select
a. For the Z-
4. Select
a. For the Z-
stack: “CC2531 – ProdSBL”
b. For the RemoTI stack: “CC2531F256_SB”
5. Project->Options
6. Select "Build Actions" category in left panel
7. Depending on the stack you will use, different tools will be used to generate a binary file:
6. Select "Build Actions" category in left panel
7. Depending on the stack you will use, different tools will be used to generate a binary file: