You cannot prevent the block code (last sector) to be executed since at reset first vector pointes to that code (memory mapped). But! ... you can write your own bootloader in the last sector of the flash. It's not documented, however the code needed is in the bootloader update archive from philips (Hex Intel format). Be carreful, if your update fails ISP (via serial line) isn't possible anymore. I'm working on a debugger able to write in the ENTIRE flash through JTAG connection. > Hello! > > For my projekt i am using a lpc2292. > > My problem is the following: > Since my application is without the possibllity to use the build in > bootloader, i want to write my own boot loader which can be > controlled via software! > I imagine that i can reseve a areaa of the flash for the bootloader > so it will always be present even if programming is failing. > My questions are: > how do i place the bootloader on a specific adress area in the flash > memory?? > > how do i reserve this area so my next application will not use this > area of the flash memory? > > I expect the bootloader to use the internal programming routines to > program the flash, but the new data to be programmed will be placed > on a SD card or something like it, must the boot loader run from > flash or internal RAM? > > if you have a link for some pages descibing simmilar > problems/projects or som codepieces i will be recieved with > appreciation. > > Thans a lot > Best regards > Boje Demant
Message
Re: My own boot loader! (Or others with some help ;-)
2005-12-15 by kibobo59
Attachments
- No local attachments were found for this message.