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

Image Transfer Demo won't work

Hello, I'm having trouble to make the image transfer demo work.

I flashed the .hex files found here: https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo to the board and nothing happens. I don't even see the device when scanning.

I got a nRF52840 board and a 2mp arducam connected in the side connector from p27 to p12 and with the arducam VDD pin going to the 5v pin in the other side of the board.

I also tried other pre compiled .hex examples that come with the SDK 13 and they seem to work, for example the ble_app_uart will show in the scanning.

I also tried to compile the source code via make and get the following error:

Compiling file: main.c

In file included from ../../../main.c:67:0:

../../../ble_image_transfer_service.h:133:1: error: '__packed__' attribute ignored [-Werror=attributes]

 }ble_its_ble_params_info_t;

 ^

../../../main.c:69:25: fatal error: cl_includes.h: No such file or directory

cc1: all warnings being treated as errors

compilation terminated.

I'm working in Mac so I can't install Keil 5, but I tried on Segger and I also got a similar error.

Could you point me in some direction about what I'm doing wrong?

Thanks!

Parents
  • Hi 

    Did you flash the S140 SoftDevice before you flashed the application hex?
    Otherwise it will not work. 

    The current project has only been tested with Keil unfortunately, so I don't know what is the problem with make files.

    I am working on a new version of the example that is updated with SDK v15 support and Segger project files, but I haven't released it yet because there are some issues with the transfer speed (it's not as fast as the old version). 
    If you still can't make it work with the hex files I can provide you a zip of the new version in case it can be of some help, just be aware that it seems to run slower on some phones.

    Best regards
    Torbjørn
     

     

  • Hello,

    Yeah I flash the s140_nrf52840_5.0.0-2.alpha_softdevice.hex first and then the nrf52840_xxaa_side_header.hex

    If you can send me a zip with the new version that would be great, im not concerned with the speed right now :D

    Thanks a lot!

Reply Children
Related