LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automate LPC2000 flash utility v2.2.2

Hi,

 

I'm wondering if there is a way to automate the LPC2000 flash utility. I practically have no knowledge about this SW (I dont even have it) except that it uploads a hex file to an eeprom / uC. Currently programming the DUT is done manually at my client and I'm wondering if we somehow can automate the process. We dont need to stick to the LPC2000 anything would work until it performs exactly the same.

 

Thx.

0 Kudos
Message 1 of 4
(499 Views)

I know nothing about LPC2000, however these utility programs usually have a command line version that you can launch from your LV program.

Parameters are given on the command line itself.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019
0 Kudos
Message 2 of 4
(481 Views)

A quick Google for the LPC2000 flash utility found this: Firmware Tool – Philips LPC2000 Flash Utility voor NXP microcontrollers (Windows)

Commandline

It’s also possible to use the commandline like this:

START c:\windows\desktop\lpc210~1.exe "a.hex" 10000 LPC2103/2/1 COM1: 19200 1

 

So it looks like it is possible to automate this using the LabVIEW System Exec VI

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 4
(464 Views)

I had to put this project aside for a while, just picked it up again couple days ago.

 

Its true that the LPC2000 has a command line interface as mentioned by @RTSLVU but I couldnt locate any related documentation. Not sure if the program streams the result of the programming to a file (again, no documentation), but the program returns no status message at all to the command line. This means I can only know if the program has finished the execution but no idea if it was successful or not.

 

Found an alternative called Flashmagic, which seems to work just fine and has proper documentaiton.

0 Kudos
Message 4 of 4
(364 Views)