Has anyone run into this or know what's going on here?
I successfully bootloaded a nRF52832 on 6.1.1. (took 35 seconds) but it still won't accept uploads.
This device is definitely one of their more stubborn offerings.
nRF52832 won't program after successful bootload
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- guidepointsystems
- Posts: 4
- Joined: Sat May 06, 2023 9:02 pm
- mikeysklar
- Posts: 13824
- Joined: Mon Aug 01, 2016 8:10 pm
Re: nRF52832 won't program after successful bootload
Are you trying to upload code from the Arduino IDE?
What is the full error message? You might need to checked the enable verbose upload messages under File --> Preferences.
Are you putting the board into bootloader mode using a DFU --> GND jumper before upload?
This scenario sounds like what you might be experiencing.
What is the full error message? You might need to checked the enable verbose upload messages under File --> Preferences.
Are you putting the board into bootloader mode using a DFU --> GND jumper before upload?
This scenario sounds like what you might be experiencing.
- guidepointsystems
- Posts: 4
- Joined: Sat May 06, 2023 9:02 pm
Re: nRF52832 won't program after successful bootload
I did burn the bootloader according to the instructions to S132 6.1.1and received a positive outcome. Here's the bootloader result. I don't get the part about driving pins, do I have to solder some switch in and force hardware states to upload?
/Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/tools/adafruit-nrfutil/macos/adafruit-nrfutil --verbose dfu serial -pkg "/Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.zip" -p /dev/cu.SLAB_USBtoUART -b 115200 --touch 1200
Upgrading target on /dev/cu.SLAB_USBtoUART with DFU package /Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.zip. Flow control is disabled, Dual bank, Touch 1200
Touched serial port /dev/cu.SLAB_USBtoUART
Opened serial port /dev/cu.SLAB_USBtoUART
Starting DFU upgrade of type 3, SoftDevice size: 147792, bootloader size: 21704, application size: 0
Sending DFU start packet
Sending DFU init packet
Sending firmware file
########################################
########################################
############
Activating new firmware
DFU upgrade took 35.317126989364624s
Device programmed.
///////////
And here's the error trying to upload blink in verbose mode:
Sketch uses 24480 bytes (8%) of program storage space. Maximum is 290816 bytes.
Global variables use 3268 bytes (6%) of dynamic memory, leaving 48956 bytes for local variables. Maximum is 52224 bytes.
"/Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/tools/adafruit-nrfutil/macos/adafruit-nrfutil" --verbose dfu serial -pkg "/private/var/folders/km/qgcnr0nn5zngfrd_v_k1l8fh0000gn/T/arduino/sketches/BD9E6F9A5CE1F0B9E63B8B5D124DAC87/Blink.ino.zip" -p /dev/cu.SLAB_USBtoUART -b 115200 --singlebank
Upgrading target on /dev/cu.SLAB_USBtoUART with DFU package /private/var/folders/km/qgcnr0nn5zngfrd_v_k1l8fh0000gn/T/arduino/sketches/BD9E6F9A5CE1F0B9E63B8B5D124DAC87/Blink.ino.zip. Flow control is disabled, Single bank, Touch disabled
Opened serial port /dev/cu.SLAB_USBtoUART
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 24488
Sending DFU start packet
Sending DFU init packet
Timed out waiting for acknowledgement from device.
Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
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.
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 282, in get_ack_nr
nordicsemi.exceptions.NordicSemiException: No data received on serial port. Not able to proceed.
/Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/tools/adafruit-nrfutil/macos/adafruit-nrfutil --verbose dfu serial -pkg "/Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.zip" -p /dev/cu.SLAB_USBtoUART -b 115200 --touch 1200
Upgrading target on /dev/cu.SLAB_USBtoUART with DFU package /Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.zip. Flow control is disabled, Dual bank, Touch 1200
Touched serial port /dev/cu.SLAB_USBtoUART
Opened serial port /dev/cu.SLAB_USBtoUART
Starting DFU upgrade of type 3, SoftDevice size: 147792, bootloader size: 21704, application size: 0
Sending DFU start packet
Sending DFU init packet
Sending firmware file
########################################
########################################
############
Activating new firmware
DFU upgrade took 35.317126989364624s
Device programmed.
///////////
And here's the error trying to upload blink in verbose mode:
Sketch uses 24480 bytes (8%) of program storage space. Maximum is 290816 bytes.
Global variables use 3268 bytes (6%) of dynamic memory, leaving 48956 bytes for local variables. Maximum is 52224 bytes.
"/Users/robertjones/Library/Arduino15/packages/adafruit/hardware/nrf52/1.4.0/tools/adafruit-nrfutil/macos/adafruit-nrfutil" --verbose dfu serial -pkg "/private/var/folders/km/qgcnr0nn5zngfrd_v_k1l8fh0000gn/T/arduino/sketches/BD9E6F9A5CE1F0B9E63B8B5D124DAC87/Blink.ino.zip" -p /dev/cu.SLAB_USBtoUART -b 115200 --singlebank
Upgrading target on /dev/cu.SLAB_USBtoUART with DFU package /private/var/folders/km/qgcnr0nn5zngfrd_v_k1l8fh0000gn/T/arduino/sketches/BD9E6F9A5CE1F0B9E63B8B5D124DAC87/Blink.ino.zip. Flow control is disabled, Single bank, Touch disabled
Opened serial port /dev/cu.SLAB_USBtoUART
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 24488
Sending DFU start packet
Sending DFU init packet
Timed out waiting for acknowledgement from device.
Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
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.
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 282, in get_ack_nr
nordicsemi.exceptions.NordicSemiException: No data received on serial port. Not able to proceed.
- mikeysklar
- Posts: 13824
- Joined: Mon Aug 01, 2016 8:10 pm
Re: nRF52832 won't program after successful bootload
The last reason listed just before the full traceback appears to be the issue:
You need to add the DFU <--> GND jumper.Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.
- guidepointsystems
- Posts: 4
- Joined: Sat May 06, 2023 9:02 pm
Re: nRF52832 won't program after successful bootload
Did that. Didn't work.
My fix was to move to ESP32, and that is working fine.
My fix was to move to ESP32, and that is working fine.
- guidepointsystems
- Posts: 4
- Joined: Sat May 06, 2023 9:02 pm
Re: nRF52832 won't program after successful bootload
I do appreciate your help. Sorry to sound so terse.
Please be positive and constructive with your questions and comments.