Skip to content

Arduino uno cannot upload from raspberry pi 2 model B #63

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

Closed
quchunguang opened this issue Oct 9, 2018 · 3 comments
Closed

Arduino uno cannot upload from raspberry pi 2 model B #63

quchunguang opened this issue Oct 9, 2018 · 3 comments
Labels
conclusion: duplicate Has already been submitted

Comments

@quchunguang
Copy link

I worked well connecting to my PC with Ubuntu.

And I successfully installed the auruino-cli on my raspberry pi 2 model B.
The compile is OK, but when I arduino-cli upload -p /dev/ttyUSB0 --fqbn arduino:avr:uno MyFirstSketch,
it shows below uncatched error messages...

panic: assignment to entry in nil map

goroutine 1 [running]:
github.com/arduino/arduino-cli/vendor/github.com/arduino/go-properties-orderedmap.(*Map).Set(0x1249be64, 0x1257a0b2, 0x4, 0x1257a0b7, 0x12)
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/arduino/go-properties-orderedmap/properties.go:226 +0x6c
github.com/arduino/arduino-cli/vendor/github.com/arduino/go-properties-orderedmap.(*Map).Merge(0x1249be64, 0x1249be50, 0x1, 0x1, 0x123018c8)
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/arduino/go-properties-orderedmap/properties.go:396 +0x7c
github.com/arduino/arduino-cli/commands/upload.run(0x124c9900, 0x12397b00, 0x1, 0x5)
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/commands/upload/upload.go:165 +0x364
github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra.(*Command).execute(0x124c9900, 0x12397ad0, 0x5, 0x6, 0x124c9900, 0x12397ad0)
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra/command.go:760 +0x20c
github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x123c72c0, 0x124c88c0, 0x123c7e00, 0x123c7a40)
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra/command.go:846 +0x20c
github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra.(*Command).Execute(0x123c72c0, 0x3effc, 0x5140c0)
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra/command.go:794 +0x1c
main.main()
        /home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/main.go:30 +0x18

BTW, it is worked fine with the arduino+arduino.mk CLI solutions on this raspberry for years.

@per1234
Copy link
Contributor

per1234 commented Oct 9, 2018

Which version of arduino-cli are you using? There is a similar issue here: #62, which was already fixed in today's 0.3.1-alpha.preview release:
https://github.com/arduino/arduino-cli/releases/tag/0.3.1-alpha.preview

@quchunguang
Copy link
Author

Which version of arduino-cli are you using? There is a similar issue here: #62, which was already fixed in today's 0.3.1-alpha.preview release:
https://github.com/arduino/arduino-cli/releases/tag/0.3.1-alpha.preview

Linux ARM 0.3.1-alpha.preview
download from home page here(not by go get)

@quchunguang
Copy link
Author

It worked after i just go get to current 98fec8b

@per1234 per1234 added conclusion: duplicate Has already been submitted and removed Waiting for feedback labels Oct 9, 2018
per1234 added a commit that referenced this issue Nov 16, 2020
Make CI code formatting check support spaces in path
per1234 added a commit that referenced this issue Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants