⚠️
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.
2 posts / 0 new
Last post
Kevleo94
Offline
Last seen:2 years 7 months ago
加入:2017-09-05 07:18
burning memory to spi flash

Hi, everybody!

i am facing problem with spi flash on my custom board.
i can access the spi flash, i can burn the program to spi flash, i can erase the program on the spi flash too.
but the da14580 on my custom board, can't boot from the spi flash that i installed on my custom board.
do you have any clue or solution to provide to me?

kind regards,

Kevin

Device:
MT_dialog
Offline
Last seen:1 month 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Kevleo94,

Hi Kevleo94,

Well, to begin with, the 580 needs to see the booting header on an image that is burned in the SPI flash, so do you add the booting header when you burn your image from the Smart Snippets tool ? Also the 580 bootloader can boot from flash using a set of predefined pins, is the flash connected to those pins ? Also how you are aware that the device isn't able to boot from the flash, perhaps it can and the fw stalls due to something went wrong, so are you able to run the same fw via downloading it directly to the sysram ? If yes, have you checked the downloading procedure with an analyzer in order to check that the handshake and the downloading of the binary occur as they should ? If the fw is downloaded properly, and the binary is downloaded into the sysram, try to attach the debugger and check if the fw stalls anywhere (for attaching the debugger, open the same keil project used to build the .hex file go to the "Options for Target"->"Debug"->"Settings" and un-tick the "Reset after Connect" after doing that hit "OK" and remove the path from the "Initialization File" so when you click "Start / Stop Debug Session" you will be able to attach and check what happens). Also check if the same thing occurs with the sleep mode on and off.

Thanks MT_dialog