调通STM32的串口ISP的经验-eagleCom

调通STM32的串口ISP的经验 收藏

一下内容转自阿莫电子论坛 “GoToIsp” 网友的帖子 http://www.amobbs.com/forum.php?mod=viewthread&tid=3395361

总结得很全面

———————————————————-原帖内容如下————————————————————

1、Boot0需接高(注意不要超过3.6V,非5V容忍脚),Boot1(PB2)需接低(电阻下拉或直接接地)。

2、VDDA/VSSA一定要接好,电压符合要求(2.4~3.6V).即使不用ADC也要接,因为VDDA还为POR/OSC/PLL等“模拟”部分供电。

3、检查复位脚的电位是否正常,JTAG仿真器有可能复位系统。

4、检查TXD/RXD信号通路。当然要畅通,呵呵。

5、如果用非mcuisp的软件,最好在TXD/RXD上加上拉电阻到MAX232电源,防止产生干扰信号。mcuisp从软件上处理了这个干扰,可不考虑这点。

6、波特率先设为9600bps或更低,调通读器件ID后再提高到115200。波特率是否能跑高,与PC串口(USB串口线)、MAX232质量有关。

 7:检查RXD通路的方法:用eagleCom打开串口后,点击流控线一页的”<-3V Normal Txd”按钮,可变成“>+3V Break”。如此,可用万用表测量stm32的PA10/UART1_RX,看其电平是否随eagleCom端控制而变化。eagleCom显示”<-3V Normal Txd”时,PC的DB9的3脚应该是负电压,MAX232输出则为高电平;eagleCom显示“>+3V Break”时,PC的DB9的3脚应该是正电压,MAX232输出为低电平。

B:检查TXD通路的方法:eagleCom设置为9600bps,8数据位,Even校验,1StopBit,定时10ms发送0x7F字符(选中\hh HEX转换后输入\7F),此时应该接收到0×79或0x1F。如不通,用万用表测量PA9/UART1_TX–>MAX232–>PC的DB9的2脚,检查那里有问题。

希望大家表骂偶假洋鬼子,板砖?偶闪! /***************************************************************************** / / This software is published under the GPL 2. / For the detail about GPL 2, look into http://www.gnu.org / / author: sproll.gangaro / mail: sproll@163.com / / Hi every body, thanks for choosing Free Hex Control! / / Errrrr...Actually, I hesitate to release the source code of this control, / Because when I checked after completion, I found that it's really ugly! Putting all / graphic codes in the CDraw class is the worst idea, and this makes re-drawing / specific area difficult, so I lazily redraw almost the whole control whenever / it needs. This results in the slowness (I suggest you can use the control in data / display, ^_^). In next version, I will optimize draw efficiency, / making range class to express character and other elements. / And the ascii-bar will support multi-character language, / for example: Chinese, etc. / / Here are some description of some properties: / HScroll: extend control by horizontal scroll bar / AddressStart: the first byte's offset / AddressStyle: style of address, 0, HEX; 1, Dec / AddressNumber:number of address data in characters / ShowData: used in debugging, don't use it / SolidSelectionDisplay: / selected data's background is solid or not / BytesPerLine: if HScroll is true, how many bytes per line, / if HScroll is false, this depends on control's width / Group: separate data into groups or not in a line / GroupSize: if Group is true, how many bytes in a group / ShowCaret: high light the selected byte or not / ShowAddress: show address bar or not / ShowAscii: show ascii bar or not / ShowColumn: show column bar or not / AddressTextColor: / ColumnTextColor: / TextColor: / AsciiTextColor: / text color in each bar / *****************************************************************************/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值