完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在学习自己用嵌入式C编程,我已经购买了一台stm8s003f3P6微控制器和一台STLINKV2编程器来编程设备,我可以使用STVISUAL DEVELOPE代码或IAR EMBEDDED WORKBENCH,但我还是无法绕过哪个是atmel工作室用于atmel设备的最佳和简单的环境。我有atmel设备的经验,我能够编程,但我还不能理解st。
如果有人可以指导我从scartch编程stm8s003f3p6设备的方式,或者可以指向我一个有用的教程。那对你很好。谢谢你 #stm8s003f3 #stvd# - #iar-workbenc 以上来自于谷歌翻译 以下为原文 i am learning to program in embedded C by myself and i have bought an stm8s003f3P6 microcontroller and a STLINKV2 programmer to program device and i under i can use STVISUAL DEVELOPE code or IAR EMBEDDED WORKBENCH but still i am not able to wrap my head around about which is the best and simple enviroment to use like atmel studio for atmel devices. I have experience with atmel devices and i am able to program them but i am not able to understand st just yet. Please if somebody could guide me the way to program stm8s003f3p6 device from scartch or could point me to an useful tutorial . that would be very kind of you .thank you #stm8s003f3 #stvd #- #iar-workbenc |
|
相关推荐
1个回答
|
|
你好,
您也可以将COSMIC(编译器)与STVD或开源SDCC(编译器)一起使用,但与Atmel或S08设备的环境相比,STVD有点陈旧/笨重可能是公平的。 如果我没记错的话,SDCC网站上有一些示例程序,但您也可以考虑STM8S外设库,它往往使用API调用,或者您可以选择直接注册访问。库中的每个外设也有示例。 您可以通过Google找到一些示例,但自然不会出现在Arduinos附近的任何地方! 希望有所帮助, 伊恩 以上来自于谷歌翻译 以下为原文 Hello, You can also use COSMIC (compiler) with STVD or the open source SDCC (compiler) but it's probably fair to say STVD is a bit old/clunky compared to environments for Atmel or S08 devices. There are some example programs on the SDCC website if I remember correctly but you could also consider the STM8S peripheral library, which tends to use API calls or you can opt for direct register access. There are also examples for each peripheral in the library. There are also some examples that you can find via Google but naturally not anywhere near what you can find for Arduinos! Hope that helps, Ian |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1483 浏览 1 评论
2153 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1511 浏览 1 评论
2843 浏览 6 评论
5281 浏览 21 评论
367浏览 4评论
564浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
283浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
644浏览 3评论
538浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-28 13:13 , Processed in 0.660676 second(s), Total 43, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号