CodeWarrior Flash Programer Error with LS1028A-RDB eMMC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CodeWarrior Flash Programer Error with LS1028A-RDB eMMC

跳至解决方案
2,211 次查看
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 项奖励
回复
1 解答
2,191 次查看
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 项奖励
回复
1 回复
2,192 次查看
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 项奖励
回复