----Original Message----
From: l...
[mailto:l...] On Behalf Of Paul Curtis
Sent: 10 December 2010 15:53 To: l...
Subject: RE: [lpc2000] Bootloader problems on LPC175x
> Hi Tim,
>
> > Umm, I still can't get it to power up without going
> > into the boot rom.
> >
> > I have changed memory_map and flash_placement.xml to
> > relocate the user code at 0x2000, but I am not sure I
> > have done it right.
>
> You do have two projects, one for the app, and one for
> the bootloader?
Errr....
No, I was trying to do it all in one project - now that you come to mention it,
I can see how this would be a bad idea...
--
Tim Mitchell
t...@sabretechnology.co.uk ~ http://www.sabretechnology.co.uk
Sabre Technology (Hull) Ltd, 3a Newlands Science Park, Hull
HU6 7TQ Registered in England and Wales no.3131504
t:01482 801003 f:01482 801078
Bootloader problems on LPC175x
Started by ●December 10, 2010
Reply by ●December 10, 20102010-12-10
Reply by ●December 10, 20102010-12-10
The ISP bootloader validates the vector checksum from vector words 0..0x20. The
checksum word itself is placed at 0x24. Your bootloader really needs its own
flash sector to allow separation from your application code. A separate sector
means you don't need to be concerned with saving/restoring the bootloader
itself when you re-flash your application. Your bootloader can perform the same
validation the ISP does (reinvoke ISP if checksum fail), or at least check for
FFFF's at the target address to make certain it doesn't vector off
into a blank sector.
----- Original Message -----
From: Tim Mitchell
To: l...
Sent: Friday, December 10, 2010 8:01 AM
Subject: RE: [lpc2000] Bootloader problems on LPC175x
----Original Message----
From: l...
[mailto:l...] On Behalf Of Paul Curtis
Sent: 10 December 2010 15:53 To: l...
Subject: RE: [lpc2000] Bootloader problems on LPC175x
> Hi Tim,
>
> > Umm, I still can't get it to power up without going
> > into the boot rom.
> >
> > I have changed memory_map and flash_placement.xml to
> > relocate the user code at 0x2000, but I am not sure I
> > have done it right.
>
> You do have two projects, one for the app, and one for
> the bootloader?
Errr....
No, I was trying to do it all in one project - now that you come to mention it, I can see how this would be a bad idea...
--
Tim Mitchell
t...@sabretechnology.co.uk ~ http://www.sabretechnology.co.uk
Sabre Technology (Hull) Ltd, 3a Newlands Science Park, Hull
HU6 7TQ Registered in England and Wales no.3131504
t:01482 801003 f:01482 801078
----- Original Message -----
From: Tim Mitchell
To: l...
Sent: Friday, December 10, 2010 8:01 AM
Subject: RE: [lpc2000] Bootloader problems on LPC175x
----Original Message----
From: l...
[mailto:l...] On Behalf Of Paul Curtis
Sent: 10 December 2010 15:53 To: l...
Subject: RE: [lpc2000] Bootloader problems on LPC175x
> Hi Tim,
>
> > Umm, I still can't get it to power up without going
> > into the boot rom.
> >
> > I have changed memory_map and flash_placement.xml to
> > relocate the user code at 0x2000, but I am not sure I
> > have done it right.
>
> You do have two projects, one for the app, and one for
> the bootloader?
Errr....
No, I was trying to do it all in one project - now that you come to mention it, I can see how this would be a bad idea...
--
Tim Mitchell
t...@sabretechnology.co.uk ~ http://www.sabretechnology.co.uk
Sabre Technology (Hull) Ltd, 3a Newlands Science Park, Hull
HU6 7TQ Registered in England and Wales no.3131504
t:01482 801003 f:01482 801078