LPC2129 In Application Programming

Hi Guys, Has anyone had any success with IAP on the LPC2468? What is odd is when I run the following code with out the call to Prep_flash all the messages are printed out properly to terminal however once it is included, nothing is printed out. not even the message before the call.
Trace_Out_Msg ("nrAttempting flash prep!!!!",20);
    portENTER_CRITICAL();
    result = Prep_Flash (SECTOR8, SECTOR8);
    portEXIT_CRITICAL();
    if (CMD_SUCCESS==result)
    {
       Trace_Out_Msg ("nrPrep succeeded!!!!",20);
    }else
    {
       Trace_Out_Msg ("nrPrep failed!!!!",20);
       Trace_Out_Hex (&result, 2);
    }
Does anyone have any ideas? Thanks,
Colin

LPC2129 In Application Programming

Look in the files section of the LPC2000 Yahoo group for examples, and on the NXP web site for application notes. It is a subject that comes up in those (NXP targeted) forums often.