⚠️
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.
6 posts / 0 new
Last post
rfcode
Offline
Last seen:8 months 2 weeks ago
Joined:2017-08-29 19:28
Factory firmware - what's in flash memory

Does the DA14531 module ship with firmware loaded? I see something that looks like a single byte at 57600 or 115200 coming from P0_5 at power up.

Would be great if CodeLess was preloaded, or some code that allowed OTA update.

PM_Dialog
Offline
Last seen:6 hours 48 min ago
Staff
Joined:2018-02-08 11:03
Hi rfcode,

Hi rfcode,

Thanks for your question online and for using our DA14531 TINY module. Thanks also for your suggestion regarding the pre-preprogramed firmware.

However, the module comes without any pre-programmed firmware, so you should program it by your own.

Can you please take a screenshot from your Serial terminal and share it? I’d like to see what is the out on the P0_5. It might be the bootloader, but please share a screenshot to double check it first.

Programming the module is straight forward procedure, as we provide the Flash programmer tool. See “Development Tools” section in the module product page. You will find a user guide too.

//www.wsdof.com/products/bluetooth-module-da14531-smartbond-tiny

Additionally, if you are interest in mass programming, there is now a jig available for DA14531 module. Please check this out:

http://www.praxisrf.com/~shop/main.html

Thanks, PM_Dialog

rfcode
Offline
Last seen:8 months 2 weeks ago
Joined:2017-08-29 19:28
Thanks for confirming the

Thanks for confirming the memory state from factory. I've attached a scope capture of P0_5. Looks like a 0x04 followed by a partial character (also 0x04?) @ 115200. Only power (3V) is connected to the module. Hope this is helpful - it's not blocking us.

PM_Dialog
Offline
Last seen:6 hours 48 min ago
Staff
Joined:2018-02-08 11:03
Hi There,

Hi There,

Thanks for your attached file but I cannot see its content. It shows a message like : "Preview unavailable". Could you please attach it again?

In the meanwhile, have you programed the module, or is is still empty?

Thanks, PM_Dialog

rfcode
Offline
Last seen:8 months 2 weeks ago
Joined:2017-08-29 19:28
Module was unprogrammed

Module was unprogrammed (factory fresh).

New PDF attached.

Attachment:
PM_Dialog
Offline
Last seen:6 hours 48 min ago
Staff
Joined:2018-02-08 11:03
Hi rfcode,

Hi rfcode,

请参见4.1节booti时间图ng sequence in theAN-B-072: DA14531 Booting from OTP and Serial Interfacesapplication note. Booting step 2 is boot from 1-wire UART from P05. Please check if you are getting same bytes on P05. A logic analyzer tool it would be very helpful.

Thanks, PM_Dialog