[beagleboard] can not receive can message from CAN bus dcan1 TJA1050 but everything works well when loopback mode

2017-06-21 Thread 官大天

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread William Hermans
On Wed, Jun 21, 2017 at 7:34 PM, mzimmers wrote: > Hi, William - > > I have no (current) interest in building my own kernel. I'm trying to do > Dr. Molloy's tutorials because I want to learn about writing device drivers > for Linux (you may recall an earlier discussion where you encouraged me to

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread mzimmers
Hi, William - I have no (current) interest in building my own kernel. I'm trying to do Dr. Molloy's tutorials because I want to learn about writing device drivers for Linux (you may recall an earlier discussion where you encouraged me to go this route in favor of doing bare-metal bit-banging).

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread William Hermans
mzimmers, additionally, aside from getting hands on experience. Why do you feel compelled to build your own kernel ? If it's for the learning process, ok I get that. But if you need to build something in . . maybe, but if you're looking to build a driver module . . . you do not need to rebuild the

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread William Hermans
Just in case you do not know already. https://eewiki.net/display/linuxonarm/BeagleBone+Black That guide is for the black, there is one for the white, but don't know if there is one for the blue, or any of the wireless variants. On Wed, Jun 21, 2017 at 5:52 PM, William Hermans wrote: > mzimmers,

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread William Hermans
mzimmers, You know, I tried a few different guides when building the kernel and none of them worked until I found Robert's build guide( 4+ years ago ). In your shoes, I would probably forget about trying to follow DR Molloy's book in this case, and just use Robert's guide. Because no one is going

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread Robert Nelson
Well... I would contact the author, obvious something changed since 3.8.13. On Jun 21, 2017 6:38 PM, "mzimmers" wrote: > Another update: when I said "works" below, I should have said "builds." > When I try to run, though, problems occur: > > mzimmers@beaglebone:~/exploringBB/extras/kernel/ebbcha

[beagleboard] How to connect ADXL345 accelerometer via SPI to BBB using Python

2017-06-21 Thread MrVragilije
Hi guys, My accelerometer is connected to spidev2.0 (pins 1, 3, 28, 29, 30, 31). Overlays are loaded correctly, HDMI is turned off, ports are tested using Molloy's spidev_test.c and to this point things are good.I have a problem with reading the data from accelerometer ADXL345 via SPI port usin

[beagleboard] USB port question ?

2017-06-21 Thread Riko Ho
Hello, Why is my beagle bone USB port not responding ? It was working with mouse before, but now there's nothing on "dmesg" and serial port when I plug mouse, Anyone knows what happened ? Thanks -- * /***/ Sent by Ubuntu LTS 16.04, 谢谢, Regards, Riko Ho /***/ * -- For more option

[beagleboard] USB port is not responding ?

2017-06-21 Thread Riko Ho
Hello Everyone, Why is my beaglebone black USB port not responding ? I plug mouse, but there's no respond on "dmesg" ? Thanks, -- * /***/ Sent by Ubuntu LTS 16.04, 谢谢, Regards, Riko Ho /***/ * -- For more options, visit http://beagleboard.org/discuss --- You received this message b

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread mzimmers
Another update: when I said "works" below, I should have said "builds." When I try to run, though, problems occur: mzimmers@beaglebone:~/exploringBB/extras/kernel/ebbchar$ sudo insmod ebbchar.ko mzimmers@beaglebone:~/exploringBB/extras/kernel/ebbchar$ ls -l /dev/ebb* crw--- 1 root root 245,

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread mzimmers
Update: I deleted that C_INCLUDE_PATH variable, and it now works. No idea why it didn't work the first time. Thanks for looking... On Wednesday, June 21, 2017 at 4:18:52 PM UTC-6, mzimmers wrote: > > I just attempted to replicate your work, and I got a list of compile > errors and warnings long

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread mzimmers
I just attempted to replicate your work, and I got a list of compile errors and warnings long enough to overrun my terminal buffer. Any suggestions on how to go about troubleshooting this? Thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message because

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread Robert Nelson
On Wed, Jun 21, 2017 at 4:58 PM, mzimmers wrote: > My project *is* his project. I'm trying to build the ebbchar.c file included > in his repository. I have no idea how this used to work, but it doesn't now > (not on my system anyway). > > I added the ARCM=arm to my copy of the Makefile, but I'm st

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread mzimmers
My project *is* his project. I'm trying to build the ebbchar.c file included in his repository. I have no idea how this used to work, but it doesn't now (not on my system anyway). I added the ARCM=arm to my copy of the Makefile, but I'm still getting the error message. Is this because I have my

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread Robert Nelson
On Wed, Jun 21, 2017 at 4:44 PM, mzimmers wrote: > > > On Wednesday, June 21, 2017 at 3:38:11 PM UTC-6, RobertCNelson wrote: >> >> >> Are you passing ARCH=arm ?? > > > No. I'm just trying to do the example on this page: here For completeness, his example should have had an "ARCH=arm" make ARCH=

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread mzimmers
On Wednesday, June 21, 2017 at 3:38:11 PM UTC-6, RobertCNelson wrote: > > > Are you passing ARCH=arm ?? > No. I'm just trying to do the example on this page: here The contents of the makefile: > obj-m+=ebbcha

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread Robert Nelson
On Wed, Jun 21, 2017 at 4:31 PM, mzimmers wrote: > Hi all - > > I'm working through one of Dr. Molloy's examples on building kernel modules. > My/his program originally failed to build because I hadn't defined > C_INCLUDE_PATH which now points to > /usr/src/lineux-headers-4.4.48-ti-r88/include. No

[beagleboard] which "arch" subdirectory to use?

2017-06-21 Thread mzimmers
Hi all - I'm working through one of Dr. Molloy's examples on building kernel modules. My/his program originally failed to build because I hadn't defined C_INCLUDE_PATH which now points to /usr/src/lineux-headers-4.4.48-ti-r88/include. Now it's failing because one of the included files is faili

[beagleboard] Re: Adding battery to BBB, battery doesn't charge.

2017-06-21 Thread Christine Karman
I am using this battery now, and it works fine. I connected it as in the link I posted. https://www.antratek.nl/polymer-lithium-ion-battery-2000mah and this connector https://www.antratek.nl/jst-battery-connector-254 On Sunday, June 4, 2017 at 3:23:04 PM UTC+2, Christine Karman wrote: > > I ha

[beagleboard] Re: using SYSBOOT pins as outputs....not booting from uSD

2017-06-21 Thread Greg
I had problems with those pins and found that the resistive "loading" at boot needs to be quite high. I did not get this at first, and I had a bipolar transistor switch connected which was something on the order of 50kohms input resistance. Well, that was too low for reliable boot process! Somet

RE: [beagleboard] using SYSBOOT pins as outputs....not booting from uSD

2017-06-21 Thread Gerald Coley
They are actively being read on boot up and any loads on them, your other devices, will affect the booting mode of the processor. Check the SRM https://github.com/CircuitCo/BeagleBone-Black/blob/master/BBB_SRM.pdf?raw=true , check the data sheet http://www.ti.com/product/AM3358 and search this

[beagleboard] a

2017-06-21 Thread MrVragilije
a -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view th

[beagleboard] using SYSBOOT pins as outputs....not booting from uSD

2017-06-21 Thread claude . hasler
Hey all Im using several of the SYSBOOT pins as outputs in my project. This means they are connected to the inputs of other ICs. My problem is that the Beaglebone no longer boots from uSD when connected to these peripherals.(sporadically, very rarely it does work) My assumption was that connect

[beagleboard] How to read the accelerometer ADXL345 data via SPI using Python code and spidev libraries

2017-06-21 Thread zvonimir . maranic
I have successfully loaded overlays and tested ports using Derek Molloy's spidev_test.c. Devices spidev1.0, 1.1, 2.0 and 2.1 are working fine. Then I connected my accelerometer on pins 1, 3, 28, 29, 30, 31. I tried using the slightly modified Python code I found on *http://www.havnemark.dk/?p=14

[beagleboard] using SYSBOOT pins as outputs...not booting from uSD

2017-06-21 Thread claude . hasler
Hi all Im using a beaglebone green(same processor as beaglebone black) to control a robotics project. Im using several of the SYSBOOT Pins as outputs in my program after booting (Program running on QNX OS, from uSD card). My problem is that the beaglebone won't boot correctly when connected to

Re: [beagleboard] UART4 RS485 (RTS) not working

2017-06-21 Thread eberli
matthew, can you please post your solution then? Am Donnerstag, 6. April 2017 11:06:30 UTC+2 schrieb Matthew Bezuidenhout: > > Phillip I did. Give me a moment and I'll post. > > On 6 Apr 2017 11:00 a.m., "Philippe Frossard" > wrote: > >> Hi, >> The same problem ... >> >> My kernel is 3.8.13-bone6

Re: [beagleboard] Applying patches before build_kernel.sh?

2017-06-21 Thread Andrew P. Lentvorski
Thank you, Robert. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroup