随笔分类 -  STM8

STM8
如何使用IAR仿真环境查看CPU类型字长?
摘要:在此操作之前假设已有一个现成的cpu代码工程如:IAR for Stm8的Demo工程。点软件仿真进入调试状态单击菜单栏View –> Watch –> Watch在新弹出来的Watch框中输入:sizeof(double)sizeof(float)sizeof(long)sizeof(long long)sizeof(int)sizeof(short)sizeof(char) 阅读全文

posted @ 2013-07-27 20:54 Worldsing 阅读(1508) 评论(0) 推荐(0)

IAR 1.3 for STM8 ST-Link无法调试 无法仿真 the debugging session could not be started
摘要:IAR 1.3 for STM8 ST-Link无法调试 the debugging session could not be startedCPU型号是:STM8F103F3首先要用ST Visual Programmer 对stm8下载验证硬件的正确性。再打开IAR的工程:发现仿真时无法连接把CPU型号改了一上,居然可以了,按网上的说法有用F103K3U的,我用时也不行,最终用的型号是:003F3 阅读全文

posted @ 2013-07-27 16:51 Worldsing 阅读(17374) 评论(1) 推荐(0)

ST-Link 驱动安装
摘要:电脑中可以预先安装一个ST Visual Programmer 这个直接带STLink驱动或是安装一个STM32 ST-Link Uitilty然后选择自安安装点出下一步在弹出的对话框选择“仍然继续”单击完成,安装完毕!回到桌面右键单击——》我的电脑——》属性——》硬件——》设备管理 阅读全文

posted @ 2013-07-25 21:54 Worldsing 阅读(2718) 评论(0) 推荐(0)

ST-Link STVP Cannot communicate with the device!
摘要:用STLink在ST Visual Programmer中对STM8下载二进制文件有时会出现:原因:多半是STM8目标板没有电源有问题,或是电源引脚虚焊; 阅读全文

posted @ 2013-07-24 21:04 Worldsing 阅读(4978) 评论(0) 推荐(0)

IAR stm8带库的工程模板
摘要:下载:http://pan.baidu.com/share/link?shareid=2243555626&uk=2483252218 阅读全文

posted @ 2013-07-22 21:03 Worldsing 阅读(905) 评论(0) 推荐(0)