Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - dmitro

#1
LPC2xxx / Re: LPC2368 and MCB2300
April 20, 2007, 04:27:18 AM
Thanks for you answer.
Yes, the problem is in device. Some peaple report the same bug in lpc2103. Look: http://tech.groups.yahoo.com/group/lpc21isp/message/174
I have device with booter version 3.1
What version of booter do you use? May be you device has another booter version?


#2
LPC2xxx / Re: LPC2368 and MCB2300
April 18, 2007, 03:43:16 AM
Ok, I send another file to you. There are no glitches on RX (I use oscilloscope).
The booter started. I use BusHound utility and saw "?" -> "Synchronized"

But i think the booter v3.1 have a bug:
Booter receive first '\n' or '\r' and ignore the next one! No echo to ignored symbol.
For example:
if you send "J\r\n" the echo is "J\r"
if you send "J\n\r" the echo is "J\n"
if you send "Synchronized\r\n" the echo and answer is  "Synchronized\rOK\r\n"
I waste some time and patch the lpc21isp. I change "\n\r" in all commands to "\n" and some other changes in sector size table...
And it work!!! Now I can write the flash. But lpc21isp not so comfortable as FM... :(

#3
LPC2xxx / Re: LPC2368 and MCB2300
April 17, 2007, 04:19:55 AM
Now I understand what happened...
Booter v3.1 don't echo the '\n'.
If you send "J\r\n" the answer is:
"J\r0\r\n100924197\r\n" instead
"J\r\n0\r\n100924197\r\n".
All ather command is the same - no symbol '\n' in the echo...
I try 3 utilites for isp ("FM","LPC2000 flash utility","lpc21isp") and all of them send and wait '\n'.:(
Now i try to patch the open source lpc21isp...
#4
LPC2xxx / LPC2368 and MCB2300
April 13, 2007, 08:39:05 AM
I have Keil's board MCB2300 with lpc2368FBD100. And i can't load it by flashmagic. All harware is ok, bootloader starts and i can drive bootloader using FlahsMagicTerminal. The bootloader version 3.1 (command 'K'). The
devece ID is '100924197' (command 'J').
I wrote some communication log between FlahsMagic and lpc2368 while operation "Reading device signature..." :
FM send 'J'
lcp send 'J0 100924197'
FM send 'J' again ....

May be FM don't anderstand so long ID?

sorry about my english...