cancel
Showing results for 
Search instead for 
Did you mean: 

STR712F2 and Eclipse

matt2
Associate II
Posted on November 16, 2007 at 10:45

STR712F2 and Eclipse

2 REPLIES 2
matt2
Associate II
Posted on September 26, 2007 at 01:18

Hello,

I previously posted about the problem getting the STR712 code to execute. That problem was solved when I re-installed RIDE and RFlasher. I must have had something configured that I didn't know about, despite the number of times I checked all the applicable options.

At any rate, I'm developing the STR712F2 with Eclipse as my IDE. I have the

gnuarm toolchain: gcc version 4.1.1 and binutils 2.1.7.

As evidenced by my previous troubles, I have no idea what I'm doing. I was previously using the LPC2106. It was GREAT because I could step through the oodles of tutorials and set-up help that was out there (Jim Lynch is my hero).

Unfortunately, we needed four serial ports, so we moved over to the

STR712, which is far more capable. I thought it would be a pretty smooth transition, but apparently I was way off with that estimation.

I've downloaded sample projects for all sorts of development

environments. Many of them even use the gnuarm toolchain, but none

of them runs properly when I try and set them up in Eclipse. I CAN

get the samples from the ST site to compile and run fine with the

RIDE environment; I just don't like their IDE, and to exacerbate

things I can't figure out how to add source files to keep my main.c

from getting really huge.

I know my issue is rooted in the boot sequence for the chip, and with

the memory map. All the examples I've found are configured for

debugging, so they all run in RAM. I have two demo boards with the

boot pin pulled low, so I need to program the chip to run in flash.

I've tried altering the linker scripts, writing my own makefile, and

all sorts of other stuff, but nothing has worked. I might as well be

performing open-heart surgery, since I don't know what to look for or

where to start.

Does anyone have any basic suggestions about where to start? I've

read all the appnotes from ST five times over, and they don't seem to

trigger any thoughts in my mind, and I've been searching the internet for four days without much success.

Does anyone know if there's a sample project out there with the basic

files, makefile, etc all in once place? That would be perfect. Otherwise, any other tips would be greatly appreciated.

Matt

m_tibu
Associate II
Posted on November 16, 2007 at 10:45

Hi Matt,

maybe you have already solved your problem, and maybe I've not understand very well what you are looking for.

I post here an example from Mr Lynch tutorial and I revisited the makefile to work with the project file and ARM toolchain (Eclipse-GNU ARM toolchain-OpenOCD-STR7xx).

This project just increments two variables.

Is this enough?

Marco

________________

Attachments :

Str7test.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtQU&d=%2Fa%2F0X0000000aPr%2FutKUTv96fhQ1IpT81DIyKaX7caQkBF0aWGcGFt4Hdjk&asPdf=false