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.

Linux/CC2650: Flashing contiki code on cc2560 using Launchpad

Part Number: CC2650
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Linux

Hi,

I am using cc2650 Launchpad and trying to dump the contiki example for cc26xx-demo.

I use this command to compile and dump---

$ sudo make TARGET=srf06-cc26xx BOARD=launchpad/cc2650 PORT=/dev/ttyACM0 cc26xx-demo.upload

I am getting this error while uploading the program---

$ sudo make TARGET=srf06-cc26xx BOARD=launchpad/cc2650 PORT=/dev/ttyACM0 cc26xx-demo.upload
CC ../../cpu/cc26xx-cc13xx/lib/cc26xxware/startup_files/ccfg.c
CC ../../cpu/cc26xx-cc13xx/./ieee-addr.c
AR contiki-srf06-cc26xx.a
CC ../../cpu/cc26xx-cc13xx/./fault-handlers.c
CC ../../cpu/cc26xx-cc13xx/lib/cc26xxware/startup_files/startup_gcc.c
CC cc26xx-demo.c
LD cc26xx-demo.elf
arm-none-eabi-objcopy -O binary --gap-fill 0xff cc26xx-demo.elf cc26xx-demo.bin
python ../../tools/cc2538-bsl/cc2538-bsl.py -e -w -v -b 9600 -e -w -v -p /dev/ttyACM0 cc26xx-demo.bin
Opening port /dev/ttyACM0, baud 9600
Reading data from cc26xx-demo.bin
Cannot auto-detect firmware filetype: Assuming .bin
Connecting to target...
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
../../cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx:149: recipe for target 'cc26xx-demo.upload' failed
make: *** [cc26xx-demo.upload] Error 1
rm cc26xx-demo.co obj_srf06-cc26xx/startup_gcc.o obj_srf06-cc26xx/fault-handlers.o

I used TI-Flash programmer for configuring the ROM Bootloader for the first time as it is not pre-programmed for dumping.Also I changed the baud rate to 500000,9600.4800...etc.