Reply by el_mehdi_fakir March 11, 20132013-03-11
--- In l..., FreeRTOS Info wrote:
>
> On 11/03/2013 13:54, Kevin wrote:
> > --- In l... , "Paul
> > Curtis" wrote:
> >>
> >> > On 11/03/2013 12:12, el_mehdi_fakir wrote:
> >> > > Hello again,
> >> > > Now I'm compiling a basic Code on Keil and it works in ISIS but on the
> >> > > board it doesn't work ! what should I do ??
> >> >
> >> > What is ISIS?
> >>
> >> The simulator in Proteus. Note: simulation.
> >>
> >> > Assuming it is a simulator, as you mention that it does not run on the
> >> > board: Program the board with the built application, then fire up the
> >> > debugger. Step through the code until something goes wrong and report
> >> > back how far you got.
> >>
> >> One assumes that he has no JTAG debugger, hence the simulation.
> >>
> >> --
> >> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> >> SolderCore Development Platform http://www.soldercore.com
> >>
> >
> > One can also use i/o pins with an logic analyzer, or even leds.
> > If that works you might think about using the uart as your debug output.
> > [Assuming there is no JTAG available] Of course, but if the OP can
> stretch to spending 30 Euro on something like an Amontec JTAG Key tiny
> then they will save themselves many days of time, learn how the code
> they are using functions, and be able to provide valuable information
> when requesting advice in a forum like this (not to say saving people on
> this forum who are inclined to assist a lot of time too!).
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> Designed for microcontrollers. More than 103000 downloads in 2012.
>
> + http://www.FreeRTOS.org/plus
> Trace, safety certification, UDP/IP, TCP/IP, training, and more...
>
Ooookey thank you so much !

An Engineer's Guide to the LPC2100 Series

Reply by FreeRTOS Info March 11, 20132013-03-11
On 11/03/2013 13:54, Kevin wrote:
> --- In l... , "Paul
> Curtis" wrote:
>>
>> > On 11/03/2013 12:12, el_mehdi_fakir wrote:
>> > > Hello again,
>> > > Now I'm compiling a basic Code on Keil and it works in ISIS but on the
>> > > board it doesn't work ! what should I do ??
>> >
>> > What is ISIS?
>>
>> The simulator in Proteus. Note: simulation.
>>
>> > Assuming it is a simulator, as you mention that it does not run on the
>> > board: Program the board with the built application, then fire up the
>> > debugger. Step through the code until something goes wrong and report
>> > back how far you got.
>>
>> One assumes that he has no JTAG debugger, hence the simulation.
>>
>> --
>> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
>> SolderCore Development Platform http://www.soldercore.com
>> One can also use i/o pins with an logic analyzer, or even leds.
> If that works you might think about using the uart as your debug output.
>

[Assuming there is no JTAG available] Of course, but if the OP can
stretch to spending 30 Euro on something like an Amontec JTAG Key tiny
then they will save themselves many days of time, learn how the code
they are using functions, and be able to provide valuable information
when requesting advice in a forum like this (not to say saving people on
this forum who are inclined to assist a lot of time too!).
Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for microcontrollers. More than 103000 downloads in 2012.

+ http://www.FreeRTOS.org/plus
Trace, safety certification, UDP/IP, TCP/IP, training, and more...

Reply by Kevin March 11, 20132013-03-11
--- In l..., "Paul Curtis" wrote:
>
> > On 11/03/2013 12:12, el_mehdi_fakir wrote:
> > > Hello again,
> > > Now I'm compiling a basic Code on Keil and it works in ISIS but on the
> > > board it doesn't work ! what should I do ??
> >
> > What is ISIS?
>
> The simulator in Proteus. Note: simulation.
>
> > Assuming it is a simulator, as you mention that it does not run on the
> > board: Program the board with the built application, then fire up the
> > debugger. Step through the code until something goes wrong and report
> > back how far you got.
>
> One assumes that he has no JTAG debugger, hence the simulation.
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> SolderCore Development Platform http://www.soldercore.com
>

