FTDI Community

General Category => Discussion - Software => Topic started by: xenon68 on September 20, 2023, 08:25:21 PM

Title: Writing a page to flash stops the SPI from working
Post by: xenon68 on September 20, 2023, 08:25:21 PM
Tools: Vinculum ii IDE
Chip: 32pin VNC2
Application size has plenty of flash left, only at 227000 bytes.

For some reason when I write a single page of flash, the SPI device stops working...  any ideas?

Basically this is all I am doing, then after that the SPI stops working. Tried other page locations.  What is odd, is the flash write works. I can restart, and read the correct data from the flash.

flash_writePage(0x7ff, temp_string);