Author Topic: LPC1xxx Programmer  (Read 14164 times)

anandpv2009

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
LPC1xxx Programmer
« on: December 29, 2009, 06:07:53 am »
Sir I am new to LPC. I found some information about LPC1xxx programming in Flash magic documen. but where i get full circuit for LPC1xxx programming (using flash magic)....




Thanks....

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2172
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1xxx Programmer
« Reply #1 on: December 29, 2009, 07:53:27 am »
You need to connect an RS232 transceiver between UART0 and the PC's COM port. I would strongly recommend you start with an evaluation board from companies such as Keil, IAR, etc.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

anandpv2009

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: LPC1xxx Programmer
« Reply #2 on: December 30, 2009, 06:16:38 am »
Sir actually i am a student and I don't have enough budget for that...

Can I connect TX and RX pins of MAX232 to UART0 of the ARM.And What about pins like rest(or other connections)...



Thank u sir...

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2172
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1xxx Programmer
« Reply #3 on: December 30, 2009, 07:42:38 am »
We don't provide schematic diagrams - instead consult the user manual from NXP and the schematics from companies that make evaluation boards. In general you need to connect an RS232 transceiver such as a MAX232 to UART0.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

anandpv2009

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: LPC1xxx Programmer
« Reply #4 on: December 30, 2009, 10:43:51 am »
Thank u sir...
I think it is possible to make my own board for programming(USB) using PIC controllers.
Anyway i will try.


Of course thank u for programming hints.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2172
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1xxx Programmer
« Reply #5 on: December 30, 2009, 10:57:42 am »
You don't need PIC microcontrollers to program an LPC1xxx - you are making it too complicated. If you want to use USB then there are dedicated devices that bridge between USB and RS232. For example:

http://www.ftdichip.com/Products/FT232BM.htm

However note that there can be problems with this approach. In general the FTDI devices seem reliable, but it's much simpler and easier to avoid USB, at least for the first attempt at designing hardware.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

anandpv2009

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: LPC1xxx Programmer
« Reply #6 on: December 30, 2009, 12:44:26 pm »
Sir my plan is to create a virtual SERIAL PORT using PIC and then connect the tx and rx pins of PIC to LPC and then program it using Flash Magic.
I mean my own USB to Serial converter...

(First I will check LPC with real Serial Port)


Can I use it???

I am expecting ur reply...

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2172
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1xxx Programmer
« Reply #7 on: December 30, 2009, 12:55:38 pm »
Yes, I know what you are describing. I've never tried it myself. Good luck with your project.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

lpc1766

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: LPC1xxx Programmer
« Reply #8 on: January 02, 2010, 02:17:47 am »
Sir actually i am a student and I don't have enough budget for that...

Can I connect TX and RX pins of MAX232 to UART0 of the ARM.And What about pins like rest(or other connections)...

Thank u sir...
Look into the AN10302 from NXP (Page 5) or the "LPC-1766STK-SCH.PDF" (RS232_0) Schematic. Both Files can be found easily with google :)