期間,進(jìn)行“6.1 Using PSoC 5LP as USB-UART Bridge”試用時(shí),出現(xiàn)這種情況。后來發(fā)現(xiàn)先開“the Communication Port - PuTTY”這個(gè)端口,就出現(xiàn)這種現(xiàn)象,只要先進(jìn)行"Debug--->progrom",后開“the Communication Port - PuTTY”,沒這樣問題了……
這次進(jìn)行"Debug--->progrom"找不到目標(biāo) ,試了多種辦法,也沒解決了, 是不是“Building a Bootloadable project for the PSoC 5LP” 時(shí),the PSoC 5LP控制了端口(現(xiàn)在通電開發(fā)板可以在該項(xiàng)運(yùn)行),還是其它問題?不得而知!望諸路尊神大仙指點(diǎn)迷津!
2.jpg
6
(河南 薛)
作者: 1640190015 時(shí)間: 2013-9-27 13:45
開發(fā)板現(xiàn)在處于“Building a Bootloadable project for the PSoC 5LP”項(xiàng)目里,能夠執(zhí)行“Now keep the reset switch (SW1) pressed and plug in the USB mini B connector. If the switch ispressed for more than 100 ms, the PSoC 5LP enters into bootloader. Now press the Programbutton in the Bootloader Host tool to program the device. The PSoC 5LP also enters intobootloader when the power supply jumper for the PSoC 4 (J13) is removed and subsequently theUSB mini B connector is plugged into J10 header”。(<> 84頁(yè))
現(xiàn)象是:按著開發(fā)板的“SW1”按鈕,將the USB mini 插入“J10”接口,另一端連PC上,時(shí)間過100 ms,板上的狀態(tài)燈(綠色)閃亮;或者,去掉板上的跳帽(J13),然后,將theUSB mini B插入“J10”接口,也能實(shí)現(xiàn)板上的狀態(tài)燈(綠色)閃亮,也能在“the Bootloader Host tool”工具欄里正常操作,有問題的話,也是連不上開發(fā)板的目標(biāo) ……
2.jpg
后面有一句話:When a normal project is programmed onto the PSoC 5LP, the initial capability of the PSoC 5LP to
act as a Programmer / USB-UART Bridge/USB-I2C Bridge in not available。揭示的什么?
一般地觀察,開發(fā)板通電,電源燈和狀態(tài)燈亮,可現(xiàn)在板子工作在“Building a Bootloadable project for the PSoC 5LP”項(xiàng)目規(guī)定的狀態(tài),電源燈亮、狀態(tài)燈閃亮;不工作時(shí),電源燈亮、狀態(tài)燈不亮的狀態(tài)。如何擺脫這些狀態(tài),進(jìn)一步實(shí)現(xiàn)"Debug--->progrom"輸入程序代碼至開發(fā)板 正常工作狀態(tài)?
作者: 1640190015 時(shí)間: 2013-9-27 23:07
問題解決了……