Adding delay before sending '?'

Started by miguel, March 22, 2009, 07:39:02 PM

Previous topic - Next topic

miguel

Hi,
In my custom board, the reset line of LPC2138 is controlled by MAX811 reset ic, so there is min. 140ms delay before the reset line released to hi.
The MAX811 has manual reset input that controlled by the RTS line. So i need delay about 143ms (a least)  before sending synchronization characters ('?') to entering ISP mode.
Is it possible for Flash Magic to add delay before sending '?'.
I have tried several values of T1 and T2 without any success.
thanks for your time.
Miguel

Andy Ayre

Embedded Systems Academy, Inc.
support at esacademy dot com

miguel

Thank you for the response.
The maximum delay needed would be : (Maximum MAX811 RESET pulse width) + (P0.14 sampling delay)
= 280 ms + 3 ms, make it 285 ms.
The sequence would be (CMIIW):
Assert DTR and  RTS (/RESET and P0.14 go low)
Deassert DTR (/RESET = hi)
Wait 285ms
Send '?'

Andy Ayre

Embedded Systems Academy, Inc.
support at esacademy dot com

miguel

Hi Andy,
Thank you for 4.62 version, it works with my board. My T1 is 1ms and T2 at least 50 ms, works reliably.
I saw that Embedded Artist's (EA) boards also use reset IC (CAT1025) to control RESET line of LPC2K, which also has delay before releasing to hi, so i think the FM 4.62 version also works with EA's boards.
Miguel