Can't access flash - EVE3
Posted: Sat Nov 28, 2020 2:01 pm
Hi,
I am developing an application using a EVE3-70G and a STM32F4, based on Rudolphs library (many thanks!).
So far everything works. Except...
I need large fonts and I wanted to use a font I wrote into the external flash (as described in the "using custom fonts" thread). I converted a 60 pixel size font using EAB 1.6 and programmed it into the flash of the display (USB2SPI), all without problems.
However I am not able to access the flash memory from my STM32 code. I put a EVE_init_flash at the beginning of TFT_init and this command hangs.
Specifically, flash_status is read as flash_status_basic, so Eve sees the flash I guess. Then, the command EVE_cmd_flashfast() fails; it hangs forever in the busy loop.
Any ideas? The EAB flash programmer can switch to fast mode (according to the log window) and it states that the blob with the flash parameters was written successfully (also the flash write verify was OK). So the flash memory is there (32 Mbit btw), Eve can access it both in basic and fast mode. I also tried flash_attach and _detach, these also fail.
Any ideas?
- Martin
I am developing an application using a EVE3-70G and a STM32F4, based on Rudolphs library (many thanks!).
So far everything works. Except...
I need large fonts and I wanted to use a font I wrote into the external flash (as described in the "using custom fonts" thread). I converted a 60 pixel size font using EAB 1.6 and programmed it into the flash of the display (USB2SPI), all without problems.
However I am not able to access the flash memory from my STM32 code. I put a EVE_init_flash at the beginning of TFT_init and this command hangs.
Specifically, flash_status is read as flash_status_basic, so Eve sees the flash I guess. Then, the command EVE_cmd_flashfast() fails; it hangs forever in the busy loop.
Any ideas? The EAB flash programmer can switch to fast mode (according to the log window) and it states that the blob with the flash parameters was written successfully (also the flash write verify was OK). So the flash memory is there (32 Mbit btw), Eve can access it both in basic and fast mode. I also tried flash_attach and _detach, these also fail.
Any ideas?
- Martin