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

Archim Fix p.io upload issues, and Arduino IDE LCD issue. #17405

Merged
merged 2 commits into from
Apr 12, 2020

Conversation

Allted
Copy link
Contributor

@Allted Allted commented Apr 4, 2020

I have been working with Ultimachine the last few days to fix these issues.

1-The Archim p.io updates from last night compile fine but will not upload, the added line fixes that (windows 10, VSC if that matters).

We had been using;

[env:DUE_ARCHIM]
platform      = atmelsam
framework     = arduino
board         = due
build_flags   = -DARDUINO_SAM_ARCHIM ${common.build_flags}
lib_deps      = 
  LiquidCrystal
  https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
  ${common.lib_deps}
lib_ignore    = c1921b4
upload_command = bossac --info --unlock --write --verify --reset --erase -U false --boot $SOURCE

I am not sure if there are any important differences, what I just submitted seems to work perfectly.

2-The removed USB lines were a fix we submitted a year or so back that is no longer needed. Those lines didn't seem to do anything when flashed with P.io (it worked fine with them) but would crash the board on reset if flashed with Arduino IDE for some reason.

@AFprinter
Copy link

Is this just for the Archim 1 or does this apply to Archim 2 as well?

@Allted
Copy link
Contributor Author

Allted commented Apr 7, 2020

My guess would be both since the only difference is the drivers but I can not say for certain.

@AFprinter
Copy link

Cool. I'll give it a shot

@thinkyhead
Copy link
Member

Since this only applies to Windows 10 and bossac.exe is not available for other platforms you'll need to use the extra_scripts field. See this section of the documentation on PIO Advanced Scripting for instructions on how to replace the upload command and provide upload_flags.

@Allted
Copy link
Contributor Author

Allted commented Apr 9, 2020

Thanks I will pass the along to Ultimachine, we are working on another P.io driver issue as well.

@thinkyhead
Copy link
Member

thinkyhead commented Apr 9, 2020

I've pushed the required changes to your branch, which should work AFAICT. Please test to see if bossac.exe is properly invoked when doing an upload from Windows.

@Allted
Copy link
Contributor Author

Allted commented Apr 9, 2020

Thanks I will try is ASAP.

@Allted
Copy link
Contributor Author

Allted commented Apr 9, 2020

Okay I just finished trying out the files before this most recent commit. It uploaded fine.

I with get with Ultimachine for the P.io driver timing (or whatever it is) issue. It uploads but the drivers still do not work, but it works fine with Arduino IDE.

Thank you!

@thinkyhead thinkyhead merged commit a97ae51 into MarlinFirmware:bugfix-2.0.x Apr 12, 2020
ghost pushed a commit to bfhobbes/Marlin that referenced this pull request Apr 15, 2020
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
mathom pushed a commit to mathom/Marlin that referenced this pull request Apr 17, 2020
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
jmp0x0000 pushed a commit to jmp0x0000/Marlin that referenced this pull request Aug 7, 2020
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
njibhu pushed a commit to njibhu/Marlin that referenced this pull request Aug 24, 2020
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
HairingX pushed a commit to HairingX/Marlin that referenced this pull request Jun 16, 2021
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants