DA14585不能醒来如果我燃烧我的代码nto external flash...

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
stanley_yeh
Offline
Last seen:1 year 10 months ago
加入:2016-12-23 06:52
DA14585不能醒来如果我燃烧我的代码nto external flash...

Hi Dialog,
I am using the sample code: ble_app_peripheral from SDK 6.4.2.
Ionlymodified the variableapp_default_sleep_modefromARCH_SLEEP_OFFtoARCH_EXT_SLEEP_ON
I am very confused...If I burn the code into RAM (SmartSnippets -> Booter -> Download), it works.
However, If I burn it into external flash, it will advertise but just a while. The mobile app can find the device but the device disappears almost immediately.
It seems like DA14585 doesn't wake up sfter sleeping...

I find that if I connect to DA14585 immediately when the first advertisement, the connection will be normal, so I change the advertising interval from 600 ms to 30 ms. There is no any problem...

How should I do? Do you have any ideas? :(
Thanks a lot.

Device:
MT_dialog
Offline
Last seen:1 month 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi stanley_yeh,

Hi stanley_yeh,

I ve tested the ble_app_peripheral project as is, i dont see any issues to the project if burned on flash, and i dont see any connection between the advertising intervals which could be related to the burning of the flash. If you try to download the fw via keil, does the device acts the same ?

Thanks MT_dialog

stanley_yeh
Offline
Last seen:1 year 10 months ago
加入:2016-12-23 06:52
Hi MT_Dialog,

Hi MT_Dialog,
I touch a specific area of our board with my finger, DA14585 will be normal every time. I don't know why. It's weird.
I think it is not software issue and I hope so.
Some of our RDs feel that DA14585 is sensitive, I am sorry but we really don't know how to describe that.
When we feel it is abnormal, sometimes we just touch the pins which is connected to DA14585 and it will be normal.
Ummm...That's OK.
I am grateful for your help, thanks a lot.