> Sorry, I've lost track somewhere here. What, exactly, did you
verify?
Re-entry in to bootloader ISP without touching the P0.14 pin when the
device already had a valid user code.
re_enter_bootloader_isp
{
volatile unsigned long * memmap;
volatile unsigned long * ioclr;
volatile unsigned long * iodir;
volatile unsigned long * pinsel0;
void (*bootloader_entry)(void);
unsigned long temp;
memmap = (volatile unsigned long *)0xE01FC040;
ioclr = (volatile unsigned long *)0xE002800C;
iodir = (volatile unsigned long *)0xE0028008;
pinsel0 = (volatile unsigned long *)0xE002C000;
*memmap = 0x0;
temp = *pinsel0;
*pinsel0 = temp & 0xFFFFFFF3;
temp = *iodir;
temp = temp | 0x4000;
temp = temp & 0xFFFFFFFD;
*iodir = temp;
*ioclr = 0x4000;
bootloader_entry = (void (*)(void))(0x0);
bootloader_entry();
}Message
Re: Activating Boot Loader for LPC2000 Flash Untility
2004-07-08 by lpc2100
Attachments
- No local attachments were found for this message.