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.

CC2640: Moving the reset vector location in flash to another page

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

Hi,


I am using CC2640 for simple BLE peripheral application. As default the code is compiled for flashing from default location which is 0x0, placing .intvec at the start of the code and everything was fine.

But due to my application specific requirement I need to move the entire program down to 1st page, which means application start from 0x1000 starting with the .intvec. I successfully moved the code and changed the

m3Hwi.resetVectorAddress  = 0x00001000 in appBle.cfg file.

But my application is not running with this changes.

Is it really possible to move .intvec along with the application code to other page of flash(ex:1st page)? If possible, what else I need to do to start my application from 0x1000 location?

Note: I am not using a bootloader code


Thank you

  • Hello Nino,

    Relocating the flash vector table is only supported on CC2640R2F via the IMAGE_VALID_CONF device configuration register; the CC2640 / CC2650 requires the vector table in the first page (address 0x0000).

    See 9.1.1.18 IMAGE_VALID_CONF Register in the CC26xx TRM SWCU117 Rev G.

    Best wishes