cancel
Showing results for 
Search instead for 
Did you mean: 

USB OTG_FS + SRAM = HardFault_Handler

dbilancione
Associate II
Posted on August 07, 2013 at 02:08

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!!!

#hardfault_handler #sram #usb_otg_fs
0 REPLIES 0