本帖最后由 ZG11211 于 2018-6-26 11:11 编辑
按收罗来的资料,试了两天,总是无法联机,后来下载了这个http://www.nuvoton-mcu.com/forum.php?mod=viewthread&tid=11630&extra=page%3D1 用附件里的烧录文件和上位机,可以联机和ISP烧录了,为了研究原因,我用串口监控查看了一下,网上下载的NuvoISP.exe,不论是2.00还是2.03,串口波特率都是如下
Time Port Event Bytes Data(HEX)
10:25:39 COM1 SERIAL_OPENED 0 COM1 Opened.
10:25:39 COM1 SERIAL_OPENED 0 Baud rate: 115200
10:25:39 COM1 SERIAL_OPENED 0 Parity: NONE; DataBytes: 8; StopBits: 0
10:25:39 COM1 SERIAL_WRITED 64 AE 00 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
而jamesliu(作者)上传的界面也是2.00的ISP工具,串口实测如下
Time Port Event Bytes Data(HEX)
10:30:34 COM1 SERIAL_OPENED 0 COM1 Opened.
10:30:34 COM1 SERIAL_OPENED 0 Baud rate: 38400
10:30:34 COM1 SERIAL_OPENED 0 Parity: NONE; DataBytes: 8; StopBits: 0
10:30:34 COM1 SERIAL_WRITED 64 AE 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10:30:34 COM1 SERIAL_WRITED 64 AE 00 00 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10:30:34 COM1 SERIAL_READED 64 B9 00 00 00 0C 00 00 00 7F FB FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
也正如作者说的,他的联机波特率是38400,联机成功。
我就纳闷了,网上卖开发板的附赠的软件,boot文件到底是不是115200波特率的。
另外补充一下,如果选择LDROM启动,芯片上电后会有约5mS的系统延迟,这段时间内IO口是上电默认状态(高电平)驱动继电器的或者茅斯管的请注意外部设计,小心不要炸**,选择APROM启动的,延迟时间很短,不关注了。
|