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

thingy52 (&nRF52840) writing my own software

Hey Nordic Devzone,

I am really new to Nordic and am still a student in embedded software engineering. So first some background information.

I have 6x nRF52840 and 5x Thingy52. My goal is to create a mesh network using 5 thingy52's connected to a nRF52840. Than using thread/low6PAN to connect 2 nRF52840 and have one of the nRF52840 setup with a Wiznet5100 chip to post stuff to the internet.

Last few weeks were setup in to getting myself acquainted with the nRF52840 and got the Wiznet5100 chip working on a unit and can send HTTP GET & POST.

Back to the Thingy52: Right now I have Keil uVision installed and am able to compile (30 day license to bridge the 32k code limit) the code in : \thingy_sdk_v2.1.0\project\pca20020_s132 How do I get the .axf file on one of my Thingy52. If I am correct the Thingy52 does not support serial connection. So is it true that I have to use some cable to connect it to my nRF52840 to upload the program? Or can I do something else to get my program on the Thingy52? My goal is to get the Thingy52 connected with the nRF52840, any guides or tutorials available?

Another thing, the nRF52840 had some really good examples and documentation and getting started. I am kinda missing this with the Thingy52, I can only find documentation about the Android/iPhone app and the standard firmware/software the thingy52 is delivered with.

One note; the help has been awesome in this community and I want to thank all the people that have helped me in the last few weeks up front : Sigurd & Bjørn Kvaale

Parents
  • I am now at the step of generating a DFU on this website: nordicsemiconductor.github.io/.../dfu_generating.html

    I generated the key, and got this to compile in the bootloader_secure project.

    At the part of :

     Generating the bootloader
    
    To generate a new bootloader, compile the Bootloader project using either Keil μVision or GCC. Flash the compiled bootloader onto Thingy. Remember to flash the SoftDevice as well for the OTA-DFU to function properly.
    

    I am not quite sure how to flash the Thingy, if I am not able to connect it through USB.

    EDIT: reading this post devzone.nordicsemi.com/.../ I found out that I dont need to flash a bootloader. If I just hold the button while powering on the Thingy It fires up in DFU. Confused though now if my new key I generated is needed.

Reply
  • I am now at the step of generating a DFU on this website: nordicsemiconductor.github.io/.../dfu_generating.html

    I generated the key, and got this to compile in the bootloader_secure project.

    At the part of :

     Generating the bootloader
    
    To generate a new bootloader, compile the Bootloader project using either Keil μVision or GCC. Flash the compiled bootloader onto Thingy. Remember to flash the SoftDevice as well for the OTA-DFU to function properly.
    

    I am not quite sure how to flash the Thingy, if I am not able to connect it through USB.

    EDIT: reading this post devzone.nordicsemi.com/.../ I found out that I dont need to flash a bootloader. If I just hold the button while powering on the Thingy It fires up in DFU. Confused though now if my new key I generated is needed.

Children
No Data
Related