Other Parts Discussed in Thread: UNIFLASH, , CC2538
Hello Guys,
I am using CC2650 launchpad Rev: 1.1 for the development of 6Lowpan project and I am getting this error.
Before executing this command I used UniFlash to Erase the entire memory.
$ sudo make TARGET=srf06-cc26xx BOARD=launchpad/cc2650 hello-world.upload PORT=/dev/ttyACM0
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 hello-world.c
hello-world.c: In function 'process_thread_hello_world_process':
hello-world.c:52:3: warning: implicit declaration of function 'leds_on' [-Wimplicit-function-declaration]
leds_on(LEDS_GREEN);
^~~~~~~
LD hello-world.elf
arm-none-eabi-objcopy -O binary --gap-fill 0xff hello-world.elf hello-world.bin
python ../../tools/cc2538-bsl/cc2538-bsl.py -e -w -v -p /dev/ttyACM0 hello-world.bin
Opening port /dev/ttyACM0, baud 500000
Reading data from hello-world.bin
Cannot auto-detect firmware filetype: Assuming .bin
Connecting to target...
CC2650 PG2.2 (7x7mm): 128KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x0001FFD8
Primary IEEE Address: 00:12:4B:00:07:B5:ED:82
Erasing all main bank flash sectors
Erase done
Writing 131072 bytes starting at address 0x00000000
Write 128 bytes at 0x0001FF800
ERROR: Timeout waiting for ACK/NACK after 'Get Status (0x23)'
../../cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx:149: recipe for target 'hello-world.upload' failed
make: *** [hello-world.upload] Error 1
If I tried to directly use the Terminal without erasing the entire memory with flash I got this:
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
Even if I used TI's flash programmer or Uniflash programmer to dump the code into the launchpad it does that without getting any error.But the hardware does not response to it (I tried to Turn on the RED and GREEN leds on the launchpad).