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.

Using CCS V3.3 with Two C Resident Programs on C6747 ???

Trying to  emulate loading  2 C resident programs with separate c_int00 entry points. One is a simple C6747 boot loader program (20KB)

that initializes  the C6747 Cache,  SysCfg,  PLL,  PSC,  EMIF-B,  MPU, HPI,  and Interrupt Ctrl. C6747 boot loader will be resident in SHAREDRAM area.

The other is a simple application program resident in either SDRAM or L2RAM.  Would like CCS to start C6747 boot loader program in SHAREDRAM and

then jump to C6747 application in L2RAM/SDRAM via entry point (_c_int00) stored at start of L2RAM area (0x1180000).  C6747 bootloader will jump to

application program when it receives a emulated HPI DSP interrupt signal send via GEL file.   Probably may need to load both C6747 boot loader and

C6747 application program at same time via emulator.

 

Possible to configure either CCS V3.3.82.13 or Code Gen 6.1.19 tools to set dual entry point application and load into target board via emulator ??

The C6747 application entry point could be written manually via GEL file at L2RAM 0x11800000 after both programs are loaded via emulator.

 

Application involves loading C6747 via HPI for both C6747 boot loader and C6747 application program. External HPI program needs

access to SDRAM on C6747 EMIF-B and can not access after Power on Reset (POR) because HPI only has USER mode and not

Supervisor MODE.

 

Need small C6747 boot loader program to configure internal C6747 registers to allow SDRAM access from HPI port !

 

Tom

 

 

 

 

 

 

  • Tom,

    There are some steps you want to do in the middle of this process that are not clear to me. But there are probably just two things that you need to know about or understand:

    1. There can only be one value for the symbol _c_int00 at any one time. The value will be from the most recent program image that has been loaded. One choice would be to load the application and then load the bootloader. This might not work unless you initialize some peripherals like memory controllers through the GEL scripts.

    2. If you have the two images loaded, you could run until the bootloader is ready to branch to the application and stop at a breakpoint. Then you can Load Symbols Only for the application image and CCS will be ready to emulate the application with all the symbols you need.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.