⚠️
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.
7 posts / 0 new
Last post
Jasu
Offline
Last seen:1 year 12 months ago
加入:2019-01-23 10:26
ble custom profile

i wrote a custom profile for PWM control in da 14585 .When i Download to system RAM pwm control using ble app work fine but when i flash to spi flash pwm control service not working .

Device:
PM_Dialog
Offline
Last seen:12 hours 57 min ago
工作人员
加入:2018-02-08 11:03
嗨Jasu,

嗨Jasu,

Could you please clarify your question? Do you mean that only the custom profile does not working or you are not able to boot? Since you download your firmware into SPI flash, the device is still advertising? You can check it by using the power profiler of the SmartSnippets toolbox or you could use any generic BLE mobile application. Let me ask you something. When you downloaded your firmware onto the SPI flash, did you press “Yes” in the pop-up window in order to do you device bootable?

Thanks, PM_Dialog

Jasu
Offline
Last seen:1 year 12 months ago
加入:2019-01-23 10:26
是的,唯有那定制概要文件

是的,唯有那定制概要文件didn't working .battery &device information profile are working .i pressed no in the pop-up window in order to do you device bootable?

PM_Dialog
Offline
Last seen:12 hours 57 min ago
工作人员
加入:2018-02-08 11:03
嗨Jasu,

嗨Jasu,

Do you mean that since you downloaded your firmware into the SPI Flash the device is advertising, but the only issue is your custom profile? This is very odd! When you burn the SPI Flash via the flash programmer of Smart Snippets toolbox, as it is mentioned before, a pop up window will be appeared, and you should press “Yes”, in order to make your device bootable. Otherwise, the DA14585 could not boot. Could you please make sure that your device is advertising? Did you check that with the usage of power profiler? Also, if you download you firmware into the SRAM, does the custom profile working as expected?

Thanks, PM_Dalog

PM_Dialog
Offline
Last seen:12 hours 57 min ago
工作人员
加入:2018-02-08 11:03
嗨Jasu,

嗨Jasu,

You mentioned that only your custom profile is not working. Could you please clarify it? What do you mean that is not working? What is the behavior that it has?

Thanks, PM_Dialog

Jasu
Offline
Last seen:1 year 12 months ago
加入:2019-01-23 10:26
Yes custom profiile work

Yes custom profiile work finewhen firmware downlod into the SRAM custom profile working perfectly .we need to change the pwm dutycycle value according to the flag sending through ble app . that custom profiile work finewhen firmware downlod into the SRAM we can control the pwm value using ble app.when download to the spi flash that we can't control the pwm using ble

PM_Dialog
Offline
Last seen:12 hours 57 min ago
工作人员
加入:2018-02-08 11:03
嗨Jasu,

嗨Jasu,

So, I am able to understand from your description, you custom profile as a profile is functional, you can see the services and the characteristic, but only controlling the PWM is not working? I assume that you have created a characteristic and since you write a specific value you should control the pwm dute cycle?

Thanks, PM_Dialog