Forums - issues running csr_mesh_light and other sample applications

3 posts / 0 new
Last post
issues running csr_mesh_light and other sample applications
mistry Moderator
Join Date: 18 Apr 18
Posts: 56
Posted: Fri, 2018-06-01 11:45

Hi,
We are using CSR102x SDK 3.1.1 (xIDE) to open the workspace named csr_mesh_light, I have encountered the following problems:

1. In the Project Properties option, when I set the Target Firmware to A05, I can't build project.

The error code is as follows:

"no rule to make target libscrmesh.a' needed by 'depend_Debug_CSR102x_A05/csr_mesh_light_csr102x.exf'. stop'"

2. In the Project Properties option, when I set the Target Firmware to A06, I can build project, but cannot run on development board.

The build is a success but The error code is as follows:

"built for CSR102x_A06 but CSR102x_A05 detected on SPITRANS=USB" stop

So I want to know, how do I confirm if my device is A05 firmware or A06 firmware, or what other settings do I need to make?

  • Up0
  • Down0
jonesm
Join Date: 13 Jun 16
Posts: 79
Posted: Wed, 2018-06-06 11:16

Have you tried leaving Target Firmware = Auto Detect? Do you have similar problems building the SDK example applications, e.g. hr_sensor?

  • Up0
  • Down0
mistry Moderator
Join Date: 18 Apr 18
Posts: 56
Posted: Fri, 2018-06-08 15:53

Turns out the developer had downloaded the wrong "Sample Application" package from Createpointe.

1. Go to Createpointe home
https://createpoint.qti.qualcomm.com/dashboard/#product-kit/search
2. Click on Bluetooth on the left hand side Menu,
Then click on “CSR1020 QFN36 Bluetooth Low Energy (Developer)” link
3. Click on “Software Packages” under “Software Code”
4. Scroll down to “CSRmesh 2.1v Node Applications”

The samples in version "CSRmesh 2.1v Node Applications" support the firmware version A05

It compiled ok,

C:/CSR_uEnergy_SDK-3.0.3/tools/bin/remove depend_Release_CSR102x_A05/flags.build_info
Sections summary:
CONST section start address......0x0000a000
CONST section size...............0x00000463
OTP Memory start address.........0x00018000
CRAM start address...............0x00020000
SMEM memory start address........0x00028000
App Code start address...........0x00050000
App Header start address.........0xffffffff
Code memory end address..........0x0005bd47
BSS section start address........0x000060fd
BSS section size.................0x00000e80
DATA section end address.........0x00006f7d
Heap start address...............0x0000e5f9
Code Size (words): text=0xbd47(48455)
Const Size (words): used=0x473(1139), free=0xb8d(2957)
Data Size (words): Used=0xf7d(3965), Free=0x1082(4226)
*********** depend_Release_CSR102x_A05/csr_mesh_light_csr102x.flash.xuv is built for CSR102x A05 FLASH ***********
Finished.
C:/CSR_uEnergy_SDK-3.0.3/tools/bin/SdkStoreConfig.exe -q -i app_store_config_smem_a.stores -l FLASH,app,1,false -o depend_Release_CSR102x_A05/store_offset.mak -t depend_Release_CSR102x_A05

Hope this helps anyone reading this.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.