Author Topic: LPC2378 programs only once  (Read 30841 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC2378 programs only once
« Reply #30 on: March 02, 2015, 07:26:54 am »
No it is not possible for the ISP line to always be low. This is because FM has no control over that signal before the COM port is opened and after it is closed.

If that signal needs to be low all the time then why connect it to your RS232 cable? However in general the ISP pin P2.10 shouldn't need to be low all the time and this indicates to me that there might be a hardware issue.

The fact that the trace is different when using a built-in COM port or a USB to RS232 converter is a concern. From the FM point of view this is a black box. A call is made to Windows to open the COM port and then further calls are made to Windows to set the states of DTR and RTS. What the COM port driver does with those commands is not known.

In general the waveforms I posted match the intention of the software design. This is using one of the low-cost US232R-100 cables:

  http://www.ftdichip.com/Products/Cables/USBRS232.htm

I would suggest as a next step to try one of these.

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

Barny

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: LPC2378 programs only once
« Reply #31 on: March 03, 2015, 01:56:40 am »
Dear Andy,

Thanks for that info.
From the testing i have done it appears the problem is with the actual reset of the processor.
I will order a USB to RS232 converter as per your suggestion.

Thank you for your support.

Barny