Hi I am a newbie and I am french.
I have set an environment for developping on my computer and now I try to test some code on the PS2 but can't can't call a function, but the others operations do not cause an error.
void test()
{
}
int main()
{
int var;
var = 2*5;
for (var = 0; var < 100; var++)
;
test();
return 0;
}
When I don't call function test() TV stay on naplink screen (I can see status of cable and computer connection), but when I call the test() function I have an error screen with many adresse (I don't understand this screen).
I use the Makefile of the star simulation (the first exemple in the tutorials)
I have remove -fnonnull-objects CFLAGS option in Makefile because I have the massage "cc1: unrecognized option "-fnonnull-objects", my probleme can come to here?
...you can try to generate ".map" file, which will contain memory addresses of your data and functions. Then you can compare value of EPC from the exception dump with these addresses to see where approximately the program crashed. ".map" file can be generated by adding this: "-Xlinker -Map -Xlinker <map_filename>" to the linker's command line...
Finally I have install the packsetup (http://ps2dev.org/ps2/Tools/Toolchain/P ... _for_Win32) but I have always the same error and all sample that i have compile crash. And after the Error screen I need reboot manually the PS2 because the Napclient reset have no effect (stay on a black screen).