Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

st-link simple example #69

Closed
Le0nX opened this issue Feb 8, 2019 · 5 comments
Closed

st-link simple example #69

Le0nX opened this issue Feb 8, 2019 · 5 comments
Assignees
Labels

Comments

@Le0nX
Copy link

Le0nX commented Feb 8, 2019

Hello! I'm new to ARM programming and couldn't find any manuals/examples on C++ programming via ST-Link for your board... Could you give some simple example of code and process of it's building with flashing OpenCM via ST-link?

For example, I have Dynamixel ax-12a servos and want to rotate one of them with C++ bare bones on your board. Will I be able to use Dynamixel SDK for this task?

@Le0nX
Copy link
Author

Le0nX commented Feb 12, 2019

anybody?

@OpusK
Copy link
Contributor

OpusK commented Feb 13, 2019

Hi, @Le0nX

We do not officially provide a reference for this method.
However, since there is a hardware SWD pin, you can use it to create general firmware yourself.

If you use Eclipse or use TrueStudio, you can do this easily.
However, in this case, OpenCM's boot loader will be erased, which can be a bit cumbersome to repair.

@TuxLeon
Copy link

TuxLeon commented Feb 20, 2019

Hi Le0nX,
I was also looking for the STM source code or project. I now found this github repository. Perhaps this is what you were looking for.
https://github.com/ROBOTIS-GIT/OpenCM9.04/tree/master/arduino/opencm_arduino/opencm9.04

@OpusK
Copy link
Contributor

OpusK commented Feb 21, 2019

Hi, @TuxLeon.

This is a project to create a .lib file for opencm9.04. With this eclipse project, you can not do exactly what @Le0nX wants. Of course, you can refer to it to create an eclipse or TruStudio project.

@Le0nX
Copy link
Author

Le0nX commented Feb 28, 2019

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants