New tutorial for STR7xx development

Hello to everybody, as already announced some time ago, we were working on a tutorial whose topic is “Using Open Source Tools for STR7xx Cross Development”. Unfortunately we’ve been quite busy both with work and with studies, so it takes us a lot of time to complete it. Anyway, now it’s ready and you can download it from

http://www.intilinux.com/embedded/530/u … lopment-2/

You will find a brief post dealing with it and a link at the end from which you can download the zip file (pdf + files).

The tutorial covers installation and use of OpenOCD, YAGARTO (GNUARM) and Eclipse both in Windows and in Linux, it comes with templates and other files to help development and there’s also a final appendix dealing with a preliminary study of this solution on STR9xx.

You will find also a chapter which explains every aspect of this work, because the whole thing is still and permanently in development (open-source also means that :-)), so maybe there are errors or things that need to be corrected, in that case every correction is welcome.

To do this work we used as model Jim Lynch’s tutorial for the Atmel AT91SAM7S, however our work is still at its first release and we are only students at their first experience with embedded devices, so we don’t pretend it has the same maturity, it’s only a work which wants to be an help for people who are starting to work on all that material.

We think we won’t have anymore the time to work on it, because it was only a university subject and now we’re doing other things, but we released it under the Creative Commons Attribution License, which means that you can do every change you want and create all the derived works you want from it, you only have to remember to tell that the original work was ours.

Every comment is welcome, so let us know what you think.

Thank you very much to Intilinux, who is so kind to host our work. Regards,

Giacomo (aka l3golas) and Antonio

If you have downloaded and read my tutorial “Using Open Source Tools for AT91SAM7 Cross Development”, then you must read the Fazio and Nasca. tutorial “Using Open Source Tools for STR7xx Cross Development”.

In addition to providing all the information you need to develop ST ARM-based micro controllers using Eclipse and GNU tool chains, they also demonstrate how to set up for C++ execution and how to run these tool sets under Windows and Linux.

This new tutorial is a must-read for anyone interested in using open source tools to develop ARM-based applications.

Let’s also not forget that these are two brave students who are studying right at the foot of an active volcano! (Mt. Etna on the island of Sicily).

Thank you Giacomo and Antonio! :smiley:

Very Happy

Cheers,

James P. Lynch

What a surprise, Mr. Lynch! Thank you for your reply and excuse us if we said that our tutorial is similar to yours, which is a really a must and which has a maturity that our tutorial couldn’t have for various reasons.

If you have a bit of spare time, please read our work and tell us what you think.

So do you know our Sicily and Catania in particular? Yes, we are at the foot of Etna, which is an active volcano, it should be for that if in summer the hot is sometimes terrible :slight_smile:

Thank you and goodbye

Giacomo

Hi,

Your tutorial is a good insight into getting started with the gnu tools and the st arm family.

It also nice to see my name in print!!

I was over in Catania last month, visiting the ST fab, much warmer than it is in England that’s for sure.

Regards

Spen

Another surprise, hello Spen, thank you for your reply, of course there’s your name in our work, it’s also thanks to you and to your files if it exists.

I hope you enjoyed your visit to Catania!

Of course if you can, read our work and give us your opinion.

Thank you and goodbye

Giacomo

Its a very good tutorial - one point i will make however.

Your sample main.c (template91x) includes the following lines:

#ifdef LIBDEBUG
    libdebug();
#endif

This is actually not necessary as it is done in the startup.s via

/* if we use debug version of str9lib this will call the init function */		
    BL		libdebug
libdebug:

Because the label libdebug is declared weak if the linker finds it in a library it will be called, if not it just steps to the next line of startup.s

Cheers

Spen

That’s right, we didn’t notice that, thank you. Our goal was only to make it work, so we are sure there are many other things that could be improved, so every correction is welcome. Cheers

Giacomo and Antonio

l3golas:
What a surprise, Mr. Lynch! Thank you for your reply and excuse us if we said that our tutorial is similar to yours, which is a really a must and which has a maturity that our tutorial couldn’t have for various reasons.

If you have a bit of spare time, please read our work and tell us what you think.

So do you know our Sicily and Catania in particular? Yes, we are at the foot of Etna, which is an active volcano, it should be for that if in summer the hot is sometimes terrible :slight_smile:

Thank you and goodbye

Giacomo

Thank You very much for Your work!

It really helps me, because all important informations are in one document.

And also, I am fan of STM uC, even if I work with Renesas ICs at work.

Thanks again guys ! :slight_smile: