UMC Loader Application fails to launch

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

Post Reply
User avatar
RangerBob
Posts: 152
Joined: Thu May 31, 2007 8:52 am
Location: Beds, UK

UMC Loader Application fails to launch

Post by RangerBob » Wed May 15, 2013 2:01 pm

Hello David,

I've been trying to use the UMC Serial Loader. I've got it running perfectly well using the built in "MC loader" from Swordfish (hitting the "UMC Firmware" button to put it into the correct mode). However I now need to be able to give the end users the capability to update the firmware in situ but I've found that the included "UMCLoader.exe" GUI program does not run.

Every-time I launch the program it just silently fails. No windows, no dialogs, no warnings. Nothing. Tried on 2 different machines (both Windows 7).

I've tried running as administrator, running in XP compatibility mode, etc. Nothing.

Any ideas?

Best Regards,

Rangerbob

User avatar
RangerBob
Posts: 152
Joined: Thu May 31, 2007 8:52 am
Location: Beds, UK

Post by RangerBob » Wed May 15, 2013 2:26 pm

FYI- the only reference I can find in windows logs to the failure to launch is under the "Event Viewer" - "Windows Logs" - "Application":

Details are as follows (redacted as neccessary):

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-05-15T13:43:03.000000000Z" />
<EventRecordID>26781</EventRecordID>
<Channel>Application</Channel>
<Computer>xxx-desktop.domain.xxx.com</Computer>
<Security />
</System>
- <EventData>
<Data>0</Data>
<Data>5</Data>
<Data>PCA2</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>UMCLoader.exe</Data>
<Data>1.0.0.7</Data>
<Data>UMC Loader</Data>
<Data>UMC Loader</Data>
<Data>Mecanique</Data>
<Data>200</Data>
<Data>-1</Data>
<Data />
<Data />
<Data />
<Data>C:\Users\xxx\AppData\Local\Temp\{1d5bc0d8-ea45-4b99-ac22-f705a017e9b5}\appcompat.txt C:\Users\xxx\AppData\Local\Temp\Tab466E.tmp</Data>
<Data>C:\Users\xxx\AppData\Local\Microsoft\Windows\WER\ReportArchive\NonCritical_UMCLoader.exe_61a6a590d4c1ccc8c05e452e598ce05288c8d8_18c3528e</Data>
<Data />
<Data>0</Data>
<Data>5b683dbd-bd65-11e2-acb9-00190e0ebf5e</Data>
<Data>0</Data>
</EventData>
</Event>

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Wed May 15, 2013 4:35 pm

UMCLoader is a command line interface only - you need to pass the name and path of the *.hex file (in double quotes) and the com port. For example:

umcloader.exe "c:\my programs\prog.hex" -cCOM42

User avatar
RangerBob
Posts: 152
Joined: Thu May 31, 2007 8:52 am
Location: Beds, UK

Post by RangerBob » Thu May 16, 2013 8:50 am

Well now don't I look stupid! ;)

Many thanks, works a treat (from the command line)!

Post Reply