完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我必须开始使用STM8S003F3。我做了一个定制板。
1.选择什么调试器? 2.什么IDE,免费软件最好用于c语言 3.任何开始的示例代码 以上来自于谷歌翻译 以下为原文 I have to get started for STM8S003F3. I have made a custom board. 1. What debugger to choose? 2. What IDE, freeware preferably for c language 3. Any example code to get started |
|
相关推荐
4个回答
|
|
如果您正在编写小型应用程序,那么IAR有一个免费的开发环境(IDE / Compiler / Debugger)用于非商业用途。
如果你不想沿着标准的图书馆路线走,那么http://blog.mark-stevens.co.uk/the-way-of-the-register/ 关于使用寄存器来控制STM8S。 问候, 标记 以上来自于谷歌翻译 以下为原文 If you are writing small applications then IAR have a free development environment (IDE/Compiler/Debugger) for non-commercial use. If you don't want to go down the standard library route then http://blog.mark-stevens.co.uk/the-way-of-the-register/ about using the registers to control the STM8S. Regards, Mark |
|
|
|
你好
我最近从eBay购买了一些廉价的“远东”STM8最低开发套件。它们突出地采用了STM8S003F3P6处理器,但“套件”本质上是一个带有USB插头供电的分线板。 STM8S003F3P6 STM8最小系统开发板SWIM调试 http://www.icstation.com/product_image.php?products_id=2745 我最初使用IAR C编译器用于STM8,并最终从eBay购买了一些便宜的STLINKV2克隆。它们与Windows下的IAR产品一起使用,对我来说更重要的是,它们与Linux的stm8flash命令行实用程序一起使用。由于我是一个业余爱好者,IAR产品非常强大(让我重申:我是一个非常随意的爱好者)并且还想要一个Linux开发环境。 SDCC编译器现在支持(有限的)STM8应用程序构建,当然,这足以满足我的谦逊需求。 SourceForge站点具有SDCC的相关STM8内容以及一些示例。我注意到“简单的闪烁LED”示例依赖于ADC和中断,这对我的口味来说有点异乎寻常。 http://sourceforge.net/directory/os:linux/freshness:recently-updated/?q=stm8 - 我相信还有适用于Windows的SDCC端口。 最后我发现Mark Stevens所谓的“Silverlight Developer”网站http://blog.mark-stevens.co.uk/the-way-of-the-register/是一个神话般的网站,帮助我(有点)理解STM8产品的低级寄存器设置。我看到他回应了你的帖子,我可以保证它是一个很棒的网站。 如果你在linux下运行,我认为你不能使用SWIM的调试功能。 希望这可以帮助 祝你好运 特里 以上来自于谷歌翻译 以下为原文 Hello I recently bought some of the cheap 'far east' 'STM8 Minimum development kits' off of eBay. They prominently feature the STM8S003F3P6 processor, but the 'kit' is essentially a break-out board with a USB plug for power. STM8S003F3P6 STM8 Minimum System Development Board SWIM Debug http://www.icstation.com/product_image.php?products_id=2745 I initially used the IAR C compiler for the STM8 and ended up buying some fo the cheap STLINKV2 clones, again from eBay. They work with the IAR product under Windows, and more importantly for me, they work with the stm8flash command line utility for Linux. As I am a hobbyist, the IAR product was pretty overwhelming (let me restate: I'm a Very Casual Hobbyist) and also wanted a Linux development environment. The SDCC compiler now supports (limited) STM8 application building, certainly more than adequate for my humble needs. The SourceForge site has the relevant STM8 stuff for SDCC as well as some examples. I noted that the 'simple blinky LED' example relies on the ADC and interrupts, a tad exotic for my tastes. http://sourceforge.net/directory/os:linux/freshness:recently-updated/?q=stm8 -there is an SDCC port for Windows as well I believe. Finally I found that the site by Mark Stevens called 'Silverlight Developer' http://blog.mark-stevens.co.uk/the-way-of-the-register/ is a fabulous site, helped me to (somewhat) understand the low-level register setups of the STM8 products. I see that he's responded to your post and I can vouch that its a great site. If you're running under linux, I don't think you can use the debugging features of SWIM. Hope this helps Good Luck Terry |
|
|
|
嗨,
我推荐COSMIC编译器,因为F003程序总是需要优化 - 我试过IAR和Raisonance以及两者都有错误,特别是在最高优化级别。来自Raisonance的建议是不使用优化...... ;-)。到目前为止,宇宙表现最佳。 作为调试器我使用RLINK,但我认为有更便宜的可以做同样的事情。 最好的祝福, 亚历克斯 以上来自于谷歌翻译 以下为原文 Hi, I recommend COSMIC compiler as on F003 programs always need to be optimized - I tried IAR and Raisonance and both where buggy especially on highest optimization levels. Advice from Raisonance was to not use optimization... ;-). So far Cosmic performed best. As Debugger I use RLINK but I think there are cheaper ones that can do the same. Best regards, Alex |
|
|
|
1.作为硬件调试器使用Discovery板。它很便宜,您可以使用自己的MCU作为目标。
或者使用ST-LINK的中文克隆 - 很多都在ebay上。 2.作为IDE和软件调试器,我建议使用IAR EWB。它是免费的,代码大小限制为8千字节 - 这对于开始来说已经足够了。 3.代码示例 - 请看这里: 以上来自于谷歌翻译 以下为原文 1. As hardware debugger use Discovery board. It's cheap, and you can use its own MCU as target. Or use Chinese clone of ST-LINK - lots of them on ebay. 2. As IDE and software debugger I reccomend to use IAR EWB. It's free with code size limitation of 8 kbytes - it's more than enough for start. 3. Examples of code - look here: |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2742 浏览 1 评论
3244 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1813 浏览 1 评论
3655 浏览 6 评论
6044 浏览 21 评论
1342浏览 4评论
203浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
356浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
446浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
275浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 00:41 , Processed in 1.460003 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号