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

nice nano v2 upload problem #345

Open
goktugh opened this issue Dec 21, 2024 · 2 comments
Open

nice nano v2 upload problem #345

goktugh opened this issue Dec 21, 2024 · 2 comments

Comments

@goktugh
Copy link

goktugh commented Dec 21, 2024

i am using nice nano v2, burn bootloader works perfect but when I try to upload a sketch, I get this error

Failed to upgrade target. Error is: ClearCommError failed (PermissionError(13, 'The device does not recognize the command.', None, 22))
Traceback (most recent call last):
File "main.py", line 296, in serial
File "dfu\dfu.py", line 235, in dfu_send_images
File "dfu\dfu.py", line 203, in _dfu_send_image
File "dfu\dfu_transport_serial.py", line 155, in send_init_packet
File "dfu\dfu_transport_serial.py", line 243, in send_packet
File "dfu\dfu_transport_serial.py", line 264, in get_ack_nr
File "serial\serialwin32.py", line 275, in read
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'The device does not recognize the command.', None, 22))

Possible causes:

  • Selected Bootloader version does not match the one on Bluefruit device.
    Please upgrade the Bootloader or select correct version in Tools->Bootloader.
  • Baud rate must be 115200, Flow control must be off.
  • Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.
@hathach
Copy link
Member

hathach commented Dec 25, 2024

which PC OS you are using, look like you have com permission issue. If it is macos/windows, try to run with root/admin right, for linux you need to update udev rules

@goktugh
Copy link
Author

goktugh commented Dec 25, 2024

which PC OS you are using, look like you have com permission issue. If it is macos/windows, try to run with root/admin right, for linux you need to update udev rules

I am using Windows and have started Arduino with admin permissions. Still, no luck. Also burn bootloader works perfect

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

2 participants