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

Nullref in ArduinoUploader.dll #47

Open
JelleDekkers opened this issue Oct 1, 2019 · 0 comments
Open

Nullref in ArduinoUploader.dll #47

JelleDekkers opened this issue Oct 1, 2019 · 0 comments

Comments

@JelleDekkers
Copy link

JelleDekkers commented Oct 1, 2019

When trying to run a simple console app with the given .NET sample code I get a NullReferenceException in ArduinoUploader.dll.

I successfully installed the library and it's dependencies via NuGet and all the references are found. Also tried restoring NuGet packages but it says there's nothing to restore.

StackTrace:
at ArduinoUploader.BootloaderProgrammers.ResetBehavior.ResetThroughTogglingDtrRtsBehavior.Reset(SerialPortStream serialPort, SerialPortConfig config)
at ArduinoUploader.BootloaderProgrammers.ArduinoBootloaderProgrammer.Close()
at ArduinoUploader.ArduinoSketchUploader.UploadSketch(IEnumerable`1 hexFileContents)
at ArduinoUploader.ArduinoSketchUploader.UploadSketch()
at ArduinoUploadTest.Program.Main(String[] args) in C:\Users\Jelle Dekkers\source\repos\ArduinoUploadTest\ArduinoUploadTest\Program.cs:line 21

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

No branches or pull requests

1 participant