DA14580 iBeacon HARD reset not working

8 posts / 0 new
Last post
Steve He
Offline
Last seen:5 years 6 months ago
Joined:2015-03-18 04:05
DA14580 iBeacon HARD reset not working

Dear Dialog,

We are using DA's iBeacon REF hardware design and source code 3.40.6. We only added a HARD RESET Button which is directly connected to RESET Pin. We are using external FLASH which is connected to DA thru I2C.

1: After burning 3.40.6 into the Beacon, it works as expected.
2:按下复位按钮,设备就消失了。(已经RY repeatable)
3: Used Scope to monitor the RESET signal, it is a clean SQUARE WAVE with duration longer than 500ms
4: Injected an external RESET from waveform generator, still the same. After RESET, the device does not broadcast.
5: Remove battery and reconnect battery, Beacon works normal again.
6: Used Scope to monitor FLASH CLOCK. Noticed that after RESET the clock is working(First boot loader working) but Second BOOTLOADER not loading.

Tried another non-beacon source code based on SDK3.0.6. The RESET works as expected!

Is there an new iBeacon firmware newer than 3.40.6 that HARD RESET actually work?

Thanks!
Steve

Device:
MT_dialog
Offline
Last seen:1 week 3 days ago
Staff
Joined:2015-06-08 11:34
Hi Steve He,

Hi Steve He,

What kind of Flash are you using ? have you made any changes to the da14580_config file ?

Thanks MT_dialog

Steve He
Offline
Last seen:5 years 6 months ago
Joined:2015-03-18 04:05
We are using W25X10CLUXIG. NO

We are using W25X10CLUXIG. NO, we did not change anything in the config file.

MT_dialog
Offline
Last seen:1 week 3 days ago
Staff
Joined:2015-06-08 11:34
Hi Steve,

Hi Steve,

Can you please undefine the CFG_SPI_FLASH in line 64 of the da14580_config.h file compile, download the code and let us know what happens.

Thanks MT_dialog

Steve He
Offline
Last seen:5 years 6 months ago
Joined:2015-03-18 04:05
undefine CFG_SPI_FLASH worked

undefine CFG_SPI_FLASH worked. Will this increase current consumption or have other consequence?

MT_dialog
Offline
Last seen:1 week 3 days ago
Staff
Joined:2015-06-08 11:34
Hi Steve He,

Hi Steve He,

Yes, this will increase the current consumption because the flash will be always on. Also you wont be able to control your SPI (close it down for instance).

In the beacon, the SPI flash is powered down when is not needed. Most probably when you reset your device the SPI memory is already closed and the bootloader cannot find code to execute after the reset. You can overcome this by using the secondary_bootloader which will be loaded by the rom bootloader and re-open the Flash once executed and ofcourse redefine the CFG_SPI_FLASH.

Thanks MT_dialog

Steve He
Offline
Last seen:5 years 6 months ago
Joined:2015-03-18 04:05
Thanks, is there any

Thanks, is there any reference or documents that help us change the secondary_bootloader? Any instructions on using the secondary bootloader?

JE_Dialog
Offline
Last seen:19 hours 20 sec ago
Staff
Joined:2013-12-05 14:02
Hi Steve, please see the

Hi Steve, please see the following link for apps note related to secondary boot loader . BR JE_Dialog

http://support.dialog-semiconductor.com/resource/um-b-012-creation-secon...