Flashing Murata ZY Module

⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
7 posts / 0 new
Last post
Vivek
Offline
Last seen: 3 years 8 months ago
Joined: 2017-07-08 07:11
Flashing Murata ZY Module

Hi,

I just purchased Murata ZY Module and have UART lines, Vcc, Ground lines pulled out from it.
I am trying to flash the device using smart snippets through UART lines P02,P03 and also P04,P05.
But it is not working.
Is there any bootloader code or startup code that needs to be flashed on to the module before I can use smart snippets?

My main objective is it not use OTP for firmware and use external processor and serial bootloading.

Keywords: 
Qinjiny_Dialog
Offline
Last seen: 2 months 13 hours ago
Staff
Joined: 2016-11-01 05:47
Hi Vivek,

Hi Vivek,

You don't need specific firmware on flash to use SmartSnippet. SmartSnippet will download a flash programmer firmware onto the RAM of DA14580 directly through UART, however to achieve this you may need to handle the connection of Reset pin, as during this process a hardware reset(active high on RST pin) is required.

Given "My main objective is it not use OTP for firmware and use external processor and serial bootloading.", actually the process I described above is a typical use case of serial bootloading. To get more info about this you may refer to this document:

https://support.dialog-semiconductor.com/resource/b-001-da14580-booting-...

Vivek
Offline
Last seen: 3 years 8 months ago
Joined: 2017-07-08 07:11
Thanks for the reply.

Thanks for the reply.
I have the following queries -

1. We are evaluating Murata ZY module and we bought the chip alone and pulled UART lines (P04, P05 and P02,P03) and shorted the Reset Pin to high.
But yet we are not able to flash the chip.

2. Also, we are making the schematic for our project ("Murata ZY Schematic.png"). Could you please review it. I am attaching the schematic with this reply.
We are also confused with the Murata Module, as the datasheet says any GPIO can be selected for UART and we have choosen P05, P07 in the below schematic.
Is this right? Or do we have to use only the UART Pins listed in AN-B-001 "DA1458x Booting from serial interfaces".

3. I have added another Schematic "BLE Schematic 2.pdf". Please review this one also.

MT_dialog
Offline
Last seen: 1 year 6 months ago
Staff
Joined: 2015-06-08 11:34
Hi Vivek,

Hi Vivek,

In order to be able to download code to the 580 you will have to use the Smart Snippets tool, since you are not using the motherboard i suppose that you are trying to download code via the UART. Since you are trying to download the code via UART the Smart Snippets tool expects the device to be reseted in order for the ROM booter to start running, so that the tool will see the tag that initiates the UART download procedure and initiates the transaction. The ROM booter is a fw located in the ROM you dont have to download anything and it runs as soon as the device gets powered or via the reset signal. The pins that the device boots from the serial interfaces are predefined and explained in the AN-B-001 Booting from serial interfaces document and cannot be altered, unless a secondary bootloader is bunred into the OTP.

Thanks MT_dialog

MHv_Dialog
Offline
Last seen: 1 year 1 month ago
Staff
Joined: 2013-12-06 15:10
The hardware reset (RST) of

The hardware reset (RST) of the module is active high, so tying the RST to high will not work correctly (leave RST floating - the BLE SoC has an internal pull-down of the RST pin). You will not be able to load firmware via P05 and P07 unless you implement a secondary bootloader and program this bootloader into the OTP of the module via the serial wire debugger interface. AN-B-001 describes the default bootloader (located in ROM of the device). The SDK contains a secondary bootloader that you can use as starting point if you decide to pursue that option.

You have labeled P04 as an input to the module and P05 as an output in your attached schematic2 PDF. During the default bootup process, P04 is the output (TX from the module) and P05 is the input (RX to the module). The bootup process does not make use of HW flow control.

/MHv  

Vivek
Offline
Last seen: 3 years 8 months ago
Joined: 2017-07-08 07:11
Thanks.

Thanks.

For programming what Debuggers do you suggest.
We found one online - https://www.mouser.in/productdetail/segger-microcontroller/80891?qs=sGAE...

Can we use this?

MHv_Dialog
Offline
Last seen: 1 year 1 month ago
Staff
Joined: 2013-12-06 15:10
I would actually recommend

I would actually recommend using our BASIC development kit. The JLINK signals (SWCLK and SWDIO) are available for break-out on the main header row. Please also see https://support.dialog-semiconductor.com/system/files/resources/Training_07_DA1458x_prototype_bring_up_guide-v1.2.pdf for details.