嗨。
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?
Device:
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
嗨。董事会是客户tom. Also in Smart snippets configuration has set proper pins.
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.
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)
thanks you very much. it is the down load line cause the problem.
Does that mean that you now have it working?