Hi,
so I uploaded a Project from STMicroelectronics. It is the IAR Project of the iNEMO Sensor Eval-Board from STmicro.
sourceforge.net/.../download
I failed a plenty times to converting it to KEIL. (missing header files - but I surely added every folder into the includes in the settings and some points more)
If there is somebody who could help me it would be perfect.
In the uploaded file there is also my Keil Project in the EWARM-Project folder.
I have to setup a ROM offset (rom is starting at 0x8003000, because there is a ST DFU bootloader for firmware upgrade applications) in IAR the offset was done by a .icf file.
- i copied the startup file from the KEIL directory and replaced it with the IAR one. (backup also in folder)
anyway take a look into the zip archive please.
It works perfectly in IAR.
- why am I need the project in keil? Because we want to switch from the lite version of IAR to the Keil prof. and we want to debug some code with the keil compiler.
I have a ST-Link and a KEIL uLINK2 and a ULINK PRO debugger.
Please help.
I found a application note for this topic but its seems not to be for free :( url: www.cmc.ca/.../CMC-00200-01917.aspx
with regards Sam
The firmware ST provides has the following LICENSE:
STMicroelectronics (“ST”) grants You a non-exclusive, worldwide, non-transferable (whether by assignment, law, sublicense or otherwise), revocable, royalty-free limited license to: (i) make copies, prepare derivatives works, display internally and use internally the source code version of the Licensed Software for the sole and exclusive purpose of developing executable versions of such Licensed Software only for use with the Product; (ii) make copies, prepare derivatives works, display internally and use internally object code versions of the Licensed Software for the sole purpose of designing, developing and manufacturing the Products; (iii) make, use, sell, offer to sell, import or otherwise distribute Products.
As far as i understand, I can publish my source code which is derivative of ST source code to be used on ST microcontroller. These source code examples meant for GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. I'm not 100% sure about the exact boundaries of this licence. But i saw many people publish Source code derivatives of ST on GitHub, Google code & SourceForge etc..
Don't be so selective. You only read the words that you think sounds good.
Yes - you may do derivative works.
BUT that sentence is longer than that. It continues with "for the sole and exclusive purpose of developing executable versions of such Licensed Software only for use with the Product;"
You see that "executable" word in there? So what do you then think about "sole and exclusive (inversion of inclusive) purpose of developing executable versions?
No sentence saying you can upload the source code. But that you can make use of the source code for creating your own product.
"for the sole purpose of designing, developing and manufacturing the Products;"
So you can a bit simplified share information within company or with factory when producing your product. But no right to distributing your source code.
And "distribute Products"
You can sell or give away the final product. But no license right to distribute your product with the source code. The license does not contain any single line implying that the code is open-source.
But back to start of the text. Consider: "non-exclusive, worldwide, non-transferable (whether by assignment, law, sublicense or otherwise), revocable, royalty-free limited license"
Non-transferable means that you can't sublicense the code. It's a license from ST to you. But if someone else also wants the code, they have to make use of that same non-exclusive license from ST to them. That is incompatible with putting the information on SourceForge.
"Revocable" How would ST be able to do that, if you think you are in the right to sublicense, without conditions, the code to anyone who can locate SourceForge?
"limited license" Maybe _you_ could inform us exactly what _you_ think the limitations are.
Maybe time you consider getting a lawyer, since you do not do too good reading the legalese. And you have been - on a public forum - informed about the license issues. That is usually a good time to backtrack, and consider a different route.
"But i saw many people publish Source code derivatives of ST on GitHub, Google code & SourceForge etc.."
I have seen many examples of people uploading Hollywood movies to share hubs. Does that make it legal? Does that make it safe? Does that mean lawyers can't send a letter requiring lots of money for copyright infringements?
As I did write in a previous post: "It's a common assumption that "royalty-free" means public domain, i.e. void of copyright and free for any use or distribution."
This code is not in the public domain. It is explicitly protected by a license. And you are stepping on that license, violating the rights of the copyright holder.
Get ideas from the code. But do not lift the code, if you want to implement an open-source application. Because it isn't in your right to do that, and it's in ST:s right to sue you. Or lift all of the code, if you only distribute executable binaries. Because you are allowed to give away or sell the final product that is the result of compiling the source code. As long as you don't combine the code from this package with code from the GPL license - the GPL license don't allow GPL-covered code to mix with proprietary code. And since you stil haven't the license for the ST code, you would not only violate the ST license but also the GPL license if you make any project that combines GPL code with this code.
thank you for your informations.
point is
I was talking about the people in the official ST-Forum. They uploaded their projects (based on ST Example projects) to share them to the people in the forum discussion for troubleshooting.
maybe i was blinded , but why the admin and ST officals never lost a word about this?
Anyway I contacted ST to get a clear answer and maybe a permission to share my project wich bases on the ST Lib and Code Example's provided with my eval-board in technical forums. So I hope they give me a quick answer.
"Anyway I contacted ST to get a clear answer and maybe a permission to share my project wich bases on the ST Lib and Code Example's provided with my eval-board in technical forums. So I hope they give me a quick answer."
And that is the correct route to go. Step 1 - check what licenses apply. Step 2 (if needed) - make explicit questions/requests to the license holder.
Note that the ST forum moderators aren't employed by the legal department. Their task would probably be described as "helpful with a low profile".
The interesting thing is that companies often have interesting licenses. Like the manufacturer of a USB thumb memory who had a license forbidding use on multiple computers. I obviously can't connect it to multiple computers concurrently, since it basically forms its own hardware lock. And on the other hand, it's explicitly sold (explicitly mentioned in their marketing material) for transfer of data between computers, so they can't mean that it must be permanently locked down to a single computer.
When companies publish dumb licenses, we can increase their costs by writing them and ask specific questions about the licenses. Sometimes they do realize that it might be better to modify the license.
ST is a case in point!
http://bit.ly/KzCLkJ
my.st.com/.../Flat.aspx
yes I postet it @ 4/24/2012 but no answers.
i think the problem is the ICF file which contains the offset and stack informations. I can't get it run it with Keil.
Look again!
"i think the problem is the ICF file which contains the offset and stack informations. I can't get it run it with Keil."
Presumably, because ICF files are entirely an IAR thing?
But what would that have to do with headers?
You said you have IAR, so you need to study its documentation, and use whatever features the IDE may have, to understand what this "ICF file" is doing.
Then you need to study the Keil documentation to determine how to achieve the same things with the facilities that Keil provides.
From what you say, that will need you to study the Linker Manual and look at Scatter files...
You might also look at the Configuration Wizard. http://www.keil.com/support/man/docs/uv4/uv4_ut_configwizard.htm
As the responder in your cross-post says, are you able to set-up a Keil Project for an STM32 from scratch - or from one of the DevKit or Discovery Board examples? That would seem like a sesible first step...
Similarly, have you looked on the FreeRTOS site for Keil examples?
Ersan.
this is something I will be doing in the very near future but I will be using RTX as I want to include into my current project
If I can get something going I will share the project with you.
Intersting little things mems sensors.
My interest is using it in conjuction with a GPS module. eg position bouncing around but no accelerations treat the system as stationary and try moderate the reported position due to GPS selectivity (is thats whats its called these day).
I have a ublox gps sat on a window sill that says its moving in a area on average 25m in diameter, but occasionaly goes for a long walk a 100 m or so away.
Danny