Using mxli with LPC1837

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

Using mxli with LPC1837

736 Views
johnisaac
Contributor I

Trying to see if I can program a LPC1837 with mxli.   

# ./mxli -n -d /dev/ttyS0 -b 115200 -c 12000000 -g
?\x0D\x0A\x0DLINE BREAK:\r
ERROR: pattern "Synchronized" not found, Fifo was ""
ERROR: No or invalid response

Any idea what I might be doing wrong?  

#mxli

Labels (1)
Tags (1)
0 Kudos
3 Replies

542 Views
johnisaac
Contributor I

I got it working.  The problem was that I wasn't holding the ISP pin long enough on the reset.    

0 Kudos

542 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi John,

It is good to hear you got it working.

Best Regards!
Carlos Mendoza
Technical Support Engineer

0 Kudos

542 Views
johnisaac
Contributor I

I have some additional information that may be useful.  

For some reason I am able to access the UART command handle using a standard terminal and commands (See Table 27 Section 5.7 LPC18xx ARM Cortex-M3 microcontroller User's Guide) so I know I'm talking the the ISP command handler.     For some reason the "?" synchronization handshake is not working and hence this is why mxli doesn't work.   Interestingly enough I'm having the same issue with lpc1isp.    There is a discussion in 5.4.4.1 that discussed this synchronization step but it appears I don't need this to access the ISP command handler.   

0 Kudos