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
  • Thank you for the reply.

    I need to have a custom designed board for the project .Which is why i would like to use my own programmer which would be a part of the board.

    I have just noticed that there are two differences

    1)I was supposed to connect 18 pf capacitor to the 12 MHz crystal.I connected 22pf ,I thought it wouldnt make a difference.

    2) I havent connected the 32.768 KHz capacitor.

    I will see if any one of this is the issue.

    Thanks for the reply again.

Reply
  • Thank you for the reply.

    I need to have a custom designed board for the project .Which is why i would like to use my own programmer which would be a part of the board.

    I have just noticed that there are two differences

    1)I was supposed to connect 18 pf capacitor to the 12 MHz crystal.I connected 22pf ,I thought it wouldnt make a difference.

    2) I havent connected the 32.768 KHz capacitor.

    I will see if any one of this is the issue.

    Thanks for the reply again.

Children
More questions in this forum