I am new to stm8s series of microcontroller. I want to program stm8s003f3p6 via UART but there is no inbuilt bootloader in it. So is it possible to burn custom bootloader? How should I start? Is there any reference?
\$\begingroup\$
\$\endgroup\$
2
-
\$\begingroup\$ "easy" depends on what you find easy, we won't be able to answer that for you. If you've written bootloaders before, probably easy. \$\endgroup\$– Marcus MüllerCommented Oct 23, 2020 at 14:03
-
1\$\begingroup\$ "Is there any reference?" I trust you can go onto the product page, click on "Documentation" and then click on "bootloader FAQ". \$\endgroup\$– Marcus MüllerCommented Oct 23, 2020 at 14:05
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
3
I got the answer to my question . It may help others. Please see this post for answer.
Post in above link explains, how to write bootloader for stm8s003f3p6. Also there is Python program of uploader. Github Link for the code is given at the last of the post
-
1\$\begingroup\$ (-1): How do I write a good answer? - Provide context for links "Links to external resources are encouraged, but please add context around the link so your fellow users will have some idea what it is and why it’s there. Always quote the most relevant part of an important link, in case the external resource is unreachable or goes permanently offline." \$\endgroup\$ Commented Oct 23, 2020 at 16:19
-
\$\begingroup\$ Sorry .Now I added some context of post. Is it ok now? \$\endgroup\$ Commented Oct 23, 2020 at 16:31
-
1\$\begingroup\$ Don't worry. You've added context, but ideally you should still "always quote the most relevant part in case the external resource is unreachable" - i.e. the most relevant instruction or code snippet. It's understandable if you're not sure what such quote should be, since the linked reference is new info for you. You can always complement your answer later. \$\endgroup\$ Commented Oct 23, 2020 at 16:42