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 - Erkens

#1
LPC2xxx / Re: LPC2103 not programming
August 28, 2015, 05:01:25 AM
Problem solved, it was indeed the frequency of 12 MHz that it needed to know.
I completely overlooked this setting, I had compared every setting in advanced options between win7 and 8.
Maybe It would be wise to add a warning when this value is not set for chips that need it.
I have added the logs of the working win8, in case your interested in comparing the responses.

On a side note, i could see it did not erase the chip because my run led was blinking (controlled by the firmware in the chip) after the erase.

Thank you for your quick reply and sorry for my mistake.
#2
LPC2xxx / Re: LPC2103 not programming
August 28, 2015, 02:38:58 AM
I updated to flashmagic 9.30.3940

On win8 it still failed.
Programming failed with the same message as before.
Blank check failed with this message: "Operation Failed (blank check)"
I also notice that the chip does not get erased by win8 even though it "completes".

Please note that the included hex-file may not run properly on generic dev-boards, because it expects certain peripherals.

I know that the board is good, in fact I tested multiple boards and on win8 they fail and on win7 it works.
I even tested it with different power supplies and different hex-files.

I have used these boards and usb-uart cables for several years without any problem. The cable uses a CP2102 usb-uart chip.
Though this is the first time I tried to program one from win8.

I tried the win8 machine also with other controllers and they all work fine:
- LPC1313, LPC1313/01
- LPC1227
- LPC1766
- LPC2468

Therefore I find it a mystery why only the LPC2103 fails.
#3
LPC2xxx / LPC2103 not programming
August 27, 2015, 01:41:49 AM
On my laptop (Windows 8.1 64-bit) flashmagic can't flash a LPC2103. However if I try to program the same board with the same usb-uart cable on my pc (Windows 7 64-bit) it works just fine.

I tried Flashmagic version 9.20.3898 and 8.81.3813 (this version i use on my win7 machine) both versions give the same error on my win8 machine: "Operation Failed. (programming - failed to send data to device)"

Flash Magic is able to enter the bootloader, I can read the device signature.
In fact if I  use the erase flash function it tells me it completed the erase, but in fact it did not erase the chip.
If I manually enter the bootloader via a serial terminal on that machine and erase it "by hand" the chip does get erased.

It get even stranger because on this win8 machine Flashmagic is able to program a LPC1766 and a LPC1227.

Can anyone suggest how I can get it to work.