Giới thiệu về CooCox CoIDE cho STM32
Có rất nhiều môi trường phát triển tích hợp (IDE – Integrated Development Environment) hỗ trợ việc lập trình với vi điều khiển STM32F407VG. Có thể kể đến các IDE phổ biến sau:
- uVISION (Keil)
- IAR Embeded Workbench for ARM
- Altium Tasking VX-Toolset
- Atolic TrueStudio
- CooCox CoIDE
Trong các IDE nói trên, mỗi IDE đều có những ưu nhược điểm riêng. Việc lựa chọn IDE nào tùy thuộc vào thói quen, kinh nghiệm cũng như khả năng chi trả của người lập trình. Trong tài liệu này tác giả chọn công cụ CooCox CoIDE vì đây là bộ công cụ miễn phí hoàn toàn, được xây dựng trên nền tảng Eclipse nên kế thừa các ưu điểm của Eclipse, trong đó nổi bật nhất là sự hỗ trợ mạnh mẽ công việc soạn thảo code, mang đến sự thoải mái cho người lập trình, nhất là những người mới bắt đầu. Ngoài ra CoIDE còn hỗ trợ người dùng trong việc tạo và quản lý project, cho phép lựa chọn chip, thêm bớt thiết bị ngoại vi, driver và thư viện tương ứng. Với người mới học, CoIDE thực sự sẽ là một người bạn đồng hành hết sức tuyệt vời.
Để mở CoIDE click vào biểu tượng sau:

Khi mở ra CoIDE trông như một cửa sổ Eclipse thông thường:

Để tạo project, từ dòng menu của CoIDE chọn Project\New Project, cửa sổ New Project xuất hiện:

Tại đây người dùng cần chọn đường dẫn tới nơi dự định chứa project của mình và nhập vào tên project, sau đó nhấn Next. Ở trang tiếp theo, chọn Chip, nhấn Next để tiếp tục:

Ở trang Chip người dùng cần browse tới dòng chip cần chọn rồi nhấn Finish. Trong trường hợp này ta chọn STM32F407VG như ở hình dưới.

Sau khi nhấn Finish, cửa sổ Repository mở ra. Tại đây chúng ta cần chọn các thành phần ngoại vi mà chúng ta sử dụng. Trước khi chọn các thành phần ngoại vi chúng ta lưu ý CoIDE đã tạo cho chúng ta project mới với file main.c ở trong. Nội dung file main.c như sau:
int main(void)
{
while(1)
{
}
}
Đây có thể coi như chương trình “hello word” của thế giới nhúng.

Việc lựa chọn các thành phần ngoại vi nào tùy thuộc vào project chúng ta muốn phát triển. Từ chương sau chúng ta sẽ đi vào cụ thể từng project cơ bản.
vài hình ảnh về CooCox CoIDE :
Debug với J-Link / J-Trace:

Chọn debugger JTAG / SWD /…:

Chọn dòng vi điều khiển:

