CMSIS Configuration Wizard v0.0.2 Released

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CMSIS Configuration Wizard v0.0.2 Released

3,755件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Sat Apr 07 04:26:25 MST 2012
[SIZE=4][B]Introduction[/B][/SIZE]

As many of you will be aware, the CMSIS startup files contain special comments that Keil uVision uses to generate a GUI editor to easily configure startup parameters. Unfortunately, non-Keil users are stuck with editing those files by hand. Until now...

I've just published the first release of my CMSIS Configuration Wizard tool. This free, open-source, cross-platform tool can generate a GUI from your CMSIS startup files that allows you to easily configure their parameters, just like Keil users can.

[IMG]http://helmpcb.com/wp-content/uploads/2012/04/CMSISConfigurationWizard.png[/IMG]

[SIZE=4][B]Download[/B][/SIZE]

You can download the software from the main project page.

The software is written in Java and should run any any platform with Java 6 or higher installed. The software has been tested under Windows and some basic testing done on Fedora 15.

I would be very grateful if people could try the program out and suggest improvements and fixes.

[SIZE=4][B]Roadmap[/B][/SIZE]

The following is a list of features I would like to add for future releases:
[LIST]
[*]- Implement tooltips.
[*]- Prompt user to save when closing the program if any changes have been made.
[*]- Change the tree icons so that editable nodes have their own icon.
[*]- Display the editing controls inside the tree, just like Keil.
[/LIST]

[SIZE=3][B]Disclaimer[/B][/SIZE]

Please bear in mind that this is the first public release and you use the software at your own risk.
0 件の賞賛
返信
18 返答(返信)

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by us_tlang on Tue Sep 18 04:33:10 MST 2012
Great Work!

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

Regards,
Torsten
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by robert.palmer on Thu Sep 13 11:31:14 MST 2012
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.
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Thu Sep 13 11:15:20 MST 2012
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/software/jarfix/index.html
http://stackoverflow.com/questions/8511063/how-to-run-jar-file-by-double-click-on-windows-7-64
http://stackoverflow.com/questions/394616/running-jar-file-in-windows

Amr
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by robert.palmer on Thu Sep 13 11:09:19 MST 2012
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
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hparracho on Tue Jul 31 06:41:01 MST 2012
Great tool!
+1 for the Eclipse plugin.
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by OXO on Wed Jun 20 09:54:27 MST 2012
Many thanks for this tool.

I add my vote to the Eclipse plugin suggestion.
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Mon Jun 18 12:21:18 MST 2012
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:

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:

java -jar "C:\CMSIS_Configuration_Wizard.har"


Amr
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by robert.palmer on Mon Jun 18 11:00:46 MST 2012
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
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by robert.palmer on Thu Jun 14 14:42:10 MST 2012
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.
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by squonk on Sun May 06 10:42:28 MST 2012
I found these 3 links interesting:
[LIST]
[*]How to create an Eclipse plugin from jars
[*]Eclipse JFace Table - Tutorial
[*]Eclipse JFace Table - Advanced
[/LIST]
EDIT: Also this fourth link on Eclipse Plugin Editors Tutorial.
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Sun May 06 10:35:37 MST 2012
Hi Squonk,

Thanks for your feedback. I fully agree with you about having a two column display. Another user has already made the same suggestion to me. The current layout was simply the easiest and quickest way and allowed me to finish the first version and get it out on the web. I am slowly working on modifying the UI so that it is similar to Keil and I hope to finish that sometime in the not too distant future.

Amr
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by squonk on Sun May 06 10:29:05 MST 2012
@amrbekhit Congratulations! Very useful work, I always wondered what were these strange comments... I just found out today, then stumbled upon your post.

But this is not restricted to CMSIS: it is also used in the Keil USB stack for LCP1343, for example: see usbcfg.h in the usbhid example.

I completely agree with @Caradhras, this would be very useful as an Eclipse plugin. Unfortunately, I am not experienced enough to carry the job by myself.

My 2 cents: I would rather have a 2-column display (option/value), rather than a single  bottom panel, just like the original setup in Keil's µVision:
[IMG]http://www.keil.com/support/man/docs/uv4/uv4_ut_configwizard.png[/IMG]
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Mon Apr 23 12:23:14 MST 2012
@Caradhras: That's a good idea. My aim is to complete the standalone application first, as everyone can use that. Once that's complete, I can look into turning it into a plugin.

In any case, the source code is available on SourceForge, so if anyone already has some Eclipse plugin development experience, they're more than welcome to use the code. The classes for parsing the file, modifying variables and saving the changes are complete. I would imagine most of the plugin development would go into creating the UI.

Amr
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Caradhras on Mon Apr 23 06:23:16 MST 2012
maybe it is possible to convert this into a plugin for eclipse? so it can be integrated into the IDE?
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Sat Apr 21 04:51:27 MST 2012
@researchinnovation: CMSIS Configuration Wizard is a standalone application that provides a graphical user interface to allow you to easily edit files that use Keil's configuration wizard comment format.

If you open up one of your LPCXpresso projects and have a look at the file system_LPC1xxx.c in the CMSIS project, you will notice that there are lots of structured comments that look like this:

/*--------------------- Clock Configuration ----------------------------------
//
// <e> Clock Configuration
//   <e1> System Clock Setup
//     <e2> System Oscillator Enable
//       <o3.1> Select System Oscillator Frequency Range
//                     <0=> 1 - 20 MHz
//                     <1=> 15 - 25 MHz


CMSIS Configuration Wizard can parse those comments and and generate a GUI that allows you to easily edit the constants in the file. When you open this file in CMSIS Configuration Wizard, it will generate a tree based on the comments inside the file. When you click on any of the nodes inside the tree, you are presented with a control at the bottom of the window that allows you to easily configure that parameter. Give it a try.
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Fri Apr 20 22:42:30 MST 2012
@Amrbekhit:- Hi..!!!

This CMSIS Configuration Wizard is available and applicable for Keil based application or we can use on LPCxpresso also.How does it work..?

Thanks & Regards....:)
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Caradhras on Fri Apr 20 08:17:17 MST 2012
i did not use it yet, but open-source-tools beeing released are great. :)
0 件の賞賛
返信

3,534件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Fri Apr 20 07:46:05 MST 2012
I've just released v0.0.6 which now supports both C and assembler files. You can download the latest version at

http://helmpcb.com/software/cmsis-configuration-wizard

Amr
0 件の賞賛
返信