What's the min delay from BOOT+RESET before sending '?' to start the bootloader?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What's the min delay from BOOT+RESET before sending '?' to start the bootloader?

503 Views
funbotix
Contributor I

I'm writing an test app for use in our PCB back shop for an LPC4074 based board.  Part of this app must load test code, then test the board, then load released production code.  I've done several bootloaders over the years, but there seems to be an oddity with this one.  Specifically, if I assert the BOOTLOAD pin (drive it low), then temporarily assert RESET, then send a '?' character at 9600,n,8,1 I get no Synchronized response.  However, if I wait at least 200 msecs after negating RESET before sending the '?' I do get the Synchronized response.  If I wait 150 msecs or less before sending the '?' I do not get the Synchronized response.  My question is, is this delay defined anywhere?  If not, how long should one wait after negating RESET before sending the '?' to start the bootloader?  Should one just keep sending the '?' and then wait a while, and repeat this some number of times before giving up (if no response is generated)?

Thanks,

Dave

Labels (1)
0 Kudos
1 Reply

374 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Dave S,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Whether you mean that MCU wouldn't response 'Synchronized ' to '?' in 150 mS after forcing the LPC4074 to enter UART ISP mode, however, it can recover response ability when exceeds 200 mS.
If yes, I'd like to say this non-response time is not the delay time, during this time, ROM bootload initializes the clock, peripheral, etc.
So please wait for a while before sending '?', just keep in mind.
Hope this is clear.
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos