⚠️
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.
9 posts / 0 new
Last post
Kevleo94
Offline
Last seen:2 years 9 months ago
加入:2017-09-05 07:18
Memory Burning Fail

Hi Dialog,

My current progress now I'm able to debug development kit pro , the reset is always detected, and the program running.
i used to have problem when I try to connect using Smart Snippet, the reset button is not detected.
The problem is now fixed, but the program can't be burn into SPI flash even when I'm using dev.kit - pro.
I only be able to burn the program using Keil, but whenever I try to using Smart Snippets there's no feedback from the SPI flash

This following message which I attached is always appeared when I tried to burn using SPI flash,
and I have tried to connect using UART and JTAG and both is not succesful

What is causing this problem, and what is the possible mistake from our side?

Kinds Regard,
Kevin

附件:
Device:
MT_dialog
Offline
Last seen:3 months 1 day ago
工作人员
加入:2015-06-08 11:34
Hi Kevleo94,

Hi Kevleo94,

哟u have defined the flash size to be 1 byte, remove the 01 that you have placed in the SPI Flash memory size (HEX, in Bytes), this is also what the message indicates, since you have defined that the size of your flash is 1 byte so the image that you are trying to burn exceeds the maximum size of the flash that you have indicated. So remove the 0x01 and place an appropriate flash size.

Thanks MT_dialog

Kevleo94
Offline
Last seen:2 years 9 months ago
加入:2017-09-05 07:18
i just did what you told me.

i just did what you told me. and here is it in the attachment i give you the other problem. it still can't burn program to spi flash.
FYI, I used spi flash memory in pro kit da14580.

附件:
Kevleo94
Offline
Last seen:2 years 9 months ago
加入:2017-09-05 07:18
hi.i am facing a new problem

hi.i am facing a new problem now. it is said to have memory reading failed at 81FE8. from what i have browse in forum, i wonder what it mean and why most people facing this problem on their custom board. i am not using my custom board yet, just using devvkit pro and then this problem appear. i am looking forward for your guid to solve this problem.
thanks.
kind regards,
Kevin

附件:
MT_dialog
Offline
Last seen:3 months 1 day ago
工作人员
加入:2015-06-08 11:34
Hi Kevleo94,

Hi Kevleo94,

Well usually this is a connection issue but in your case, if you are using the pro board and the default SPI pins, your configuration is wrong, on the image attached i see that the CLK and the CS select pins are proper, but the MISO and MOSI pins are opposite. You will need to configure the MISO as P0_5 and the MOSI as P0_6. You will be able to do so by using the board Setup Tool, unless you are using different pins for accessing the flash on the pro board, which in that case it should work.

Thanks MT_dialog

Kevleo94
Offline
Last seen:2 years 9 months ago
加入:2017-09-05 07:18
Hi, MT_dialog!

Hi, MT_dialog!
thanks for the answer before. here i have solved that problem, but this is occurs again when I tried to burn my program to my custom board.
the configuration of the pin is correct. but it keep tells me about Failed reading memory at address 81FE8.
what should I do?

附件:
MT_dialog
Offline
Last seen:3 months 1 day ago
工作人员
加入:2015-06-08 11:34
Hi Kevleo94,

Hi Kevleo94,

On the attachment that you have uploaded you select again other than the default pins for MISO and MOSI just like your previous post, are those the pins that you are using for the flash on your custom board ?

Thanks MT_dialog

Kevleo94
Offline
Last seen:2 years 9 months ago
加入:2017-09-05 07:18
Hi MT_dialog,

Hi MT_dialog,

Yes. That is the pin that i used for my customboard. And I design the spi flash pin out to connect to the da14580 using the same pin configuration as devkit pro. So basically i don't have any clue why this is happen. Thanks.

MT_dialog
Offline
Last seen:3 months 1 day ago
工作人员
加入:2015-06-08 11:34
If you have designed the

If you have designed the custom board to use the same configuration as the pro dev kit then the configuration that you have on Smart Snippets is wrong, the pro dev kit uses the MISO on pin P05 and the MOSI on pin P06 and you have them reversed in the Smart Snippets attached image. Please check your connections, as mentioned before the error that you get is due to connections problems.

Thanks MT_dialog