gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Arm7 wifi fails to initialise

#104586 - Dan Forever - Sat Sep 30, 2006 5:58 pm

I can't seem to figure out how to initialise the DS for wifi. I've copied the c file from the wifi_lib_test and use that for my arm7 code. For the arm9 (which is in c++ as opposed to c) I've copied out of the wifi_lib_test arm9 code everything to do with initialising the wifi. However, Wifi_CheckInit() always returns 0.
What could I be doing wrong? The wifi_lib_test itself compiles and runs fine.
How can I test to see if the reason is that the arm7 has crashed or the arm7 code isn't properly integrated with the arm9?

#104611 - Bronto - Sat Sep 30, 2006 9:44 pm

are you sure the arm7 core is properly linked?
You could add a cookie string and look at the file in a hex editor to make sure it is