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.

In-band Error seen by IVA_SS at address 0

Hi all,

I'v searched the forum but it seems that the cause of the error is not very clear.

I'm not using any syslink/dsplink, no dsp bios. I developed a simple kernel module to load program into DSP L2RAM. And I have a program which toggles an LED. The code is attached in the end.

I'm using GPIO 186 (Gumstix Overo fire with summit board), Kernel version 3.5. I'm able to see the LED flashes, and my Linux side does not crash, just keep printing this : In-band Error seen by IVA_SS at address 0. I can do reset from my host program to stop DSP from running and end everything.

My questions :

1. DSP MMU is disabled. Is DSP able to access GPIO, or any other L3 connection? I'm not sure how to enable MMU and just do a one-one mapping, like map bus address 0x4809 4000 to VA 0x4809 4000. Where is the translation table supposed sit? 

2. What can be the possible causes of this error? Please give me as much as possible...I only write to GPIO 186...

My code on DSP side:

void main(void) {
	int ret;
	int result=2;
	int loop;
	REG(GPIO6_CTRL) = 0x6;
	REG(GPIO6_SYSCONFIG) = 0x14;
	ret = REG(GPIO6_OE);
	REG(GPIO6_OE) = ret & 0xFBFFFFFF; //GPIO 186 as output
	REG(GPIO6_DATAOUT) = REG(GPIO6_DATAOUT)|0x04000000;

	while(1)
	{
		REG(GPIO6_DATAOUT) = REG(GPIO6_DATAOUT)^0x04000000;
		for(loop=0;loop<50000;loop++)
		{
			result = result+1;
			result = result*5;
			result = result/3;
		}
	}
}

Thanks a lot !

  • Hi Airie,

    At reset, the MMU is disabled, and the IVA2.2 DSP CPU can access device global memory mapping from the 0x1100 0000 address. The range of addresses 0x00000000 to 0x10FF FFFF is reachable only by the DSP CPU, because it performs its own internal memory-mapping function.

    For more details about MMU you can refer to the TRM section 5.3.3.2 MMU Configuration.

    About the 'In-band Error seen by IVA_SS  at address 0' error message try the following patch:

    http://comments.gmane.org/gmane.linux.ports.arm.omap/71317

    BR

    Tsvetolin Shulev

  • Tsvetolin, thanks for your reply.

    However, as I mentioned, I'm NOT using any "Bridge"ware, and there is no WDT in my code.

    Would you mind briefly explain what that error means?

    Thanks,

    Airie