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.

CC2640R2F: Serial bootloader library porting Issue

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650, CC2640, CC2538

Hi,

I have currently ported the serial boot library VC++ example to Linux in C. I am having a couple of issues to getting it to work. 

Issue 1: The flash size is returned as 131072 and for some reason, the file size (blinky_backdoor_select_btn2650.bin) read too is the same i.e. 131072, which is weird?

Issue2: Write flash fails giving an error that the address is not in device FLASH nor RAM. This happens after 100%, suddenly throwing up some long weird %.

Also, the following is shown in the below terminal image.

 

I have re-looked into my code again and again but did not come across any discrepancies. Would be of great help if someone could take some time to review the code and help me get this Linux version of the library out. Also, I noticed that the SBL example was written mainly for cc2650 and cc2538, Is there any cc2640 specific changes I am missing?

Cheers

Vinay