I was using MQX 3.7 with CodeWarrior 10.2 without any problems on my M52259EVB.
I downloaded and installed MQX 4.0.1 and compiled all the libraries using the default user_config.h and default linker files. I then built several example projects.
All of the RTCS and MFS example projects crash with "
***UNHANDLED INTERRUPT ***
Vector#: 0 0x00
It seems to occur right when RTCS_create() is called. Other projects like the flashx, hello world, and some shell examples run without any problems.
Is there something I need to change in the user_config.h file to get the RTCS and MFS examples to run?
edit: This is using the intflash Release build configuration. All libraries and projects built and linked without issue.
Thanks,
Nate
Update: I traced the source of the crash in the httpsrv example, and it is occuring in:
RTCS_create -> RTCS_task_create -> _task_create() -> task_create_internal()->CHECK_RUN_SCHEDULER()
*** UNHANDLED INTERRUPT ***
Vector #: 0 0x0
Offset : 0 0x0
Task Id: 0x10002 Td_ptr 0x20001f38 Stack Frame: 0x2000312c
Interrupt_nesting level: 1 PC: 0x00000000 SR: 0xf442
update 2: I tried a different M52259EVB board, and still have the same problem. Tried uninstalling MQX 4.0.1 and reinstalling. Same problem.
Can anyone confirm that the httpsrv example works with stock configuration on the M52259EVB with 4.0.1?
You might be better posting MQX-related questions in the MQX forum:
As for your problem. nobody has (yet) answered you with "I know what that is", so... Do you have a debugger? You can probably find the cause yourself if you single-step through the code that is failing, or put some breakpoints in appropriate places and then look at the stack to see how the code got there.
Tom
As near as I can tell, user_config.h, small_ram_config.h, and verif_enabled_config.h are identical between 3.7 and 4.0.1.
The 3.7 httpsrv example works fine, but the 4.0.1 example won't get past RTCS_create(). Everything is at stock configuration. I noticed the httpsrv example in 4.0.1 calls for quite a bit more stack for RTCS, but I would assume they tested it like that and it worked on the 52259EVB.
edit: The MFS_USB example seems to be crashing on a call to _lwmsgq_receive