2012-09-16 10:21 AM
Hello all,
I've developed some pretty awesome stuff on my STM32F103VET6 and my STM32F0 Discovery (STM32f101rb). I'm able to add a few ifdefs here and there and switch the code back and forth between them easily. I was getting ready to order some more boards and stumbled upon the stm32F4discovery board and started to look at the specs. For about $2 more a chip I get x3 the power and memory, which I could really use !! So I started to think how easy it would be to migrate between my m3 code and this m4. I looked up the pins and it seems to be pin compatible. But when I use keil and try and make a new project there is no selection for the m4. It all boils down to: - would my code written for the m3 using std peph work with the m4 ? - would I have to buy something to go with keil to get it to support m4 ? I could just switch to linux and have more support for more devices (i think). Sorry I spend so much time coding and testing I dont really mess with my dev environment so I was wondering if any of you have gone down this path. As always, thanks for reading !2012-09-16 03:36 PM
may your keil is an older version... which version do you have?
2012-09-16 04:15 PM
2012-09-16 04:21 PM
V4.10 deosn't support Cortex M4 devices.. I think, versions starting from V4.20 supports them...
2012-09-16 04:27 PM
Thanks ! I'm getting a M4 board. whoot !
2012-09-16 06:38 PM
You can also expect somewhat different calls to the F4 standard peripheral library. For example, there are two ADC initialization structures, and no ADC calibration is required by your application. DMA now includes streams.
Cheers, Hal2012-09-17 05:58 PM
I had not got to ADC yet, was using massive dma and pwm, timers etc. Streams seem very interesting and really what I need when it comes to piping the camera out to the usart.
Thanks for the help, I'll be back as I make progress. zonerobotics.com