Anyone having a working setup and process for nice!nano V2 ?

Hello,

I am in the process of porting an Arduino ProMicro project to the Nice!Nano V2. The code is ported to the new board, and I thought this was the hard part!

I tried a lot of different suggestions, these led to nowhere(https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
https://downloads.arduino.cc/packages/package_mbed_index.json
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
https://raw.githubusercontent.com/pdcook/nRFMicro-Arduino-Core/main/package_nRFMicro_index.json)

Now I cannot even upload the .uf2 of a simple blinky, but then that never worked correctly. I had the following happen: the board(s) go 'dead' the LED is off, the LED blinks rapidly from what i thought was one of the first blinkys I tried.

RST works and the boards go into bootloader mode. I flashed a new bootloader according to https://nicekeyboards.com/docs/nice-nano/troubleshooting/ . That works.

What does not work is any kind of .uf2 out of Arduino, they are either rejected (board stays in BL mode) or don't work (board goes 'dead'). I tried different AI for help, the suggestions were terrible, and this is supposed to be the future??

So anyone having a WORKING setup of Arduino that generates .hex I can convert reliably to a working .uf2? Or are my boards defective? They are the original from 42keebs, but coming to think: the knockoffs from ebay also did not work, in a similar way!

Thanks, any help appreciated,

emefff.

Have you looked at https://forum.arduino.cc/t/cant-install-nrf52840-nice-nano-board/1408494 ?

Yes, I am getting the same error when trying to upload directly from Arduino IDE:

serial.serialutil.SerialException: WriteFile failed (PermissionError(13, 'The device does not recognize the command.', None, 22))

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 haven't tried yet what's in the last link, though.

Sorry I can’t help. I didn’t even know what a nice!nano was until I googled out of curiosity. That forum link came up in the google results so I posted it here in case it was of help.

Yes, that's one of the main problems of public forums.

Hi @emefff. I would recommend trying the alternative boards platform that was recommended by @al1fch at the end of the forum topic @Dave_Lowther shared?:

Unfortunately I don't think anyone has set things up to allow that platform to be installed via the Arduino IDE Boards Manager, so you would need to install it manually.

It might be easiest to do that by first installing the "Adafruit nRF52" boards platform by following the instructions here:

https://github.com/adafruit/Adafruit_nRF52_Arduino#recommended-adafruit-nrf52-bsp-via-the-arduino-board-manager

then applying the changes made in the fork that add a "nice!nano v2" board definition to the "Adafruit nRF52" boards platform:

https://github.com/adafruit/Adafruit_nRF52_Arduino/compare/master...selimmeric:Adafruit_nRF52_Arduino_Nice-NanoV2:master

then finally selecting Tools > Board > Adafruit nRF52 > nice!nano v2 from the Arduino IDE menus to configure Arduino IDE to use that new board definition.

Good morning @ptillisch!

Thank you for your comment. Yesterday, late in the evening, I switched to platformIO, where this board actually works. I appreciate your comment, maybe it helps someone else,

thanks,

emefff.