**** BEGIN LOGGING AT Wed Jan 14 02:59:59 2015 Jan 14 04:52:33 Hi, Anyone successful with serial ftdi breakout on BBblack rev A6A? Jan 14 10:54:23 what is the beaglebone 1Ghz kernel in rcn repo? Jan 14 11:05:19 Hi, has anyone had success with serial ftdi basic on BB-black rev A6A? Jan 14 11:10:24 shaz_: it should just work Jan 14 11:12:55 tbr: Did anyone had success with it? A6A Jan 14 11:13:18 I'm sure Jan 14 11:13:34 make sure the FTDI adapter is 3.3V Jan 14 11:14:56 tbr: I am asking because I came across https://groups.google.com/forum/#!topic/beagleboard/p8oEVlENq44. The thread concludes with contacting RMA. Jan 14 11:16:06 tbr: I have tried many possibilities like adding console=ttyO0 to uEnv.txt. Switching hosts but no success with output. Jan 14 11:16:57 tbr: Target and host drivers are there without any indication of error. Jan 14 11:18:47 tbr: My ftdi has options for both 3.3v and 5v but I am not supplying any power as mentioned by https://codechief.wordpress.com/2013/11/11/beaglebone-black-serial-debug-connection/. Jan 14 11:19:23 Hi all!! Is there anyone there that has been tried to use uart serial ports in the beaglebone black with ubuntu 14.04.1? I would appreciate a lot some help Jan 14 11:21:01 Kirsath: What help is needed? Jan 14 11:21:02 shaz_: a) set it to 3.3V, b) do a loop back test on the FTDI by disconnecting from the BBB and shorting Tx and RX Jan 14 11:21:43 tbr: How do I set it to 3.3v? Jan 14 11:22:04 shaz_: you said that the device you have has 3.3V and 5V options Jan 14 11:23:41 tbr: For that the correct pin has to be wired along grnd, tx and rx. Which pin of serial header on BBB do I map the pin of ftdi 3.3v option. Jan 14 11:24:21 tbr: This detail is not present in BBB SRM. The link I sent just mentions to leave it out and it will work. Jan 14 11:24:37 shaz_: this is ONLY about your FTDI Jan 14 11:24:57 shaz_: this is NOT about connecting anything else than TX/RX/GND to the BBB Jan 14 11:26:10 tbr: For a) to work I have to connect the 3.3v wire to serial header on bbb. WHich pin should it be? Any pin available will work? Jan 14 11:27:14 tbr: I would like to connect before testing b) Jan 14 11:29:27 tbr: In other words which pin from serial header is used for power. Jan 14 11:34:55 shaz_: no, you do not Jan 14 11:35:19 shaz_: do you have an picture of your FTDI adapter? Jan 14 11:39:06 tbr: The tutorial from codechief mentions to leave out the power wires and they also used similar ftdi. I have picture of mine. How would you like me to send/post it? Jan 14 11:40:47 shaz_: that's for you to figure out, e.g. imbur Jan 14 11:40:49 imgur Jan 14 11:43:20 shaz_: I cannot make it working. Rebooting the bblack makes all the ports available ttyO1, ttyO2, ttyO4... but they does not work apparently Jan 14 11:43:59 shaz_: I have edited the boot/uEnv.txt adding: optargs=capemgr.enable_partno=BB-UART1 Jan 14 11:47:58 Kirsath: Do you want serial communication on ttyO0? Or connecting another device using uart? Jan 14 11:48:32 serial comm in ttyO1 Jan 14 11:48:37 to use the first uart Jan 14 11:49:51 Kirsath: how have you tested the UART? Jan 14 11:51:03 tbr: using minicom and pyserial (miniterm) and an XBee (interface with comm through serial port) Jan 14 11:51:33 Kirsath: You are not having any output from serial terminal on host? By the way u-boot for BBB has hardcoded the ttyO0 so no need to edit uEnv.txt Jan 14 11:51:54 Kirsath: Which BBB rev are you using? Jan 14 11:52:44 Kirsath: I'd suggest to try a loop back test first Jan 14 11:53:08 shaz_: REV C. I am trying to use ttyO1 not ttyO0 (I think this uart is reserved...) Jan 14 11:53:40 Kirsath: The default is ttyO0. I did a lot of reading. Jan 14 11:53:48 yeah, don't use ttyO0 for connecting things Jan 14 11:54:06 it's meant and configured as a debug connection Jan 14 11:54:31 Kirsath: It is reserved for serial communication with host. Not to be used for connecting to other devies. Jan 14 11:56:08 shaz_: thanks thats what I mean you are right.I am using (or trying better said) ttyO1 :) Jan 14 11:57:36 Thanks to all, I have to leave now, I will keep trying later on! Jan 14 12:04:07 tbr: My Internet connection does not allow to upload 351k image. I am still here wating for the image to load. But it is similar to https://codechief.files.wordpress.com/2013/11/connector-4-jumper-wire-pins-2.jpg. Jan 14 12:06:02 tbr: Got it uploaded ... http://s15.postimg.org/uhwn2kdnf/serial_breakout.jpg Jan 14 12:08:20 tbr: The image shows settings for 5v so if the wire is plugged in on 3.3v pin it will work on 3.3v. So this is the power pin and it has to be plugged in to BBB to work on 3.3v. Jan 14 12:08:47 that's not exactly the "official" ftdi adapter which srm talks about Jan 14 12:09:43 also that's not how voltage selection works Jan 14 12:09:44 adj: Yes. Codechief tutorial pointed earlier does use a similar one. And unfortunately I have access to this one at the moment. Jan 14 12:10:15 tbr: So how do i select voltage? Jan 14 12:10:22 on this model you can't Jan 14 12:11:09 anyway, let's get one thing sorted first. please use one of those jumper wires to connect RX to TX on that thing. NO CONNECTION TO THE BBB WHATSOEVER! Jan 14 12:11:24 tbr: Then why the option? And codechief tutorial should be termed doubtful? Jan 14 12:11:36 tbr: Ok loopback test first. Jan 14 12:14:39 on bbb serial header only three pins are connected: 1 (gnd), 4 (rx), 5 (tx) Jan 14 12:14:51 tbr: Should I use any electric wire to short rx and tx? Sorry rookie with electronics. Jan 14 12:15:22 random guess without really knowing the function of 5V/3.3V pins on your adapter, I would connect the 3.3 pin to bbb extension header P9 pin 3 Jan 14 12:16:51 shaz_: one of the wires in the picture Jan 14 12:17:08 adj: you think it might need an external reference? Jan 14 12:17:28 tbr: Thanks got it. Jan 14 12:17:29 tbr, exactly Jan 14 12:18:36 but then again it also might be supplying 3.3 volts, so without documentation or multimeter I wouldn't just try Jan 14 12:19:18 adj: Exactly. Cant afford to damage anything. Jan 14 12:20:15 shaz_: so, does the loopback test work? Jan 14 12:20:29 shaz_: do you have access to a multimeter? Jan 14 12:21:03 tbr: No multimeter. I was just thinking how minicom or putty would run the test. Jan 14 12:21:40 you just open either, point it to that usb serial interface and start typing Jan 14 12:22:05 everything you type should apear on the termina Jan 14 12:22:16 and if you disconnect the cable it should stop appearing Jan 14 12:22:49 tbr: Typing works and rx is blinking on typing. Unlike with BBB it would remain ON. Jan 14 12:23:16 disconnect wire, retry Jan 14 12:23:25 if it stops, then the test was successful Jan 14 12:24:50 tbr: You mean the blinking should stop. It does stop. With BBB it would not stop. Jan 14 12:26:21 shaz_: ok, so that thing is working then Jan 14 12:26:38 shaz_: now wire 3 pins to the BBB debug connector: Jan 14 12:26:44 Rx to Tx Jan 14 12:26:50 Tx to Rx Jan 14 12:26:56 Gnd to Gnd Jan 14 12:27:07 tbr: Ok ... Jan 14 12:32:14 tbr: No output but I can type. I could not type earlier with minicom on Linux but at the moment using putty on win7. Jan 14 12:32:52 shaz_: reboot the board? Jan 14 12:36:17 tbr: You are life saver! It works. Why reboot twice and why twist wires? Jan 14 12:38:20 tbr: On third reboot much more output. Maybe just maximized window therefore can observe more. Jan 14 12:38:26 :) Jan 14 12:38:29 I am so exited! Jan 14 12:38:50 .oO(shaz, exit stage left) Jan 14 12:39:09 tbr: So why second reboot and why twist rx and tx Jan 14 12:39:23 tbr: Exit stage? Jan 14 12:40:22 tbr: codechief tutorial said not to twist rx and tx. Jan 14 12:41:05 tbr: because BBB does it by itself. Cannot get it due to lack of foundation in electronics. Jan 14 12:41:36 shaz_: because the adapters are different Jan 14 12:42:21 tbr: codechief used another and I am using another so we twist it. Does not ring a bell. Jan 14 12:42:48 shaz_: with serial there is always a chance that you get TX←→RX wrong unless you use a fixed row layout on both sides, like the "proper" FTDI adapters Jan 14 12:46:15 tbr: I am sure I did not get it wrong as I did it very very carefully due to lack of confidence. Maybe you mean the ftdi adapter company did it wrong :) Jan 14 12:47:47 shaz_: that doesn't have to do with you. it's inherent to the concept. Jan 14 12:48:08 the good thing is that nothing bad will come from swapped TX/RX. It will just not work. Jan 14 12:49:35 tbr: Inherent to concept? I will just let it go as this channel is not meant for this. If it allows please explain a bit more as I am interested to get it deep. Jan 14 12:52:22 you could look at this: https://learn.sparkfun.com/tutorials/serial-communication#wiring-and-hardware Jan 14 13:04:06 Thanks tbr. Will leave now to reboot to Linux. Jan 14 14:41:12 Hello Jan 14 14:42:23 anyone active here? Jan 14 14:42:33 sure Jan 14 14:43:54 great. does anyone here have experience with BBB ADC module? Jan 14 14:44:06 http://www.catb.org/esr/faqs/smart-questions.html Jan 14 14:44:09 I'm looking for a way to reset it under Linux, without rebooting the whole BBB. Jan 14 14:44:22 why do you want to reset it? Jan 14 14:44:22 Did not find a FAQ about this. Jan 14 14:45:11 The ADC is connected to a sensor. Sometimes a spike comes in, and the ADC stops functioning. Jan 14 14:45:33 I'm reading it via iio pseudo-files under /sys and suddenly they fail to open. Jan 14 14:45:46 if the spike exceeds 2V, then you'd better make sure it never reaches the board, unless you want to break it Jan 14 14:46:42 I'm working on better isolation in HW. But until we make a new circuit, I'm stuck with this issue. Jan 14 14:46:57 and looking for a SW workaround. Jan 14 14:47:49 took a look, doesn't look like a module. You could try unloading and reloading the overlay (if that's possible) Jan 14 14:48:01 maybe un- and reloading the driver module might help, but if the hardware itself is stuck, it probably won't help Jan 14 14:48:11 unloading the overlay results in kernel panic. Jan 14 14:48:18 * tbr also suspects the IP block might lock up or such Jan 14 14:48:27 ah, quality TI software :) Jan 14 14:48:35 reboot (init 6) solves the problem but is very slow. Jan 14 14:49:08 it would be nice to disable/enable the driver. but it seems like an in-kernel driver. Jan 14 14:49:12 might be a better option to try a hw hotfix Jan 14 14:49:21 a zener diode or such Jan 14 14:49:48 it's tough HW problem. the HW guys has been struggling it for days without success. Jan 14 14:49:51 swguy: in-kernel drivers can often be recompiled out into modules... Jan 14 14:50:11 has anyone used devmem.c on BBB? Jan 14 14:50:32 maybe we can use it to just reset the ADC? Jan 14 14:50:59 swguy: please just forget about it just right now Jan 14 14:51:35 * tbr would just smack on a 2V zener diode on every used ADC pin and be done with it Jan 14 14:54:46 unless ofc the connected signal can't supply enough for it to work... Jan 14 15:03:01 I'll ask the HW guys about it. But in any case I need a quick workaround. Jan 14 15:03:03 any ideas? Jan 14 15:03:53 see above. Jan 14 15:07:11 checked with the HW engineer and he did this already. so far nothing improved. Jan 14 15:14:29 hello Jan 14 15:15:47 i have beagleboard xm Rev c board Jan 14 15:16:13 i just want to know how i can proceed with getting satrted Jan 14 15:16:17 started Jan 14 15:16:25 can anybody help me Jan 14 15:24:11 Hi Everyone! Anyone has some knowledge about beaglebone black kernels (using ubuntu 14.04). Have some problems with the kernel and serial ports Jan 14 15:24:20 tbr: are you still there? Jan 14 16:02:46 hi Jan 14 16:03:38 how check the register values in Python ? Jan 14 16:19:37 Can someone tell me what the difference between the "_Fixed" and "_Accum" fixed point arithmetic types in GCC is? Jan 14 16:19:59 (see https://gcc.gnu.org/onlinedocs/gcc/Fixed-Point.html ) Jan 14 16:21:31 oh, fractional is limited to the range -1..1 Jan 14 19:11:52 Any info available on what's next? Is there info on future developments of the beaglebone? Jan 14 20:16:01 so, sorry for joining then lurking. looks like i need a new name, too. but, hi! Jan 14 21:49:28 any need out here for a logic analyzer so old that it has blinky led's for analysys? Jan 14 22:49:35 well I waited for rcn to thank him for his help in getting the gpio pull up to work, and Jan 14 22:50:04 I posted , what was needed in a short post here: https://groups.google.com/forum/embed/?place=forum/beagleboard&showsearch=true&showpopout=true&showtabs=true&hideforumtitle=true&parenturl=http%3A%2F%2Fbeagleboard.org%2Fcommunity%2Fforums#!category-topic/beagleboard/beaglebone-black/IAkyHQOp8VA Jan 14 22:50:25 so others after me may google it Jan 14 22:50:30 good night Jan 15 00:40:24 wheeeeeeeeeeeeeeeeeee speech recog finally working half decent (w/o mcasps or usb!) Jan 15 01:08:03 pwm? Jan 15 01:08:26 ds2: ^ Jan 15 01:59:19 Any assistance connecting bbb via hdmi? I am getting the initial login screen, but then the signal times out Jan 15 02:04:55 I could come up with plenty causes, but let's start with swapping the hdmi cable Jan 15 02:06:27 I've done that actually, tried two different brands and an adapter that downsized the traditional hdmi to micro Jan 15 02:07:38 Also tried scaling my resolution to known compatible sizes with two different televisions Jan 15 02:08:24 don't know (I'm not using native hdmi atm) - dvi seems to drive the signal decently enough (spelling?) Jan 15 02:08:37 Anyone know of documentation to run cloud9/examples/extras/simulator.html ? Jan 15 02:09:47 Sorry GumShoe, I'm just beginning my foray into the wonderful world of coding Jan 15 02:10:47 I get this error http://pastebin.com/pAthJzKE **** ENDING LOGGING AT Thu Jan 15 02:59:59 2015