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.

DM8127 VPSS-M3 hang when acessing ISS register

Hi, all

I work on DM8127, Appro sample U-BOOT is 3.5.0, and my application is 3.2.0.  When access ISS register, M3 program is hanged. I want to know, if M3 MMU configure is different between 3.5.0 and 3.2.0, and how to change, such as U-BOOT, KERNEL, or APP. I compiler original version supplied by Appro, the same thing occurs, I first wonder if version of U-BOOT, KERNEL ,APP is not compatible.

I use following method to access ISS register:

Vps_printf("0x55050010=%08X.\n", *(unsigned int*)0x55050010);

or

iss_core_init(TRUE);

#define ISS_REGS_BASE_ADDR 0x55040000

Thanks & Best Reguards

Richard 2013-8-19

  • Richard,

    Are you trying to execute this code from M3?

    i.e. How are you trying to access ISS registers? Also at which point in execution?

    Regards

    Rajat

  • Hi, Rajat:

    I load VPSS-M3 image file via host, After M3 boot,  My program as following:

    1. Syslink_setup()

    2. Task_create(): The task perform system initialize process.

    2.1. Attach to host and Setup IPCs.

    2.2. *(unsigned int*) 0x481C52C8 = 0x01000000; // Need to set this bit only for ti814x to support tied vencs, pin mux settings

    2.3.  *(unsigned int*) 0x48180324 = 3; // TODO Find proper place for this Set the divider for the SYSCLK10

    2.4. ISS pin mux setup.

    2.5. ACCESS Here <NO RESPONSE HERE>.

    2.6 Other ISS initialization.

    2.7. ......

    3. BIOS_start()

    I want to know, if AMMU is not configure correctly, otherwize how to settle it?

    The AMMU configuration is APPRO sample default, and change fireware loader in my application.

    Thanks a lot.

    Richard

  • Hi, all

    I want to know what cause accessing ISS failed at VPSS-M3 side: Power, clock, pin mux, AMMU config, or other condition.

    Thanks & Best reguards!

    Richard

  • Richard,

    1. Power is ruled out because M3/ISS share same power rail.

    2. Pinmux is ruled out because it has nothing to do with internal access.

    3. We haven't changed the AMMU config, besides there is no address translation configured so I wouldn't suspect it yet.

    Do you have CCS connectivity? If so can you check if you are able to access 0x55040000 from M3 memory window?

    Also, from your description it was not clear to me if you were trying to access ISS register from M3 space or from A8 space. If its from A8 space, then 0x55040000 is the wrong memory map for ISS. A8 can access ISS on a different memory map starting from 0x5C000000. Please let me know which one it is.

    Regards
    Rajat