Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. nRF5 action!

nRF5 action!

Scheduled Pinned Locked Moved My Project
1.9k Posts 49 Posters 631.4k Views 44 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #211

    Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.

    gohanG 1 Reply Last reply
    0
    • NeverDieN NeverDie

      @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

      I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter. Firmware and drivers are open source and there is an integrated serial port.

      Is this how to wire up a CMSIS-DAP to the nRF52832?
      alt text

      i.e. it's the same as a j-tag wiring setup, except that you add the serial Rx and Tx lines?

      d00616D Offline
      d00616D Offline
      d00616
      Contest Winner
      wrote on last edited by
      #212

      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

      Is this how to wire up a CMSIS-DAP to the nRF52832?

      You have to wire SWCLK and SWDIO. In a note of RedBear BLE Nano 2 i have seen, you require DAPLink >1.5 for nRF52832 support. Rx+Tx is not required for programming.

      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

      Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.

      You should see an storage device and an serial device. The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration

      NeverDieN 2 Replies Last reply
      0
      • d00616D d00616

        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

        Is this how to wire up a CMSIS-DAP to the nRF52832?

        You have to wire SWCLK and SWDIO. In a note of RedBear BLE Nano 2 i have seen, you require DAPLink >1.5 for nRF52832 support. Rx+Tx is not required for programming.

        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

        Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.

        You should see an storage device and an serial device. The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration

        NeverDieN Offline
        NeverDieN Offline
        NeverDie
        Hero Member
        wrote on last edited by
        #213

        @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

        The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration

        Unfortunately, when I try installing that, it says, "The driver could not be installed. No mbed Micronctrollers were found."

        1 Reply Last reply
        0
        • NeverDieN NeverDie

          Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.

          gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #214

          @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

          Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.

          That sucks a lot. Try searching for the hardware id you see in windows, maybe you can find some other drivers from other vendors.

          1 Reply Last reply
          0
          • Nca78N Offline
            Nca78N Offline
            Nca78
            Hardware Contributor
            wrote on last edited by
            #215

            Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
            This opens some new possibilities if used as MySensors actuator !
            https://www.youtube.com/watch?v=SBHyQ1OSM-4

            d00616D MiKaM 2 Replies Last reply
            1
            • Nca78N Nca78

              Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
              This opens some new possibilities if used as MySensors actuator !
              https://www.youtube.com/watch?v=SBHyQ1OSM-4

              d00616D Offline
              d00616D Offline
              d00616
              Contest Winner
              wrote on last edited by
              #216

              @Nca78 said in Minimalist SAMD21 TQFP32 Pro Mini:

              Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?

              Yes. There are people working with it. Please read the discussion at github. There are watches with non nordic chips.

              https://github.com/sandeepmistry/arduino-nRF5/issues/165

              There are a lot of other hardware like the Noke Lock

              Or the iStubb 2 with integrated stop up converter (maybe inductor + software) which works with 0.9V.

              1 Reply Last reply
              1
              • d00616D d00616

                @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                Is this how to wire up a CMSIS-DAP to the nRF52832?

                You have to wire SWCLK and SWDIO. In a note of RedBear BLE Nano 2 i have seen, you require DAPLink >1.5 for nRF52832 support. Rx+Tx is not required for programming.

                @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.

                You should see an storage device and an serial device. The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration

                NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by NeverDie
                #217

                @d00616
                Fortunately, I just received the J-link segger from aliexpress. When I plug it in, Windows seems to immediately recognize it. However, the problem is that the Arduino IDE doesn't seem to recognize it: it doesn't show up in the IDE port list under the tools menu.

                I've tried installing each of the Zadig usb drivers, in turn, with no difference.

                I tried installing the mbed usb windows driver, but it fails with the same error message as before.

                I also tried downloading the segger software pack and installing it. Still fails.

                Frustrating!

                d00616D 1 Reply Last reply
                0
                • NeverDieN NeverDie

                  @d00616
                  Fortunately, I just received the J-link segger from aliexpress. When I plug it in, Windows seems to immediately recognize it. However, the problem is that the Arduino IDE doesn't seem to recognize it: it doesn't show up in the IDE port list under the tools menu.

                  I've tried installing each of the Zadig usb drivers, in turn, with no difference.

                  I tried installing the mbed usb windows driver, but it fails with the same error message as before.

                  I also tried downloading the segger software pack and installing it. Still fails.

                  Frustrating!

                  d00616D Offline
                  d00616D Offline
                  d00616
                  Contest Winner
                  wrote on last edited by
                  #218

                  @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                  I've tried installing each of the Zadig usb drivers, in turn, with no difference.

                  You have to remove the J-Link software completely. With my old j-link I had to install the J-Link software for Firmwareupdate. After that I removed the J-Link Software and all drivers via "device manager" (module plugged in) and reinstalled the correct driver with zadig (plugin module after starting zadig).

                  NeverDieN 1 Reply Last reply
                  0
                  • d00616D d00616

                    @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                    I've tried installing each of the Zadig usb drivers, in turn, with no difference.

                    You have to remove the J-Link software completely. With my old j-link I had to install the J-Link software for Firmwareupdate. After that I removed the J-Link Software and all drivers via "device manager" (module plugged in) and reinstalled the correct driver with zadig (plugin module after starting zadig).

                    NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by
                    #219

                    @d00616
                    OK, I'll try that. Which of those 4 Zadig usb drivers should I pick?

                    d00616D 1 Reply Last reply
                    0
                    • NeverDieN NeverDie

                      @d00616
                      OK, I'll try that. Which of those 4 Zadig usb drivers should I pick?

                      d00616D Offline
                      d00616D Offline
                      d00616
                      Contest Winner
                      wrote on last edited by
                      #220

                      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                      OK, I'll try that. Which of those 4 Zadig usb drivers should I pick?

                      Open the windows device manager and pull/plug the device and remove all depending drivers with option to uninstall the drivers.

                      NeverDieN 1 Reply Last reply
                      0
                      • d00616D d00616

                        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                        OK, I'll try that. Which of those 4 Zadig usb drivers should I pick?

                        Open the windows device manager and pull/plug the device and remove all depending drivers with option to uninstall the drivers.

                        NeverDieN Offline
                        NeverDieN Offline
                        NeverDie
                        Hero Member
                        wrote on last edited by
                        #221

                        @d00616
                        Right. But after that, which of the four do I re-install from Zadig? Or, am I misunderstanding?

                        d00616D 1 Reply Last reply
                        0
                        • Nca78N Nca78

                          Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
                          This opens some new possibilities if used as MySensors actuator !
                          https://www.youtube.com/watch?v=SBHyQ1OSM-4

                          MiKaM Offline
                          MiKaM Offline
                          MiKa
                          wrote on last edited by
                          #222

                          @Nca78 said in Minimalist SAMD21 TQFP32 Pro Mini:

                          Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
                          This opens some new possibilities if used as MySensors actuator !
                          https://www.youtube.com/watch?v=SBHyQ1OSM-4

                          https://www.aliexpress.com/item/SCOMAS-ID107-Plus-heart-rate-monitor-Smart-bracelets-pedometer-Sports-Fitness-tracker-Silicone-ID-107-plus/32815883691.html?spm=2114.search0204.3.3.AScOX6&ws_ab_test=searchweb0_0,searchweb201602_1_10152_10065_10151_10068_10171_10084_10083_10080_10082_10081_10110_10303_10137_10111_10060_10112_10155_10113_10114_10154_438_10056_10055_10054_10182_10059_100031_10099_10078_10079_10103_10073_10102_10189_10052_10053_10142_10107_10050_10051,searchweb201603_2,ppcSwitch_5_ppcChannel&btsid=6c368be3-dd10-4a1e-903f-9fe10df3c995&algo_expid=86c55568-ad7f-409b-bae9-7b5635555f62-0&algo_pvid=86c55568-ad7f-409b-bae9-7b5635555f6also bolded text

                          1 Reply Last reply
                          1
                          • MiKaM Offline
                            MiKaM Offline
                            MiKa
                            wrote on last edited by
                            #223

                            this one with nodic 52832

                            1 Reply Last reply
                            1
                            • MiKaM Offline
                              MiKaM Offline
                              MiKa
                              wrote on last edited by
                              #224

                              next nice board with NRF 52832

                              http://www.espruino.com/Puck.js

                              NeverDieN 1 Reply Last reply
                              1
                              • NeverDieN NeverDie

                                @d00616
                                Right. But after that, which of the four do I re-install from Zadig? Or, am I misunderstanding?

                                d00616D Offline
                                d00616D Offline
                                d00616
                                Contest Winner
                                wrote on last edited by
                                #225

                                @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                Right. But after that, which of the four do I re-install from Zadig? Or, am I misunderstanding?

                                The CDC and BULK interface. All other are other Hardware.

                                1 Reply Last reply
                                0
                                • NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #226

                                  FWIW, I ran across another example of where someone is using the DK to program an external nRF5 board:
                                  alt text
                                  (https://github.com/electronut/ElectronutLabs-bluey/blob/master/nRF52-DK-prog.md)
                                  Unfortunately, that photo is also roughly the extent of their documentation, though they do spell out the pin mapping and tell which Linux commands to use.

                                  NeverDieN 1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    FWIW, I ran across another example of where someone is using the DK to program an external nRF5 board:
                                    alt text
                                    (https://github.com/electronut/ElectronutLabs-bluey/blob/master/nRF52-DK-prog.md)
                                    Unfortunately, that photo is also roughly the extent of their documentation, though they do spell out the pin mapping and tell which Linux commands to use.

                                    NeverDieN Offline
                                    NeverDieN Offline
                                    NeverDie
                                    Hero Member
                                    wrote on last edited by NeverDie
                                    #227

                                    I tried wiring it up as shown in the photos to the Adafruit nRF52832 and doing a programming through the DK and the Arduino IDE, but as you would expect it just programmed the nRF52832 that's on the DK and not the Adafruit. So, either there's a jumper that needs to be set, or different software is required to program an off-board nRF52832.

                                    1 Reply Last reply
                                    0
                                    • NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #228

                                      Well, I found this in the user manual of the DK, which sounds quite encouraging:

                                      The nRF52 Development Kit board supports programming and debugging nRF51 and nRF52 devices mounted on external boards. To debug an external board with SEGGER J-Link OB IF, connect to the Debug out connector (P19) with a 10 pin cable. Figure 22: Debug output connector
                                      When the external board is powered, the interface MCU will detect the supply voltage of the board and program/debug the target chip on the external board instead of the on-board nRF52832.
                                      Important: The voltage supported by external debugging/programming is 3.0 V.
                                      You can also use P20 as a debug out connection to program shield mounted targets. For the Debug out header (P19),the Interface MCU will detect the supply voltage on the mounted shield and program/debug the shield target.

                                      So, I'll try powering the off-board nrf52832 separately and see if it then works as described.

                                      NeverDieN 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        Well, I found this in the user manual of the DK, which sounds quite encouraging:

                                        The nRF52 Development Kit board supports programming and debugging nRF51 and nRF52 devices mounted on external boards. To debug an external board with SEGGER J-Link OB IF, connect to the Debug out connector (P19) with a 10 pin cable. Figure 22: Debug output connector
                                        When the external board is powered, the interface MCU will detect the supply voltage of the board and program/debug the target chip on the external board instead of the on-board nRF52832.
                                        Important: The voltage supported by external debugging/programming is 3.0 V.
                                        You can also use P20 as a debug out connection to program shield mounted targets. For the Debug out header (P19),the Interface MCU will detect the supply voltage on the mounted shield and program/debug the shield target.

                                        So, I'll try powering the off-board nrf52832 separately and see if it then works as described.

                                        NeverDieN Offline
                                        NeverDieN Offline
                                        NeverDie
                                        Hero Member
                                        wrote on last edited by
                                        #229

                                        Success! Got Blink compiled and uploaded to the Adafruit nRF52832 Feather using the nRF52832 DK.

                                        BTW, the adafruit LED works the opposite of the DK LED: on the Adafruit (as with most Arduino's), LOW means OFF, and HIGH means ON. For some reason the DK is the opposite of that.

                                        gohanG 1 Reply Last reply
                                        0
                                        • NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by NeverDie
                                          #230

                                          Here is a photo to document the solution which worked:
                                          0_1500237867278_success.jpg
                                          For some reason the wiring shown in the Sparkfun and Bluey photos using header P20 didn't work for me, but using the ten pin P19 header, in combination with externally powering the Adafruit nRF52832 Feather, did work. :) So far, this is the only solution I've found which works from the Microsoft Windows environment using the Arduino IDE. So, this is what I'm going to move forward with.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular