This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCB2300 problem

Hi, all.
I'm italian so my english isn't very good:-) but i try it.
I have an evolution board MCB2300 with LPC2368, "i'm new on the world of ARM" and today while i'm working on the uvision2 under configuration wizard I disable the OSCEN:Main Oscillator Enable after i build the code and flashed on LPC, after that the board doesn't work anymore. The JTAG doesn't find the chip, i try with Flash Magic (via COM0) but also this explain "Operation Failed. (failed to autobaud-step1)".

What i can do??

Thanks to much.

  • LPC23XX User manual

    UM10211
    Chapter 29: LPC23XX Flash memory programming firmware
    Rev. 01 — 11 March 2008 User manual

    The flash boot loader code is executed every time the part is powered on or reset. The
    loader can execute the ISP command handler or the user application code. A LOW level
    after reset at the P2.10 pin is considered as an external hardware request to start the ISP
    command handler.
    Assuming that power supply pins are on their nominal levels when the
    rising edge on RESET pin is generated, it may take up to 3 ms before P2.10 is sampled
    and the decision on whether to continue with user code or ISP handler is made.

    ==============================================================================

    Flash Magic talks to the ISP command handler of LPC23xx.

  • Thanks for your respose.
    Ok I have read the entire chapter and i try on mcb2300 but doesn't response. My Question is:
    If i disable the OSCEN:Main clock Enable which clock use the uP? It's possible that ISP can response without any clock?
    Now when i turn-on the board the led on P2.0...P.7 is on and the LCD is empty.
    Thanks to much.
    Bye.

  • The processor boots with an internal RC oscillator. Then you can decide to switch to something else.

    The internal boot loader in the processor starts with this internal RC oscillator, which is one of the reasons why FlashMagic wants you to tell what external crystal frequency you have - this allows the boot loader to switch to a crystal and still be able to compute resulting baudrates for the ISP programming.

  • By the way - lots of LPC23xx chips have a problem with the autobaud function of the internal boot loader - normally solved by programming using a very low baudrate. Try 9600 baud. I'm not sure if the issue is with the calibration of the internal RC oscillator, but the error manifests itself as a failure to auto-baud when using FlashMagic.

  • Thanks too much!!
    I have erase the flash at 9600baud the problem was the cable!! I've connect each pin by hand and you're done.
    Thanks for help!
    Bye.