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.

CCS/OMAP-L138: Can C6748 DSP determine if the chip is an OMAP or DSP

Part Number: OMAP-L138
Other Parts Discussed in Thread: OMAPL138

Tool/software: Code Composer Studio

I have code running on the C6748 chip  and on the C6748 of the OMAP L138.  Can the DSP read a register to determine if the code is running on the OMAP L138 chip or the C6748 chip?

  • Dieter,

    Looking at the registers in the TRM, I don't see a way to do this that is as simple as reading a register, since the values of the Revision/Chip ID registers are the same between the two parts. It could be possible to try to read one of the registers that is present on the ARM and isn't present on the C6748, but that behavior isn't defined anywhere to my knowledge. Given that for IPC the software needs to be provided a list of available processors, I don't think there's necessarily any way to directly identify the other processors on the die simply from reading a register. I could be wrong though, as JTAG seems to be able to identify all of the available processors.

    I'm not sure what your goal is, but it's worth noting that the OMAP-L138 is configured as ARM boot master, so the ARM is responsible for powering on the DSP. This means that the code for the OMAP and the C6748 will be inherently slightly different, since there will need to be something that turns on the DSP from the ARM before the DSP code can run.

    This is based on my experience with the part, so a TI employee may want to further verify what I've said.

    Jeff
  • Hi Dieter
    Essentially reconfirming what Jeff said in his post. We do not document any registers that allow you to distinguish this in software. Given the inherent difference in software binaries needed to boot up ARM vs DSP (OMAPL138 vs c6748) , this is typically not the envisioned use-case.

    Regards
    Mukul