0

nRF52 on Mac - same problem
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

nRF52 on Mac - same problem

by johngale on Fri Sep 17, 2021 4:53 pm

I'm having the same problem as viewtopic.php?f=57&t=183132

The Feather nRF52 all works fine on Windows 11.

On MacBook Pro MacOS 12, all the support stuff including CP210 driver seems to install OK, it says it's flashing the bootloader but then won't upload the program to the board. After a few times, when the Arduino app starts, it crashes the Mac. I'll change back to MacOS 10.15 or MacOS 11 and see what happens.

johngale
 
Posts: 10
Joined: Mon Jan 26, 2015 6:37 pm

Re: nRF52 on Mac - same problem

by mikeysklar on Fri Sep 17, 2021 6:37 pm

@johngale,

Interesting that the bootloader appears to be uploading correctly (from the Arduino IDE) without error messages.

Let's try manually updating the bootloader. Pickup the current bootloader for the feather express nrf52840 board you are using here:

https://github.com/adafruit/Adafruit_nR ... /tag/0.6.2

This will likely be newer than the Arduino IDE was using. Then use the same underlying command the Arduino IDE was trying to run. Note that the zip file you download contains another zip file that you will actually be uploading with this command.

Code: Select all | TOGGLE FULL SIZE
adafruit-nrfutil --verbose dfu serial --package feather_nrf52832_bootloader-0.2.8_s132_6.1.1.zip
 -p /dev/ttyACM0 -b 115200 --singlebank --touch 1200


https://learn.adafruit.com/bluefruit-nr ... bootloader

I forget on the nRF52840 if you can just double tap reset and drop the UF2 image on the BOOT drive that appears. I think that should work on the feather nRF52840 express as a third way to update the bootloader.

mikeysklar
 
Posts: 5855
Joined: Mon Aug 01, 2016 8:10 pm

Re: nRF52 on Mac - same problem

by johngale on Mon Oct 04, 2021 2:40 pm

Apparently, my mid2015 MacBook Pro just didn't want to provide a serial port to either one of its onboard USB connectors. Adding an Anker powered USB hub fixed the problem.

johngale
 
Posts: 10
Joined: Mon Jan 26, 2015 6:37 pm

Re: nRF52 on Mac - same problem

by mikeysklar on Mon Oct 04, 2021 5:14 pm

Glad you got it working wit the anker powered hub.

My experience with Mac laptops from that time period was that one USB port was able to output full power and the other not so much. It was easy to program controllers on one port, but not on the other. I always use a powered USB2 hub with my modern MacOS systems to provide enough current and to avoid USB3 specific issues.

mikeysklar
 
Posts: 5855
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.