Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Programming the flash memory through the JTAG port

2004-01-23 by russian_beagle

> It is "by definition" possible to program the device through JTAG.
> However, Paul brought up the most important issue, compatibility 
over
> a longer periode of time. If Philips does not publish the direct
> programming sequence, they might have a good reason for it, one 
being
> that changes can be made to the actual programming mechanism 
without
> changing anything in the Programming Interface. 
> 
> I would HIGHLY recommend to use the internal routines provided by 
the
> bootloader for ease of use as much as for avoiding future trouble 
in
> case the mechanism actually changes. 
> 
> Being an embedded developer as well as involved with customer 
support
> some times, I know that we all want to know HOW things work in 
detail
> but sometimes it is time not well spent to dig into issues that can
> only make live harder. 
> 
> On a side note, I don't try to figure out the exact procedures 
used by
> the BIOS of my PC if I program something in Visual C++  :-)
> 
> Cheers, Bob.


You right. But by chance I can erase the bootloader. I found in our 
russian forum what one embedder erased the bootloader when he 
downloaded a big file ( > 128 kB) to LPC21xx through the flash 
bootloader. I don't know is it possible? But theoretically it is 
possible :(

When I will have free time, I will disassemble the Philips 
bootloader. Maybe I will find a technique of working with flash 
memory  without IAP.

BR, Konstantin.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.