One can also use i/o pins with an logic analyzer, or even leds.
If that works you might think about using the uart as your debug output.

--
Kevin

Reply by Paul Curtis March 11, 20132013-03-11
> On 11/03/2013 12:12, el_mehdi_fakir wrote:
> > Hello again,
> > Now I'm compiling a basic Code on Keil and it works in ISIS but on the
> > board it doesn't work ! what should I do ??
>
> What is ISIS?

The simulator in Proteus. Note: simulation.

> Assuming it is a simulator, as you mention that it does not run on the
> board: Program the board with the built application, then fire up the
> debugger. Step through the code until something goes wrong and report
> back how far you got.

One assumes that he has no JTAG debugger, hence the simulation.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
SolderCore Development Platform http://www.soldercore.com

Reply by FreeRTOS Info March 11, 20132013-03-11
On 11/03/2013 12:12, el_mehdi_fakir wrote:
> Hello again,
> Now I'm compiling a basic Code on Keil and it works in ISIS but on the
> board it doesn't work ! what should I do ??

What is ISIS?

Assuming it is a simulator, as you mention that it does not run on the
board: Program the board with the built application, then fire up the
debugger. Step through the code until something goes wrong and report
back how far you got.
Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for microcontrollers. More than 103000 downloads in 2012.

+ http://www.FreeRTOS.org/plus
Trace, safety certification, UDP/IP, TCP/IP, training, and more...

Reply by el_mehdi_fakir March 11, 20132013-03-11
--- In l..., "Kevin" wrote:
>
> --- In l..., "el_mehdi_fakir" wrote:
> >
> >
> >
> > --- In l..., FreeRTOS Info wrote:
> > >
> > > On 06/03/2013 17:29, el_mehdi_fakir wrote:
> > > >
> > > >
> > > > Hello, I'm new to this group, I hope I will be useful also in this
> > > > community me too, but now I need your help, I have a project on a map
> > > > LPC2148 Education Board and I have put in FreeRTOS, j 'I found a source
> > > > here in the file section but I did not fully comprehend how it works?
> > > > and I want to create my own tasks and add them to FreeRTOS but I have
> > > > not found how I work with a students licensed CrossStudio.
> > > > I hope you give me a solution about this and thank you.
> > >
> > > There is a chance the code in the files section of this group is quite
> > > out of date, so you are probably best off going to the FreeRTOS web site
> > > to grab the latest versions. There are also lots of resource for you on
> > > the same site. I suggest starting here:
> > > http://www.freertos.org/FreeRTOS-quick-start-guide.html
> > > Regards,
> > > Richard.
> > >
> > > + http://www.FreeRTOS.org
> > > Designed for microcontrollers. More than 103000 downloads in 2012.
> > >
> > > + http://www.FreeRTOS.org/plus
> > > Trace, safety certification, UDP/IP, TCP/IP, training, and more...
> > >
> >
> > thank you so much, but in the web site I can't find the source for lpc2148 ! is there any other demo wich it's compatible with my MCU ? and how can I put my tasks in the MCU ??
> > That is something you will often come across, what you need is never there :(
> However often you'll find an example that is close enough to what you want, so that you can change it to fit your needs.
>
> "Recently" I needed a FreeRTOS port for the LPC2468 using gcc and eclipse. There wasn't one, so I used the example for the LPC2368 and modified it. Works great now, even though I had no experience with FreeRTOS or the LPC2468 (had used other LPC's before).
>
> My guess is that your best bet would be to start with the LPC2138 example and go on from there.
> I would suggest checking the memory map of both controllers (check User Manuals) too see if the base addresses of the peripherals are the same.
>
> First get a demo up and running. After that make a backup and start playing with it, sure you'll break it the first few times :)
>
> --
> Kevin
>
Hello again,
Now I'm compiling a basic Code on Keil and it works in ISIS but on the board it doesn't work ! what should I do ??

