Dear all,
Currently I'm trying to get access with uEVM board (ES 2.0) to NOR flash (Spansion S29GL128S) using omapboot bootloader. After starting the usbboot initialize board mux for GPMC according to table 18-9 and doing GPMC initialization according to the paragraph 15.4.5.3 of OMAP543x ES2.0 TRM. NOR flash connected via asynchronous protocol and address/data multiplexed mode with external latch for accessing all of the 16 MiB of flash. My final goal is to boot from NOR flash.
GPMC registers I write are:
GPMC_CLKCTRL 0x00000001
GPMC_SYSCONFIG 0x00000002
GPMC_CONFIG1_i 0x00001200
GPMC_CONFIG2_i 0x00000C02
GPMC_CONFIG3_i 0x00000100
GPMC_CONFIG4_i 0x0F030C02
GPMC_CONFIG5_i 0x030B0F0F
GPMC_CONFIG7_i 0x00000F48
where i is 0
So the problem is that after initialization I can see some data in the NOR mapped region starting from 0x08000000, but I can't modify it. I tried different initial parameters and different clock cycles (from TRM and Spancion datasheets) but the result is the same - I can read data, but I can't write there. Neither with C code nor with hardware debugger connected via JTAG.
Please help me. Any support information will be very useful. Thanks!
Best regards,
Ivan Bilych