I'm using Mass Storage template of Keil5 but when I run it (on board),I can't access the SD card and PC just detects that a device is connected to USB. I commented check_media function because it's available in my board. what's wrong?
Thank you Westonsupermare Pier and Milorad Cvjetkovic for your suggestions
I used RL library of Keil uVision4.70 successfully, but since it dosen't have complete functions (about switch between USB and file sys) for USB device, I migrated to Keil uVision 5.14. I run a template code (according user manual. about check media function it explaind: "Modify this function to the application's needs. If media check is not available in hardware this function can be omitted.")
I didn't change any thing in template code. I think My question didn't need software/hardware support, I just asked a question about Keil packs (and user manual guidance).
In Rl library I could read code and debug it easily but now (in template codes of Keil) I don't know how can debug or read code (for example where is pins configuration?! )
I'm trying to learn new things about microcontrollers, but if you think I take your time for my question,please forgive me.
My problem solved :D I changed RTE_Device.h configuration file.