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.
Hi,
I created an own chain, where I wanted to use Chains_readChar() for debugging purposes.
Ic used it like this in my normally never ending loop inside the Chains_(...)_Display-function like below:
Vps_printf("#### WAITING FOR ENTRY ####\n");
char c='a';
while(c!='x')
{
c = Chains_readChar();
Vps_printf("%c: \n",c);
}
Vps_printf("#### LEAVING CHAIN ####\n");
I see the WAITING message but I never see any reaction. It seems, that Chains_readChar() never comes back to the loop.
Is there something special to prepare before using this function or might it be only, that my own chain does something wrong, that disturbs the function?
Regards,
Guenter
Hi Guenter,
Do you see it working for other chains? If it works there, it should work here also.
Essentially, it uses UART to read char, so you have use correct UART port, it should work..
Rgds,
Brijesh
Hi Brijesh,
yes it works in other chains. The only difference is, that I call this chain standalone directly without using any menus. But I did it the same way, how I did it with one of your examples (I've used chains_issMultCaptIspDeWarpRearView3dSv that way).
I'm testing an own chain, where only the grpx graphics work with my own grapfics but I want to get the iss video running. So I wanted to use the keys for debugging purposes in that way that I do not need always to re-compile, load it to the sd card etc, when changing some settings (you know, the framework is very unconvenient concerning debbuging). Currently I'm at the point, where the iss-sensors have been started without any error messages but the caputured video display keeps black :-( so I asume, that this not well working part of the chain may cause my problem even the chain arrives the loop.
Maybe I should produce debug code and use the time consuming and not reliant working CCS debugging. ...
Regards,
Guenter