**** BEGIN LOGGING AT Thu Jul 27 03:00:02 2017 **** ENDING LOGGING AT Thu Jul 27 03:17:27 2017 **** BEGIN LOGGING AT Thu Jul 27 10:48:24 2017 Jul 27 11:31:29 hi Jul 27 11:31:37 any one there Jul 27 11:32:08 zmatt :hi , i've connected my BBB to external ethernet switch IC via RGMII, do i need any additional driver for the MAC, or i can use the default cpsw one with fixed-link DT definition? Jul 27 12:00:27 cyberguy: depends if its compatible or not .. Jul 27 12:03:12 ver|laptop : how can i tell that? the RX works for me, but the TX doesn't Jul 27 12:03:42 ver|laptop : I mean, i recieve RX packets currectly from my BBB connected to the switch , but the TX doesn't seem to work ( i don't get DHCP ) Jul 27 12:18:07 hmm Jul 27 15:08:25 cyberguy: have you checked whether internal delay is enabled for rx in the switch? Jul 27 15:08:43 it probably won't be by default Jul 27 15:15:04 I mean for tx Jul 27 18:46:59 zmatt: since AM335x chip doesn't have rx/tx internal delay, is there any diffrence for rgmii phy-mode definition ? (rgmii,rgmii-id,rgmii-tx etc..) Jul 27 19:01:27 anyone fimiliar with Ethernet low level debug? i wonder how can i verify that my TX data is send to the lines as expected Jul 27 19:08:54 cyberguy: tcpdump? Jul 27 19:09:45 You can break down in/outbound data on an interface all the way down to the per-packet level. Jul 27 19:18:18 mmmm Jul 27 19:18:32 majuk: how do i filter just the out and see the exact data transmitted? Jul 27 19:19:17 Been a while, don't remember most of the command line flags. Jul 27 19:20:54 Probablyu easiest to pipe it into a text file and analyze it after the fact. Jul 27 19:24:18 cyberguy: it should be "rgmii" since the am335x doesn't support internal delay Jul 27 19:24:32 cyberguy: I thought you had already determined from the switch statistics that you were getting nothing but framing errors? Jul 27 19:25:01 and were going to locate/check the setting for internal delay in the switch Jul 27 19:25:13 zmatt: i already added the delay, it didn't help much Jul 27 19:25:35 i'm now trying to read all the statistics and figure out this... Jul 27 19:26:09 majuk: the issue here is on electrical level, not something tcpdump is going to help with :) Jul 27 19:27:10 zmatt: yea, hence the ?, not sure what the definition of 'low level' in this case is. Jul 27 19:27:11 is there any way to send the smallest "frame" to the ethernet, so i can verify at scope i'm sending the same data as expected Jul 27 19:27:42 I'm just looking for excuses to not work on this part order for my PCB. Jul 27 19:27:43 :D Jul 27 19:28:11 btw, the RX works perfect , with tcpdump i get everythinnnnnggg Jul 27 19:28:18 cyberguy: what kind of errors are being logged in the switch statistics? Jul 27 19:29:46 it doesn't seem very likely you'd get useful info using a scope Jul 27 19:31:32 currently i'm using the cpsw driver, just with fixed-link definition, maybe i must use the Microchip driver? Jul 27 19:31:34 enabling tx internal delay in the switch "didn't help much" ? so it did make a difference? Jul 27 19:32:11 it didn't work (DHCP detection still failes), i didn't checked if it changed the error statistics, let me check it... Jul 27 19:37:22 until the switch is able to actually receive packets from the am335x it's fairly pointless to try something like dhcp Jul 27 20:53:05 crap ! so many crc error at switch!!1 Jul 27 20:58:36 zmatt: maybe i must use the microchip driver in order to make this works? what can make the CRC error fail.... Jul 27 21:56:21 what driver? Jul 27 21:57:21 and the only reasons I can think of for seeing tons of crc errors would be Jul 27 21:57:45 1. missing internal delay on txclk Jul 27 21:58:09 2. a hardware issue (e.g. a bad connection on one of the tx data pins) Jul 27 21:58:45 anyway, gotto go now, bbl Jul 28 02:19:08 Hello... Jul 28 02:19:41 Does anyone use the Motor Bridge Cape with their BBB (any variant)? Jul 28 02:21:16 I will pastebin something if you are interested. I have some software for that specific Cape but I am not sure of what it may do. Jul 28 02:21:17 ... Jul 28 02:21:26 I am going to test it. Do not worry. Jul 28 02:25:40 https://pastebin.com/w8qK1pP4 Jul 28 02:25:55 I think this will only run one motor, i.e. the Motor 4. Jul 28 02:26:51 Oh and it will print the print "stuff!" Jul 28 02:30:58 ... Jul 28 02:31:31 I was going for a straight go, to a straight reverse, and then a stop. Then, everything would keep looping. Jul 28 02:43:10 Oh and the software module is located at https://github.com/Seeed-Studio/MotorBridgeCapeforBBG_BBB/tree/master/BBG_MotorBridgeCape. Jul 28 02:49:13 I also made the software work w/ https://pastebin.com/AFzVWggH. Jul 28 02:52:25 ...it just did some odd movements and looped. It would move in forward, reverse, and then for about five quarter turns, it would repeat the quarter turn. **** ENDING LOGGING AT Fri Jul 28 03:00:00 2017