Hello!
I've got a problem with CodeWarrior Development Studio for QorIQ LS series (10.0.8) and my LS1021atwr. I want to use the CodeWarrior TAP for debugging. I'm not able to open debug configuration without the following Problem: (a jpeg is added to this post, too) "An error has occurred. See error log for more details. com.freescale.sa.configurator.ls.jni.LSConfigLoader_JNI.init(Ljava/lang/String;)V"
I don't know how to fix this...
Had has anyone this error already?
kind regards,
Jan
已解决! 转到解答。
Yes. First I ran ./setuplinux.sh from the tarball. Then I executed install_deps.sh with root: "~/Freescale/CW4NET_v2016.01$ sudo ./install_deps.sh" and the message: "dependency installed successfully" appears....
Jan
Please rerun:
1. Ubuntu 12.04/14.04/15.04 or newer
* Elevate to root using su
* In the terminal run the following command:
# sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 libgtk2.0-0:i386 libxpm4:i386 libusb-0.1-4:i386 libusb-1.0-0:i386 libuuid1:i386 libxcb1:i386 libnspr4:i386 libglib2.0-0:i386 libxdamage1:i386 libxtst6:i386 libssl0.9.8:i386
Adrian
Hi,
it seems to be all is up to date:
"# sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 libgtk2.0-0:i386 libxpm4:i386 libusb-0.1-4:i386 libusb-1.0-0:i386 libuuid1:i386 libxcb1:i386 libnspr4:i386 libglib2.0-0:i386 libxdamage1:i386 libxtst6:i386 libssl0.9.8:i386Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
libusb-0.1-4:i386 ist schon die neueste Version.
libusb-1.0-0:i386 ist schon die neueste Version.
libxcb1:i386 ist schon die neueste Version.
libxdamage1:i386 ist schon die neueste Version.
libxpm4:i386 ist schon die neueste Version.
libxtst6:i386 ist schon die neueste Version.
gcc-4.6-base:i386 ist schon die neueste Version.
libstdc++5:i386 ist schon die neueste Version.
libc6:i386 ist schon die neueste Version.
libgcc1:i386 ist schon die neueste Version.
libglib2.0-0:i386 ist schon die neueste Version.
libgtk2.0-0:i386 ist schon die neueste Version.
libnspr4:i386 ist schon die neueste Version.
libstdc++6:i386 ist schon die neueste Version.
libuuid1:i386 ist schon die neueste Version.
libssl0.9.8:i386 ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 44 nicht aktualisiert."
Jan
Here is the output from /sbin/ldconfig -vp | grep libexpat:
~$ /sbin/ldconfig -vp | grep libexpat
libexpatw.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libexpatw.so.1
libexpatw.so.1 (libc6) => /usr/lib/i386-linux-gnu/libexpatw.so.1
libexpat.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libexpat.so.1
libexpat.so.1 (libc6) => /lib/i386-linux-gnu/libexpat.so.1
metdata.tar is added to this post...
kind regards
Jan
Thank you, that fixed the problem! I can open debug configuration without getting an error.
Now another error comes up (Added a .jpeg to this post). A terminal with ccs starts, but just put something out and closes. I can not get the Output - it's closing too fast... The CodeWarrior TAP is blinkin green on TX/RX (like standard) and for four very short times a red LED is shown. Then CodeWarrior ends with the Error....
Is there a relation between the erros?
kind regards,
Jan
This is what U-Boot is saying:
U-Boot 2014.07+ls1+g6747328 (Dec 07 2014 - 16:03:02)
CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)
Clock Configuration:
CPU0(ARMV7):1000 MHz,
Bus:300 MHz, DDR:800 MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
00000000: 0608000a 00000000 00000000 00000000
00000010: 70000000 00407900 e0025a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 00080000 48007340 00000000 00000000
Board: LS1021ATWR
CPLD: V2.3
PCBA: V4.0
VBank: 0
Jan
Please take a look to LS1021A_TWR_README.txt:
Information about processor revision 1
#--------------------------------------------#
To debug a target with this processor revision you must use the CFG file "LS102xA_Rev1_ConfigChain.cfg" that can be found at the location
[CW install path]/ARMv7/ARM_Support/Configuration_Files/jtag_chains/. This file will be imported following the next steps:
1. Open "Debug Configurations..." and select your project;
2. Click on the "Edit..." button which can be found next to the drop list called "Connection" from the "Target Settings" view;
3. Click on the "Edit..." button which can be found next to the drop list called "Target";
4. Click on the "Edit..." button which can be found next to the drop list called "Target type";
5. Click "Import..." and then "File System..." and select the file specified above and then click OK until you return
to "Hardware or Simulator Target" window;
6. Select in the "Hardware or Simulator Target" window the initialization and memory files from the project;
7. Click OK until you return to "Debug Configurations..." window and click "Debug".
Adrian