LPC2129 In Application Programming

Posted by Colin Tan on November 13, 2010
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 ("\n\rAttempting flash prep!!!!",20);
portENTER_CRITICAL();
result = Prep_Flash (SECTOR8, SECTOR8);
portEXIT_CRITICAL();
if (CMD_SUCCESS==result)
{
Trace_Out_Msg ("\n\rPrep succeeded!!!!",20);
}else
{
Trace_Out_Msg ("\n\rPrep failed!!!!",20);
Trace_Out_Hex (&result, 2);

}


Does anyone have any ideas?

Thanks,
Colin

RE: LPC2129 In Application Programming

Posted by Dave on November 15, 2010
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.