AnsweredAssumed Answered

STM32F417ZG burn data to external NOR flash issue

Question asked by zhang.vincent on Aug 3, 2012
Latest reply on Jul 27, 2016 by Clive One
Hi, guys

Recently, i'm working on a board based on STM32F417ZG chip. And i connect the FSMC bank1 NE1 to M29W128GH NOR flash chip, the address is 0x6000 0000. My tool chain is ARM MDK + J-link, and i make the flash algorithm according to 'Flash\S29GLxxx' in Keil MDK, and make the NOR flash init file according to 'FLASH_NOR.ini' in 'STM32F10x_StdPeriph_Examples\FSMC\NOR_CodeExecute\binary'. Now, my problem is, i can erase the NOR flash chip, but it always failed at address 0x6008 0000 in programming, that say, i can only write 512k data to the NOR flash!!! This is so weird, because i also write one NOR test program which runs in the internal flash, just like 'STM32F10x_StdPeriph_Examples\FSMC\NOR' do, everything is OK. I can't find anything wrong, so does anyone can give me some suggestions???


I attach my NOR init file and flash algorithm here.