LPC1342 Programming

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1342 Programming

1,773 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bhallett on Tue Apr 20 01:09:32 MST 2010
Hello All,

Is there a smaller application that can be installed onto a production PC available which can just program the LPC1342 device?

I would like to know as I do not really want to have install a complete version (latest 3.3.4.170) of LPCXpresso IDE onto a production PC in order to program production devices.

Regards

Barry
0 Kudos
Reply
7 Replies

1,742 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Oct 13 06:34:23 MST 2010
Hello,

For LPC134x is an application note on automated programming using USB. Contains some binary files.

AN10986 USB In-System Programming with the LPC1300
0 Kudos
Reply

1,742 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Oct 13 00:49:46 MST 2010

Quote: bhallett
Hello CodeRedSupport,

At the moment I can only fine the article that you pointed me to in the first place, i.e. http://lpcxpresso.code-red-tech.com/LPCXpresso/node/51. If there are other articles could you point me in the right direction ?



The current version of the above article (which you need to login in to read) says:


Quote:
Please see the FAQ at:
http://support.code-red-tech.com/CodeRedWiki/CommandLineFlashProgramming

[We have recently centralised all our FAQs onto the main Code Red support site, as per the link in our signature.]
0 Kudos
Reply

1,742 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bhallett on Wed Oct 13 00:42:11 MST 2010
Hello CodeRedSupport,

At the moment I can only fine the article that you pointed me to in the first place, i.e. http://lpcxpresso.code-red-tech.com/LPCXpresso/node/51. If there are other articles could you point me in the right direction ?

In the mean time I have been using the bootLPCXpresso and crt_emu_lpc11_13_nxp commands. I am having trouble with these however. I am trying to write a new cmd file based around the bootLPCXpresso file. In examining this file I find that you do not need to add the type switch in order to boot LPCXpresso, it implies that the windows software version is detected and an enc file is selected to suit. I find though that when I do not use the type for bootLPCXpresso that the emulator initiated does not (always) start. I have noticed that if I do set the switch an enc file of LPCXpressoWIN.enc is selected and if I do not the file of LPCXpressoFS.enc is selected.

What's the difference between these two files and is there anything that I am missing ?

The reason for writing my own cmd file is such that I can make the programming operation easier for production.

Regards

Barry
0 Kudos
Reply

1,742 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Oct 11 09:07:29 MST 2010
Did you read the latest version of that article (which links to the main Code Red Support site). The examples show using an .axf file...
0 Kudos
Reply

1,742 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bhallett on Mon Oct 11 08:15:13 MST 2010
Hello CodeRedSupport,

I have returned to this requirement and I have the following questions:

- Can the command line program "crt_emu_lpc11_13_nxp" be used to program a device from the .axf file generated from the IDE ?

- If so, what would the minimum command line parameters required be ?

- If not how do I generate a .bin file from the IDE ?

http://lpcxpresso.code-red-tech.com/LPCXpresso/node/51 does not seem to supply this information.

Regards

Barry
0 Kudos
Reply

1,742 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kendwyer on Wed Apr 21 07:35:04 MST 2010
You have a few options:

1: Look at the Flashmagic tool (www.flashmagic.com), it will program most LPC devices via the Serial

2: Use the USB BootRom, the LPC1300 will appear as a removable drive, just  simply 'drag and drop' the binary image and the BootRom will program to  the flash.

Ken
0 Kudos
Reply

1,742 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Apr 20 02:45:55 MST 2010
With LPCXpresso v3.3.4, there is a command line application, but you first need to have registered and activated on the machine you wish to run it on. You can install the whole IDE and register/activate it. You can then take a copy of the bin directory and then uninstall the IDE.

To use this utility, see this knowledgebase article:
[I]Using the command-line flash programming tool[/I]
http://lpcxpresso.code-red-tech.com/LPCXpresso/node/51
0 Kudos
Reply