Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 3 4 5 6 7 8 Next > End >>

femtotech

Expert Boarder
Click here to see the profile of this user

2008/07/08 01:28

Re:CodeSourcery, DriverLib and first steps

I'm writing a detailed step-by-step guide, pointing out the problems I encountered.

I want share it, so I'm going to upload on my server this evening (CET).

In the meanwhile I want to ask you two questions:

1) May I insert the link to your OpenOCD build you wrote in this thread?

2) As you know, English in not my primary language. Thus, if the document contains errors (and surely it does), please feel free to correct them.

Marco

login or register to reply

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/07/08 01:36

Re:CodeSourcery, DriverLib and first steps

Good idea.

For the OpenOCD no problem.
It will be difficult to correct the documentation because as you can see on the post I made, English is also not my first language, Italian is my first but I don't think you need help for this.... :-)

If you give me your e-mail I can send you an updated version of openOCD(I removed the debug information from the executable to make it smaller).


Regards

Post edited by: ravaz, at: 2008/07/08 11:45

login or register to reply

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/07/09 01:29

Re:CodeSourcery, DriverLib and first steps

As I see many people have problem to set up eclipse projects correctly, I create a zip file with a preconfigured Eclipse workspace. You can find it there:

http://www.mediafire.com/?mmnth9cw99n.

I also know that many people use FreeRTOS and DriverLib for their projects, for that reason I integrated them into the workspace.
This worspace has two examples:

1)HelloWorld: Simple hello world project using DriverLib.

2)HelloWorldFreeRTOS: Simple hello world example using DriverLib and FreeRTOS. A task is sending printing a message every second out to the USB virtual serial port.

Both projets are done for the LM3S6965_EVB for other boards you should maybe change something in the initHW function.

You can debug both project using OpenOCD preconfigured in the workspace.

Regards


Ravaz

Post edited by: ravaz, at: 2008/07/23 15:46

login or register to reply

femtotech

Expert Boarder
Click here to see the profile of this user

2008/07/09 04:04

Re:CodeSourcery, DriverLib and first steps

ravaz wrote:
If you give me your e-mail I can send you an updated version of openOCD(I removed the debug information from the executable to make it smaller).


My email is "info at femtotech.it"

Thanks!
Marco

login or register to reply

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/07/12 02:13

Re:CodeSourcery, DriverLib and first steps

I added a new project to the workspace exmaple. The project is called FatRTOS and is similar to the sd_card example of the LM3S6965_EVB exept that the freeRTOS is integrated and some other cmd line function have been implemented.
The new workspace can be found at the following link:

http://www.mediafire.com/?mmnth9cw99n


If somebody is using it, it could be good to have a feedback about his experience. (I didn't receive any feedback for the moment, I hope is because everything works fine not because my work is useless ;-) ).

Regards

Post edited by: ravaz, at: 2008/07/23 15:44

login or register to reply

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/07/14 23:17

Re:CodeSourcery, DriverLib and first steps

I added an example of C++ in the workspace. Is called CPPExample. This C++ implementation doesn't support exceptions.

The example just makes a led bliking.
The interres of this project is that a class called Runnable (used has a wrapper to freeRTOS)is used as interface for a child class called LED. Runnnable has a virtual function called vRun that can be used in the same way as a normal freeRTOS task in C. The Runnable class also implements the functions start, suspend and resume.

The complete eclipse workspace can be found here:

http://www.mediafire.com/?mmnth9cw99n

Post edited by: ravaz, at: 2008/07/23 15:45

login or register to reply
<< Start < Prev 1 2 3 4 5 6 7 8 Next > End >>