Reply by el_mehdi_fakir March 9, 20132013-03-09
--- In l..., "rtstofer" wrote:
>
> --- In l..., "el_mehdi_fakir" wrote:
> >
> > Hello, I'm new to this group, I hope I will be useful also in this community me too, but now I need your help, I have a project on a map LPC2148 Education Board and I have put in FreeRTOS, j 'I found a source here in the file section but I did not fully comprehend how it works? and I want to create my own tasks and add them to FreeRTOS but I have not found how I work with a students licensed CrossStudio.
> > I hope you give me a solution about this and thank you.
> > There is some excellent LPC2148 code at www.jcwren.com/arm
>
> It has a complete FreeRTOS setup and exercises almost all of the peripherals. There are two makefiles, one for WinARM which is probably the least desireable toolchain at the moment and the other for Yagarto (GCC and friends). It would be better to use a toolchain that matches the code than try to adapt the code to some other toolchain. At least in the beginning...
>
> If you are using Linux, GNUArm should work but that usually has to be built from source and I don't know how current the project files are.
>
> You MIGHT be able to bring all the files into CrossWorks and build them. I haven't tried that. The problem is that the makefile includes or excludes entire blocks of code and you would have to come up with some other scheme with CrossWorks. Not including the files in the build would probably work.
>
> Richard
>

Thank You Richard ! I'll try what you gave me and I'll put in current ! thank you again

Reply by rtstofer March 8, 20132013-03-08
--- In l..., "el_mehdi_fakir" wrote:
>
> Hello, I'm new to this group, I hope I will be useful also in this community me too, but now I need your help, I have a project on a map LPC2148 Education Board and I have put in FreeRTOS, j 'I found a source here in the file section but I did not fully comprehend how it works? and I want to create my own tasks and add them to FreeRTOS but I have not found how I work with a students licensed CrossStudio.
> I hope you give me a solution about this and thank you.
>

There is some excellent LPC2148 code at www.jcwren.com/arm

It has a complete FreeRTOS setup and exercises almost all of the peripherals. There are two makefiles, one for WinARM which is probably the least desireable toolchain at the moment and the other for Yagarto (GCC and friends). It would be better to use a toolchain that matches the code than try to adapt the code to some other toolchain. At least in the beginning...

If you are using Linux, GNUArm should work but that usually has to be built from source and I don't know how current the project files are.

You MIGHT be able to bring all the files into CrossWorks and build them. I haven't tried that. The problem is that the makefile includes or excludes entire blocks of code and you would have to come up with some other scheme with CrossWorks. Not including the files in the build would probably work.

Richard

Reply by el_mehdi_fakir March 7, 20132013-03-07
--- In l..., FreeRTOS Info wrote:
>
> >
> > I downloaded source code for FreeRTOS from Microbuilder.com for
> > CrossWork and when I compile, It give this error :
> >
> > F:/Users/El
> > Mehdi/SkyDrive/PFA/Documentation/LPC2148/FreeRTOS/Microbuilder.com/uip/uip/uip-fw.c:192:
> > multiple definition of `taskHandles'
> >
> > what should I do ??
>
> Ask the people that provided you with the code?
>
> [I've never heard of microbuilder.com and can't support other peoples
> projects]
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> Designed for microcontrollers. More than 103000 downloads in 2012.
>
> + http://www.FreeRTOS.org/plus
> Trace, safety certification, UDP/IP, TCP/IP, training, and more...
>
Oooooooooookey ! thank you

Reply by FreeRTOS Info March 7, 20132013-03-07
>
> I downloaded source code for FreeRTOS from Microbuilder.com for
> CrossWork and when I compile, It give this error :
>
> F:/Users/El
> Mehdi/SkyDrive/PFA/Documentation/LPC2148/FreeRTOS/Microbuilder.com/uip/uip/uip-fw.c:192:
> multiple definition of `taskHandles'
>
> what should I do ??

Ask the people that provided you with the code?

[I've never heard of microbuilder.com and can't support other peoples
projects]
Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for microcontrollers. More than 103000 downloads in 2012.

+ http://www.FreeRTOS.org/plus
Trace, safety certification, UDP/IP, TCP/IP, training, and more...