Posts by soundso

    I needed this things for my thesis, which is done by now. But i think it would be still a good thing to solve this problem and i'm also intersited to see the solution just to know how it works. So it will be nice if you can give some support.

    Hi,
    i uploaded my example project for Yagarto here ! Everything is working excepting this interrupt problem. If it is not works at your pc, maybe theres a installation problem and your compiler use the wrong librarys during the colpilation. I think i had a similar problem because it came in conflict with a installation of an other software.
    Regards.

    Take it easy! I'm very happy for every help to any time. You already saved me years of time :) But it would be nice if you also help me to solve that interrupt problem or you can give me some tips. Step by step i start to understand all this stuff, also the assembler startup, but not enouve detailed to make this cahnges. I can start a new topic in an other secction, but you don't thing it breaks the relation to the stuff that we have done already?

    Now everything is fine, but next problem are the interrupts. At the str91x software library you have a file 91x_it.c, where are handlers for all kinds of interrupts and you only have to implement the functionalitys for the configurated interrupts there. The connection between the handlers and the interrupts is automaticly done with the configuration in 91x_vic.c. But my handlers are not executed. I saw other versions of the startup_STR91x.s with a IRQ_Handler and i tryed to use this one but it works neither :( What's your way to handle interrupts? You directly set the handler-address at the vic-register? It would be nice to use interrupts like as yet. But i still have my problems with this assembler startup. By the way, is there a good short introduction to this topic somewhere? Regards...

    I have embeded your example in a Yagarto/Eclipse project and everythink works well. Now i can perfectly debug the application from the Eclipse IDE! Further i tryed to use the st software lib sources by adding the source folder to the project and adding the necessary source files at your "Source" file (e.g. SOURCES = ./leds.c ./source/91x_lib.c ...), but then you have to add some additional linke flags as well. I don't know exactly why, but it only works if --no-warn-mismatch is set, otherwise there is a error with the gcclib (... libgcc.a(_divsi3.o) uses FPA instructions, whereas leds_RAM.elf does not). If everything is working well, i also try to make my project public avaiable.

    I did the same modification after i saw it was just the endian problem. Your project was exaclty what i need. Now i try to understand what did and than i have a base to work with yagarto/gnu (iar's 32kb code limit is just to small with the time...) :D

    Hi,
    thanks, you really help me a lot!!! If i download and run your example with J-Flash (entering start-address 0x0) everything is fine and the led's are blinking. But if i try to debug it with Insight, doesn't matter with your make debug_rom or entering the commands to the Insight Command Window, i receive the warning "Program received signal SIGTRAP, Trace/brakepoint trap and Insight close. Ok, i know we tell the debuger to stop at the main function, but i can not continue runing the application. If i click "Run" oder "Next" or whatever, i see a warning at the GDB-Server (see screenshot) and Insight is switching to the Assembly view, telling me "Select function to disassemble". Sorry if i doing beginner's mistakes but i have no idea what's wrong :-S

    (Ups, some webspace problems that i can not fix now. The screenshot is showing the warning at the gdb-server "Warning: Failed to read memory at address 0x8c010000)

    [Blocked Image: http://www.geh-doch-zuhause.de/images/stories/screenshot.jpg]

    I trying to use insight accordant to your description and i can connect to the device. But after connection i see only the assembler code and have no opportunity to set a breakpoint or something else. Thats the problem that i had all the time! I don't know if it's usefull but i use the adapted makefile that is used e.g. at the gnu/embos example for arm7 (avaiable at the Segger page), a adapted linker script based on a version of Keil and adapted for gnu by M. Thomas and startup-code based on a at91sam7s256 that is adapted for the str91x by someone. I don't know if there are any conditions. What's the problem??? Thanks for your help.

    By the way, i already know the yagarto howto and the documentation of james p. lynch, there are both very helpful!!!

    Hi,
    sorry for the unclear explanation. I use Yagarto as developement environment for my application and afterwards i download it to the controller with Segglers J-Flash. Now i would like to debug this application with gdb and gdb-server out of Eclipse, but i have no idea how to configure the gdb to initialize the str912 (the commands for the .gdbconfig file or the Eclipse Debuger-Panel, spezially for this type).
    Regards,
    Thomas

    Hi,
    i trying to use the J-Link with GDB-Server, J-Flash and Yagarto/GNU to program and debug my STR912FA44. I already compiled and downloaded something, but i still have problems to debug my application. Im not shure how to init and run the gdb particular for this processor (how to config e.g. from .gdbconfig or Eclipse Debug-Dialog). Somebody who already relised something in this combination?
    Thanks and regards,
    Thomas