NXP Semiconductors logo
LPCXpresso Logo

Reply
 
Thread Tools
  #11  
Old 06-14-2012, 11:42 PM
robert.palmer robert.palmer is offline
Member
 
Join Date: Feb 2012
Location: Knoxville, TN USA
Posts: 50
robert.palmer is on a distinguished road
Default Ah ha!

So, as another reader indicated, I'm not the only idiot that was trying to figure out what all those comments mean. Maybe something in a FAQ, in a Readme, or wait for it... in the file itself, that says, these comments are for Keil compilers (well, maybe that's now wrong since this tool is available). Bottom line is - a little more documentation would certainly be nice.
Reply With Quote
  #12  
Old 06-18-2012, 08:00 PM
robert.palmer robert.palmer is offline
Member
 
Join Date: Feb 2012
Location: Knoxville, TN USA
Posts: 50
robert.palmer is on a distinguished road
Default Error on WinXP

I downloaded 0.0.6 and installed Java on my WinXP SP 2 machine, but I get an exception when I try to run it. If I copy the JAR file to my Mac, it runs fine. I installed Java 7.5 from Java.com
Reply With Quote
  #13  
Old 06-18-2012, 09:21 PM
amrbekhit amrbekhit is offline
Junior Member
 
Join Date: Oct 2010
Location: UK
Posts: 21
amrbekhit is on a distinguished road
Default

Hi Robert,

What exception do you get when you try to run the program on XP?

Could you try running the program from the command line and pasting the output here? To run it, simply open a command prompt and type the following:

Code:
java -jar "Path_To_Jar"
Replace Path_To_Jar with the path to the CMSIS jar file (simply drag the jar file over the command window to let Windows fill that in for you). For example:

Code:
java -jar "C:\CMSIS_Configuration_Wizard.har"
Amr
Reply With Quote
  #14  
Old 06-20-2012, 06:54 PM
OXO OXO is offline
Senior Member
 
Join Date: Mar 2011
Location: France
Posts: 115
OXO is on a distinguished road
Default

Many thanks for this tool.

I add my vote to the Eclipse plugin suggestion.
Reply With Quote
  #15  
Old 07-31-2012, 03:41 PM
hparracho hparracho is offline
Junior Member
 
Join Date: Sep 2011
Location: Portugal
Posts: 1
hparracho is on a distinguished road
Thumbs up

Great tool!
+1 for the Eclipse plugin.
Reply With Quote
  #16  
Old 09-13-2012, 08:09 PM
robert.palmer robert.palmer is offline
Member
 
Join Date: Feb 2012
Location: Knoxville, TN USA
Posts: 50
robert.palmer is on a distinguished road
Default

Well, it took a while, but I'm back to this. I tried the 'java -jar "path to jar"' and it launches successfully, however, if I double click the .jar file and select to open it with Java, it fails. I'm guessing the issue is the '-jar' parameter. How about including a "launcher command file" that will allow you to double click launch it.

If I attempt to run it from the command line like it is double clicked e.g. "path/file.jar" it returns with:

Error: Could not find or load main class C:\Program Files\CMSISConfigWizard\CMSIS_Configuration_Wizard .jar

So it's trying to load a class file (the default if you don't have -jar on the command line) instead of loading a .jar file. I can launch it from the command line, but I can't figure out how to launch it by double clicking
Reply With Quote
  #17  
Old 09-13-2012, 08:15 PM
amrbekhit amrbekhit is offline
Junior Member
 
Join Date: Oct 2010
Location: UK
Posts: 21
amrbekhit is on a distinguished road
Default

Hi Robert,

You could easily create a "launcher" by writing a simple bat file with the same command you used to launch the program from the command line.

However, the fact that you are unable to launch the program by double clicking is more likely an issue with your installation of Java rather than being a problem with the program. I've found the following links after doing a google search for "windows double click jar". They might be useful.

http://johann.loefflmann.net/en/soft...fix/index.html
http://stackoverflow.com/questions/8...n-windows-7-64
http://stackoverflow.com/questions/3...ile-in-windows

Amr
Reply With Quote
  #18  
Old 09-13-2012, 08:31 PM
robert.palmer robert.palmer is offline
Member
 
Join Date: Feb 2012
Location: Knoxville, TN USA
Posts: 50
robert.palmer is on a distinguished road
Default

Interestingly, on the first link you provided, it said one of the fixes was to install the JRE again. Well, I had JUST installed it for the first time on this WinXP installation, but I figured, I'll try the fix application anyway. That did it - fixed it and now I can double click to make it work.

Thanks for your help.
Reply With Quote
  #19  
Old 09-18-2012, 01:33 PM
us_tlang us_tlang is offline
Junior Member
 
Join Date: Sep 2012
Location: Germany
Posts: 4
us_tlang is on a distinguished road
Default

Great Work!

I also would vote for having this packages as an Eclipse plugin...

Regards,
Torsten
Reply With Quote
Reply

Tags
cmsis, configuration, keil, uvision, wizard

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 10:39 PM.