hello
i made new PCB according to the example schematic(CAT24C512C)
but i cant flash my board
/////////////////////////////////////////////////////////////////////////////////////
Programming flash...
Running 'C:/CSR_uEnergy_SDK-2.4.5.13/tools/bin/make SDK=C:/CSR_uEnergy_SDK-2.4.5.13/tools -f Teltron_NetworkNode.release.mak flash'...
C:/CSR_uEnergy_SDK-2.4.5.13/tools/bin/e2cmd -norun -trans 'SPITRANS=USB SPIPORT=0' -quiet download depend_Release_CSR101x_A05/Teltron_NetworkNode.img
EEPROM boot program halted
make: *** [dn_eeprom] Error 1
Finished.
//////////////////////
and when using e2cmd.exe
/////////////////////////////
Chip ID - 0x412b0000
Chip Name - CSR101x
Device select - 0x00
Address mode - two bytes
EEPROM size - EEPROM boot program halted
////////////////////////////
all connections are well
how can i solve this problem ?
Did you connect SPI_PIO (pin 26) to high during flashing ?
Hi !
I've got the same result on one my boards. Tomorrow I'll check whether it is board or design specific issue on the second board.
What I've already checked: power is good - values on power pins are of values specified in datasheet (3V3 input, 1.35 VDD_CORE) so the SMPS works OK, both XTAL signals are of good quality (clear without distortion) and magnitude (high and low fequencies), 1MBit EEPROM from Atmel (Digikey as supplier) is connected to HW I2C interface + PIO[2] acts as power source (such EEPROM devices work good on other boards, I've also checked with 512KBits EEPROM but same result), e2cmd -info command gives normal output but fill commands ends with an "halted" error (SPI_PIO is connected to VDD while programming)
What else can be the issue ? please give advice
I2C lines have to be deferential and sort.
Check that you did not swap between the two of them.
Is EEPROM A0 A1 A2 grounded ?
Do you have capacitor from pin 8 to GND ?
Do you have other unpowered chips on same I2C lines ?
Hi Nissim !
Thanks for quick reply.
I2C lines about 8.0mm long and differs about 0.25mm from one to another.
EEPROM pins from 1 to 4 and 7 are on the GND plane, pin 8 decoupled with 1uF ceramic capacitor
EEPROM is the single chip on I2C bus
e2cmd info command output is stable:
All look ok.
Disconnect CSR1010 from power, also the SPI flasher. wait 30 min , and try again.
It may locked its I/O due to electric static discharge. Never touch wires by hand un- grounded.
Unfortunately no luck.
The issue is present on other board too. Ptest firmware runs OK and executes commands (except of EEPROM).
the issue was related with PCB design - step-down dc/dc power supply - (maybe) input capacitors are relatively far 4mm, (maybe) poor PCB quality (power line from input capacitors comes from layer to layer through 2 vias), (maybe) trace pin31-Inductor-pin6 is too long 10.2mm
I overcome "boot halted" issue (in our design) adding a 22uF tantalum capacitor as close as possible (directly to pin but on bottom layer)
Sir,
i am getting the error when i am programming the CSRmesh 1010 chip set ,please help in this case , for the three boards i am getting the same .
/CSR_uEnergy_SDK-2.6.0.10/tools/bin/e2cmd -norun -trans 'SPITRANS=USB SPIPORT=0' -quiet fill 0xffff
Timeout waiting on chip
make: *** [dn_eeprom] Error 1
Regards
ShivaShankar S
I experienced this error on some boards ... Whether I reduce the temperature of the boards the problems stopped when warmed again problem returns ... may some defect inside the chips. I suggest using a 4.3V Zener diode at power supply on all CSR10'1x boards to avoid damaging the chips ... in my cases reduced drastically the defects ...