Will DA14681 build-in battery charger work when no program in 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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
andoridfm2013
Offline
Last seen:5 months 5 days ago
加入:2017-04-07 05:11
Will DA14681 build-in battery charger work when no program in flash?

question as in title, thank you

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi andoridfm2013,

Hi andoridfm2013,

Your question is a bit vague, i suppose that you mean that you would like to build a RAM project (means that it would run only from RAM, since most of the 68x projects run from flash due to size). Well, the battery charger doesn't have any relation with where the code is located, if you manage to build a project that would run only from RAM and fit your entire code in the available RAM of the 68x including the charger functionallity (since part of the charging is sw implemented), then yes you could operate the charger as well. Please be aware that only non-BLE projects are available as RAM builds since the code turns out to be quite large for BLE implementations (its possible to have a RAM BLE project up to 64K due to the ROM booter). Also you will have to consider how exactly the device is going to boot up.

Thanks MT_dialog

andoridfm2013
Offline
Last seen:5 months 5 days ago
加入:2017-04-07 05:11
Sorry, I am not stating my

Sorry, I am not stating my question clearly. I mean, if DA14681 have no program at all, a blank chip or the image is corrupted, cannot be booted, will the build-in battery charger still work? if not, is it possible to make it work?

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi andoridfm2013,

Hi andoridfm2013,

The charger has software implementation in order to configure the hw and operate, a separate task is running in order to operate the charger, so no if you have a tottaly blank chip the charger will not operate, the 68x will just run the bootloader in order to boot.

Thanks MT_dialog

andoridfm2013
Offline
Last seen:5 months 5 days ago
加入:2017-04-07 05:11
Thank you very much!

Thank you very much!