Search found 593 matches

by PeterR
Tue Oct 30, 2018 3:37 pm
Forum: General Discussion
Topic: Lost SPI transactions when using VSPI and HSPI
Replies: 4
Views: 2568

Re: Memory allocation & exceptions

PS
I think that using MCP2515 bus may kill the flash. A lot of double checking to do though.
The MCP2515 initialization does kill the flash though and so that points me towards the driver.
by PeterR
Tue Oct 30, 2018 3:33 pm
Forum: General Discussion
Topic: Lost SPI transactions when using VSPI and HSPI
Replies: 4
Views: 2568

Re: Memory allocation & exceptions

Thanks, Board initialization was quite lengthy so I have been binary chopping and cut and pasting to reduce the problem. app_main() (1) Starts board initialisation (a) MCP2515 SPI bus initialisation (spi_bus_initialize() and spi_bus_add_device() using HSPI, DMA=0) (b) ExtFlash construction/initializ...
by PeterR
Mon Oct 29, 2018 2:34 pm
Forum: General Discussion
Topic: Lost SPI transactions when using VSPI and HSPI
Replies: 4
Views: 2568

Lost SPI transactions when using VSPI and HSPI

EDIT: Traced again & discovered that the ExtFlash driver would wait indefinitely for a SPI transaction to complete. This is therefore an issue with lost SPI transactions rather than exceptions as alluded in this original post. I added a SPI flash memory driver to my project https://github.com/llluci...
by PeterR
Tue Oct 23, 2018 10:40 am
Forum: General Discussion
Topic: SPI flash driver
Replies: 5
Views: 2684

Re: SPI flash driver

Awesome; you even guessed my chip/size! I'll get testing!
by PeterR
Mon Oct 22, 2018 1:35 pm
Forum: General Discussion
Topic: SPI flash driver
Replies: 5
Views: 2684

SPI flash driver

I have been given the requirement to add data logging onto a SPI flash. I cannot easily use the master FLASH as I also need to use the PSRAM. The ESP32 spi flash library is only intended for use with the master (the program) FLASH. I thought that a little cut n paste would resolve but the driver dis...
by PeterR
Fri Oct 19, 2018 6:57 pm
Forum: ESP-IDF
Topic: Large web server on WROVER
Replies: 4
Views: 2479

Re: Large web server on WROVER

Cool, Thanks. I will sack that team member & destroy his family ;)
Awesume to have the B series; I can get 16Mb flash! The finance ppl will just have to suck it in.

Guess that we have the same cache restriction on Flash write and RAM access. Hope that's on the plan :)
by PeterR
Fri Oct 19, 2018 9:46 am
Forum: General Discussion
Topic: ESP32 CAN
Replies: 2
Views: 1848

Re: ESP32 CAN

I have used the ESP32 CAN. We are early in the design but I have clocked up >10 days stress testing back to back with an MCP2515 before moving on to other things. Only used two of our prototypes and an ESP32-EVB so far. PS @ Snipesy There is a driver but it has not yet been included in ESP IDF produ...
by PeterR
Fri Oct 19, 2018 9:30 am
Forum: ESP-IDF
Topic: Large web server on WROVER
Replies: 4
Views: 2479

Re: Large web server on WROVER

Thanks, yea we spotted this but think that its a Mouser mistake. The pricing is the same as the 4MB version and the linked datasheet says that its 4MB, 8MB. I understand that datasheets may lag especially when just a memory option but the pricing....
by PeterR
Tue Oct 16, 2018 11:06 am
Forum: ESP-IDF
Topic: Large web server on WROVER
Replies: 4
Views: 2479

Large web server on WROVER

Hi, I need to host a large web site (3.3MB+ minified) on a WROVER. The ideal would be to use SPIFFS but the WROVER's 4MB flash is too small. I also read that the spi_flash library is only suitable for use with the 'main' program flash (SPI0). We will fit something like a W25Q128JVSIQ to our board. T...
by PeterR
Tue Oct 16, 2018 9:49 am
Forum: ESP-IDF
Topic: Using mkspiffs
Replies: 1
Views: 1923

Re: Using mkspiffs

Sorted it

Go to advanced search