I am writing an application that is now in need of remote debugging. I have setup psplink with the M33 4.01 firmware (running with 1.50 compatibility). The application in a network based app which connects to the wifi and then sends the controller details over TCP.
I initially was using a PRX and the new API calls which are compatible with WPA access point, but since psplink requires a 1.50 firmware I have now altered the code so that it compiles a version which will be compatible on 1.50 firmware.
Now I can run the compiled 1.50 version of the application and run it from the GAME150 folder no problem. But if I try to execute or debug the application via the psplink shell, the module gets loaded but seems to hang the PSP and I have to do a hard reset (shell is still active though).
Anybody have any idea what the cause of this could be?
Module defintion below
Code: Select all
#if _PSP_FW_VERSION < 200
PSP_MODULE_INFO(PSP_REMOTE, 0x1000, 0, 1);
PSP_MAIN_THREAD_ATTR(0);
#else
PSP_MODULE_INFO(PSP_REMOTE, PSP_MODULE_USER, 0, 1);
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER | THREAD_ATTR_VFPU);
#endif
PSP_HEAP_SIZE_KB(10240);
Code: Select all
INCDIR =
TARGET = pspremote
OBJS = pspremote.o menu.o net.o librjoy.o
LIBS = -lstdc++
CFLAGS = -O0 -G0 -Wall -g3
CXXFLAGS = -fno-exceptions -fno-rtti
BUILD_PRX = 1
LIBDIR =
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = PSP Remote
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
librjoy.o: ../../pspremote_server/librjoy.cpp
$(CC) $(CFLAGS) $(CXXFLAGS) -c ../../pspremote_server/librjoy.cpp
EDIT:
I seem to be able to run other applications fine from the shell, for instance the simple netsample works fine from the shell and the controller sample works from the shell