MakeitC won't write to PROstart

Questions about the BASICtools and MakeItC
Post Reply
Pompey2
Posts: 16
Joined: Fri Oct 19, 2012 12:10 pm

MakeitC won't write to PROstart

Post by Pompey2 »

Bruce - I have programmed this board using this setup many times before. But I just downloaded the newest version of MakeitC [11.00] and when I compile code it runs ok until it tries to download the hex file to the chip. Then I get:

Code: Select all

Blinky4 is 13.65K code  1.37K data
 done
connecting... 
Copyright 2013, Coridium Corp.,  may be used anywhere with this notice

Unrecognized CPU type 440438827 0x1a40902b
 OK
downloading 1114... 
Copyright 2013, Coridium Corp.,  may be used anywhere with this notice


CPU = 1114, Flash Map = 1751
C:/CORIDI~1/MAKEC1~1/CPFILE~1/Blinky4.hex 13664 bytes loaded
Can't open COM-Port \\.\COM7 ! - Error: 5
The chip is still running an earlier program, so I don't think it's fried? Just can't load new code.
Can't change the chip as it's soldered in.
Have I forgotten a step somewhere?

Chris

Thoughts?

Edit: The cpu ID is correct according to Table 386 in the /user Guide LPC1114FN28/102 0x0A40 902B; 0x1A40 902B



basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: MakeitC won't write to PROstart

Post by basicchip »

I have seen this intermittently on my HP Netbook (which is a slow machine).

It seems like Windows is not releasing the serial port very quickly on that machine (and yours as well). So I added some delay in MakeItC which is running IDlpc to check the CPU type and then LOADlpc to do the download (both open and close the serial port).

As for the CPU ID, the high order nibble is different from what I see in the DIP28 version or the TSSOP28 versions of the LPC1114.

I'm building a release with that delay in the MakeItC load process. (should be there about 11:30 today)

Pompey2
Posts: 16
Joined: Fri Oct 19, 2012 12:10 pm

Re: MakeitC won't write to PROstart

Post by Pompey2 »

basicchip wrote:As for the CPU ID, the high order nibble is different from what I see in the DIP28 version or the TSSOP28 versions of the LPC1114.
I'm building a release with that delay in the MakeItC load process. (should be there about 11:30 today)
As indicated, the NXP manual shows both x0A and x1A for the top byte. But I don't think I've EVER seen that error msg before?

Any chance you can make just the changed function available to avoid having to do the uninstall-download-install waltz for a second time today :? ? My ISP is running dog slow and keeps stopping all together - must be the snow, again!

basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: MakeitC won't write to PROstart

Post by basicchip »

Replace these 2 files, the changes should close the serial port more quickly.
Attachments
loadLPC.exe
(38.98 KiB) Downloaded 549 times
idLPC.exe
(36.45 KiB) Downloaded 504 times

Pompey2
Posts: 16
Joined: Fri Oct 19, 2012 12:10 pm

Re: MakeitC won't write to PROstart

Post by Pompey2 »

That did it - thanks!

Post Reply