Thank you Danish and
Robert.
When I put a pull down on P0.14, the ISP works.
Thank you.
--- On Mon, 6/23/08, Danish Ali wrote:
From: Danish Ali
Subject: [lpc2000] Re: LPC2138 one time programmable ?
To: l...
Date: Monday, June 23, 2008, 4:01 PM
I disagree.
If the checksum for your code is not valid
(e.g. a new chip), the bootloader waits forever
for Flash Utility to connect.
You do not need P0.14 and Reset to be wired
correctly for this to work.
----
If the checksum for your code _is_ valid (e.g. after download)
then the bootloader looks at P0.14 soon after RESET is
released (typically 3 ms).
If P0.14 is asserted, the bootloader waits forever
for a download, so the Flash Utility can connect.
If P0.14 is _not_ asserted, then your program is run.
Therefore to download _again_, you _do_ need both
P0.14 and Reset to be controlled correctly.
----
I am not sure what to read into the current consumption
information. Consumption will be excessive because you
have many inputs floating, and that allow class-A current
to flow in the input transistors.
Regards,
Danish
--- In lpc2000@yahoogroups .com, Titi Toon wrote:
>
> Thank you again for your answers, but the ISP works
if I change the
MCU for a new one. That means that the control of RESET and P0.14 is
good, and I have checked it too.
> About the ISP, I copied the schematics from MCB2138.
And I have many
other boards with the same schematics of ISP that work.
>
> Furthermore, when I switch my board on, it consumes
about 90mA
(there is only the LPC2138 and the ISP part). After using the Flash
Magic utility (failed to autobaud - step 1), it consumes about 30mA...
>
> Does someone as an idea to explain my problem ?
>
> Thank you.
> Jerome
>
> --- On Mon, 6/23/08, Danish Ali wrote:
> From: Danish Ali
> Subject: [lpc2000] Re: LPC2138 one time programmable
?
> To: lpc2000@yahoogroups .com
> Date: Monday, June 23, 2008, 3:12 PM
>
>
> I agree with Foltos:
> In order to overwrite a program where the checksum is
good,
> the Flash Utility / ISP must be able to control RESET
and P0.14.
> On demo boards I have seen, these pins _can_be_
controlled
> from the RTS and DTR lines on the ISP serial
interface
> provided you put the appropriate links in place on
the board.
> You need those links to select for remote control of
those
> pins. And you must tell the Flash Utility to use
DTR/RTS
> for bootloader selection.
>
> Hope this helps,
> Danish
LPC2138 one time programmable ?
Started by ●June 23, 2008
Reply by ●June 23, 20082008-06-23
Reply by ●June 24, 20082008-06-24
> Furthermore, when I switch my board on, it consumes
about 90mA (there is only the LPC2138 and the ISP part). After using the Flash
Magic utility (failed to autobaud - step 1), it consumes about 30mA...
> Does someone as an idea to explain my problem ?
The ISP configures the PLL to run the MCU at a certain clock (I don't know the exact settings). If you don't use the PLL in you application, the MCU might run at a lower frequency, therefore consuming less power.
The other possible reason was already decribed by Danish.
> Does someone as an idea to explain my problem ?
The ISP configures the PLL to run the MCU at a certain clock (I don't know the exact settings). If you don't use the PLL in you application, the MCU might run at a lower frequency, therefore consuming less power.
The other possible reason was already decribed by Danish.