element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Unable to upload code to Adafruit Feather nRF52832
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 387 subscribers
  • Views 1758 views
  • Users 0 members are here
  • help
  • port
  • nrf52832
  • feather
  • arduino
Related

Unable to upload code to Adafruit Feather nRF52832

Frozen_Emerald
Frozen_Emerald over 2 years ago

I followed the guide https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/arduino-board-setup and it keeps giving me this error. 

Failed to upgrade target. Error is: Attempting to use a port that is not open
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 206, in _dfu_send_image
File "dfu\dfu_transport_serial.py", line 213, in send_firmware
File "dfu\dfu_transport_serial.py", line 241, in send_packet
File "serial\serialwin32.py", line 306, in write
serial.serialutil.PortNotOpenError: Attempting to use a port that is not open

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.

When I tried to burn the bootloader it gives me another error. Every forum post of this error usually seems to have more options in the tools menu maybe its something to do with that. 

Failed to burn bootloader: cannot execute upload tool: exec: "C:\\Users\\<name>": file does not exist

  • Sign in to reply
  • Cancel

Top Replies

  • mayermakes
    mayermakes over 2 years ago in reply to baldengineer +4
    the classic power only blunder...I will never forgive any manufacturer of those cables.
  • baldengineer
    baldengineer over 2 years ago +3
    First, verify in device manager that a COM port appears and disappears when you connect/disconnect the board. If not, it could be missing serial drivers. According to the schematic , they're using a…
  • mayermakes
    mayermakes over 2 years ago +1
    this looks like a permission error, don´tt know how ito solve on windows, but under linux its a missing udev rule / the user has to be a member of the dialout group. under windows a serial driver could…
Parents
  • mayermakes
    mayermakes over 2 years ago

    this looks like a permission error, don´tt know how ito solve on windows, but under linux its a missing udev rule / the user has to be a member of the dialout group.
    under windows a serial driver could simply be missing.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Frozen_Emerald
    Frozen_Emerald over 2 years ago in reply to mayermakes

    I just checked and the user has Admin perms, how do I check which windows serial drivers i have and which one I need

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Frozen_Emerald
    Frozen_Emerald over 2 years ago in reply to mayermakes

    I just checked and the user has Admin perms, how do I check which windows serial drivers i have and which one I need

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • mayermakes
    mayermakes over 2 years ago in reply to Frozen_Emerald

    check the documentation of the board you are trying to program, depending on which USb to serail chip it uses a different driver may be needed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube