Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Accessing External NOR Flash Memory

$
0
0

We are using MT25QL256A NOR flash and trying to load/boot our application program to NOR flash. We have sample project for Accessing External Flash Memory provided by Renesas and following it(https://www.renesas.com/en-us/download/jq_download_category/synergy_aplnote/an-r11an0130eu0102-synergy-access-ext-flash-in-dev-enviroments.zip?key=dbf537ebd569bae9567300a26c4c5925&targetType=download).

I did required changes as mentioned in document.

Still I have some issues and doubts with this,

1)When we execute the project we are able to print data in Debug Virtual Console. But address of QSPI data differs from that sample project.

We should get data as above image but what we are getting is

2)When debugger starts-up, "uart_thread1_entry()" function has to be allocated to the external flash memory area starting from 60000000 but ours is allocated to starting from 60008028.

3)And we are not able to get data in memory view.

4)In the following instruction, why 0x8000?

BSP_DONT_REMOVE volatile int QSPI_pad BSP_PLACE_IN_SECTION(".qspi_flash")  BSP_ALIGN_VARIABLE(0x8000);
BSP_DONT_REMOVE volatile int  QSPI_data[10] BSP_PLACE_IN_SECTION(".qspi_flash")  BSP_ALIGN_VARIABLE(0x8000) = {0x00, 0x11, 0x22, 0x33};

 

Why is that, am unable to understand this behavior. Can anyone look at it and help me.

SSP Version 1.1.3

Custom S7G2 board.

 

Thanks.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>