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/LAUNCHXL-CC26X2R1: ti154stack_linux_x64_2_08_00_04--cc13xx-sbl

Part Number: LAUNCHXL-CC26X2R1

Tool/software: Linux

Hi,

I use the cc13xx-sbl from ti154stack_linux_x64_2_08_00_04 SDK under linux environment for downloading my firmware. But it failed when the download progress goes about 83%.

I add some simple debug messages for this issue and find out:

the while loop ended(it tests the condition and figure out file reached EOF) when download progress is at 83%,but the bytes in buffer is 12768 left as follows:

I can not find the wrong thing within the code.

By the way, why is the MAX buffer size 252 and whether I can adjust it to other number according something. (#define CCDNLD_MAX_BYTES_PER_TRANSFER           252)

my linux commandline cmd:

$ sudo chmod 777 /dev/ttyACM*

$ ./host_cc13xx-sbl /dev/ttyACM2 ble5_simple_peripheral_cc26x2r1lp_app.bin cc26x2 -e -p -v

Thanks.