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

First amcfoc projects: amcfoc.loader and amcfoc.CM7launcher #521

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

marcoaccame
Copy link
Contributor

@marcoaccame marcoaccame commented Oct 2, 2024

This PR adds the amcfoc.loader and the amcfoc.CM7launcher projects.

Both projects produce the binary that is first executed by the CM4 at bootstrap. They are alternative one to each other and they work in the following way.

The amcfoc.loader is responsible to launch the other binaries of the CM4: the amfoc.updater or the amcfoc.yri. It is the amcfoc.yri that will activate the application dedicated to motor control on the CM7 core, the amcfoc.mot.

There is however a caveat: the amcfoc.loader cannot properly work yet because needs the device driver of the EEPROM that is still WIP, so we have an alternative.

The amcfoc.CM7launcher project launches directly the CM7 core with whatever projects it holds and then will just ... blink a LED @ 2 Hz. The project on the CM7 can be for now the one in folder examples\cm7-embot-os w/ target amcfoc.1cm7-slave. Soon it will be the amcfoc.mot.

This PR can be safely merged as it touches only files dedicated to the amcfoc.

@marcoaccame marcoaccame marked this pull request as draft October 2, 2024 15:56
@marcoaccame marcoaccame changed the title The first amcfoc project: the amcfoc.loader The first amcfoc projects: amcfoc.loader and amcfoc.CM7launcher Oct 3, 2024
@marcoaccame marcoaccame changed the title The first amcfoc projects: amcfoc.loader and amcfoc.CM7launcher First amcfoc projects: amcfoc.loader and amcfoc.CM7launcher Oct 3, 2024
…it enables the slave core and when it releases the locking HW semaphore.
@marcoaccame marcoaccame marked this pull request as ready for review October 3, 2024 08:12
@marcoaccame marcoaccame merged commit 2189dd3 into robotology:devel Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant