Forums - CSR1010 program EEPROM

18 posts / 0 new
Last post
CSR1010 program EEPROM
Brugia
Join Date: 8 Jun 16
Posts: 5
Posted: Wed, 2016-06-08 07:06

Dear All,

I'm designing a new BTLE pcb with the CSR1010. The program EEPROM(512kbit) is normally connected to the pin I2C_SDA(29), I2C_SCL(28) and PIO(2). Can I connect this EEPROM to other PIOs ? For example PIO(0), PIO(1), PIO(3).

In the pio.h there is a "pio_mode_nvm_power_en" that I can use to select PIO to control power to non-volatile memory devices. is there the same for the SDA and SCL ?

Thanks in advance.

Massimo

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Wed, 2016-06-08 22:56
The main EEPROM must be connected to pin I2C_SDA(29), I2C_SCL(28) and PIO(2) since CSR1010 boot from it, and will not look for other PIOs I2C during boot time. One the same pin you can connect all other sensors too. You can define other PIO to have I2C sensors or more eeprom PIO for I2C and power. But you will loss the main eeprom NVM, unless you will reprogram the I2C pio every I2C read/write
  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Fri, 2016-07-22 11:13

Hi

I am developing a new product using CSR1010, so I am having some problems with a new board. I already have experience with this chip, my older board worked well, but it’s new one are reporting some problems.
 
In this new board I am using the CAT24C512, 512Kbit EEPROM from On semiconductors, that works from 1.8 to 5.5V and supports 100Kbit/400Kbit/1Mbit transfer rate.
 
Using the CSR µEnergy SDK (xIDE) the prograsmming seems to be OK:, see below
 

Programming flash...

Running 'C:/CSR_uEnergy_SDK-2.3.0.31/tools/bin/make SDK=C:/CSR_uEnergy_SDK-2.3.0.31/tools -f wi_sensor.debug.mak flash'...

C:/CSR_uEnergy_SDK-2.3.0.31/tools/bin/e2cmd.exe -norun -trans 'SPITRANS=USB SPIPORT=0' fill 0xffff

C:/CSR_uEnergy_SDK-2.3.0.31/tools/bin/e2cmd.exe, version 2.3.0.188 Release

Copyright Cambridge Silicon Radio Limited 2007 - 2014.

 

Fill successful

C:/CSR_uEnergy_SDK-2.3.0.31/tools/bin/e2cmd.exe -norun -trans 'SPITRANS=USB SPIPORT=0' download depend_Debug_CSR101x_A05/wi_sensor.img

C:/CSR_uEnergy_SDK-2.3.0.31/tools/bin/e2cmd.exe, version 2.3.0.188 Release

Copyright Cambridge Silicon Radio Limited 2007 - 2014.

 

Download successful

C:/CSR_uEnergy_SDK-2.3.0.31/tools/bin/csconfigcmd.exe -norun -trans 'SPITRANS=USB SPIPORT=0' merge wi_sensor_csr101x_A05.keyr

csconfigcmd, version 2.3.0.188 Release

Copyright Cambridge Silicon Radio Limited 2010 - 2014.

 

Success

Finished.

Initialising execution environment for project 'CSR uEnergy - 'wi_sensor''

Read chip version 0x412b.

Done!

 
Using the uEnergyTestApp it reports a strange message , see below
 
Opening USB SPI (296671).
Transport active.
CSR101x (Hardware ID 0x412B)
  CS Source Version ID = 67 (0x0043)
ERROR: Firmware load failed (Firmware initialisation timed out: Operation timed out (no 'alive' indication from firmware))
  Build ID = 922 (0x039A)
  Build Info = bdk_SDK_2_3_0_136_ptest_1401211503 2014-01-21
  CS Version ID = 67 (0x0043)
Disconnected
 
What could be the problem ?
 
Thanks
 
  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Fri, 2016-07-22 12:35

Some Chines stokers sale bad chips or rejected chips. 

 

 

  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Fri, 2016-07-22 13:06

The supplier was Digikey from US .... I never had problems, they always sent best quality components

It seems to be the EEPROM ?

Thanks

 

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Sat, 2016-07-23 01:03

Digikey is a good source. 

Maybe bad PCB, short PCB wires, un-connected PCB wires ... 

none coated PCB vias

Many possible options. 

  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Sat, 2016-07-23 05:43

Hi Nissim

What kind of problem means "ERROR: Firmware load failed (Firmware initialisation timed out: Operation timed out (no 'alive' indication from firmware))" ?

 

The CSR1010 cannot transfer the firmware to the RAM?

If is some problem with the EEPROM, why "Download successfull" ?

I assembled 30 units of the PCB, I checked the wires are OK, the vias are OK, I used the same PCB layout that I used in my old design that works. Is it possible to be some defect in the CSR1010 ? Using a frequecimeter I checked the clock and shows 16.0xx MHz, the voltages are 2.7V VDDBat/VDDPads, 1,35VDDReg, 1.17V VDDCore, seems to the 32768 Hz to be OK ?

 

The PCB was subimitted to "electric full test" and are OK ....

I am really confused. All componentes are the same as my old design, except the EEPROM, the same supplier

 

Thanks

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Sat, 2016-07-23 07:20

Just call my Skype nissim.test and we can check together. 

  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Thu, 2016-08-18 19:54

..

  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Thu, 2016-08-18 19:55

...

  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Mon, 2016-07-25 06:41

I will call you, let me fix the MIC of my PC, isn't working. I have 3x CSR1010 reserved from my old design that worked. I will assemble 3 boards more using these old purchase chips. If it works the problem will be found.  I will try also to replace the EEPROM by Atmel to test.

  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Thu, 2016-08-18 20:01

Thank you Nissim

I found the problem, people placed the 32.768KHz ressonator inverted. Now seems to be all right.

 
  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Fri, 2016-08-19 01:05

32.768KHz resonator is not approved to be used with CSR1010. 

Please post here its url data sheet links, It very odd that it do works. 

Did you check current consumption in deep sleep mode and hibernate mode? 

 

 

  • Up0
  • Down0
roberto1
Join Date: 22 Jul 16
Posts: 8
Posted: Fri, 2016-08-19 05:15

No, I didn't checked the current. I am using the recommended MC-146 from Epson, 9pf, 20ppm

The oscilator seems to be working fine

http://www.digikey.com/product-search/en?keywords=ser2416ct-nd

 

 

 

 

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Sat, 2016-08-20 01:56

Great 

 

  • Up0
  • Down0
kt1
Join Date: 25 Jul 18
Posts: 2
Posted: Fri, 2018-07-27 00:32

Hi All,

I had problem when program CSR1012 with the following error, please advise what are the different between CS source version ID=67 & firmware version ID= 84. Below was the error  log file.

 

 Opening USB SPI (381725)

Transport active.

CSR101x (Hardware ID 0x412B)

    CS Source Version ID = 67 (0x0043)

ERROR: Firmware load failed (firmware download failed: CS Key version don't match (firmware: 84, source: 67)

   Build ID = 1611 (0x064B)

   Build Info = bdk_SDK_2_6_2_295_ptest__1611021223

   CS Version ID = 84 (0x0054)

Disconnected

 

Thanks,

KT

  • Up0
  • Down0
kt1
Join Date: 25 Jul 18
Posts: 2
Posted: Fri, 2018-07-27 00:33

Hi All,

I had problem when program CSR1012 with the following error, please advise what are the different between CS source version ID=67 & firmware version ID= 84. Below was the error  log file.

 

 Opening USB SPI (381725)

Transport active.

CSR101x (Hardware ID 0x412B)

    CS Source Version ID = 67 (0x0043)

ERROR: Firmware load failed (firmware download failed: CS Key version don't match (firmware: 84, source: 67)

   Build ID = 1611 (0x064B)

   Build Info = bdk_SDK_2_6_2_295_ptest__1611021223

   CS Version ID = 84 (0x0054)

Disconnected

 

Thanks,

KT

  • Up0
  • Down0
jonesm
Join Date: 13 Jun 16
Posts: 79
Posted: Tue, 2018-07-31 13:43

Have a look at https://developer.qualcomm.com/comment/11008#comment-11008 and see if the information there works for you.

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