AnsweredAssumed Answered

why USB hid    Disable DCache to run?

Question asked by zhihui liu on Dec 24, 2018
Latest reply on Dec 27, 2018 by igorpadykov

SCB_DisableDCache(); 

i must use this code ,USB HID can run,if  Comment out ,USB HID CAN NOT   enumeration .

why? who can help me ?

 

*.scf is:

RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data
.ANY (+RW +ZI)
*(m_usb_dma_init_data)
*(m_usb_dma_noninit_data)
}

RW_m_ncache m_ncache_start m_ncache_size { ; ncache RW data
* (NonCacheable.init)
* (NonCacheable)
}

Outcomes