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

Topics - typhon62

#1
LPC2xxx / LPC2194 production programming problem
April 07, 2008, 12:39:04 PM
Hope someone can help...

I use the keil development system and I use Flash Magic V4.18.1224 to program my prototypes.  Flash Magic works great, I have no problems here.

I want to have AvNet program my LPC2194's for me before they are soldered to the PCB.  I sent them the same .hex file I use with Flash Magic but it does not work.  After some poking around the memory locations using FM I found that 4 bytes starting at location 0x14 were different between a working and non-working board.

The memory dump of the non-working chip matches exactly the .hex file I sent Avnet.  The working chip that I used FM to program has 4 bytes changed from the .hex file that is loaded into FM.

Works:
:4000000018F09FE518F09FE518F09FE518F09FE518F09FE5805F20B9F0FF1FE518F09FE540000000042D0000002D0000FC2C0000F82C000000000000F42C0000F02C0000A7

Does not work:
:4000000018F09FE518F09FE518F09FE518F09FE518F09FE50000A0E1F0FF1FE518F09FE540000000042D0000002D0000FC2C0000F82C000000000000F42C0000F02C0000DE

Why does my .hex file not work with Avnet's production programmer?
And what is FM doing to the four locations to get the .hex file to run properly when using FM?

I've been trying to figure this out by myself for the better part of a day now and I'm getting no where.
Much thanks for anyone who can help me out!!!