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

Problems with .arduino15/packages/bouffalo/tools/flasher/0.0.1/bl602-flasher.py #9

Closed
AgentSmith0 opened this issue Oct 7, 2022 · 1 comment

Comments

@AgentSmith0
Copy link

In #4 I described the problems I had with uploading programs to the PineCone. I needed to add #!/usr/bin/python3 and convert the file encoding to be able to execute the python script bl602-flasher.py. But now I get the following error message when trying to upload code form the Arduino IDE:

Traceback (most recent call last):
  File "/home/user/.arduino15/packages/bouffalo/tools/flasher/0.0.1/bl602-flasher.py", line 234, in <module>
    main()
  File "/home/user/.arduino15/packages/bouffalo/tools/flasher/0.0.1/bl602-flasher.py", line 216, in main
    send_sync(ser)
  File "/home/user/.arduino15/packages/bouffalo/tools/flasher/0.0.1/bl602-flasher.py", line 113, in send_sync
    expect_ok(ser)
  File "/home/user/.arduino15/packages/bouffalo/tools/flasher/0.0.1/bl602-flasher.py", line 56, in expect_ok
    raise ValueError(binascii.hexlify(err))
ValueError: b'ffff'
Failed uploading: uploading error: exit status 1

Does anyone know how to modify the script to fix this error?

@AgentSmith0
Copy link
Author

Getting the same error as in #8 now.

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