Hello,
I think the problems I posted recently regarding JTAG problems of the
LPC2138 mask A and B, are caused by the bootloader. The mask A device
has version 2.00 , the mask B device has 2.11 (B works perfectly).
How can I change the bootloader in the mask A device ? I didn't find
a tool which allows to change the bootloader for the LPC2138. For
other members of the LPC21xx family there are tools available.
Thanks
Hello,
Transferring the boot loader from one part to another can be done, but the
issue you have to consider is what differences are between the boot loader
that affects the two hardware revisions.
Compare the contents of the two boot sectors and see if you can find out to
what extent they are different. If the difference is minimal, you might be
able to work out what these are, and then determine if it is safe to
transfer the boot loader across.
Jaya
>Message: 12
> Date: Thu, 23 Feb 2006 16:50:53 -0000
> From: "r_bottleneck" <r_bottleneck@r_bo...>
>Subject: How to change bootloader for LPC2138 ?
>
>Hello,
>
>I think the problems I posted recently regarding JTAG problems of the
>LPC2138 mask A and B, are caused by the bootloader. The mask A device
>has version 2.00 , the mask B device has 2.11 (B works perfectly).
>
>How can I change the bootloader in the mask A device ? I didn't find
>a tool which allows to change the bootloader for the LPC2138. For
>other members of the LPC21xx family there are tools available.
>
>Thanks
Send instant messages to your online friends http://au.messenger.yahoo.com
Reply by r_bottleneck●February 24, 20062006-02-24
> Transferring the boot loader from one part to another can be done,
@Jayasooriah
Would you please share the information how it works ?
Thanks
Reply by Jayasooriah●February 24, 20062006-02-24
I would not recommend anyone try this unless they are familiar with flash
programming fundamentals at the lowest level and appreciate intrinsic risks
associated with boot sector updates.
--- In lpc2000@lpc2..., "r_bottleneck" <r_bottleneck@...> wrote:
> > Transferring the boot loader from one part to another can be done,
>
...
>
> Would you please share the information how it works ?
Dump the boot sectors of compatible source and target parts. Compare them
and make sure you are satisfied you know what the changes mean, and that
they do not affect any hardware requirements that are different between the
two parts.
Download the dump of the source part into the target part and flash it into
the boot sector.
ISP/IAP calls will not allow you to flash the boot sector. You either have
to call boot loader routines directly (which means you have to find out
where these are from disassembly of the dumped boot sector of the target
part), or use your own flash routines. I have never used the first method
but I know others have.
As with any boot flash update procedure should anything go wrong at the
critical moment when the target boot sector is being updated, may end up
destroying your boot loader, and may be even the part. So exercise extreme
care and caution.
If anyone here has 2138s that they can afford to throw away, I am happy to
provide the tools and take you through the process. You are then
responsible for documenting the process and putting this up in the download
area with the tools.
PS: I am well aware I have stepped into Philips territory ... but no turf
wars please.
Send instant messages to your online friends http://au.messenger.yahoo.com
Signal Processing Engineer Seeking a DSP Engineer to tackle complex technical challenges. Requires expertise in DSP algorithms, EW, anti-jam, and datalink vulnerability. Qualifications: Bachelor's degree, Secret Clearance, and proficiency in waveform modulation, LPD waveforms, signal detection, MATLAB, algorithm development, RF, data links, and EW systems. The position is on-site in Huntsville, AL and can support candidates at 3+ or 10+ years of experience.