Download to RAM with Code Warrior and USB tap failed

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

Download to RAM with Code Warrior and USB tap failed

1,580 Views
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 Kudos
Reply
3 Replies

1,527 Views
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 Kudos
Reply

1,516 Views
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 Kudos
Reply

1,552 Views
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 Kudos
Reply