Can I use Keil to burn external SPI 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.
8 posts / 0 new
Last post
daniel59
Offline
Last seen:1 year 5 months ago
Joined:2016-01-08 04:34
Can I use Keil to burn external SPI Flash?

Hi,

Can I use Keil to burn external SPI Flash? How to config the project setting?

Best regards,
Daniel

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

No, you cannot use Keil in order to burn an external flash, Smart Snippets is the tool that you should use for that.

Thanks MT_dialog

daniel59
Offline
Last seen:1 year 5 months ago
Joined:2016-01-08 04:34
Hi MT_dialog,

Hi MT_dialog,

I just leave SWDIO and SWCLK out....

So is there any way if I want unique address for every device?

Best regards,
Daniel

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

I dont see how this question is related to the thread's headline, if you would like to ask a new question please create a new thread with the appropriate title. Regarding your question, the 580 gets its device address using different ways, depending on what exactly you would like to do, please check below:

  1. Burn the OTP address in the OTP header, at the Device Unique ID field (in case you would like a public address).
  2. 配置设备获得bd地址the NVDS section (in case you would like a public address):
    1. The NVDS section including the bd address can be burned to the device along with the fw.
    2. The NVDS section including the bd address will be burned seperatelly from the fw in the NVDS section of the OTP.
  3. Assign to the device a random address static or Private (resolvable or non-resolvable)

In case of a public address where you have the options 1 and 2 and you would like to burn to the device different bd addresses Dialog provides the PLT tool which allow you to burn automatically different addresses on each DUT. Apart from that there is no other standard way of burning different addresses on the device.

Thanks MT_dialog

daniel59
Offline
Last seen:1 year 5 months ago
Joined:2016-01-08 04:34
Hi MT_dialog,

Hi MT_dialog,

Because I only leave SWDIO and SWCLK out, I cant burn the otp header. So if i want a public address for each device, I have to configure the NVDS section, make an image and burn it into FLASH using Smart Snippets every time.

And there comes my thought that if i can use Keil to burn the FLASH, it will be easier.

So my additonal question is for this. Is there any way if I want unique address for every device only using Jlink?

With your answer, maybe the only way is using a random address. I will try to assign to the device a random address. If I have any question on it, I'll create a new thread.

Thank you!

Best regards,
Daniel

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

Smart Snippets tool supports JTAG(SWD) and UART, since you are exposing the SWDIO and SWCLK you are able to use the JTAG connection of the Smart Snippets tool and you should be able to burn the OTP header with the corresponding Smart Snippets tool.

Regarding the NVDS as mentioned above, you can burn that section seperatelly on the OTP, so you will have to generate only the NVDS header with a different bd address without having to compile a new build for every device having a different address.

Regarding burning the flash with keil, as mentioned above this is not possible and we dont support that, if you would like a CLI interface instead of a GUI then you can use the CLI that Smart Snippets provides, you will be able to find guidelines on how to use the CLI of the tool in the pdf document that is provided through the help option of the Smart Snippets tool (User Manual - Smart Snippets Toolbox) paragraph 21.

With my answer and as far as i can understand from the setup you can have all the above options that i have mentioned.

Thanks MT_dialog

daniel59
Offline
Last seen:1 year 5 months ago
Joined:2016-01-08 04:34
Hi MT_dialog,

Hi MT_dialog,

I know I can use JTAG to connect my device, but I dont leave the 6.8V pin out, so I cant burn the OTP header.

I think the only way for me is using random address.

Best regards,
Daniel

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

Well in that case yes, the only way is to burn the NVDS through the fw (so build a different fw for every device) or use random address.

Thanks MT_dialog