EmbDev.net

Forum: ARM programming with GCC/GNU tools Searching an AT91SAM7X256 with FreeRTOS example


von Tudor Z. (tudorzaharia)


Rate this post
useful
not useful
Hello. I'm struggling to get the Freertos to run on a SAM7-EX256 board,
with no succes so far. Does anybody has an GCC example?

Thanks,
Tudor

von Andreas S. (andreas) (Admin)


Rate this post
useful
not useful

von Tudor Z. (tudorzaharia)


Rate this post
useful
not useful
Andreas Schwarz wrote:
> http://www.mikrocontroller.net/attachment/25551/lwIP_Demo_olimex.zip
> and
> 
http://www.mikrocontroller.net/articles/Olimex_AT91SAM7X256-Board_SAM7-EX256#Installation_von_FreeRTOS

Hello Andreas,
Thanks for your reply. I am using Programmers Notepad with WinARM-GCC
compiler and the makefile is not suted for this software. What should I
do?

von Andreas S. (andreas) (Admin)


Rate this post
useful
not useful
Tudor Zaharia wrote:
> Andreas Schwarz wrote:
>> http://www.mikrocontroller.net/attachment/25551/lwIP_Demo_olimex.zip
>> and
>> 
http://www.mikrocontroller.net/articles/Olimex_AT91SAM7X256-Board_SAM7-EX256#Installation_von_FreeRTOS
>
> Hello Andreas,
> Thanks for your reply. I am using Programmers Notepad with WinARM-GCC
> compiler and the makefile is not suted for this software. What should I
> do?

It should work with WinARM. What problems do you have exactly?

von Tudor Z. (tudorzaharia)


Rate this post
useful
not useful
Andreas Schwarz wrote:
> Tudor Zaharia wrote:
>> Andreas Schwarz wrote:
>>> http://www.mikrocontroller.net/attachment/25551/lwIP_Demo_olimex.zip
>>> and
>>> 
http://www.mikrocontroller.net/articles/Olimex_AT91SAM7X256-Board_SAM7-EX256#Installation_von_FreeRTOS
>>
>> Hello Andreas,
>> Thanks for your reply. I am using Programmers Notepad with WinARM-GCC
>> compiler and the makefile is not suted for this software. What should I
>> do?
>
> It should work with WinARM. What problems do you have exactly?

When I try to "make clean" the project you sent me I get the following
message:
"touch Makefile
process_begin: CreateProcess((null), touch Makefile, ...) failed.
make (e=2): The system cannot find the file specified."

and when I try to "make" the project it says it has no rule form make
all.

I have made a project looking on the internet. I
can program the code but it doesn't work well. It has a simple serial
module that just sends characters on the serial port of the board. The
problem is that it is just sending a few characters and then it stops. I
have been looking all over to see why it does that, but still I can't
imagine where it is the problem. I may be when the FreeRTOSs' scheduler
is taking over. I tried to attach the project but the archive it is too
large (aprox 300kb). Could you please tell me where should I look for
the problem?
Thank you,
Tudor

von Tudor Z. (tudorzaharia)


Rate this post
useful
not useful
Andreas Schwarz wrote:
> Tudor Zaharia wrote:
>> Andreas Schwarz wrote:
>>> http://www.mikrocontroller.net/attachment/25551/lwIP_Demo_olimex.zip
>>> and
>>> 
http://www.mikrocontroller.net/articles/Olimex_AT91SAM7X256-Board_SAM7-EX256#Installation_von_FreeRTOS
>>
>> Hello Andreas,
>> Thanks for your reply. I am using Programmers Notepad with WinARM-GCC
>> compiler and the makefile is not suted for this software. What should I
>> do?
>
> It should work with WinARM. What problems do you have exactly?

You can take a look at one example I have used for my board here (with
some modifications).

http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/index_at91.html#at91_FreeRTOS1

It has the same problem, I only receive one character an then nothing. I
have made some modifications to the project, as I want to receive on a
computer the sent characters.

Thanks

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.