1
NXPTM M522XX, KINETIS and i.MX RT / Tasks & Switching from Sim to Target
« on: May 10, 2011, 03:58:22 PM »
More problems switching from the simulator to the 52233DEMO target...
I figured out that while the Visual C environment adds new files to the build, the Makefile used for GCC is NOT updated, so my tasks weren't getting compiled in. (Funny, no linker errors that I could see). Fixed that, and can see my task functions in the map file.
Still, I can't get a simple task that prints a debug message to the serial port to work. The original demo's debugging messages make it there just fine. My task starts up fine and also prints to the serial port when running under the simulator.
I'm sure it's something stupid, but would appreciate any pointers, please.
Task just calls fnDebugMsg("Init is running.\r\n"); and returns.
config is "MEDIUM_QUE", (DELAY_LIMIT) ((5*SEC) + (PHY_POWERUP_DELAY)), 0, UTASKER_STOP
John
I figured out that while the Visual C environment adds new files to the build, the Makefile used for GCC is NOT updated, so my tasks weren't getting compiled in. (Funny, no linker errors that I could see). Fixed that, and can see my task functions in the map file.
Still, I can't get a simple task that prints a debug message to the serial port to work. The original demo's debugging messages make it there just fine. My task starts up fine and also prints to the serial port when running under the simulator.
I'm sure it's something stupid, but would appreciate any pointers, please.
Task just calls fnDebugMsg("Init is running.\r\n"); and returns.
config is "MEDIUM_QUE", (DELAY_LIMIT) ((5*SEC) + (PHY_POWERUP_DELAY)), 0, UTASKER_STOP
John