This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

OTA update of a new nRF51822

Hello,

I am currently designing a PCB containing the nRF51822 chip and I am concerned about how I will be able to update the program. I have 2 main questions :

  1. I will have the PCB done and assembled by a PCB manufacturer. The nRF51822 chip will be ordered directly by the PCB manufacturer. There is no JLink connector on the PCB as there is no space for it (space is critical for my application). When I receive the PCB, will I be able to perform an Over the Air update directly? I need to load the S130 SoftDevice and of course my application program.
  2. In the spec I see that the "SWDIO/nRESET" pin is active low. Does that mean that if I leave the pin unconnected (I don't plan to use the pins SWDIO and SWDCLK as I want to perform OTA update only) the nRF51822 will always be in debug mode or reset constantly? In the schematics and PCB layout I see that these 2 pins are connected. Can I leave them unconnected?

Thanks a lot in advance for your support! <3

Parents
  • No - unless you have someone program the chip for you before assembly, or program the board with some kind of jig after assembly or you make some kind of small connector on the board which can be used for programming, you won't be able to program the chip. The chip comes entirely blank and SWD is the only way to get the initial code onto it.

    nRESET/SWDIO is pulled high by an internal resistor so no you won't constantly reset. I've had noise problems in one of my applications (it's subject to some interference and the board design is not yet that great) and that's been pulling the nRESET low and resetting the chip, so tying it high is a good idea, as long as you leave some way to program the board first.

    You should ask your board manufacturer if they can program the chip before assembly. There are programmers which will take unmounted chips (QFNs at least), put them in a socket and program them.

  • I guess that the 6-pin one could be acceptable in terms of size. As I have no experience with programmers (I have the nRF51DK and its USB connection is pretty straightforward :-) ), could you please tell me a bit more about your solution (like a link to the product you are talking about, which programmer can I use (I have none at the moment)). Sorry to bother you :/

Reply
  • I guess that the 6-pin one could be acceptable in terms of size. As I have no experience with programmers (I have the nRF51DK and its USB connection is pretty straightforward :-) ), could you please tell me a bit more about your solution (like a link to the product you are talking about, which programmer can I use (I have none at the moment)). Sorry to bother you :/

Children
No Data
Related