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

Add support for programming the SAM3X on the Udoo Quad #119

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

arrys
Copy link

@arrys arrys commented Jul 5, 2020

This PR adds support for a new board. The Udoo Quad or Dual. This board can be programmed from an external computer (1) or from the internal processor (2). I have therefore, added two new board configurations.

  1. Udoo Quad
  2. Udoo Quad Internal

The Udoo Quad needs a modifed bossac as it resets the SAM3X using a custom kernel module on the main processor. This means I also had to add the modified bossac tool in the manifest file.
This new tool is called when one of the Udoo board configurations is used.

This should be a step towards closing platformio/platformio-core#439.
I cannot add support for the Udoo Neo as I do not have access to the hardware to test it.

@arrys
Copy link
Author

arrys commented Jul 5, 2020

One note: I currently support bool-bossac-udoo on linux_x86_64 at my custom bossac fork but will add support for other platforms if this PR gets accepted.

I am happy to work out any issues.

@arrys
Copy link
Author

arrys commented Jul 9, 2020

I have currently tested the upload process in two scenarios.

  1. Uploading from a linux x64(x86) host using the CN6 USB port.
  2. Uploading from the SBC (linux armv7l) itself.

Both cases result in a succesful upload.

@mjbraun
Copy link

mjbraun commented Jul 30, 2020

This should be a step towards closing platformio/platformio-core#439.
I cannot add support for the Udoo Neo as I do not have access to the hardware to test it.

Happy to run tests for you and report back, if that would help?

@arrys
Copy link
Author

arrys commented Oct 22, 2020

I have looked into the documentation for the Udoo Neo and it seems like there are 3 different ways to upload code.
Unfortunately I don't have the experience to get the Neo working.

I am not even sure this pull request is up to spec. I tried following all the rules I could find. It might be better to wait for someone from the core team to offer their view. I wouldn't want to force maintenance on them in case I don't fully understood the eco-system.

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.

2 participants