Using mxli with LPC1837

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Using mxli with LPC1837

1,570 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,376 次查看
johnisaac
Contributor I

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

0 项奖励
回复

1,376 次查看
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 项奖励
回复

1,376 次查看
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 项奖励
回复