Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.
Could I use the same arm gcc I have it here installed for Android cross-compilation, by any chance? Victor On 13 Apr 2012, at 06:01, Eric Brombaugh wrote: There are builds of ARM GCC that work on the Mac. It's entirely possible to edit/compile on a Mac, but downloading to flash and realtime debug are still iffy. Eric Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp
Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.
here is the eclipse tutorial i used to get the free toolchain with GDB support working under windows http://shareee.netne.net/wordpress/?p=5 there you will also find a simple LED blink example project. afaik CodeSourcery lite and Yagarto don't support the hardware FPU at the moment. They only provide a software FPU. To utilize the HW FPU i used the GCC ARM embedded compiler instead. (I would start with the yagarto or codesourcery until everything is running. then try to switch to ARM GCC afterwards, since I don't know of any ARM GCC tutorial yet and it needs some tweaking in the eclipse config. https://launchpad.net/gcc-arm-embedded/4.6/2011-q4-major julian Am 13.04.2012 02:53, schrieb robert bristow-johnson: it was pretty spare in the mail. essentially just the board and a cute little card in a bubble box. the card has some Getting started instructions and number 5. says to got to http://www.st.com/stm32f4-discovery tutorial, and i'll do that soon. it also mentions dev toolchains: Altium Atolic, IAR and Keil. do these cost money or are they free. what are you guys using? my PC is XP ca. 2006. i will need some hand-holding until i can get this thing to simply pass a signal (through the ARM), then i'll write some code for it. thanks for any pointers that save me time and/or $$. L8r, -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp
Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.
Yes. It's just a matter of collecting the right linker scripts, startup code and compiler switches. Eric On Apr 13, 2012, at 1:45 AM, Victor Lazzarini wrote: Could I use the same arm gcc I have it here installed for Android cross-compilation, by any chance? Victor On 13 Apr 2012, at 06:01, Eric Brombaugh wrote: There are builds of ARM GCC that work on the Mac. It's entirely possible to edit/compile on a Mac, but downloading to flash and realtime debug are still iffy. -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp
Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.
On 04/12/2012 05:53 PM, robert bristow-johnson wrote: it was pretty spare in the mail. essentially just the board and a cute little card in a bubble box. Yes, that's pretty much all you get. Bring your own mini-USB cable. the card has some Getting started instructions and number 5. says to got to http://www.st.com/stm32f4-discovery tutorial, and i'll do that soon. it also mentions dev toolchains: Altium Atolic, IAR and Keil. do these cost money or are they free. what are you guys using? my PC is XP ca. 2006. i will need some hand-holding until i can get this thing to simply pass a signal (through the ARM), then i'll write some code for it. Atollic Truestudio is your basic Eclipse + GCC package which they charge for the full version. A size limited free demo is available. I've installed it and it seems to work fine. IAR and Keil both provide trial versions but I haven't tried them. Since these are the big established vendors, they have their own unique flavors of IDE, the compilers are proprietary with their own tweaks, pragmas, etc. Size limited demos are available - be prepared to fill in lots of forms and get emails / phonecalls from salesmen. For a completely free unbundled Eclipse + GCC, check out YAGARTO. Installing this can be a bit of a chore, especially getting the debugger drivers talking to the Discovery board - what's your time worth? http://www.yagarto.de/ Eric -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp
Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.
On 4/12/12 10:06 PM, Eric Brombaugh wrote: On 04/12/2012 05:53 PM, robert bristow-johnson wrote: it was pretty spare in the mail. essentially just the board and a cute little card in a bubble box. Yes, that's pretty much all you get. Bring your own mini-USB cable. the card has some Getting started instructions and number 5. says to got to http://www.st.com/stm32f4-discovery tutorial, and i'll do that soon. it also mentions dev toolchains: Altium Atolic, IAR and Keil. do these cost money or are they free. what are you guys using? my PC is XP ca. 2006. i will need some hand-holding until i can get this thing to simply pass a signal (through the ARM), then i'll write some code for it. well, i just figgered out that this thing has a D/A only. no A/D. so no passing audio. i guess i can try to do some simple synthesis with it (like wavetable), but no MIDI connector. if there is a traditional serial connection (what we used to call a UART in the olden days), then maybe something MIDI can be attached. BTW, i have a simple, but very clearly commented MIDI 1.0 parser in pure-and-simple C if anyone wants it. you still have to dispatch the completed MIDI message, but it does everything else to recognize which kinda MIDI command it is and to group together the correct number of bytes and when it's complete, it tells you and gives you a nice, partially digested MIDI message. Atollic Truestudio is your basic Eclipse + GCC package which they charge for the full version. A size limited free demo is available. I've installed it and it seems to work fine. does this mean that both the Eclipse IDE and ARM GCC apps are in this package? i don't have to run down one or the other? and they run in Windoze XP (not Fedora or Umbutu)? IAR and Keil both provide trial versions but I haven't tried them. Since these are the big established vendors, they have their own unique flavors of IDE, the compilers are proprietary with their own tweaks, pragmas, etc. Size limited demos are available - be prepared to fill in lots of forms and get emails / phonecalls from salesmen. For a completely free unbundled Eclipse + GCC, check out YAGARTO. Installing this can be a bit of a chore, especially getting the debugger drivers talking to the Discovery board - what's your time worth? i dunno. i think not very much, as of late. is YAGARTO micro$hit XP compatible or is it linux? i can't do linux with my PC. too bad nobody does this for a Mac. nice USB connectors on my Mac, too. -- r b-j r...@audioimagination.com Imagination is more important than knowledge. -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp
Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.
On Apr 12, 2012, at 9:29 PM, robert bristow-johnson wrote: well, i just figgered out that this thing has a D/A only. no A/D. so no passing audio. Correct. The STM32 MCU has a pretty decent 12-bit multi-channel ADC, as well as a 2-chl 12-bit DAC, so if you use those you could do some lower-resolution audio. No audio input codec though. I am looking a building a little codec board that would plug in to the expansion connector and override the on-chip audio DAC. Let me know if there is any interest. i guess i can try to do some simple synthesis with it (like wavetable), but no MIDI connector. if there is a traditional serial connection (what we used to call a UART in the olden days), then maybe something MIDI can be attached. Plenty of UARTs in the MCU. Adding a MIDI input isolator would be pretty simple. That might be an option on the codec board. Atollic Truestudio is your basic Eclipse + GCC package which they charge for the full version. A size limited free demo is available. I've installed it and it seems to work fine. does this mean that both the Eclipse IDE and ARM GCC apps are in this package? i don't have to run down one or the other? and they run in Windoze XP (not Fedora or Umbutu)? Yep. Just don't try to compile anything larger than 32kB. For a completely free unbundled Eclipse + GCC, check out YAGARTO. Installing this can be a bit of a chore, especially getting the debugger drivers talking to the Discovery board - what's your time worth? i dunno. i think not very much, as of late. is YAGARTO micro$hit XP compatible or is it linux? i can't do linux with my PC. YAGARTO runs under MS Windows. too bad nobody does this for a Mac. nice USB connectors on my Mac, too. There are builds of ARM GCC that work on the Mac. It's entirely possible to edit/compile on a Mac, but downloading to flash and realtime debug are still iffy. Eric -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp