This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

composite device msd+hid

hello my friends!

I want to implement Atmel composite device code (msd+hid) on at91sam7s256.
I downloaded the software package and tried to implement usb mass storage first, it worked correctly in IAR but when I use keil version of it computer recognize a removable device but can't format it.

1- why the keil version of usb mass storage does'nt work but IAR version , works correctly without any need to change code ?
2- Is there any configuration about keil that is need for this to set?

another problem is that *all of composite sample codes both in IAR and Keil doesn't work* what is the problem?

please help me!! thanks for your attention!!!!

  • I don't have AT91SAM7S256, so I can't check your problem directly.
    But by the experience on Ateml examples of another MCUs,
    Mass storage examples have two options of their media, on-chip code FLASH or external memory chips (or SD card). As the size of on-chip code FLASH is too small, Windows format command fails.

    Tsuneo

  • hello my friend!
    thank you for your reply to me!
    in fact I want to implement mass storage on external dataflash (at45db161d) so I tried to test sample code from Atmel that implements mass storage on internal flash, can you help me about this!

    how I can replace internal flash with external at45 dataflash .
    Are there any examples for me ?

    thenks!