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.0k 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 NeverDie

    @NeverDie said in nRF5 Bluetooth action!:

    They sent me two files, but I have no idea what they are, or how to open them. Maybe someone here recognizes them or can open them?
    0_1500890784640_E73-2G4M04S-PCBLIB.PCBLIB
    0_1500890793687_E73-2G4M04S-PCB-V1.0.PCBDOCPreview

    Opening the first file in notepad, I notice that it says, "PCB 6.0 Binary Library File ". I had asked Ebyte for either the module schematic or a reference design using their part, so I'm guessing this is it, in some sort of PCB CAD file.

    mtiutiuM Offline
    mtiutiuM Offline
    mtiutiu
    Hardware Contributor
    wrote on last edited by mtiutiu
    #352

    @NeverDie

    Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

    I also found this altium -> kicad online converter but I don't know how well it works.

    NeverDieN 1 Reply Last reply
    0
    • mtiutiuM mtiutiu

      @NeverDie

      Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

      I also found this altium -> kicad online converter but I don't know how well it works.

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

      @mtiutiu said in nRF5 Bluetooth action!:

      Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

      https://spaces.hightail.com/space/WMbime1pXn

      mtiutiuM 1 Reply Last reply
      0
      • NeverDieN NeverDie

        @mtiutiu said in nRF5 Bluetooth action!:

        Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

        https://spaces.hightail.com/space/WMbime1pXn

        mtiutiuM Offline
        mtiutiuM Offline
        mtiutiu
        Hardware Contributor
        wrote on last edited by
        #354

        @NeverDie

        Doesn't work for me so maybe it would be best to obtain a pdf or something readable for all of us from the manufacturer.

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

          Is no one else able to download the files either?

          mfalkviddM 1 Reply Last reply
          0
          • Nca78N Nca78

            @NeverDie how many GND pins did you connect ?
            It might be a stupid suggestion but maybe all GND pins are not connected together ?

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

            @Nca78 said in nRF5 Bluetooth action!:

            @NeverDie how many GND pins did you connect ?
            It might be a stupid suggestion but maybe all GND pins are not connected together ?

            Good question. I connected to just one GND pin. However, I just now checked with a DMM, and all the exposed GND pins on the module have continuity to one another. So, based on that, I'm assuming any additional outside connections would be redundant anyway?

            1 Reply Last reply
            1
            • NeverDieN NeverDie

              Is no one else able to download the files either?

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #357

              @NeverDie said in nRF5 Bluetooth action!:

              Is no one else able to download the files either?

              From the forum, no. From hightail, yes.
              I don't know which program to open them in though.

              NeverDieN Nca78N 2 Replies Last reply
              1
              • mfalkviddM mfalkvidd

                @NeverDie said in nRF5 Bluetooth action!:

                Is no one else able to download the files either?

                From the forum, no. From hightail, yes.
                I don't know which program to open them in though.

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

                @mfalkvidd said in nRF5 Bluetooth action!:

                I don't know which program to open them in though

                The current theory (see above) is that maybe it's Altium Designer, which has a free viewer.

                1 Reply Last reply
                0
                • NeverDieN NeverDie

                  One thing I notice on the Ebyte module is that no RESET pin is exposed. Isn't that a bit odd?

                  Also, there appears to be a typo on the silkscreen, where there are two pin 7's on the silkscreen, but probably one of them is actually pin 6.

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

                  @NeverDie said in nRF5 Bluetooth action!:

                  One thing I notice on the Ebyte module is that no RESET pin is exposed. Isn't that a bit odd?

                  Correction: According to the Nordic datasheet, PO.21, which is exposed on the Ebyte modle, can also serve as the reset pin. I was thrown off because Sparkfun labeled it RESET on their board's silkscreen, not "PO.21".

                  1 Reply Last reply
                  0
                  • Nca78N Nca78

                    @mtiutiu I have ordered a few of those modules too, the big question is antenna performance as it seems rather small.
                    It's incredibly cheap and has enough pins to drive most of the MySensors nodes, too bad it's missing the 32K crystal for low power Bluetooth :(

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

                    @Nca78 said in nRF5 Bluetooth action!:

                    I have ordered a few of those modules too,

                    Do let us know if either of you are able to program it. After this Ebyte experience, I won't be taking it for granted anymore.

                    mfalkviddM 1 Reply Last reply
                    0
                    • NeverDieN NeverDie

                      @Nca78 said in nRF5 Bluetooth action!:

                      I have ordered a few of those modules too,

                      Do let us know if either of you are able to program it. After this Ebyte experience, I won't be taking it for granted anymore.

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by mfalkvidd
                      #361

                      @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

                      NeverDieN 1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

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

                        @mfalkvidd said in nRF5 Bluetooth action!:

                        @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

                        My understanding (which may be wrong) is that in this context a "softdevice" is a veiled reference to the bluetooth stack and/or related bluetooth code, which at present the mysensors code isn't using. In any case, when I programmed both the adafruit and the sparkfun using the mysensors code, I didn't include a chip identifier in a list, nor any soft devices, and it worked anyway.

                        d00616D mfalkviddM 2 Replies Last reply
                        1
                        • NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #363

                          I was thinking that maybe the Ebyte module is stuck in some kind of reset mode, but I just now checked pin P0.21 (the reset pin), and it measures high at 3.3v. This is the same as for the Sparkfun board, which I have no trouble programming. Reset is active low.

                          T JokgiJ 2 Replies Last reply
                          0
                          • NeverDieN NeverDie

                            @mfalkvidd said in nRF5 Bluetooth action!:

                            @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

                            My understanding (which may be wrong) is that in this context a "softdevice" is a veiled reference to the bluetooth stack and/or related bluetooth code, which at present the mysensors code isn't using. In any case, when I programmed both the adafruit and the sparkfun using the mysensors code, I didn't include a chip identifier in a list, nor any soft devices, and it worked anyway.

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

                            @NeverDie said in nRF5 Bluetooth action!:

                            My understanding (which may be wrong) is that in this context a "softdevice" is a veiled reference to the bluetooth stack and/or related bluetooth code, which at present the mysensors code isn't using. In any case, when I programmed both the adafruit and the sparkfun using the mysensors code, I didn't include a chip identifier in a list, nor any soft devices, and it worked anyway.

                            I haven't tested MySensors with a present SoftDevice. The drivers/NVM code (EEPROM emulation) conflicts with the DFU bootloader.

                            It's better to see the SoftDevice as an Operating System providing BLE functionality and some hardware abstraction, while MySensors is directly ported to the hardware.

                            1 Reply Last reply
                            1
                            • NeverDieN NeverDie

                              I was thinking that maybe the Ebyte module is stuck in some kind of reset mode, but I just now checked pin P0.21 (the reset pin), and it measures high at 3.3v. This is the same as for the Sparkfun board, which I have no trouble programming. Reset is active low.

                              T Offline
                              T Offline
                              Toyman
                              wrote on last edited by
                              #365

                              @NeverDie stupid question: did you try to power it NOT from DK board and vise versa?

                              NeverDieN 2 Replies Last reply
                              0
                              • T Toyman

                                @NeverDie stupid question: did you try to power it NOT from DK board and vise versa?

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

                                @Toyman said in nRF5 Bluetooth action!:

                                @NeverDie stupid question: did you try to power it NOT from DK board and vise versa?

                                Thanks for the suggestion! So far I've tried powering it from a USB 3.3v source (which is how I successfully programmed the adafruit and sparkfun boards), but I'll now try powering it from the DK and see if it makes a difference.

                                By the way, I found an alternate way to confirm that the board is using the built-in LDO rather than the DCDC converter. DEC4 is the output of the LDO, and it measures 1.3v (which is also the expected voltage output by the LDO if it were active). DCC is the output of the DCDC converter, and it measures 0.0v. So, empirical confirmation of what you all inferred earlier. :)

                                1 Reply Last reply
                                1
                                • T Toyman

                                  @NeverDie stupid question: did you try to power it NOT from DK board and vise versa?

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

                                  @Toyman said in nRF5 Bluetooth action!:

                                  @NeverDie stupid question: did you try to power it NOT from DK board and vise versa?

                                  Just now tried it, and unfortunately it didn't make a difference. :(

                                  The actual text of the error message that I always receive is:

                                  c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
                                  c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
                                  c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
                                  c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
                                  c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
                                  c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
                                  Sketch uses 26932 bytes (5%) of program storage space. Maximum is 524288 bytes.
                                  Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-10-10:13)
                                  Licensed under GNU GPL v2
                                  For bug reports, read
                                  http://openocd.org/doc/doxygen/bugs.html
                                  debug_level: 0
                                  swd
                                  adapter speed: 10000 kHz
                                  cortex_m reset_config sysresetreq
                                  nrf52.cpu: target state: halted
                                  target halted due to debug-request, current mode: Thread
                                  xPSR: 0x01000000 pc: 0x000008e4 msp: 0x20000400
                                  ** Programming Started **
                                  auto erase enabled
                                  Error: Cannot erase protected sector at 0x0
                                  Error: failed erasing sectors 0 to 6
                                  embedded:startup.tcl:454: Error: ** Programming Failed **
                                  in procedure 'program'
                                  in procedure 'program_error' called at file "embedded:startup.tcl", line 510
                                  at file "embedded:startup.tcl", line 454
                                  the selected serial port at file "embedded:startup.tcl", line 454
                                  does not exist or your board is not connected

                                  So maybe the root of the problem is that I need to do something to enable it to erase the protected sector at 0x0? That seems to be the point after which everything falls apart.

                                  mfalkviddM 1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    @mfalkvidd said in nRF5 Bluetooth action!:

                                    @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

                                    My understanding (which may be wrong) is that in this context a "softdevice" is a veiled reference to the bluetooth stack and/or related bluetooth code, which at present the mysensors code isn't using. In any case, when I programmed both the adafruit and the sparkfun using the mysensors code, I didn't include a chip identifier in a list, nor any soft devices, and it worked anyway.

                                    mfalkviddM Offline
                                    mfalkviddM Offline
                                    mfalkvidd
                                    Mod
                                    wrote on last edited by
                                    #368

                                    @NeverDie sorry, the ID doesn't need to be in the softdevice. It needs to be in the code for the black magic probe. Might still not be related though.

                                    1 Reply Last reply
                                    0
                                    • NeverDieN NeverDie

                                      @Toyman said in nRF5 Bluetooth action!:

                                      @NeverDie stupid question: did you try to power it NOT from DK board and vise versa?

                                      Just now tried it, and unfortunately it didn't make a difference. :(

                                      The actual text of the error message that I always receive is:

                                      c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
                                      c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
                                      c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
                                      c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
                                      c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
                                      c:/users/david/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
                                      Sketch uses 26932 bytes (5%) of program storage space. Maximum is 524288 bytes.
                                      Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-10-10:13)
                                      Licensed under GNU GPL v2
                                      For bug reports, read
                                      http://openocd.org/doc/doxygen/bugs.html
                                      debug_level: 0
                                      swd
                                      adapter speed: 10000 kHz
                                      cortex_m reset_config sysresetreq
                                      nrf52.cpu: target state: halted
                                      target halted due to debug-request, current mode: Thread
                                      xPSR: 0x01000000 pc: 0x000008e4 msp: 0x20000400
                                      ** Programming Started **
                                      auto erase enabled
                                      Error: Cannot erase protected sector at 0x0
                                      Error: failed erasing sectors 0 to 6
                                      embedded:startup.tcl:454: Error: ** Programming Failed **
                                      in procedure 'program'
                                      in procedure 'program_error' called at file "embedded:startup.tcl", line 510
                                      at file "embedded:startup.tcl", line 454
                                      the selected serial port at file "embedded:startup.tcl", line 454
                                      does not exist or your board is not connected

                                      So maybe the root of the problem is that I need to do something to enable it to erase the protected sector at 0x0? That seems to be the point after which everything falls apart.

                                      mfalkviddM Offline
                                      mfalkviddM Offline
                                      mfalkvidd
                                      Mod
                                      wrote on last edited by
                                      #369

                                      @NeverDie said in nRF5 Bluetooth action!:

                                      Error: Cannot erase protected sector at 0x0

                                      Could this be related to the readback protection? The video I linked before recommends issuing "monitor erase_mass" to completely reset the device and any protection.

                                      NeverDieN d00616D 2 Replies Last reply
                                      0
                                      • mfalkviddM mfalkvidd

                                        @NeverDie said in nRF5 Bluetooth action!:

                                        Error: Cannot erase protected sector at 0x0

                                        Could this be related to the readback protection? The video I linked before recommends issuing "monitor erase_mass" to completely reset the device and any protection.

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

                                        @mfalkvidd said in nRF5 Bluetooth action!:

                                        @NeverDie said in nRF5 Bluetooth action!:

                                        Error: Cannot erase protected sector at 0x0

                                        Could this be related to the readback protection? The video I linked before recommends issuing "monitor erase_mass" to completely reset the device and any protection.

                                        Good one! I have a hunch you may have just cracked the problem.

                                        I see no harm in trying a mass erase before the programming step, so I'll give it a go.

                                        1 Reply Last reply
                                        0
                                        • mfalkviddM mfalkvidd

                                          @NeverDie said in nRF5 Bluetooth action!:

                                          Is no one else able to download the files either?

                                          From the forum, no. From hightail, yes.
                                          I don't know which program to open them in though.

                                          Nca78N Offline
                                          Nca78N Offline
                                          Nca78
                                          Hardware Contributor
                                          wrote on last edited by Nca78
                                          #371

                                          @mfalkvidd said in nRF5 Bluetooth action!:

                                          @NeverDie said in nRF5 Bluetooth action!:

                                          Is no one else able to download the files either?

                                          From the forum, no. From hightail, yes.

                                          Direct click fails. But if you press Control key while you click, to open in a new tab, then you should be able to download files from the forum ;)

                                          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