SPI_FLASH_MMAP_INST Exception
Posted: Wed Feb 22, 2017 11:55 pm
I am trying to memory map a flash region using spi_flash_mmap() , starting address 0x300000 , 1 MB in size .
I am trying to memory map it to the instruction memory space (SPI_FLASH_MMAP_INST) .
However I am getting an exception while trying to do that .
"Guru Meditation Error of type LoadProhibited occurred on core 0. Exception was unhandled."
I am successful in memory mapping to the data memory space(SPI_FLASH_MMAP_DATA)
Are there any restrictions while memory mapping to the instruction memory space ?
I am trying to memory map it to the instruction memory space (SPI_FLASH_MMAP_INST) .
However I am getting an exception while trying to do that .
"Guru Meditation Error of type LoadProhibited occurred on core 0. Exception was unhandled."
I am successful in memory mapping to the data memory space(SPI_FLASH_MMAP_DATA)
Are there any restrictions while memory mapping to the instruction memory space ?