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: CC2640R2F SBL

Part Number: CC2640R2F

All,

Continue the thread 

How could program the last page but maintain ccfg section in the last page?

Thanks.

  • Michael,

    I believe, in order to write to a page of flash, it will be erased in doing so. So, regardless of what flashing method. (flash programmer2 , SBL, etc) in order to program the last page with CCFG + USER_CODE it will require that you link your USER_CODE into the last page of flash along side the CCFG via the cmd linker file. An example of this is the BIM(Boot Image Manager) project from the cc2640r2 SDK.

    When you import simple_peripheral_cc2640r2lp_oad_offchip_app.projectspec, the BIM project will be imported as well. The BIM project has a cmd linker file that ends up linker some of it's own code (USER_CODE) in the last page of flash alongside the CCFG. You can use this as an example on how to do it for yourself. Additionally, if you look at the BIM project from the cc13x2 or cc26x2 SDK's. It may be more straight forward what is going on.

    Best,

    Kris

  • Hi Michael,

    I haven’t heard from you for a couple weeks, so I’m assuming you were able to resolve your issue. If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information. If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

    Best,
    Kris
  • Kris,

    Appreciate for your answer!