Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

tool-avrdude not installing #27

Open
novemberalpha opened this issue Apr 23, 2017 · 6 comments
Open

tool-avrdude not installing #27

novemberalpha opened this issue Apr 23, 2017 · 6 comments

Comments

@novemberalpha
Copy link
Contributor

Hey gang,

I'm trying to rebuild new docker instances and after a git pull and complete docker image rebuild I'm getting the following error when I try to flash the Arduino.

pi@adcc1d370aed:~$ rosrun openag_brain flash
Initializing PlatformIO project
OpenAg firmware project initialized!
Warning: no modules specified for the project
Downloading "rosserial_arduino_libs"
Cloning into '/tmp/tmpy6j4Uo/lib/rosserial_arduino_libs'...
remote: Counting objects: 313, done.        
remote: Total 313 (delta 0), reused 0 (delta 0), pack-reused 313        
Receiving objects: 100% (313/313), 134.99 KiB | 0 bytes/s, done.
Resolving deltas: 100% (198/198), done.
Checking connectivity... done.
[Sun Apr 23 03:05:00 2017] Processing megaatmega2560 (platform: atmelavr, board: megaatmega2560, framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Installing framework-arduinoavr package:
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Installing tool-avrdude package:
Downloading  [####################################]  100%          
Error: The 'sha1' sum '1c4eab065c4aafb594737d619df02c907e57286e' of downloaded file 'tool-avrdude-linux_armv6l-1.60001.1.tar.gz' is not equal to remote '1a5349907a5ebc7f12b8205d714855e3e810cd47'
Error: Compilation failed
Done

Are you seeing this on your end? I've done this a hundred times and I'm pretty sure I'm doing it correctly. What could be going wrong?

Thanks!

J

@novemberalpha
Copy link
Contributor Author

I ran apt-get update / upgrade and while a ton of files were updated, there was no improvement on the situation documented above. == still broke.

@sp4ghet
Copy link
Contributor

sp4ghet commented May 1, 2017

It appears to run when you do pio upgrade
http://forum.openag.media.mit.edu/t/rosserial-tool-avrdude-build-failing-with-not-matching-sha/1774/3

@LeonChambers is there a reason for the plaformio version being 2.11? or can it be updated with no problem.

@LeonChambers
Copy link
Collaborator

There were breaking changes in platformio 3.0 that would break the Arduino build system. From what I remember, it shouldn't be too much work to update the codebase to work with platformio 3.0, but I never got around to actually doing it.

@sp4ghet
Copy link
Contributor

sp4ghet commented May 1, 2017

Would the changes be to each firmware module, or to something in openag_python/brain? Either way I'm thinking it would make sense to upgrade to platformio 3. Thanks for the input!

@LeonChambers
Copy link
Collaborator

It would be in openag_python/brain.

@sp4ghet
Copy link
Contributor

sp4ghet commented May 1, 2017

I just tried it out, there's not much broken on openag_python/brain, but jake broke a firmware module last month that fails under 3.0 and probably gives warnings or something on 2.

We've successfully compiled and written to an arduino so it looks good!

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

No branches or pull requests

3 participants