Creating blank new C-Project with Yagarto chain for ARM7

Guest #1423406
Rate this post
• ▲ useful
▼ not useful
Hello,

since I worked with the Yagarto Toolchain and LPC2378 in business, I 
wanted to build my own development board including this Controller.
Now finally I finished the board design and got it here. I can contact 
the controller via JTAG and FlashMagic, which is very good.
Now I of course want to start programming, but my big hurdle is to 
create a complete blank project. I downloaded the Yagarto Toolchain and 
went through the Tutorial, everything worked fine.
But where to get a normal linker script and the startup code? And of 
course a make file? This seems to be very difficult, all I found up to 
now does not work properly.
Also, is there any tutorial how to set up Eclipse a bit? I remember when 
I last worked with Eclipse/Yagarto, that I never had to add new code 
files to the make file. Unfortunately, this was a bit in the past and I 
just took over the project from another collegue, so I never cared about 
settings.

Does anyone maybe got some answers for me?

Thanks alot
(Company: GFaI) #1489007
Rate this post
• ▲ useful
▼ not useful
Hallo Matthias,

I had the same problem like you. I tested tool after tool (open source 
and commercial) to find something to start work with cortexM3 
(STM32F10x) immediately. No chance. The reasons: no install package, no 
documentation, missing scripts for my device, no debug, no linker, no 
thumb2-compiler, specific debug-tools, expensiv, only 30 days test (to 
short) and, and, and.

Then I found lots of simple example projects of different users here:
http://www.stm32circle.com/projects/index.php

I installed Ride7 and within one day my own test board was blinking.
Next day I tested debug on the primer2 - OK.
Ride supports most ARM7 and cortexM3 from NXP and ST.
The hints: Specific JTAG-Rlink (Berlios?) and 32 k code limited or 
900,-€ (acceptable, I think). Interesting: The Primer2 includes the 
Rlink on a second chip, debug-Communication occurs over SWD.

But hover: Since one week I try to find a way, how to set up the 
ST-periph-lib for my board. Not simple.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.