trap occurred. access error
Posted: Mon Apr 19, 2010 9:45 am
Hello,
Got a problem with an app of mine. There are three tasks in it: The main task, a command processor called from the main task, and a dummy Hello World task, also called from main.
Priorities for the main, command processor, and dummy tasks are MAIN_PRIO, MP + 1, and MP+2, respectively.
My command processor stuff is taken almost exactly from the example, which ends in a while (1) OSTimeDly loop. With that in place, everything works, but the dummy task, which is created after the command processor is run, is obviously never started.
When I remove that while loop, it gets interesting. All tasks are started successfully. I can even connect to the telnet socket I opened with the command processor and enter a username and password for the authentication. But when I hit enter after the password prompt, I get the trap and access error.
I tried to look up the line with the m68k-elf-addr2line command and the program counter, but all I get is "??:0".
Any ideas? Am I missing something obvious here?
Thanks!
Christoph
Got a problem with an app of mine. There are three tasks in it: The main task, a command processor called from the main task, and a dummy Hello World task, also called from main.
Priorities for the main, command processor, and dummy tasks are MAIN_PRIO, MP + 1, and MP+2, respectively.
My command processor stuff is taken almost exactly from the example, which ends in a while (1) OSTimeDly loop. With that in place, everything works, but the dummy task, which is created after the command processor is run, is obviously never started.
When I remove that while loop, it gets interesting. All tasks are started successfully. I can even connect to the telnet socket I opened with the command processor and enter a username and password for the authentication. But when I hit enter after the password prompt, I get the trap and access error.
I tried to look up the line with the m68k-elf-addr2line command and the program counter, but all I get is "??:0".
Any ideas? Am I missing something obvious here?
Thanks!
Christoph