7 posts / 0 new
Last post
huangliangyu
Offline
Last seen:4 years 8 months ago
加入:2014-12-26 09:24
DA14580+spi flash

嗨。
The da14580+spi flash:P00-CLK,P03--CS,P05--MOSI,P06---MISO. The uart is TX--P04,RX--P05.now use SmartSnippets UART mode,choice spi flash programmer,connect is ok,then Erase fail.
the log please see Attachment .
how can Erase successful?

Attachment:
Device:
MT_dialog
Offline
Last seen:1 week 3 days ago
Staff
加入:2015-06-08 11:34
Hi huangliangyu,

Hi huangliangyu,

Make sure you have made the proper connections to your board. Is the board custom or a dev kit ? Also in Smart Snippets make sure that the proper configuration is made (check the board setup option and make sure that the proper pins are selected).

Thanks MT_dialog

huangliangyu
Offline
Last seen:4 years 8 months ago
加入:2014-12-26 09:24
嗨。董事会是客户tom. Also

嗨。董事会是客户tom. Also in Smart snippets configuration has set proper pins.

MHv_Dialog
Offline
Last seen:4 days 11 hours ago
Staff
加入:2013-12-06 15:10
Hi,

Hi,

You appear to have swapped MISO and MOSI. Tabel1 of AN-B-001 describes the different ways that you can boot from an external firmware source. You are using an external Flash (a slave device) which means that you will have to use boot step 7 (see Table1). In that step, MISO is on pin P0_5 and MOSI is on Pin P0_6.

MHv_Dialog
Offline
Last seen:4 days 11 hours ago
Staff
加入:2013-12-06 15:10
Actually, looking at your

Actually, looking at your schematic, the connection seems to be correct (your PIN description above has the signals swapped). I think you problem may be caused by the fact that MISO and UART RX both are connected to P0_5. If your UART driver is holding the line high with a very low impedance, then there will be conflics. one way to solve that or at least to test my theory would be to use the UART driver on your development kit. You could also try to load the firmware into Flash using the j-link connection (again, you could connect your development kit's jlink to your hardware)

huangliangyu
Offline
Last seen:4 years 8 months ago
加入:2014-12-26 09:24
thanks you very much. it is

thanks you very much. it is the down load line cause the problem.

MHv_Dialog
Offline
Last seen:4 days 11 hours ago
Staff
加入:2013-12-06 15:10
Does that mean that you now

Does that mean that you now have it working?