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

How to upload arduino sketch file via J-Link?

Hello Everyone,

I designed and fabricated a small nRF52 board.
The design of this board is based on the Adafruit nRF52 feather.
The difference between my designed board and nRF52 feather is the existence of the pressure sensor.

backside of the custom board

However, I have one big problems here.

I would like to upload my arduino sketch file onto this my custom nRF52 board.
but my UART-USB chips did not work. (I used FT-232 instead of CP2104. I found that FT-232 does not works with nRF52 and Adafruit's nRF52 bootloader later.)

Therefore, I am looking for the way how to upload the sketch file via J Link such I used to upload bootloader. (using SWDIO and SWDCLK lines)


Would you please give me some advice how to upload it onto my nRF52 board?
Any comments and advises are welcome. 

Thanks,
Best regards,
S-H Choe.

Parents
  • I could never get the Adafruit bootloader and Arduino IDE to play nice on a custom nRF52 project I am working on.  I aborted and instead am using Sandeep Mistry's Arduino Core for Nordic Semiconductor nRF5 based boards which integrates nicely with the Arduino IDE.  Using a J-Link programmer, you can flash the SoftDevice and application separately through the Arduino IDE.  For my application, the Arduino wrapper libraries where sufficient and simple to work with saving development time. I am working with a Raytac MDBT42-512K which uses a nRF52832 solution.  The J-Link is connected to nRF52832 via SWDIO and SWDCLK. I don't know if you can use a bootloader using this approach...I am not using one. 

Reply
  • I could never get the Adafruit bootloader and Arduino IDE to play nice on a custom nRF52 project I am working on.  I aborted and instead am using Sandeep Mistry's Arduino Core for Nordic Semiconductor nRF5 based boards which integrates nicely with the Arduino IDE.  Using a J-Link programmer, you can flash the SoftDevice and application separately through the Arduino IDE.  For my application, the Arduino wrapper libraries where sufficient and simple to work with saving development time. I am working with a Raytac MDBT42-512K which uses a nRF52832 solution.  The J-Link is connected to nRF52832 via SWDIO and SWDCLK. I don't know if you can use a bootloader using this approach...I am not using one. 

Children
No Data
Related