MCU: Adafruit Feather nRF52832 https://www.digikey.my/en/products/deta ... 06/7034992
OS: Windows 10 Pro ver 21H1 (OS Build 19043.1348)
I am unable to update the bootloader with the following setup:
and resulted errors below ( where the user name is "RICKY GAI" ):
Code: Select all
java.io.IOException: Cannot run program "C:\Users\RICKY": CreateProcess error=193, %1 is not a valid Win32 application
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)
at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:375)
at processing.app.Editor.lambda$handleBurnBootloader$61(Editor.java:2385)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 6 more
Error while burning bootloader
Code: Select all
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Code: Select all
Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
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.
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.
I referred to the links below but still cannot burn the bootloader and upload a sketch using merely the USB serial COM7 that detected as "Silicon Labs CP210x USB to UART Bridge (COM7)".
https://learn.adafruit.com/bluefruit-nr ... bootloader
https://learn.adafruit.com/bluefruit-nr ... bootloader
QUESTIONS:
1. Can I just use the USB Serial COM7 to burn bootloader and upload sketch without using J-LINK ?
2. Is there any tutorial video that shown how to burn the bootloader and upload sketch to Adafruit Feather nRF52832 without using J-LINK ?
Please advise.