When I upload code to this controller, it works fine.
What causing this issue? How can I fix this?
The moment I push reset button, open serial monitor or even turn off/on the module, code doesn't restart and Red Led starts blinking. Not just this code, it happens with every single code.
Configuration Settings :
The same code works fine with other Adafruit Feather nRF52 Bluefruit LE module I have.Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
Try changing the programmer. See here for general usage:
https://learn.adafruit.com/bluefruit-nr ... oard-setup
Follow that and see if you can upload a basic blink example:
https://learn.adafruit.com/bluefruit-nr ... ch-2860620
https://learn.adafruit.com/bluefruit-nr ... oard-setup
Follow that and see if you can upload a basic blink example:
https://learn.adafruit.com/bluefruit-nr ... ch-2860620
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
I changed the programmer to "Bootloader DFU for nrf52", refer to image. But still, when I press reset, Led goes in dimmer loop code, not the Blink one which I uploadedadafruit_support_carter wrote:Try changing the programmer. See here for general usage:
https://learn.adafruit.com/bluefruit-nr ... oard-setup
Follow that and see if you can upload a basic blink example:
https://learn.adafruit.com/bluefruit-nr ... ch-2860620
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
Do you getting any error messages in the Arduino IDE when trying to upload the Blink example?
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
Uploading message for J-link Uploading message for DFU It exactly same as for the other module which is working just fine.adafruit_support_carter wrote:Do you getting any error messages in the Arduino IDE when trying to upload the Blink example?
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
Those look like successful firmware uploads.
So you have two Feather nRF52832's. Blink uploads and runs as expected on one. But on the other, shown in photos above, it does not?
So you have two Feather nRF52832's. Blink uploads and runs as expected on one. But on the other, shown in photos above, it does not?
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
All previously attached images are of the faulty Module, even in the faulty module code uploaded successfully. But it works until I do reset the module in any of the following ways:adafruit_support_carter wrote:Those look like successful firmware uploads.
So you have two Feather nRF52832's. Blink uploads and runs as expected on one. But on the other, shown in the photos above, it does not?
1. Reset Push Button
2. Serial Monitor
3. Power Restart
Since I can't use the serial monitor its hard to debug the code.
I have another same module that works fine with the same bootloader and same code. Even after resetting it.
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
And you're seeing that same behavior even with the very simple Blink sketch?
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
Yes, it's not because of code.adafruit_support_carter wrote:And you're seeing that same behavior even with the very simple Blink sketch?
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
And just to be sure - the upload messages in the Arduino IDE are the same for both boards? They both show a successful upload? It's just the one board that appears to not actually be running the Blink sketch?
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
Port-3 The module works fine with the same code and settings. Port-6 The module which stops working in any case of resetting it. Drive link to a video of both modules at once, No.7(Port-3) and No6(Port-6).adafruit_support_carter wrote:And just to be sure - the upload messages in the Arduino IDE are the same for both boards? They both show a successful upload? It's just the one board that appears to not actually be running the Blink sketch?
https://drive.google.com/file/d/1kHtwgU ... sp=sharing
Resetting both modules by pressing the "Reset push button". But the same can be done with Power Restart and UART Serial Monitor.
My whole project got stuck because I can't do further debugging, please let me know how to fix this. I'll purchase another one but it'll take 10-15 days and not knowing the reason of what causes this problem, it'll probably repeat again. So I need to know the reason for this or how to solve it.
- hathach
- Posts: 1270
- Joined: Tue Apr 23, 2013 1:02 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
hi Almight,
seems like some thing force the board into DFU mode when reset. I am not entirely sure but it could be one of bootloader internal setting. Would you mind trying to update the bootloader on the faulty board to see if that would help. It is all done by using Arduino IDE, so rather safe enough, the process will take 30-60 (or more) seconds, so please patient until you see the "Device Programmed" message in the upload log, here is the detail guide https://learn.adafruit.com/bluefruit-nr ... bootloader
Once done, you need to re-upload the blink sketch. Let me know if that would help
seems like some thing force the board into DFU mode when reset. I am not entirely sure but it could be one of bootloader internal setting. Would you mind trying to update the bootloader on the faulty board to see if that would help. It is all done by using Arduino IDE, so rather safe enough, the process will take 30-60 (or more) seconds, so please patient until you see the "Device Programmed" message in the upload log, here is the detail guide https://learn.adafruit.com/bluefruit-nr ... bootloader
Once done, you need to re-upload the blink sketch. Let me know if that would help
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
I have tried updating the Bootloader before too. Attached images of the one I did after you asked.hathach wrote:hi Almight,
seems like some thing force the board into DFU mode when reset. I am not entirely sure but it could be one of bootloader internal setting. Would you mind trying to update the bootloader on the faulty board to see if that would help. It is all done by using Arduino IDE, so rather safe enough, the process will take 30-60 (or more) seconds, so please patient until you see the "Device Programmed" message in the upload log, here is the detail guide https://learn.adafruit.com/bluefruit-nr ... bootloader
Once done, you need to re-upload the blink sketch. Let me know if that would help
Settings: Successful Bootloader Update: Still "DFU Mode" on reset as you said.
- hathach
- Posts: 1270
- Joined: Tue Apr 23, 2013 1:02 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
hmm, if it is not the bootloader internal setting, maybe it is the DFU pin somehow got shorted. Do you have an VOM, or any way to check if the DFU pin (next to TXD) are not grounded (GND). Sorry for asking you to try out several things, since I couldn't reproduce this, and this could only be done by testing on your faulty board.
- KKaushik
- Posts: 18
- Joined: Mon Jul 11, 2022 6:54 am
Re: Adafruit Feather nRF52 Bluefruit LE - nRF52832 Module
No, I'm thankful to you for at least giving me the option to try to find the issue. Thanks to you guys for being responsive. I appreciate it. You are doing whatever you can.hathach wrote:hmm, if it is not the bootloader internal setting, maybe it is the DFU pin somehow got shorted. Do you have an VOM, or any way to check if the DFU pin (next to TXD) are not grounded (GND). Sorry for asking you to try out several things, since I couldn't reproduce this, and this could only be done by testing on your faulty board.
It's just I'm totally stuck because of this. And new module will take around 15 days to reach. So I'm open to any method in my capabilities to try.
I checked the DFU pins in both controllers on a multimeter (Shorting with GND pin)
Faulty one: Shows 500 reading (when there is no power) and 600 (when connected with supply)
Another one: Shows 1 (basically open in both cases Power connected and removed)
Please be positive and constructive with your questions and comments.