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 .
Keywords:
Device:
嗨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
是的,唯有那定制概要文件didn't working .battery &device information profile are working .i pressed no in the pop-up window in order to do you device bootable?
嗨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
嗨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
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
嗨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