This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB Device MSC using NAND Flash -> stack overflow

Hi,

I'm trying to implement a USB Device Mass Storage project using NAND Flash.

I'm using a Keil MCBSTM32F200 board.

Starting from the USB Device Mass Storage sample I managed to add NAND Flash driver (as in the File System Demo sample).

The projet run fine on SD cards, Memory Drive but using the N0: drive (NAND Flash), main thread get a stack overflow in the case of writing big file (over 1MB) from PC to NAND. Reading is ok all the time and writing small file (few KB) is ok too.

Is some one can help me ? I need this as I want to use NAND flash on my projet, but using USB Mass Storage is required to enable firmware updates.

I tried to increase global stack size, heap size, main thread stack size and thread size with no luck.

Thanks.

Guillaume.

Parents Reply Children
No data