STM32Cube FW USB_Device MSC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-27 3:18 AM
hi, I have a problem with Application from STM32Cube_FW_F4_V1.1.0. It´s the USB_Device -> MSC_Standalone application. When I build the files with Coocox and download it on my STM3240G-Evalboard, the USB-Device will be identified, but not the SD-Card. When I test the same example with EWARM, it works well. The USB-Device and the SD-Card will be found. In Coocox I included the same files how in EWARM and made the same defines within the compiler preprocessor. Have some an idea what I make wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-27 3:31 AM
Are you sure that both projects are build from the very same pool of source/header files ?
I haven't used IAR (kickstart) for more than a year, but I remember they had messed with certain headers.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-27 3:37 AM
I´am sure. I have checked every file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-27 3:50 AM
Libraries included (linked in) ?
Optimization settings / other project settings ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-27 3:57 AM
The Libraries are included and I haven´t any optimization settings selected. :\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-27 4:36 AM
The Libraries are included ..
I meant link libraries (libxxx.a) - albeit I don't suspect an issue there initially.Have you tried to debug into the SD card initialization and access code, to see where it fails ?Might be helpful to compare the associated peripheral register setting with that of the IAR code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-28 2:51 AM
hi,
the initialization and access code is the same. I think the interrupt didn´t cause.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-28 3:23 AM
the initialization and access code is the same. I think the interrupt didn´t cause.
Could it be a problem with the interrupt handler names ? The names given in your handler source code must match that in the startup file. The startup file (most often assembler source) is toolchain specific, and is surely different for IAR and Coocox (the latter being presumably gcc-based). Usually, the toolchain provides WEAK default handlers, which do nothing, or loop endlessly. You could try to set a breakpoint in the handler code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-28 5:55 AM
The interrupt handler names in the startup file are the same like in the source code.
I hadn´t change anything in the startup file, this can´t be.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-03-28 8:27 AM
Do the IAR startup code and the Coocox startup code match in this regard ?
I suppose this item is different for both projects.