2012-04-17 01:55 AM
I am working on Porting over the Stm3240g Board Firmware to the Stm32f4Discovery Board. The Boards both use the same chip stm32f407 - just different pinouts. Obviously there are compatibility issues on the Port connections.
* Currently I have BlinkLed working with PC.7 and PE.0 ports. * I have tried to Enable both of UART2 and UART4 with no success. * I have successfully connected it via USB as Mass Storage - Windows recognizes the USB Mass Storage - BUT it reports as 'Mass Storage fails to start'. I am using an SDCard connected - like the stm3240g board except that SD_DETECT is switched from PH13 to PH0. The System_stm324xx_eval.h has PLL_M=25 to PLL_M=8 for Clock which is needed for the USB connection. I do not know why the SDCard fails - the Card is tested as working. Anybody have any ideas ?2012-04-18 01:22 AM
Current Project is here:
[[this link/image has been flagged as malicious by our security scan software and has been deleted]]
2012-04-25 12:14 AM
Problem solved.
- Use Stm3240g Fw 2.1.0 - HFE needs be set to 8000000 - PLL_M needs be set to 8 - Change SD_Detect from PH13 to PH1 or always Card Present. - LCD and LOG function calls can be commented out. - Change target to Stm32f4Discovery / Stm32F407VG2012-06-16 07:20 AM
I am using st discovery kit. connected a microsd card with the pinouts you showed on your stm32 geeks projects page. but i no success. i downloaded stm3240g-eval board firmware. changed the PLL_M to 8. but i dont know how to change HFE and what it is.
Please help me out. Tell me what HFE is and how to change. and also tell me which project to use as there are multiple USB projects in the firmware. Also note that I am using Keil as tool. Your help will be appreciated.2012-06-16 10:06 AM
Should be HSE (High Speed External) oscillator. The STM32F4-Discovery board uses an 8 MHz crystal, the libraries assume 25 MHz as supplied, and you'll need to address that.
Also #define HSE_VALUE 8000000 or -DHSE_VALUE=8000000