LS1043A: Core not responding

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

LS1043A: Core not responding

10,642 Views
Rinke
Contributor II

Hi all,

 

I am trying to follow this application manual (https://www.nxp.com/docs/en/application-note/AN12270.pdf) in bringin up a board using DRAM. I have made the neccessary changes for my board, the NXP LS1046ARDB board. But I am getting this message:

Rinke_0-1727388055346.png

 

Any tips on how to fix this?

0 Kudos
Reply
10 Replies

10,586 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Rinke,

Sorry for the late response,

Could you please share with me the value of the registers 1EE00E4, 1EE0118?

Regards

0 Kudos
Reply

10,571 Views
Rinke
Contributor II

No worries!

Can you explain to me how to get those?

0 Kudos
Reply

10,545 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Rinke,

With the command display_mem you can see the value of the registers in the CCS terminal

Please find attached a file with the commands

Regards,

0 Kudos
Reply

10,396 Views
Rinke
Contributor II

Hi,

 

Thanks for the pdf. That already helps some!

Ive gotten a bit further.

Rinke_0-1730408933771.png

 

This is what I am getting upto. Ive added some print statements to show how far its getting. It is failing during writing u-boot to memory. I am not sure why. I am using the default ddr-init-ls1046rdb.tcl that is mentioned in the tutorial. I can test the read and write to ddr with the mentioned functions and that works fine. I am building u-boot.bin from https://github.com/nxp-qoriq/u-boot. Following these instructions: https://community.nxp.com/t5/Layerscape-Knowledge-Base/LS1046ARDB-How-to-update-U-Boot-binary-on-SD-...

 

0 Kudos
Reply

10,346 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Rinke,

Good to know that it already work when you do this process.

Regards,

 

0 Kudos
Reply

10,309 Views
Rinke
Contributor II

Are you able to help me with the last step? I am not sure what I am doing wrong.

0 Kudos
Reply

8,434 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Rinke,

Sorry for the late response,

I am in touch with a specialist team and they have the following comments,

  1. Could you please perform again the test in CCS and share with me in a text file due to the attached is not clear to see.
  2. Where did you get the ddr-init-ls1046rdb.tcl, what tutorial you mentioned?
  3. Is this the instruction you mentioned : https://community.nxp.com/t5/Layerscape-Knowledge-Base/LS1046ARDB-How-to-update-U-Boot-binary-on-SD-...
  4. What's your purpose? write memory by .tcl script?

Regards

0 Kudos
Reply

8,239 Views
Rinke
Contributor II

Hi Sebastian,

 

Thanks for the support.

1. I will get that for you.

2. I am trying to follow NXP's tutorial in AN12270. This PDF has the ddr-init-ls1046rdb.tcl in the Appendix. https://www.nxp.com/docs/en/application-note/AN12270.pdf

3. No, have a look at AN12270

4. I am trying to familirize myself with the different ways of bringing up a new LS1046 board. In prep for our own custom one. I have a NXP LS1046ARDB board here to practive with. I am now trying to follow a different tutorial by NXP, this one AN12081. Its using codewarrior studio which should be easier.

 

If you have any tips to which application manual is the best to follow for bringing up a new board then im all ears. 

 

Thanks! 

0 Kudos
Reply

8,013 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Rinke,

 

This is the response from the specialist team:

----

You choose the hardest way to practice ls1046ardb board. Here is the right way to go:
1. go to https://www.nxp.com/products/LS1046A, everything you need for ls1046ardb is on that page.

2. ls1046ardb supports QSPI and SD boot, you should use SD boot first, once board is boot, you can try QSPI boot and other function.
Let's start from SD boot:
A: download the document for reference: https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf
B: download images:
https://lsdk.github.io/agreement.html?version=2108&down_idx=1&title=boot_LS_arm64_lts_5.10.tgz
https://lsdk.github.io/agreement.html?version=2108&down_idx=28&title=firmware_ls1046ardb_sdboot.img
https://lsdk.github.io/agreement.html?version=2108&down_idx=50&title=rootfs_lsdk2108_ubuntu_main_arm...
C: download flexbuild tools to flash the image to SD card:
https://lsdk.github.io/components.html --> LSDK UTILITY -> flexbuild
$ flexbuild > source setup.env
$ flexbuild > flex-installer -b boot_LS_arm64_lts_5.10.tgz -f firmware_ls1046ardb_sdboot.img -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -m ls1046ardb -d /dev/sdXXX
you get a bootable SD card, you can try it on board.
E: About the flexbuild usage, please refer to: https://github.com/NXP/flexbuild/blob/main/docs/flexbuild_usage.md

3. If you want to try the newest release, you need to build the image you own.
The newest release supports Debian system, not ubuntu anymore.
Please refer to : https://www.nxp.com/design/design-center/software/embedded-software/linux-software-and-development-t...
The Guide can be found at: https://docs.nxp.com/bundle/UG10143/page/topics/about_this_document.html?_gl=1*2jhd45*_ga*MzY1MDcxOD....

----

Regards

0 Kudos
Reply

10,599 Views
Rinke
Contributor II

When looking at the debug output:

Rinke_0-1727612291332.png

 

0 Kudos
Reply