This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2434: Custom FLASH integration with AM2434

Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG

Hi Experts,

I have custom board of AM2434, where i am establishing connection with FLASH.

I have followed these 2 reference for it

  1. software-dl.ti.com/.../CUSTOM_FLASH_SUPPORT_GUIDE.html
  2. https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1096852/am2434-custom-flash-driver-for-am2434-error/4062973?tisearch=e2e-sitesearch

According to the 2nd reference, 

Hi Dominik,

Did you do all the steps listed in file: AM243x MCU+ SDK: Writing flash driver for a custom flash device

There are several files need to be changed:

makefile.{soc}.{core}.ti-arm-clang under FILES_common

The flash sysconfig also should be updated so that later in examples the flash can be selected appropriately. For this open the /source/board/.meta/flash/flash_{soc}.syscfg.js file. The object flash_devices will have a number of entries corresponding to the currently supported flashes. Add a new entry corresponding the new flash.

You will also need to re-build all the libraries by executing "gmake -f makefile.am243x libs" at the top level of the MCU+ SDK

for example: C:\ti\mcu_plus_sdk_am243x_08_02_00_31

Confirm that the files build and the new flash device is selectable in sysconfig. We can now update the files according to the new flash device. 

Update the example.syscfg of the ospi_flash_io example OSPI Flash IO using SysConfig GUI to select the new flash device you have added.

I am unable to build this command "gmake -f makefile.am243x libs" from command prompt

I am getting following error

and during compiling code in CCS, getting following error

I have edited following files 

  1. "flash_am243x.syscfg.js"
  2. "makefile.am243x.r5f.ti-arm-clang"
  3. "flash_nor_ospi_quad.h"
  4. and created new file as
  5. flash_nor_qspi_device_MT29F2G01ABAGDWB.c

Please help me out to establish communication with custom flash.

--

Thanks & Regards,

Divyesh Patel