cancel
Showing results for 
Search instead for 
Did you mean: 

How to use HAL_NOR_ProgramBuffer to program S29GL128S flash.

PKast
Associate

I am able to write to S29GL128S in Word Programming mode from STM32F4 using HAL_NOR_Program API. However, when I try to do a multi-byte write using HAL_NOR_ProgramBuffer API, the HAL_NOR_GetStatus returns OK, but the flash is not getting programmed. When I readback using HAL_NOR_ReadBuffer, I am getting 0x008A and 0x00CA. Any help will be sincerely appreciated.

1 REPLY 1
DOsbo
Senior

I have the same problem using an STM32H7 and a similar NOR flash chip. I can see a couple of defects where it sets up the source and destination pointers. However, fixing them still doesn't get it working. Please let me know if you obtained a solution to the problem.

Cheers

David