Dear all,
I have developed the board for LPC2387.
I tried to do ISP programming but the failure in the auto baud.
Then i tried to do Terminal ISP it responds OK for the independent ISP commands.
But the part ID given by NXP user manual 402716981.
for the chip LPC2387 is not matching with the part ID returned by the "J " command Part ID 385941301
I am doing with the flash magic 4 .66 .
Please suggest to start ISP.
Regards
Seema JOshi
The LPC2387 has two signatures and you are listing both of them. Probably after FM 4.66 was released the second signature was added, so please try the current version of Flash Magic.
To investigate the ISP entry problem further see: http://www.flashmagictool.com/debugstart.html
Andy
Dear Sir,
I was trying with flash magic V 4.63
But recently i have down loaded for the latest version 4.66.1635
Can you please confirm me the same is the latest ver. for flash magic.
The version number of the current version is displayed on the main Flash Magic page at:
http://www.flashmagictool.com
You are not running the latest version.
Dear sir,
Thanks for the replay!
Problem not solved for LPC2387 ISP programing.with flash magic 5.02.1667
When i run terminal with setting
Baud rate 19200 & new line CR
? in the input window gives the
synchronized
synchronized in input window gives
OK
18432 in the input window gives
OK
J at input window gives
0
385941301
K at input window gives
0
3
3
After doing this if i go for the read security option
operation failed failed to autobaud step-1
Please suggest me how to go or programming.
What happens if you reset your device then go to ISP -> Read Security without using the terminal first?
Andy
First it comes
attempting to connect..........in the action window
After aprox 5 sec. message comes.
Unable to communicate! Ensure no other application is not using the COM port.Try raising or lowering the baud rate (set to 19200)
After that tries with lowering thr baud rate 9600
the message comes
Opeartion failed to autobaud step -1
Please generate and post a debug file. Instructions are here:
http://www.flashmagictool.com/debugfile.html
Andy
Please see the file attached after dedug.
The device is supposed to echo back "Synchronized" a second time, but it is sending back junk. However I noticed that in your terminal test you used 19200 baud, but in the test involving the debug file you used 9600 baud. So I suggest trying 19200 baud as well and see if that helps.
When using the terminal you typed in "Synchronized". Did the device send "Synchronized" back followed by "OK" or just "OK"?
Andy
Thanks for the replay!
Now i am using flash magic 5.10.1672
In terminal test i am setting the 9600 & CR as option
Input windowafter type following commands
?Synchronized18432J
K
Output window
Synchronized
ëÞûþÿûÿd
OK
18432
OK
J
0
385941301
K
0
3
3
After this hardware reset & go to debug F1 & select the option Read security
Unable to communicate Ensure no other application is using the com port,Try raising or lowering the baud rate message appears
As you asked i am receiving the garbage instead of the synchronized again.
Please suggest tell me in this case what i can do?
OK, now I am confused. When you tried the terminal in 5.03 you didn't see the junk coming from the device, right? But with 5.10 you do see the junk?
I'm guessing the device was always sending the junk.
Please download PortMon from here:
http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx
Start capturing in PortMon then repeat your test in the terminal so you get some junk returned from the device. Then look at the capture in PortMon and find the same point in the transfer. Non-printable characters are shown as '.'. At the point where Flash Magic received junk did PortMon show receiving non-printable characters? If so then try switching to hex view and repeating the test. If the device seems to really be sending the junk then try another device.
Andy
Hello sir,
I tried the five different boards of LPC2387 with the 9600,4800,19200 different baud rate in the terminal.
I am receiving the similar kind of the junk. please see the file as attached.
In JTAG the device works properly with PORT0.
Also other commands like J & K returns the proper data in the Terminal option of the ISP programimng.
Hence we can not say regarding the device is problematic.
Please confirm me what kind of problem is it?
First i wanted to clear your confusion,.
Sorry from starting only I am receiving the junk.
But after that it is sending OK when I input the 'Enter ' key<CR> in the terminal. that is why i considered that data not as junk.
If Flash Magic receives something unexpected during autobauding then it cannot ignore it, as the autobauding process is only completed once. After that Flash Magic retries failed commands. So anything unexpected coming back is significant.
Furthermore, currently your devices are the only ones exhibiting this behavior. That would lead me to suspect the PC, serial cable, development board, device or power supply. Have you tried replacing those one by one?
I have tried flash magic on the other PC.but same thing repeats in auto baud.
I am not getting how the device is giving OK ,the part ID, terminal generated commands?
Also as i given you the feedback for the JTAG connectivity working OK.
Please suggest the way to program in ISP
Did you try changing your target hardware? How about the cable between the PC and hardware? If it is USB based then I would suspect that. Other than that I am out of ideas, sorry. :(
Andy
I am using the serial cable for ISP programmimg.
Is this issue related to device hardware ?
But 5 of the devices should not give the similar problem.
I've sent a description of the problem to NXP.
Andy
Hello,
for my project the date is soon reaching to release the prototype.
Please suggest :
shall i think for the change of the device? but it will be vary time consuming.as 5 boards are there already assembled with LPC2387 working with JTAG connectivity.
Is the LPC2387 is proved device at customers according to your forum feedbacks?
Hello,
can you Please suggest me another compatible device in 23XX ?
Changing the device may or may not help. It depends what is causing the problem. We aren't seeing this problem from other people so that makes me think it is something to do with your hardware design, serial cable or PC.
Andy
Another thought is to compare the schematics of the Keil MCB2300 with your board (www.keil.com/mcb2300). Look for differences. You might want to consider buying one of these boards to test with (www.lpctool.com).
Andy
hello sir,
can you please attach the standard schematic if you have.
i have tried to have it from the specified site but can not.
Go to the page I gave you. Click on "Schematics" in the column on the left. Make sure you have Adobe Reader installed.
Andy
:)I have checked with the schematic.
But i have not found the any dissimilarity.
::)except the pumping of pin P2.10
In the circuit it is automatic
& in my circuit it is manually i m doing it.
:)Any way as there is no code programmed.After power on the control goes to boot loader only.
:(Mean while i talked with NXP ,they have demanded me to send the hardware board.
can you send me the code for flash magic which will not go for auto baud?
As in terminal i am getting the response for command ok @9600,19200.except the garbage for the synchronized
Getting Flash Magic to ignore an incorrect response from the device is not the solution. Something is wrong and you need to get to the bottom of it. If you ignore this then the problem may show up in other, unexpected ways. As I mentioned before we don't have reports of anyone else seeing this problem. If NXP have offered to look at your hardware then I suggest you send it to them.
Please post back with what you hear from NXP.
Andy
hello sir
I have the same problem ,can you give me a way how to solve?