We used the S19 algorithm files originally provided by Motorola to program MC908QY4CDWER, and then, through our own application, we sent serial commands.
Attachment is part of the schematic we use for programming; we connect serially to X3 through PTA0 and PTA5.
However, our application seems to connect, but then it reports a programming error.
To troubleshoot the problem, we used a dedicated programmer and software from SUPERPRO for testing: The steps were: erase, check for blanks, program, verify, erase, check for blanks. However, the test results showed that the program could be erased and rewritten normally.
We don't understand where the problem lies. How can we solve it and successfully program with S19?
Thanks a lot.
我們使用摩托羅拉提供的 S19 演算法檔案對 MC908QY4CDWER 進行編程,然後透過我們自己的應用程式發送串列命令。
附件是我們用於程式設計的部分原理圖;我們透過 PTA0 和 PTA5 串列連接到 X3。
然而,我們的應用程式似乎連接成功,但隨後報告程式設計錯誤。
為了排查問題,我們使用 SUPERPRO 的專用程式設計器和軟體進行測試:步驟為:擦除、檢查空白、編程、驗證、擦除、檢查空白。然而,測試結果表明程式可以正常擦除和重寫。
我們不明白問題出在哪裡。如何才能解決這個問題,並成功地使用 S19 進行程式設計?
非常感謝。