Hello,
I like to boot the mezzanine Board through srio, with an application running on the C6455 DSK Board.
These application should run under the DSP/BIOS.
I've tried the examples from diolib/test directory, there is one for bootload through SRIO: "testDIO_srioBootNcfg" .
The Example runs,even if I change the code to boot on the mezzanine with my code. (only one point it waits somewhere for a doorbell but this is not necessary)
Now i like to port this example to my application on DSK Board. I used DSP/BIOS on the dsk so I build a function boot_on_mezzanine() and i copy a code from example there.
I change the example with defining _OS_SUPPORT and integrate RapidIO MQT in the project because it is need for compilation of diolib with "#define _OS_SUPPORT"
it runs without failure till the point of coping sections in L2 memory on mezzanine:
// Configure this write request (data request object)
...
// Perform DIO write of THIS SECTION
cslStatus = DIO_streamingReq(&writeReqObj,&srioObj,RIO_EDMA_STREAM_0)
asm(" IDLE");
// Check completion code
if (DIO_getOpCompCode(&writeReqObj) != CSL_SRIO_TRANS_NO_ERR) {
printf("\t Transaction failed Trans_err:%x \n",DIO_getOpCompCode(&writeReqObj)); //error here :-(
return(1);
}
I don't know why this happen, it runs perfect without the OS.
I could not found any other examples for my board running under DSP/BIOS.
What is wrong, or in wich way is it possible to boot the mezzanine under DSP/BIOS???
is it possible to start the BIOS with application after booting the mezzanine board in non OS mode???