Skip to content
  • 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!
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

nRF5 action!

Scheduled Pinned Locked Moved My Project
1.9k Posts 49 Posters 630.7k 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.
  • Calvin KhungC Offline
    Calvin KhungC Offline
    Calvin Khung
    wrote on last edited by
    #1819

    Oh, is the command mass erase the same as dump image? If I mass erase, will the bin file appear in the bin folder?

    mr_redM 1 Reply Last reply
    0
    • Calvin KhungC Calvin Khung

      Oh, is the command mass erase the same as dump image? If I mass erase, will the bin file appear in the bin folder?

      mr_redM Offline
      mr_redM Offline
      mr_red
      wrote on last edited by
      #1820

      @Calvin-Khung Hi Calvin, I read your comments here and on Stackoverflow/exchange. I honestly think that you dont have the right skills to do this. The exploited vulnerability in the blog is quite sofisticated. I think you have to start getting your debugger configured correctly. Your say you have an st-link v2 which lets me to belive you have a cheap chinese clone.
      This clone has not all debugging features included, as you might saw in my posts earlier. You are much better of with a Black magic probe or a J-Link.
      Have you got a halted NRF51 yet?

      Calvin KhungC 1 Reply Last reply
      1
      • mr_redM mr_red

        @Calvin-Khung Hi Calvin, I read your comments here and on Stackoverflow/exchange. I honestly think that you dont have the right skills to do this. The exploited vulnerability in the blog is quite sofisticated. I think you have to start getting your debugger configured correctly. Your say you have an st-link v2 which lets me to belive you have a cheap chinese clone.
        This clone has not all debugging features included, as you might saw in my posts earlier. You are much better of with a Black magic probe or a J-Link.
        Have you got a halted NRF51 yet?

        Calvin KhungC Offline
        Calvin KhungC Offline
        Calvin Khung
        wrote on last edited by
        #1821

        @mr_red If it's a clone then that would probably explain why it wasn't successful. I've read a thing or two about the BMP. Do you think its a good idea to convert the cheap ST-Link V2 to a BMP? Found a blog about it.

        http://blog.linuxbits.io/2016/02/15/cheap-chinese-st-link-v-2-programmer-converted-to-black-magic-probe-debugger/

        J-Link is way too expensive so I won't even bother considering it. And I don't quite get what you mean but yeah, I did halt it during the process.

        monteM JokgiJ 2 Replies Last reply
        0
        • Calvin KhungC Calvin Khung

          @mr_red If it's a clone then that would probably explain why it wasn't successful. I've read a thing or two about the BMP. Do you think its a good idea to convert the cheap ST-Link V2 to a BMP? Found a blog about it.

          http://blog.linuxbits.io/2016/02/15/cheap-chinese-st-link-v-2-programmer-converted-to-black-magic-probe-debugger/

          J-Link is way too expensive so I won't even bother considering it. And I don't quite get what you mean but yeah, I did halt it during the process.

          monteM Offline
          monteM Offline
          monte
          wrote on last edited by
          #1822

          @Calvin-Khung you can convert st-link clone into BMP. The only problem would be if there is not enough flash on the chip. If I remember correctly, BMP firmware needs more than 64kb. But you will know for sure, if you'll try.

          1 Reply Last reply
          0
          • Calvin KhungC Offline
            Calvin KhungC Offline
            Calvin Khung
            wrote on last edited by
            #1823

            @monte For sure, I'll give it a try. Thanks for helping out guys!

            1 Reply Last reply
            1
            • JokgiJ Offline
              JokgiJ Offline
              Jokgi
              wrote on last edited by
              #1824

              Calvin, You cam buy a Nordic Development kit for about $50 dollars or less. It has the J-Link OB device on it for swd programming and debugging.

              Nca78N 1 Reply Last reply
              2
              • JokgiJ Jokgi

                Calvin, You cam buy a Nordic Development kit for about $50 dollars or less. It has the J-Link OB device on it for swd programming and debugging.

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

                @Jokgi said in nRF5 action!:

                Calvin, You cam buy a Nordic Development kit for about $50 dollars or less. It has the J-Link OB device on it for swd programming and debugging.

                Best solution imho, never had a problem with it programming the nrf5 modules, just drag & drop from Windows file explorer.

                1 Reply Last reply
                1
                • Calvin KhungC Calvin Khung

                  @mr_red If it's a clone then that would probably explain why it wasn't successful. I've read a thing or two about the BMP. Do you think its a good idea to convert the cheap ST-Link V2 to a BMP? Found a blog about it.

                  http://blog.linuxbits.io/2016/02/15/cheap-chinese-st-link-v-2-programmer-converted-to-black-magic-probe-debugger/

                  J-Link is way too expensive so I won't even bother considering it. And I don't quite get what you mean but yeah, I did halt it during the process.

                  JokgiJ Offline
                  JokgiJ Offline
                  Jokgi
                  wrote on last edited by Jokgi
                  #1826

                  @Calvin-Khung
                  Jokgi
                  Jokgi about 2 hours ago

                  Calvin, You can buy a Nordic Development kit for about $50 dollars or less. It has the J-Link OB device on it for SWD programming and debugging.

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

                    I agree with Jokgi, but nonetheless for anyone interested in the Black Magic Probe alternative, here's an article on how to make a BMP from a $2 Blue Pill board:
                    https://medium.com/@paramaggarwal/converting-an-stm32f103-board-to-a-black-magic-probe-c013cf2cc38c

                    1 Reply Last reply
                    0
                    • orhanyorO Offline
                      orhanyorO Offline
                      orhanyor
                      wrote on last edited by
                      #1828

                      i use $10 replica Jlink from aliexpress works ok with the latest firmware without an issue. i use it just to flash bootloaders to cortex m0-m4 and nrf52's but it should work for any task that a genuine jlink can do.

                      Calvin KhungC 1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        Jon Raymond
                        wrote on last edited by
                        #1829

                        There also is an "Education" version of the Jlink for $20 if you want an official one with access to nRF Command Line Tools.

                        JokgiJ 1 Reply Last reply
                        1
                        • J Jon Raymond

                          There also is an "Education" version of the Jlink for $20 if you want an official one with access to nRF Command Line Tools.

                          JokgiJ Offline
                          JokgiJ Offline
                          Jokgi
                          wrote on last edited by
                          #1830

                          @Jon-Raymond Correct. It is a nice product for the price and the intended user. As Jon mentioned, you can use the command line tools as well as nRFconnect and also has direct hooks into the Segger Embedded Studio which is a fully functional IDE / compiler/ Debugger and is free when used with Nordic Semi devices.
                          Plus there is no license conflict as there is when using one of these cheap overseas j-link knock offs. (Which could "break / brick" anytime doing a "official" Segger update on these clones.)

                          1 Reply Last reply
                          1
                          • orhanyorO orhanyor

                            i use $10 replica Jlink from aliexpress works ok with the latest firmware without an issue. i use it just to flash bootloaders to cortex m0-m4 and nrf52's but it should work for any task that a genuine jlink can do.

                            Calvin KhungC Offline
                            Calvin KhungC Offline
                            Calvin Khung
                            wrote on last edited by
                            #1831

                            @orhanyor good to hear! i ordered that as well since just to try it out in hope that it would work. now that you've said that, maybe i shouldn't worry too much then.

                            orhanyorO 1 Reply Last reply
                            0
                            • Calvin KhungC Calvin Khung

                              @orhanyor good to hear! i ordered that as well since just to try it out in hope that it would work. now that you've said that, maybe i shouldn't worry too much then.

                              orhanyorO Offline
                              orhanyorO Offline
                              orhanyor
                              wrote on last edited by
                              #1832

                              @Calvin-Khung Well im actually surprised that it still works because people are reporting they might stop working after a firmware update so you might wanna hold back on that other than that it works surprisingly well. i bought another as my back up plan which im expecting it in these days. its abit different than the one i have. this one is much cheaper and looks like jlink edu mini rather than a normal j link with a black box.. i ll see if it works when i receive it, here it is.
                              https://www.aliexpress.com/item/32669702891.html?spm=a2g0s.9042311.0.0.27424c4d4Fx7g9

                              1 Reply Last reply
                              0
                              • orhanyorO Offline
                                orhanyorO Offline
                                orhanyor
                                wrote on last edited by
                                #1833

                                i just received this little thing, tested it with atmel studio just to flash some M4 boards and it worked nicely. i wanted to update its firmware via jlink(playing with fire) but it didnt let me saying its up to date so its all ok i guess. it only has 4 pins 3v, gnd, swdio, swclk. for $2.50 in total with shipping its a steal :)
                                IMG_3313.jpg

                                J 1 Reply Last reply
                                3
                                • orhanyorO orhanyor

                                  i just received this little thing, tested it with atmel studio just to flash some M4 boards and it worked nicely. i wanted to update its firmware via jlink(playing with fire) but it didnt let me saying its up to date so its all ok i guess. it only has 4 pins 3v, gnd, swdio, swclk. for $2.50 in total with shipping its a steal :)
                                  IMG_3313.jpg

                                  J Offline
                                  J Offline
                                  Jon Raymond
                                  wrote on last edited by
                                  #1834

                                  @orhanyor Is it just me or does that micro usb connector look like it should be mounted upside down so it actually nests into the cutout in the board below it? Of course the pinout would be mirrored but it seems like a layout issue that they just ran with.

                                  1 Reply Last reply
                                  0
                                  • orhanyorO Offline
                                    orhanyorO Offline
                                    orhanyor
                                    wrote on last edited by
                                    #1835

                                    usb connector is actually nested as far as i can see but it dips 1-2 mm only. weird but it works so its all good :)

                                    1 Reply Last reply
                                    0
                                    • Calvin KhungC Offline
                                      Calvin KhungC Offline
                                      Calvin Khung
                                      wrote on last edited by Calvin Khung
                                      #1836
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • nagelcN Offline
                                        nagelcN Offline
                                        nagelc
                                        wrote on last edited by
                                        #1837

                                        Does anyone have any experience with the minew modules?

                                        https://www.aliexpress.com/item/4000111771020.html?spm=a2g0o.productlist.0.0.355350384gOEfO&algo_pvid=0304e5fd-2ee1-4b3c-8324-d7457ed54a60&algo_expid=0304e5fd-2ee1-4b3c-8324-d7457ed54a60-3&btsid=0ab50f4415945033578573060e726c&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

                                        I've been using the Fanstel BT832 series with success, but I have been looking at this one to get a few more hand-solderable GPIOs.

                                        nagelcN 1 Reply Last reply
                                        0
                                        • nagelcN nagelc

                                          Does anyone have any experience with the minew modules?

                                          https://www.aliexpress.com/item/4000111771020.html?spm=a2g0o.productlist.0.0.355350384gOEfO&algo_pvid=0304e5fd-2ee1-4b3c-8324-d7457ed54a60&algo_expid=0304e5fd-2ee1-4b3c-8324-d7457ed54a60-3&btsid=0ab50f4415945033578573060e726c&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

                                          I've been using the Fanstel BT832 series with success, but I have been looking at this one to get a few more hand-solderable GPIOs.

                                          nagelcN Offline
                                          nagelcN Offline
                                          nagelc
                                          wrote on last edited by
                                          #1838

                                          I received a few of the Minew MS50SFB modules. They appear to need unlocking similar to the E73 modules. I have tried using instructions as for E73, but no luck so far with either
                                          gdb
                                          https://forum.mysensors.org/topic/9266/guide-nrf5-nrf51-nrf52-for-beginners/54?_=1598203470928
                                          acts like it is working, but doesn't really unlock the module.

                                          or J-link
                                          https://forum.mysensors.org/topic/9266/guide-nrf5-nrf51-nrf52-for-beginners/33?_=1598203470928
                                          returns error from nrfjprob. In J-Link application can not connect

                                          NeverDieN Nca78N 3 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          8

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular