There weren’t any pre-compiled projects that came with the Olimex board. I contacted Olimex, and they sent me the source files for IAR, which didn’t help me because the RLink isn’t compatible with IAR and I couldn’t figure out how to compile the source files without a makefile and linker script.
However, I was able to get the RLink working. I had inadvertently deleted some of the software from Raisonance while I was cleaning up my desktop, and so I reinstalled everything and that seemed to solve my problem. I feel like an idiot, since I must have changed something in RIDE or RFlasher and not noticed, but at least it works now.
Now I have a new question: does anyone have some suggestions for setting up a project for the STR712 using Eclipse?
I obviously have no idea what I’m doing, otherwise I wouldn’t have had so much trouble with a simple flash programmer. 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. 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 Raisonance to compile and run fine with their 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 suppose I can deal with it, but I’m so used to Eclipse I would like to keep using it. Plus, I’m using it to continue programming the LPC2106 and the MSP430 for other projects at work.
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 are configured to 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 have been able to elimiate the addressing error I mentioned in my first post, but I might as well be performing open-heart surgery, since I’m still just taking stabs in the dark.
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 help, and I’ve been searching the internet for four days between this and my previous problem, 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.
Thanks to all who’ve offered help thus far.
Matt