2023-02-15 10:22 PM
2023-02-15 10:49 PM
Here, I tried with USB host method this example code USB CDC Device and HOST in STM32 » ControllersTech , the problem is the "Appli_state" is not entering the "Application_Ready " state, it is present in Application_Idle state. I am not sure, what am I missing. Please help me.
2023-02-18 03:50 AM
I've faced the same problem with my stm32f407g-disc1 board, in this tuto " https://www.youtube.com/watch?v=V3sMN-ErKPw&list=PLnMKNibPkDnFFRBVD206EfnnHhQZI4Hxa&index=20 "
The question is what makes Appli_state change from Application_IDLE to Application_Ready ?
Anyone could help please !
2023-02-18 06:45 AM
try to look with debug - break point : is Appli_state = APPLICATION_START; coming ?
if not, big problem ! maybe hardware/wires wrong.
in usb_host.c :
afaik app_ready is set, when device is ready . :)
means, after handshake ok and enumeration success ...
and try for first without DMA template . (i got it not working with DMA (caches ON) )
+ and also first test with D-cache off -- or if errors or not working