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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • 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:

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

Embedded Systems Academy, Inc.
support at esacademy dot com


  • 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.