- Networking w/ telnet
- Shell
- Install CodeWarrior 10.2 (Special Edition): Link
- Install MQX 3.8: Link
- Install the MQX 3.8 patch for CW 10.2 (for kernel debugging): Link
-
replace
$MQX$ /config/twrk60n512/user_config.h with the one from this project (probably best to save the original) -
modify
$MQX$ /mqx/source/bsp/twrk60n512/twrk60n512.h as follows:Enable interrupts for TTYD:
#define BSPCFG_ENABLE_ITTYD 1
Change to use ITTYD for standard print functions (
printf
's)/* * Other Serial console options:(do not forget to enable BSPCFG_ENABLE_TTY define if changed) * "ittyf:" OSJTAG-COM interrupt mode * "ttyd:" TWR-SER polled mode * "ittyd:" TWR-SER interrupt mode * "iodebug:" IDE debug console */ #ifndef BSP_DEFAULT_IO_CHANNEL #if BSPCFG_ENABLE_TTYF //#define BSP_DEFAULT_IO_CHANNEL "ttyf:" /* OSJTAG-COM polled mode */ #define BSP_DEFAULT_IO_CHANNEL "ittyd:" /* TWR-SER interrupt mode */ #define BSP_DEFAULT_IO_CHANNEL_DEFINED #else #define BSP_DEFAULT_IO_CHANNEL NULL #endif #endif
-
Follow library building process described in
$MQX$ /doc/FSL_MQX_getting_started.pdf (p.7)The libraries have to be built in correct order:
PSP and BSP
MFS
RTCS
Shell and USB libraries
-
Build K60 application
-
Load via debugger & run