Forums - Propramming CSR via SDK tools/bin

3 posts / 0 new
Last post
Propramming CSR via SDK tools/bin
ismailfehmi.akkoc
Join Date: 8 Jul 15
Posts: 3
Posted: Thu, 2018-09-06 00:35

Hi,

I wanted to program beacons fast for serial production. So I dont want to program via xIDE.

My software contains otau support and works on devices that programmed via xIDE and I make a .bat file to program. works on windows. My custom functions does work which I programmed by .bat programmer. But otau does not I called all commands (CSR_uEnergy_SDK-2.6.0.10\tools\bin )that compiler does but I think I am missing something else. 

This is my  basic .bat file :

bin\e2cmd.exe   -quiet fill 0xffff
 
bin\e2cmd.exe   -quiet download %PROJECT_PATH%\depend_Debug_CSR101x_A05\gatt_%BLE_MODE%.img
 
bin\csconfigcmd.exe -otauappoffset 0x4200 merge %PROJECT_PATH%\gatt_%BLE_MODE%_csr101x_A05.keyr
 
Could you help me? Why Over the air updater does not work? Does xIDE do other thinks, maybe about bootloader, or adresses.
 
Project properties:
 
NVM Type: EEPROM
Erase NVM Yes
Include OTA Update Bootloader YES
CS KEY File bootloader.keyr
Version OTA 7
Slot 1 Address(OTA Update Bootloader) 0x4200
Slot End Address(OTA Update Bootloader)  0x10000
 
 
gatt_server_csr101x_A05.keyr

>DECIMAL_CS_VERSION=83

 

// (0001) - Bluetooth device address

 

&BDADDR = 0207 0200 0000

 

// (0002) - Crystal frequency trim

&CRYSTAL_FTRIM = 0020

 

// Default value (in hex) for a 512kbit EEPROM

&nvm_start_address = 4100 // Default value (in hex) for EEPROM

&nvm_size = 40

 

// UART connection speed. By default, 115200 ba.

&UART_RATE = 01d9

 

&TX_POWER_LEVEL = 0005

 

 

// (000d) - Sleep clock accuracy allowance

&SLEEP_CLOCK_ACCURACY = 009d

// (0011) - Identity Root

&IDENTITY_ROOT = 0000 0000 0000 0000 0000 0000 0000 0000

// (001b) - I2C EEPROM Initialisation Time

&I2C_EEPROM_INIT_TIME = 07d0

// (001d) - Thermometer offset adjustment

&TEMPERATURE_ADJUST = 0000

// (0022) - I2C Pull resistors config

&I2C_DISABLED_PULL_MODE = 0005

// (0012) - Encryption Root

&ENCRYPTION_ROOT = 0000 0000 0000 0000 0000 0000 0000 0000

// (0016) - Battery "low" threshold voltage

&BATTERY_THRESHOLD = 076c

 

 

&WD_TIMEOUT = 7530

 

 

  • Up0
  • Down0
ismailfehmi.akkoc
Join Date: 8 Jul 15
Posts: 3
Posted: Tue, 2018-12-18 23:36

Any comments, helps?

  • Up0
  • Down0
ismailfehmi.akkoc
Join Date: 8 Jul 15
Posts: 3
Posted: Wed, 2019-01-23 03:43

Thanks helps Qualcomm I solved it however I lost lots of time. 

Your silence helped me so much thanks really thanks...

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