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.

TMS320F28P650DK: TMS320F28P65x Peripheral Header File

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi,

I am currently on porting an existing working application from RAM into FLASH. I have successfully moved in all the program code and verified it is running. There are a couple of other sections I would like to pull into RAM from starting in FLASH at runtime including

1. CLA Prog Code

2. ePIE Interrupt Vector Table + ISR's

3. Reference to Flash Control Regs (recommend by this forum)

e2e.ti.com/.../faq-flash---how-to-modify-an-application-from-ram-configuration-to-flash-configuration

I am currently working on getting the ePIE interrupt table + ISR's to run from RAM inside of my FLASH program and have utilized the TI.RAMFUNCS section for the ISR's but noticed inside of the doc "Running an Application from Internal Flash Memory on the TMS320F28xxx DSP (Rev. L)", there is a section explaining the following

I was wondering if TI has a "Peripheral Header File Structure" for the P650DK9 so that it would be easier to port this application to different devices and to avoid hardcoded addresses. All of the devices mentioned in the references are for different models and a global search of the TI installation directory only shows headers located in device_support/f28p65x/headers/include. These files do not contain any reference to the PieVectTableInit.

Thanks

  • Hi Ayden,

    I am not sure if i got your point correctly, but we have existing functionalities to disable the PIE and do the memcpy operations.

    Please have a look at the InitPieCtrl() and  InitPieVectTable() functions in the f28p65x_pievect.c file at C2000Ware\device_support\f28p65x\common\source.

    The PieVectTableInit struct is defined in f28p65x_pievect.c file. And you can see the PieVectTable mapped to address 0x000D00 inside the file f28p65x_headers_BIOS_cpu1.cmd file at the location C2000Ware\device_support\f28p65x\headers\cmd

    Let me know if you are looking at these details.
    Thanks
    Aswin