Jump to content
OMRON Forums

Augusto

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Augusto

  1. That solved the problem! Thanks!
  2. Hello, I am using PowerPMAC IDE 4.4.0.99 and Firmware: 2.5.0.4 in my deltatau. I am trying to download a project to my deltatau, but having some errors of config files. These are info that I collected: - The IDE can connect to it, but "Sys.ServoCount" is frozen in 5006. - hardReset ("$$$***") fails - see attached image. - If I connect through ssh and check on dmesg, I can see the repeated times the following message: "FAT-fs (sda1): error, fat_get_cluster: invalid cluster chain (i_pos 699243)" - If I try to read "/opt/ppmac/usrflash/Project/Configuration/pp_proj.ini", i get: "cat: /opt/ppmac/usrflash/Project/Configuration/pp_proj.ini: Input/output error" - I can NOT download any project into deltaTau. dmesg.txt
  3. Ok Eric! That's well noted. Thanks again for your help! Are there release notes for each firmware version somewhere?
  4. Ok! Duly noted. Thanks for your help, Eric and AAnikstein!
  5. I am using DeltaTau with dualcore ARM processor, FW version: 2.6.0.0, PowerPMAC IDE: 4.4.1.7. I am trying to set the default hostname for each of DeltaTau we have in our installations. I the previous ones we have (fw 2.5.4.0 and apm866xx processor), we edit the following file: - /opt/etc/hostname At the boot time, this file is copied to /etc/hostname and the service hostname.sh get started, updating the DeltaTau hostname. In the new ARM DeltaTaus, if we edit the same file, it behaves in a different way. At boot time, the file is copied to /etc/hostname, but it looks like the hostname.sh service does not get started. If I manually start it trough ssh command line, the hostname gets updated. As I want to get this process automatically, the only way I got it working for now was to edit the following file: - /.readonly/etc/hostname And the service is not needed to start. Is there a way to make the service automatically start at boot time so I don't need to edit the .readonly folder?
  6. I just tested the commands and it worked, Eric. Thanks for your help. Just a quick question to finish this thread: to have the ethercat running, is it just a matter of license then? or it is needed a hardware modification in the DeltaTaus?
  7. The IP addresses which intenal DHCP server provides here is NOT the mentioned one, it is inside 10.** range. I agree that the eth0 and eth1 should work independently (as it is in other deltatau we have here in our installation), but in some of the dualCore ARM deltatau we just acquired, they are not.
  8. 1 - Yes, the PMAC have two phisical ethernet ports. Eth0 works fine, which I am using for ssh debugging. Eth1 is the one which is only started after manually including r8168 mod. 2- No, it hasn´t ethercat. 3- more /opt/etc/network/interfaces output : iface lo inet loopback iface eth0 inet static address 192.168.0.200 netmask 255.255.255.0 iface eth1 inet dhcp auto lo auto eth0 auto eth1
  9. I am using DeltaTau with dualcore ARM processor, FW version: 2.6.0.0, PowerPMAC IDE: 4.4.1.7. We have some DeltaTaus that are loosing the eth1 recognition at boot up. After some tries, I connected via ssh trough eth0, and got some info: 1 - if I try to recognize the network interfaces, I get: root@192.168.0.200:/opt/ppmac# ifconfig -a eth0 Link encap:Ethernet HWaddr a0:22:4e:90:28:d3 inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:469 errors:0 dropped:0 overruns:0 frame:0 TX packets:261 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:49341 (48.1 KiB) TX bytes:31921 (31.1 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 2 - The hardware itself should be ok, as stated: root@192.168.0.200:/opt/ppmac# lspci 0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0e0b (rev 20) 0000:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09) 0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0e0b (rev 20) 3 - if I try to check the boot log (dmesg), it appears some eth1 info: root@192.168.0.200:/opt/ppmac# dmesg | grep r816 [ 28.978556] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 29.016254] r8169 0000:01:00.0 eth1: RTL8168f/8111f at 0xcf97e000, a0:22:4e:90:28:d4, XID 08000800 IRQ 63 [ 29.024564] r8169 0000:01:00.0 eth1: jumbo features [frames: 9200 bytes, tx checksumming: ko] (check that the lines ifup / ifdown eth1 wont appear) 4- The lsmod command doesn't show the r8168 nor r8169 drivers loaded. 5 - If I try to insmod the r8169 (same as other DeltaTaus), got from /opt/etherlab/lib/ folder, it is not possible, indicating: r8169: Unknown symbol release_firmware (err 0) 6 - If I try to insmod r8168 from same folder OR from default /lib/ folder: root@192.168.0.200:/opt/ppmac# insmod /lib/modules/4.1.18-ipipe/kernel/drivers/net/ethernet/realtek/r8168.ko Then, the eth1 interface comes up: root@192.168.0.200:/opt/ppmac# ifconfig -a eth0 Link encap:Ethernet HWaddr a0:22:4e:90:28:d3 inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:757 errors:0 dropped:0 overruns:0 frame:0 TX packets:439 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:77659 (75.8 KiB) TX bytes:52885 (51.6 KiB) eth1 Link encap:Ethernet HWaddr a0:22:4e:90:28:d4 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:63 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Altough I have to "/etc/init.d/networking restart" to make the interface connect. Also, I was not able to make it work at boot. Could you help me on this matter?
  10. I am trying to develop the kinematics of an hexapod in the CfromScript (usrcode.c). When I try to compile the project, I am getting various errors of "multiple definitions" regarding native functions of PowerPMAC IDE (e.g: GetEnumPtrVar / GetEnumPtrArrayVar), pointing to lines in "pp_proj.h" file, but called from different output files: usrcode.o file and one I created called "kin_hexbestec.o" file. The multiple declarations points to the same line, as if the files (and definitions) are considered twice, although the "pp_proj.h" has the "#ifndef _PP_PROJ_H_" macro at the beggining. After some debug, I realize that the problem is that the functions are implemented in the header file "pp_proj.h", which is automatically created during compilation. Which means that I can't include this file in separate "compilation units" (.o files). The problem is that this is the same header file (pp_proj.h) in which the "global definitions" variables are available for use in C code. How can I use these global variables in different C files without these errors?
×
×
  • Create New...