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.

SimpleBLEPeripheral application on connect blue OLS425

Other Parts Discussed in Thread: CC2540

Hi All,

I am trying to test the BLE-CC254x-1.4.0 BLE stack on connect blue OLS425i-04 module. 
Connect blue OLS425i-04 module basicly is CC2540 SoC so I thought it will be easy to start
some of the test applications provided by TI in the BLE stack.

I tested with  SimpleBLEPeripheral. I cloned the standard configuration CC2540DK-MINI Keyfob and modified it as described
on this link processors.wiki.ti.com/.../SerialBootLoader
OLS425i-04 comes with serial boot loader pre-installed. 
I was able to use http://support.connectblue.com/display/PRODTOOLS/cB-2137+Flash+Loader and was able to load my bin image.
Unfortunately it doesn't work.  
I put a loop in the beginning of InitBoard() as shown bellow but was not able to measure the toggling on the P1_0/1 or any other pin of the SOC   

while(1){
HalLedSet( HAL_LED_ALL, HAL_LED_MODE_ON);
HalLedSet( HAL_LED_ALL, HAL_LED_MODE_OFF);
}

In addition I was not able to make the TI SerialBootTool - v1.3.2 working. I get:
"Problem Storing Image FileData
Source array was not long enough. Check srcIndex and length, and the array's lower bounds" if I press Load Image button.
(connect blue serial tool seems to be working with the same bin file) 

Anyone using OLS425/OLP425?


All comments on the issues I am having are greatly welcome.

Edit1: It was confirmed that  the original unmodified SimpleBLEPeripheral example,
compiled with the CC2540DK-MINI Keyfob configuration as a hex file and loaded
with TI debugger in OLS425 module works as expected.

So the issue must be somewhere in the SBL creation and loading? 


Dimitar Penev