CodeWarrior Flash Programer Error with LS1028A-RDB eMMC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior Flash Programer Error with LS1028A-RDB eMMC

Jump to solution
2,210 Views
igor_franco
Contributor IV

Hello,

I'm trying to flash the embedded eMMC of the LS1028A-RDB evaluation kit. However, I changed the device type to use the board as a LS1027AE instead of LS1028AE, which only disables the GPU, as shown in the image below.

device_selection.png

I followed the instructions in the "CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA, Targeting Manual", Chapter 7, about Flash Programmer. First, I was able to connect to the embedded XSPI without problems, but I discovered that the local eMMC was not configured. So, I added the eMMC device to configuration of the LS1027A-RDB board (<CW_Install_Dir>\CW_ARMv8\ARMv8\Configs\boards\LS1027A_RDB_init.py) and change the GDB python script to use the eMMC (<CW_Install_Dir>\CW_ARMv8\ARMv8\gdb_extensions\flash\cwflash.py). Both modified files are attached. Once the eMMC used by the LS1028A-RDB kit is a MTFC8GAKAJCN memory of 8GB ("QorIQ LS1028A Reference Design Board Reference Manual"), I configured the eMMC on the LS1027A-RDB init script as EMMC_MTFC8_LSCH2, as I identified in the flash_devices.html file on <CW_Install_Dir>\CW_ARMv8\ARMv8\gdb_extensions\flash directory. 

After that, I used the same commands of XSPI (fl_info and fl_id). The info command worked fine, but the id failed (see image below). I installed the CodeWarrior for ARMv8 v2020.06.

fp_init_error.png

Did I made something wrong? How can I use the CodeWarrior to access the native eMMC of the LS1028A-RDB board as LS1027A-RDB?

 

Thank you in advance.

Best regards,

Igor

0 Kudos
Reply
1 Solution
2,190 Views
igor_franco
Contributor IV

I've found the problem. The configuration of the eMMC on LS1027A_RDB_init.py was wrong.

It must use "EMMC_MTFC8_SDHC2" instead of "EMMC_MTFC8_LSCH2".

Marked as solved.

View solution in original post

0 Kudos
Reply
1 Reply
2,191 Views
igor_franco
Contributor IV

I've found the problem. The configuration of the eMMC on LS1027A_RDB_init.py was wrong.

It must use "EMMC_MTFC8_SDHC2" instead of "EMMC_MTFC8_LSCH2".

Marked as solved.

0 Kudos
Reply