This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flashing firware in command line [Contiki] [CC2650STK ] [XDS110]

Other Parts Discussed in Thread: CC2650STK, CC2538

Hey everyone


I post few days ago on how to use the CC2650STK sensortag, and it works well, thanks !


Now i'm contacting you for a new challenge : i want Contiki to run onto the CC2650STK sensortag.

[  Contiki's documentation says it is possible. ]

First point, my hardware :still the same than the pastrs weeks : a CC2650STK and a XDS110 USB debugger.

Second point : What i've done

a - install Instant Contiki onto a virtual machine (in VBox) [step 1 only]  www.contiki-os.org/start.html

b - followed the instruction to flash the tag with FLASH PROGRAMMER  http://processors.wiki.ti.com/index.php/Contiki_setting_up_sw   [works fine]

c - I tried to make it work directly in the VM [step 4 of the first website], because i do not want to lose time switching beetween the linux Guest InstantContiki, and the Win host to use flash programmer. So i tried and a mistake appears [the usb in the VM is ok, error doesn't come from here]

Google told me to change few things :  https://github.com/contiki-os/contiki/tree/master/platform/srf06-cc26xx


Still doesn't worked ... Then google told me to install the UART drivers : https://github.com/contiki-os/contiki/tree/master/platform/cc2538dk

Obviously, i changed the numbers to have the XSD Vendor and product values, but once again it still doesn't worked.

Does anyone has an idea ?

Here is the mistake I have :

"root@<path_to_hello_world_template> # make hello-world.upload

using saved target 'srf06-cc26xx'

make: *** No rule to make target `hello-world.upload'.  Stop."

Thanks

Cheers

  • Hi,

    It won't work on Linux. You have to copy the .bin file to Windows and then program your target with

    flash programmer 2. Frankly, it's not much of an effort, especially when you running Contiki on a virtualBox,

    make a shared folder.

    Still, there is an option to make it work on linux by using the Uniflash tool, however, I myself didn't manage to

    configure it and successfully program my CC2538 platform.