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.

Use external flash on CC2650

Other Parts Discussed in Thread: CC2650, CC2640, BLE-STACK

Hello,

i plan on using the external flash on the CC2650 SensorTag.

First i wanted to make sure, that i won't write into any of the reserved pages in there.

In the SensorTag project, that i use for my product, there is a ext_flash_layout.h.

Out of that i took the information that address 0x40000 is for user applications and a size of 0x20000.

All i wanted to write in the flash is a single double number, maybe 2.
Am i save, when i use the address 0x40000 as start for that?

  • Hello Stephan,

    You can write to any offset in the flash array. You can refer to the CC2640 BLE OAD Guide for how the flash is partitioned for the OAD example.

    Best wishes
  • Hello JXS,

    You provide a link to the generic CC2640 page, but not the details in the BLE OAD Guide. Can you please provide that link. I've been trying to find an implementation of external SPI memory, but I'm not having any luck. I did find the ext_flash.c & .h files. They have proven helpful, but I'd really like to see the OAD implementation.

    Thanks,

    Patrick

  • Sorry, i totally forgot to answer here ;)

    I found the oad_target_externalFlash.c in the SensorTag project inside Profiles directory extremely helpful

    Also there is a ext_flash_layout.h inside the Application directory of SensorTag Application, it's included in the oad_target_...
  • Stephan,

    Yes these are the files used the by SensorTag project to perform OAD. Please note that SensorTag uses a slightly different version of OAD than the one described in the BLE OAD User's guide, which is supported out of the box by SimpleBLEPerpheral. you will find similar files in that project

    Patrick,

    The document JXS is referencing is in the Documents folder of the BLE-Stack SDK.