ps2link printf question
Posted: Sun Oct 09, 2005 8:25 pm
Hello,
I am having some trouble using printf for debugging in InLink. I'm not sure if this is normal or if I'm doing anything wrong...
I have this piece of code from the Hello World example:
I can compile it and run the elf file through InLink without any problems. Now whenever I add another printf("something"); recompile the elf and try to execute it through InLink, I get this message and have to manually reset the PS2 :
When I execute the same file after the reboot, it works fine until i make new changes. This only happens when I make calls to printf/nprintf from my code. Is there something obvious I'm missing?
I'm using PSLink v1.2.4 and InLink v1.3.7.
Thanks,
kegel
I am having some trouble using printf for debugging in InLink. I'm not sure if this is normal or if I'm doing anything wrong...
I have this piece of code from the Hello World example:
Code: Select all
#include <tamtypes.h>
#include <sifcmd.h>
#include <kernel.h>
#include <sifrpc.h>
int main()
{
SifInitRpc(0);
printf("Hello, world!\n");
nprintf("Hello, again, from Naplink RPC!\n");
return 0;
}
Code: Select all
Get Reboot Request From EE
ps2ip_ShutDown: Shutting down ps2ip-module
I'm using PSLink v1.2.4 and InLink v1.3.7.
Thanks,
kegel