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.

Problems with CC2540 for Bluetooth Low Energy (Bluetooth Smart) to RS-485 Gateway

Hi,

Disclaimer: I am new programming embedded hardware, I have never used TI's software tools before this project.

Anyway, I used the design files from Bluetooth Low Energy (Bluetooth Smart) to RS-485 Gateway  to make the board shown in the reference design.

I am having a hard time programming it.  I initially tried to use Smart RF Flash Programmer to load ModbusPeripheral.hex (Found in the provided in the reference design) but kept getting an error on verify.  

I then tried IAR IDE but when I imported the project (ModbusPeripheral) it asked me to upgrade project, which I did.  Then when I tried to compile I got a lot of errors and it did not finish.

I am looking for more detailed information.  I tried going through the referenced information, but wasn't able to pinpoint exactly what to do.

I would be happy to upload screenshots of error, ect if they are needed.

Also, I am not sure yet if there is something wrong with the PCB or the mounted components (That is always a possibility).

Any help would be great.

  • Hello David,
    To verify that the board is working you could start by downloading some of the BLE stack example projects from the latest installer:
    www.ti.com/.../ble-stack (select version 1.4.1)

    You could for example try out the SimpleBLEBroadcaster. Then disable LCD and KEY by changing the following defines to FALSE in project options->C/C++ Compiler -> Preprocessor->Defined Symbols.
    HAL_LCD=FALSE
    HAL_KEY=FALSE

    This could help you get started and test your board before you continue with the RS-485 related code.