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

Unable to upload file to ESP32 #7

Open
wilkgr76 opened this issue Aug 16, 2020 · 0 comments
Open

Unable to upload file to ESP32 #7

wilkgr76 opened this issue Aug 16, 2020 · 0 comments

Comments

@wilkgr76
Copy link

Hey there! I'm trying to upload a file to my ESP32-CAM, but upon running I receive this error:

PS D:\Projects\ESP32-busy-indicator\mcu_code> wcc -p COM5 -up .\system.lua system.lua
panic: Invalid arguments were passed to the function [recovered]
        panic: Invalid arguments were passed to the function [recovered]
        panic: Invalid arguments were passed to the function
        panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x5116cd]

goroutine 1 [running]:
github.com/whitecatboard/whitecat-console/vendor/github.com/mikepb/go-serial.(*Port).Close(0x0, 0x1, 0x1)
        d:/gows/src/github.com/whitecatboard/whitecat-console/vendor/github.com/mikepb/go-serial/serial.go:507 +0x2d
main.(*Board).detach(0xc0420962c0)
        d:/gows/src/github.com/whitecatboard/whitecat-console/board.go:316 +0x169
main.main.func1()
        d:/gows/src/github.com/whitecatboard/whitecat-console/main.go:93 +0x43
panic(0x690e80, 0x823f40)
        D:/Go/src/runtime/panic.go:489 +0x2dd
main.connect.func1()
        d:/gows/src/github.com/whitecatboard/whitecat-console/connection.go:56 +0x152
panic(0x690e80, 0x823f40)
        D:/Go/src/runtime/panic.go:489 +0x2dd
main.(*Board).attach.func1(0xc0420962c0)
        d:/gows/src/github.com/whitecatboard/whitecat-console/board.go:262 +0x18f
panic(0x690e80, 0x823f40)
        D:/Go/src/runtime/panic.go:489 +0x2dd
main.(*Board).attach(0xc0420962c0, 0xc04203ef20, 0xc04203ef01)
        d:/gows/src/github.com/whitecatboard/whitecat-console/board.go:282 +0x3e7
main.connect(0xc042085e01, 0xc04203e195, 0x4)
        d:/gows/src/github.com/whitecatboard/whitecat-console/connection.go:79 +0x224
main.main()
        d:/gows/src/github.com/whitecatboard/whitecat-console/main.go:262 +0xed2
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