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.

AM62P: Encountering errors during Flash customize

Part Number: AM62P
Other Parts Discussed in Thread: UNIFLASH

Hi,

I am trying to add a custom flash device following the tutorial (AM62Px MCU+ SDK: Adding Support For a Custom Flash Device ). I have successfully built and run the project "OSPI_flash_diagnostic" and got the custom_flash config in json file. But when I tried to load the json file in Syscfg, the error occurred as figures below. The version of MCU+SDK I am using is 11.01.01. 08. 

screenshot-20260105-142257.png

  After I manually created a custom_flash config in Syscfg and modified related projects, I meet errors when flashing the images via uart_uniflash.py. The flashing process is blocked at "--operation=flash-phy-tuning-data" and my flash config file is attached below.

screenshot-20260105-143503.png

screenshot-20260105-144623.png

I wondering whether the operation of "flash-phy-tuning-data" is a must during image flashing process. I have tried the configs with and without "flash-phy-tuning-data" respectively but they both failed in terms of customized flash. Moreover, I also tried the configs with and without "flash-phy-tuning-data" respectively in terms of the original flash(S28HS512T) and I found the image flashing process works properly. Could you give a brief explanation on this phenomenon?

 

Regards,

Bomiao