AnsweredAssumed Answered

USB OTG_FS + SRAM = HardFault_Handler

Question asked by dice on Aug 7, 2013
hi everyone.
surely there are hundreds of reasons to end up in the HardFault_Handler IRQ but as this is my very first project I hope you can suggesting me a few ... basically I am reading a wave file from USB and the DMA delivers it to the SPI2_I2S peripheral, thus to the audio codec. I have added 512KB of SRAM as I would like to add audio effects (such as delay, flanger, reverb, and so on) but that does not work. I initialize the FSMC peripheral then I start flushing the memory but I manage to flush the first 4 bytes then I end up to the HardFault_Handler.

any idea why that is happening? thank you!!!

Outcomes