Download to RAM with Code Warrior and USB tap failed

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

Download to RAM with Code Warrior and USB tap failed

1,692 次查看
SELLIG
Contributor I

Hi,

It's OK when the .elf is downloaded to LS1021a OCRAM, the program is executed immediately and a menu appears on the terminal; But when (mainly for memory space) I switch to RAM (DDR@80000000) the dowload does not end correctly. Is there a special option in "Edit configuration and Launch" that I miss ?

Thanks

0 项奖励
回复
3 回复数

1,639 次查看
SELLIG
Contributor I

Hello,

It's solved. In fact, it was due to the init timing for our selected DDR that is not the same as the ATWR board.

Now I'm looking for a I2C driver for my baremetal project but I find nothing in the librairies of ARM7-Code Warrior.

Do you have an idea where I can find (i2c.c/i2c.h) for LS1021A.

Thanks

0 项奖励
回复

1,628 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Please find the I2C driver in the following link:

https://elixir.bootlin.com/linux/latest/source/drivers/i2c/busses/i2c-imx.c 

Have a great day,


Oswaldo.

0 项奖励
回复

1,664 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Please share your steps starting with the process to download the .elf , specify the name of the file and share the complete log to see if there is a mistake in the process.

0 项奖励
回复