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.

Messages - Barny

Pages: [1]
LPC2xxx / Re: LPC2378 programs only once
« on: March 03, 2015, 01:56:40 am »
Dear Andy,

Thanks for that info.
From the testing i have done it appears the problem is with the actual reset of the processor.
I will order a USB to RS232 converter as per your suggestion.

Thank you for your support.


LPC2xxx / Re: LPC2378 programs only once
« on: February 27, 2015, 04:36:15 am »
Dear Andy,
Thanks for that information. Unfortunately i have been struggling to get it to work after the settings you suggested.
The USB to RS232 converter I am using is a ULINX device which I use on alot on equipment, i paid £200+ for it, i know it is a good one.
See attached image 'FlashMagic-1' The blue line is ISP, the red line is RST. Maybe the blip at the start on the RST line is the cause of the problem. These traces are at the LPC2387 pins.
Set attached 'FlashMagic-2' when i used the real RS232 of the PC. The trace is totally different.
One thing i did find now with both comm ports (USB-RS232 and Genuine RS232 port) is that if the ISP line is low all the time (basically i shorted this pin to Ov), both comm ports work successfully with Flash Magic.
Is it possible to set ISP line always low?
Sorry to be a pain... i do know this problem is down to the actual LPC23xx micro-processor because i can't even it to reset when i short the pin to 0vdc.
Thanks for your support so far.

LPC2xxx / Re: LPC2378 programs only once
« on: February 25, 2015, 05:51:12 am »
Dear Andy,

Unfortunately i couldn't get it to work. I tried various settings but still had no luck.
Find attached the scope trace i took.
I would expect the ISP line to be low for 1.2 seconds before any action from the RST line and the ISP line to stay low during the whole download period.


LPC2xxx / Re: LPC2378 programs only once
« on: February 24, 2015, 03:46:33 am »
Hi Andy,

Can you advise me whether Version 8.82 has the changes as above. If so is there any setting etc i need to do?

Thanks for you help.


LPC2xxx / Re: LPC2378 programs only once
« on: February 17, 2015, 01:59:40 am »
That's great, thank you so much. I will check it once it has been released.
Do you have an approx release date, so i can make some time available.

LPC2xxx / Re: LPC2378 programs only once
« on: February 16, 2015, 07:26:21 am »
HI Andy,

Find attached a basic timing diagram.
Basically Flash Magic works OK when the ISP line is turned on 1 second or longer before turning the RST line on. The ISP line is kept on during the whole of the download.
I hope this helps.
Thanks Barny

LPC2xxx / Re: LPC2378 programs only once
« on: February 13, 2015, 02:42:48 am »
Hi Andy,
I have been doing some investigation with the LPC2387 processor (i know other people have experienced problems with the PLC2364, LPC2368 and LPC2378). I found that when you download to a fresh device it downloads OK, but when you download again after a power cycle it will not download. The problem appears to be the actual reset of the processor as i found that when i try and reset the processor by connecting the rst line to 0v nothing happens.
I found the solution to the problem was to turn the ISP line on for about 1 second before doing a download then do a download in the normal way.
Is there some where in the configuration of flash magic where you can set ISP delay, if not is it possible you can do an update to the driver so the ISP line turns on 1 second or more before turning the reset line on then doing a download. IF it is possible and you would like me to test it for you let me know.

LPC2xxx / Re: LPC2378 programs only once
« on: November 28, 2013, 08:23:09 am »
Hi Andy,

Yes we checked this and we are not putting anything in this location.

Just to keep you posted, we set up a simply test (Flash Magic was NOT part of the test).
The test had a simple program and a reset circuit, the RST pulled to 3.3v through a 47K and a switch to ov.
We ran this test on a range of processors, LPC2364, LPC2366, LPC2368 and LPC2387.
We found that only the LPC2387 would not reset externally and more so, only revision D of the LPC2387 processor.

This suggests that the problem is in the LPC2387 processors. Are you aware of any issues with LPC2387 Revision D processors.

Also with Flash Magic you can read the boot loader version in the processor, we found that versions 3.3 and below and everything was OK. 3.4 boot loader was on the processors with the problem.

Any feedback would be appreciated.



LPC2xxx / Re: LPC2378 programs only once
« on: November 26, 2013, 12:06:17 am »
Hi Andy,

Thank you so much for your help.
Yes we put a scope on the ISP and RST pins and could see the correct timing.
The board is an old design, we have 3 different designs which were all using the 2368 processor, then we decided to upgrade to the 2387, (2368 and 2387 pin compatiable), The boards ran fine with the new 2387 processor, but then when we wanted to do an upgrade of firmware we couldn't download.
We found that we can download to a fresh processor but after that we can't download, we also found that if we then cleared the processor memory using JTAG we can then download.
We will do some more investigation and let you know if we find anything, if you have any new ideas that would be great.

LPC2xxx / Re: LPC2378 programs only once
« on: November 12, 2013, 08:15:28 am »

I have been having a similar problem with LPC2387 processors.
We have been using LPC2364, LPC2366 and LPC2368 for years with no problems, then when we started using the LPC2387 processor, we found we could only load the hex file the once, then loading afterwards is very intermittant. We have looked at scope traces when loading is successful and unsuccessful and we can't see any differences.
Have you any suggestions on the cause of this.
Thanks in advance.

LPC2xxx / Windows 7
« on: August 06, 2010, 06:00:32 am »
I have been using FlashMagic on my laptop with XP for a long time and had no problems.

My new Laptop with windows 7 had FlashMagic 4.22 installed on it, but it erased an area in NV memory where I would keep user config parameters.
I installed the latest version of FlashMagic but had the same problem.
I tried FlashMagic on a different PC and got the same problem.

If I try the exact same hex file, with the latest version of FlashMagic on my laptop with XP it works OK.

In the LPC2387 memory map 0 - 0x1000 and 0x2000 upwards is used for my code.
0x1000 - 0x2000 is used for user config parameters.

The area 0x1000 - 0x2000 gets blanked.

Anyone know a solution.

Thanks in advance

Pages: [1]