lpcware

LPCXPRESSO LPC1769 - Cannot halt processor

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by masterboy on Mon Feb 04 00:22:30 MST 2013
Hi,

I bought LPCXpresso LPC1769 last week, but I have a problem with debbug my simple program:



#ifdef __USE_CMSIS
#include "LPC17xx.h"
#endif

#include <cr_section_macros.h>
#include <NXP/crp.h>

__CRP const unsigned int CRP_WORD = CRP_NO_CRP ;

int main(void) {

LPC_GPIO0->FIODIR = 0xFFFFFFFF;
LPC_GPIO0->FIOSET = 0xFFFFFFFF;

volatile static int i = 0 ;

while(1) {
i++ ;
}

return 0 ;

}



[B]Debbug message:

Cannot halt processor
02: Failed on connect: Ep(04). Cannot halt processor.
Emu(0): Conn&Reset. Was: None. DpID: 2BA01477. Info: WIN64HS12[/B]

What is wrong? What can I do?

Outcomes