Hi Alexandru,
On 23-11-14 14:52, Alexandru Csete wrote: >> My first project is a AFSK1200 demodulator on a arduino micro >> (atmega32u4@16Mhz) for APRS to learn to use the tools. I'm using an AVR >> dragon as programmer/debugger and avr-gcc, avr-gdb and avarice with >> eclipse as IDE (debugging with gdb -tui). >> >> After that, I want to look into porting c2gmsk on the S32F4discovery board. >> >> >> Two questions: >> - I want to start using gdb/avarice for remote-debugging the device. >> I found some basic command but I am kind-of overwelmed by the list of >> commands you can use if you look at the help of gdb. >> (on the other hand, I haven't found something as simple as "how do you >> initialise a reset of the microcontroller?") > That's because the STM32F4 is not a microcontroller ;-) > Also, as far as I know avarice is specific tool for AVR, so you wont > get much help there with respect to STM. OK, but my question was more about the "gdb" side of things. The reason I work with the arduino micro is that the other people of the homebrew group are used to work with arduino (and a little bit of PIC), so I want to stick to something they work. Even, it turns out an atmega32 is powerfull enough to to AFSK demodulation (as long as you stick to 8 bit samples, but for AFSK that is good enough), actually a bit to my surprise I must say! But, I guess, from the "gdb" side of things, it should be simular: you enter commands in gdb and which get send to avarice or st-link. Or am I wrong? A "reset board" should be simular or any board, or not? My problem is learning how to use gdb better. According this video of david, it does seams to be possible to do some advanced things with gdb: http://www.youtube.com/watch?v=u4svoub6XcE > Both the Discovery board and the STLINK/V2 will allow you to connect > to a running application using gdb. Well, I have a discoveryboard and I get as far as to compile, run and remote-debug the "hello world" (blink_a_led) application on it. So that is a start :-) >> - A completely different question: >> What is the reason to use bare-metal for codec2 on the STM32F4? >> >> Or, in a more generic form: >> What would be the criteria to use or not to use a RTOS on a embedded >> device for a project like (say) codec2? > That's very easy to answer. If you can do your job without using an OS > you don't use an OS. OK, fair point :-) > Alex 73 kristoff - ON1ARF ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Freetel-codec2 mailing list Freetel-codec2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freetel-codec2