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

LPC 2148 ISP programming problem

Hi everyone

I am new to programming LPC 2148.I am trying to program the micro controller using UART0.
I am using flash magic to program the micro.

I have connected the following pins to a FTDI chip:

19-RX input of FTDI
21-TX output of FTDI
23-VCC 3.3V
25-GND
41-GND through a push button switch(will be set to ground when pressed
57-GND through a push button switch for reset.

apart from this,i connected pin 61 and 62 to crystal coupled with 22pF capacitors.
I have set a baudrate of 9600 and checked if the com port matches.

I have got an error saying Failed to autobaud -step 1.

I have two LPC break out boards.
One of them has a crystal on the board .So i have not connected the crystal(pins 61 and 62).With all the other pins remaining the same,the LPC 2148 is programmed. The crystal on the board is not connected to pin 61 and 62,it shows it is connected to pins 3 and 5 through a resistor of 600 ohms

But if try the same circuit and add a 12 mhz crystal to pin 61 and 62 i get the error.Is there anything i need to change in the cirsuit? Thanks in advance.

Parents
  • I have got the LPC 2148 programmed by using my circuit.For others facing this issue

    The issue was,I had to connect the vcc (PIN 51)to 3.3 v.It wasnt getting 3.3 and
    once i connected it,it started working.

    So the pin connections are as mentioned in the first post with the following additions:

    1)32.768 KHz crystal on pin 3 and 5.
    2)3.3 on vbat (pin 49) and VCC(Pin 51)

    Hope this helps.

Reply
  • I have got the LPC 2148 programmed by using my circuit.For others facing this issue

    The issue was,I had to connect the vcc (PIN 51)to 3.3 v.It wasnt getting 3.3 and
    once i connected it,it started working.

    So the pin connections are as mentioned in the first post with the following additions:

    1)32.768 KHz crystal on pin 3 and 5.
    2)3.3 on vbat (pin 49) and VCC(Pin 51)

    Hope this helps.

Children
No data