If you would like to take much from this post then you have
to apply these techniques to your won weblog.
Hi to all, hߋw is alⅼ, I tһink еvery one iѕ gettіing more from thi ѕite, and your views агre good in ffavor
of new people.
Very rapidly this website will be famous among all
blogging users, due to it’s pleasant articles
Thanks for sharing your thoughts on timeoftheworld.date.
Regards
Hey There. I found your blog using msn. This is a really well written article.
I’ll be sure to bookmark it and come back to read more of your useful info.
Thanks for the post. I’ll definitely return.
Greetings! Very helpful advice within this article! It is the
little changes that will make the greatest changes.
Thanks a lot for sharing!
I’m really loving the theme/design of your site. Do you ever
run into any browser compatibility issues? A few of my blog readers have
complained about my blog not operating correctly in Explorer but looks great in Chrome.
Do you have any tips to help fix this issue?
I simply couldn’t go away your web site before suggesting that I extremely enjoyed the usual information a person provide on your visitors?
Is gonna be back often in order to investigate cross-check new posts
I’m really enjoying the design and layout of your
blog. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often.
Did you hire out a designer to create your theme? Great work!
Currently it seems like Movable Type is the preferred blogging platform out there right now.
(from what I’ve read) Is that what you’re using on your
blog?
Its such as you read my mind! You seem to know a lot approximately this, such
as you wrote the e-book in it or something. I feel that you could do with some p.c.
to drive the message house a bit, however other than that, that is excellent
blog. An excellent read. I’ll certainly be back.
I really like your blog.. very nice colors & theme. Did you make this website
yourself or did you hire someone to do it for you?
Plz respond as I’m looking to design my own blog and would like to find out where u got this from.
thanks a lot
Hello, just wanted to tell you, I liked this blog post.
It was inspiring. Keep on posting!
Hey! This is kind of off topic but I need some
advice from an established blog. Is it hard to set up your own blog?
I’m not very techincal but I can figure things out pretty quick.
I’m thinking about creating my own but I’m not sure where
to begin. Do you have any ideas or suggestions?
Thank you
Very rapidly this web site will be famous amid all
blog viewers, due to it’s good articles
Hey there would you mind letting me know which web host you’re using?
I’ve loaded your blog in 3 completely different browsers
and I must say this blog loads a lot quicker then most.
Can you suggest a good web hosting provider at a reasonable price?
Thanks a lot, I appreciate it!
Greetings from Los angeles! I’m bored to tears at work so I decided to browse your site on my iphone during lunch break.
I enjoy the knowledge you provide here and can’t wait to take a look
when I get home. I’m shocked at how fast your blog loaded on my phone ..
I’m not even using WIFI, just 3G .. Anyhow, amazing blog!
It’s impressive that you are getting ideas from this article as well as from our discussion made at this time.
Here is my web-site: slot deposit via pulsa
Saved as a favorite, I really like your web site!
my blog post … http://www.ourgreatmoments.co.uk
Youг styⅼе is very unique in compаrison to other folks I have reɑd stufff from.
I appreciate you for postiung when you’ve got the opportunity,
Gueѕs I will jᥙst bookmark this web site.
After I originally commented I seem to have clicked on the -Notify me
when new comments are added- checkbox and now every time a comment is
added I get 4 emails with the same comment. There has to be a means you can remove me from that service?
Appreciate it!
Review my site geegram.net
Awesome article.
My web site; ads.wealthxo.com
Excellent blog here! Also your website loads up fast!
What host are you using? Can I get your affiliate link to your host?
I wish my website loaded up as quickly as yours lol
Here is my blog post … http://biologplace.com/user/profile/499428
hey there and thank you for your information – I’ve definitely
picked up anything new from right here. I did however expertise several technical points using this site, since
I experienced to reload the website a lot of times previous
to I could get it to load properly. I had been wondering if your hosting
is OK? Not that I’m complaining, but slow loading instances times will very frequently affect your placement in google and
could damage your quality score if advertising and
marketing with Adwords. Anyway I’m adding this RSS to my e-mail and could look out for much more of your respective intriguing content.
Ensure that you update this again soon..
Also visit my site: https://www.fastspeech.org/healthy-meal-suggestions-for-breastfeeding-moms/
Wow, that’s what I was searching for, what a data!
existing here at this web site, thanks admin of this website.
My web-site http://www.jblisting.com
Having read this I thought it was really enlightening. I appreciate you finding the time
and energy to put this informative article together.
I once again find myself personally spending way too much time both reading and commenting.
But so what, it was still worth it!
My blog post – http://www.zhuming.cc/
What’s up everybody, here every one is sharing
such experience, thus it’s nice to read this webpage, and
I used to pay a quick visit this weblog everyday.
Also visit my web blog: fahl.uk
Thanks for the auspicious writeup. It actually was a entertainment account it.
Look complicated to far brought agreeable from you!
By the way, how could we keep up a correspondence?
Also visit my web-site … https://blog.tibetcul.com/home.php?mod=space&uid=615840&do=profile
Good website! I really love how it is easy on my eyes and the data are well written. I am wondering
how I could be notified whenever a new post has been made.
I’ve subscribed to your RSS which must do the trick! Have a nice
day!
my website iwebaz.com
With havin so much content do you ever run into any
problems of plagorism or copyright violation?
My blog has a lot of exclusive content I’ve either written myself
or outsourced but it appears a lot of it is popping it
up all over the internet without my permission.
Do you know any techniques to help stop content from being stolen? I’d genuinely appreciate it.
Feel free to visit my web blog; spyep.com
Enjoyed studying this, very good stuff, thank you.
Feel free to surf to my webpage – https://thuenhanguyencan.vn/
Hey there! This is my first visit to your blog!
We are a team of volunteers and starting a new initiative in a community in the same
niche. Your blog provided us valuable information to work on. You have done a outstanding job!
Have you ever thought about creating an ebook or guest authoring
on other sites? I have a blog centered on the same topics you discuss
and would love to have you share some stories/information. I
know my readers would appreciate your work. If you’re even remotely interested, feel free to
send me an e mail.
Some really interesting info, well written and broadly speaking user friendly.
Feel free to surf to my blog: https://kebe.top
I love looking through an article that will make people
think. Also, thank you for allowing for me to comment!
I’d like to find out more? I’d want to find out more details.
Nice blog here! Also your web site loads up fast! What web
host are you using? Can I get your affiliate
link to your host? I wish my web site loaded up as fast
as yours lol
Wonderful goods from you, man. I’ve understand your stuff previous to and you are
just too magnificent. I really like what you have acquired here, really like what you’re
saying and the way in which you say it. You make it
enjoyable and you still care for to keep it sensible. I can’t wait to read far more from you.
This is really a tremendous website.
Hi to all, the contents existing at this
web page are actually awesome for people experience, well, keep up the nice work fellows.
Also visit my site http://railwayearth.com/?p=13825
When someone writes an post he/she maintains the idea of a
user in his/her mind that how a user can understand it.
So that’s why this piece of writing is outstdanding.
Thanks!
Hey would you mind stating which blog platform you’re working with?
I’m planning to start my own blog soon but I’m having
a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique.
P.S Sorry for getting off-topic but I had to ask!
What’s up to all, how is all, I think every one
is getting more from this website, and your views are fastidious in favor of new users.
Feel free to surf to my web page: judi poker online
For newest news you have to pay a visit internet and on web I found this web page as a best web page
for latest updates.
If some one desires expert view concerning running a
blog after that i suggest him/her to go to see this website, Keep up the nice work.
Here is my webpage – https://freeholmes.com
Would love to perpetually get updated outstanding weblog!
My web site … https://fitisthenewit.com/do-enlargement-pills-go-a-long-way-for/
I know this if off topic but I’m looking into starting my
own weblog and was curious what all is needed to get set up?
I’m assuming having a blog like yours would cost a pretty penny?
I’m not very internet savvy so I’m not 100% certain. Any suggestions or
advice would be greatly appreciated. Cheers
Undeniably believe that which you stated. Your favorite reason appeared to be on the web the easiest thing to be aware
of. I say to you, I certainly get irked while people consider worries that
they just do not know about. You managed to hit the nail upon the top and defined out the whole thing without
having side effect , people could take a signal. Will likely be back to get more.
Thanks
Very good information. Lucky me I discovered your website by accident (stumbleupon).
I have saved as a favorite for later!
Hello, this weekend is pleasant designed for me, as this occasion i am reading this fantastic educational paragraph here at my house.
Here is my blog post … http://www.nairacircle.com
I love what you guys are up too. This type of clever work and coverage!
Keep up the very good works guys I’ve incorporated
you guys to my own blogroll.
Also visit my web blog: ydp4clinic.co.kr
Thanks for finally talking about > Kit STM32F4 Discovery- Bài 0:
IDE lập trình – Điện Tử Hello < Loved it!
It’s really a great and helpful piece of information. I’m happy that you simply shared this useful info with us.
Please keep us up to date like this. Thanks for sharing.
Hi there very cool website!! Man .. Beautiful ..
Amazing .. I’ll bookmark your site and take the feeds also…I’m happy to find a lot of useful information here within the submit, we’d like
work out more strategies in this regard, thank you for sharing.
Also visit my web blog; litdevelopments.com
I savor, lead to I discovered exactly what I used to be taking a look for.
You have ended my 4 day long hunt! God Bless you man. Have a
great day. Bye
I simply could not leave your web site prior to suggesting that
I extremely loved the usual info an individual supply for your guests?
Is gonna be back regularly in order to check up on new posts
You are so awesome! I do not believe I’ve read a single thing like that before.
So wonderful to discover someone with unique thoughts on this subject matter.
Seriously.. thanks for starting this up. This website is one
thing that’s needed on the internet, someone with a little originality!
Some really nice and useful info on this website, likewise I believe the style and design has got
excellent features.
Feel free to visit my webpage … pathakwavecurecenter.com
Good write-up. I absolutely appreciate this site. Thanks!
Here is my blog post :: live22 slot online