ds2synthentic magic smoke
RotwangAnyone know why Beaglebone Black's memory is 512mB but schematic says 4Gig DDR3? (not flash)
zmattI do, but you left, so you won't
zmatt(well I guess you'll probably eventually discover ram is sized in bits rather than in bytes)
pru_madnesshello all, i was getting started with using the pru cores on the beagle bone
pru_madnessnow I wanted to know, whether i need to create a device tree for my led blinking program as i am using the beagle bone lbue
SulphurikI've got a BeagleBoard b6 board that seems to be totally dead, I've got it connected to my PC through serial port but when I power it on I get nothing at all
pru_bluehello all, I noticed that the USR_LEDs and the RED and GREEN led on the beagle bone blue don't have a PRU mode,
pru_blueso does that mean i cannot control them via the PRU?
pru_bluethe am355x_pru_package is not supported by TI anymore?
pru_bluei am running stretch 9.3 and can't find it
sulphurik[m]Does anyone have some advice on unbricking a beagleboard?
jkridner[m]pru_blue: you can control them through the OCP GPIO
jkridner[m]sulphurik: check out bbb.io/start
sulphurik[m]Unfortunately I’m not getting anything through serial boot or anything at the moment
jkridner[m]did you hold the SD/BOOT button when you applied power?
jkridner[m]and flashing the microSD was incident free?
jkridner[m]do you get the power LED to come on and stay on?
sulphurik[m]Well I have an original beagleboard....not a beagle bone
sulphurik[m]But yes the power light comes on
jkridner[m]Oh. Should be the same deal. Which rev? Post C4?
jkridner[m]You might try the older image. The new one isn’t well tested yet.
jkridner[m]Ah. Robert hasn’t validated with B6. :-(
jkridner[m]I have one I can test with, but he used a C4.
jkridner[m]I believe the RAM changed.
sulphurik[m]My concern is that I can’t get anything when connecting the serial port at power on....no messages at all
sulphurik[m]Like, nothing
jkridner[m]yeah, you should still get the CCCC at the right baud.
jkridner[m]if using the BOOT button.
sulphurik[m]I set up minicom on 115200
sulphurik[m]on the right tty
jkridner[m]I might be able to swap a board for you. Not sure how else to resolve. Where are you located?
sulphurik[m]I'm happy to post the board to someone to look at
jkridner[m]What’s your use? Would an xM work?
sulphurik[m]I just wanted to get it working, it was a gift many years ago and I've played with it on and off for ages
sulphurik[m]most likely I'll end up using it as nas
jkridner[m]it would be good to understand how it died. i’d worry a bit about it sitting around here.
jkridner[m]getting you an xM would be easy.
sulphurik[m]That would be cool
sulphurik[m]I'm guessing it should be fixable but I've tried everything.
thinkfatsulphurik[m]: jtag?
sulphurik[m]Well, everytning i can think of
jkridner[m]The lack of serial boot attempts is alarming.
jkridner[m]yeah, and XDS100v2 would be handy.
thinkfatcould be a shot uart? the board doesn't have a usb/serial adapte
sulphurik[m]Really don't know how to do jtag but I'm sure that would be one way to fix it
peroyvibHello, I'm trying to compile a C-program for the BeagleBone Blue. I've got compiler errors on my program, I've also got compiler errors on the rc_project_template.c located in /usr/share/roboticscape/rc_project_template
peroyvibDo anyone know what could be wrong? The errors goes away when I have a "empty" program, but with rc_initialize() or rc_cleanup() in the program I've get errors
thinkfator does it...
peroyvibundefined reference to `rc_initialize'
sulphurik[m]thinkfat: it's got usb otg and serial
sulphurik[m]jkridner: yeah everything i've read says it should always show something through serial
zmattperoyvib: sounds like you're not linking against the library?
zmattperoyvib: are you using the provided Makefile ?
peroyvibzmatt: Yes, and I have #include <roboticscape.h>
zmattcan you provide a transcript of command you're using to compile it and the output it produces? (use a paste service such as pastebin.com)
peroyvibzmatt: Now I can compile, I just have some other issues. I did use gcc instead of make
py_prusshello all, i am trying to use py_pruss to load the pru program
py_prussbut on my blue it is not working
py_prussit keeps throwing a buffer overflow error
py_prusscan someone please help me with this
py_prussis anyone eonline
zmatt(evidently not within the few minutes you were here)
peroyvibI've got a problem with some of the GPIO-pins on BeagleBone Blue
peroyvibBLUE_GP0_PIN_6 with pin number 113. But on BLUE_GP0_PIN_3,4 and 5 give me: "gpio/direction: No such file or directory" when setting direction, and gpio/set-value: "No such file or directory" when setting value.
peroyvibBLUE_GP0_PIN_6 works
zmattACTION checks pins spreadsheet
zmattACTION makes a bbblue version of his show-pins script
zmattperoyvib: see if my script indicates anything interesting for the pins you can't control: https://github.com/mvduin/bbb-pin-utils/tree/blue#show-pins
peroyvibzmatt: Thank you, I have left the university (where my project are) for today. I will look into it tomorrow.
jsolanohi there, is barebox the preferred bootloader nowadays for BBB ? or do people still use mainly u-boot? I am setting up a toolchain and I wonder which bootloader will make things easier, I am planning to use tftp and nfs
pru_pythonanyone online who could help me with a few doubts about the pru cores on the blue?
zmattjsolano: I've never heard of anyone using barebox
pru_pythonanyone online who could help me with a few doubts about the pru cores on the blue?
zmattpru_python: the only way to find out is by actually asking your question and then sticking around
zmatt(plenty of knowledgeable people tend to look at irc every now and then so it can take time to get a response)
pru_pythonright, sorry: I need to write a PPM Signal Decoder using the PRU cores, which forms a small part of a larger project which is written in python. Hence I wanted to use PyPRUSS to program the PRUs
jkridnerpru_python: still around?
jkridnerpru_python: There's already a PPM signal decoder written for the PRU on Blue.
zmattjsolano: you can replicate the standard bootloader used on the bbb by grabbing a mainline u-boot release and applying the "0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch" and "0002-U-Boot-BeagleBone-Cape-Manager.patch" patches from the appropriate subdir of https://rcn-ee.com/repos/git/u-boot-patches/
jkridnerpru_python: it is integrated into ArduPilot.
pru_pythonI have read up on PRU literature (not the TI RM!, but derek molly's book) but I cannot use PyPRUSS to load my firmware onto the PRU, it throws a "buffer overflow error"
jkridnerbig element is that it uses the eCAP module w/in the PRU.
jkridnerpru_python: hmmm.... did you switch from RPROC to UIO?
jkridnerI *believe* PyPRUSS uses the old UIO interface.
jkridnerHere's my ArduPilot install instructions: https://gist.github.com/jadonk/6080ca92d6e225eb89d33ad7744e1775
pru_pythonI ran "modprobe_uio" from the terminal of the BBB
zmattyou normally never need to modprobe anything
jsolanozmatt: thanks, I wasn't aware we need to apply a patch to u-boot, I thought it was supported by the mainline build
pru_pythonI understand that AP has a PPM decoder, but I cannot understand where it is giving out the decoded pulse lengths
zmattjsolano: afaik it mostly is
jkridnerecho "uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo" >> /boot/uEnv.txt
jkridnerecho "enable_uboot_overlays=1" >> /boot/uEnv.txt
pru_python@jkridner Just out of curiosity btw, using a normal I/O library for catching interrupts on GPIOs is generally a bad idea right?
zmattjsolano: the patches may include fixes that haven't reached mainline yet, changes in default config
jkridnerwhat is the "normal I/O library"?
pru_python@jkridner: would you mind explaining what that does, i am not well versed in embedded linux :(
pru_pythonsomething like the adafruit BBIO
jkridnercatching interrupts on the GPIO is a fine thing.
jkridnerpru_python: it wouldn't necessarily be bad, but it depends what you are trying to do.
zmattjkridner: ew for just appending those lines instead of uncommenting the existing ones
jkridnerpru_python: the "Linux way" to do it is to make a kernel module.
jkridnerzmatt: avoid the case where there's already an assignment. needed to provide newbs with something scriptable.
jkridnerACTION does like to write perl -i.bak -pe foo
zmattjkridner: I understood the motivation, that doesn't make it less ew :P
jkridnerindeed. but, you'd never run it and it documents what you *would* do. :-)
zmattjkridner: besides, I'd hope that anyone who is doing programming of any sort is able to find a line in a config file and uncomment it
zmattmaybe I'm being naive here :P
jkridnerACTION checks out https://github.com/ArduPilot/ardupilot/blob/2d2ed7b06e8df3631d5d5ce92183cc8ba4fc2784/Tools/Linux_HAL_Essentials/README.md
pru_pythonjkridner: I was referring to catching the PPM signal on the gpio via the adafruit library.
pru_python I would love to understand how to use the PRU, but since my project is an implementation of my theory, I have a limited time frame :(
jkridneryucky old instructinos.
jkridnerpru_python: I'd never do that.
jkridnerpru_python: there are multiple eCAP peripherals that drastically reduce the CPU cycles for PPM monitoring and provide tremendous more timing reliability.
jkridnerpru_python: to try to do it with GPIOs in userspace.... I'd never trust it.
jkridnerpru_python: creating an ARM-side kernel module that uses eCAP, that'd be fine...
zmatteCAP is great for things like pulse width. eQEP is usually better for pulse counting or pulse frequency
jkridnerpru_python: but the PRU-size eCAP makes the most sense.
jkridnerzmatt: true, but let's explore the ArduPilot code. looking for it now.
pru_pythonumm.... im terribly sorry but i don't know how to use the eCAP mode
zmattusing eCAP for pulse frequency still requires handling an irq every 1-4 pulses
pru_pythoncould you point me to some docs?
zmattI don't know what sort of frequency we're talking about here?
jkridnerseems to be in https://github.com/ArduPilot/ardupilot/tree/2d2ed7b06e8df3631d5d5ce92183cc8ba4fc2784/Tools/Linux_HAL_Essentials/pru/rcinpru
zmattahh, never mind
zmattI misunderstood what ppm meant
jkridnerlooks like they kept the PRU pretty dumb here: https://github.com/ArduPilot/ardupilot/blob/2d2ed7b06e8df3631d5d5ce92183cc8ba4fc2784/Tools/Linux_HAL_Essentials/pru/rcinpru/rcinpru0.c
zmattok yeah, eCAP is definitely the right peripheral to use for that
jkridnerjust throws pulse-widths into a ring buffer.
pru_pythondoes the am335x_pru_package have examples using the eCAP mode?
zmattusing eCAP and handling it in userspace should be fine for most purposes, if you just need a recent measurement and not necessarily measure every single pulse
zmattno need for PRU in that case
jkridnerthen fetched on the ARM side here: https://github.com/ArduPilot/ardupilot/blob/6c6515711c8960a634841b5e0e130d8f5f3b67df/libraries/AP_HAL_Linux/RCInput_AioPRU.cpp
jkridnerthey could have made the PRU much smarter. Pretty much just using it for "smart dma"
jkridnercreating that ring buffer
jkridnerguess they are leveraging existing userspace code to interpret the pulse-widths.
pru_pythonYes, it differentiates between a variety of protocols
jkridnerpulse processing in https://github.com/ArduPilot/ardupilot/blob/dab29fd9462370539ab65e4c4f104da7bd3928a3/libraries/AP_HAL_Linux/RCInput.cpp
jkridnerinteresting that it just tries to treat it as all the protocol types.
zmattfor up to 3 channels I would probably just use map an eCAP instance into userspace and use that. above that I'd use PRU, with or without eCAP. (or maybe eCAP + edma from userspace but only because I'm nuts and I've already done that in the past :P )
pru_python_jkridner: umm... even with sudo, im not being allowed to run echo "uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo" >> /boot/uEnv.txtecho
pru_python_wait nvm
pru_python_eesh that was stupid -_-
pru_python_sorry about that
pru_python_umm but the pypruss error is still existent, every time I run pypruss.modprobe() : *** buffer overflow detected ***: python terminated
zmattwhat is it trying to do?
zmattit shouldn't be modprobing anything
zmattalso wtf is that weirdass error
zmattoh wow it hasn't been updated in ages it seems
jkridnerACTION added sudo's to https://gist.github.com/jadonk/6080ca92d6e225eb89d33ad7744e1775
jkridneruse echo blah, blah | sudo tee -a blah
jkridnerthe problem with using "sudo echo blah > blah" is that "echo" runs as root, but the write is still done as debian.
pru_python_im just running the command because in the examples given in the pypruss git (https://github.com/HudsonWerks/pypruss/blob/6edbddbb2172a934cf93b3113a03b7a8c7a0a6fd/examples/blinkled/blinkled.py#L7)
pru_python_it has been mentioned to run it only once per boot
pru_python_jkridner: Thanks for that info! never knew that!
jkridnerhttps://github.com/HudsonWerks/pypruss assumes much older images....
jkridnermaybe I should fork and update.
pru_python_so does it mean the python wrapper is rendered unusable?
pru_python_that would be amazing !!
pru_python_i guess the only thing would be to use the remoteproc library, and write it as a wrapper to be used in a python code?
zmattI don't really immediately see the buffer overflow in the pypruss_modprobe code though
zmattpru_python_: uio-pruss is fine, it's probably just something silly in that python wrapper that's broken
jkridnerzmatt: probably. Seems like it might be really needed for the community to have a Python wrapper that used remote-proc.
pru_pythonis it the ddr size?
jkridnerthat worked out-of-the-box.
pru_pythonsorry i got timed out...
zmattpru_python: looks like the cmd[] buffer overflows if ddr_size >= 0x10000000 (256MB, which would be a silly amount of memory to allocate for most purposes anyway)
zmattbut, just start by skipping that call entirely since uio_pruss already get loaded automatically at boot anyway, hence that call to modprobe does absolutely nothing (when it doesn't crash)
pru_pythonokay thats reassuring
zmattI also don't understand why anyone would implement that in C instead of in pure python
pru_pythoni couldn't find ANY other python firmware loader
zmattI mean the modprobe method specifically
pru_pythonone more teeny question, according to what i understood about device trees, the pins you want to talk to need to be setup for "pru mode" right? but I can't see a pru mode for the USR lets on the blue
zmattpru mode gives the pru particularly efficient direct access to a pin, but isn't available for all pins
pru_pythonso i can control pins that don't have the pru mode via the pru?!
zmattyou can, via the normal gpio peripherals
zmattit's just not as efficient or precisely timed
pru_pythonok thanks for that but of info
zmattlike, it could easily jitter for dozens of nanoseconds
pru_pythonbtw this seems like a boon for a noob: https://github.com/nesl/Cyclops-PRU
zmattyeah I read a bit about it
pru_pythonshoudldnt it be given more attention/support?
pru_pythonit will drastically reduce the learning curve and make the PRU much more accessible to application based developers
zmattit sounds like a good idea. I'm not really the right person to speak to about that :)
pru_pythoni for example am not a developer o=whatsoever, I study controls for aerospace engineering and wanted to implement my control scheme on a quadrotor drone
pru_pythonhaha alright :p
zmattI'm just a random guy who uses beaglebones at work
pru_pythondo you have any pointers I should keep in mind while writing the signal decoder, seeing as I am a complete newb to this? Since the signal decoder will be running in the bang round, would it be stupid to put it in a while(1)?
zmattit wouldn't actually be hard to implement a pure-python interface to uio-pruss... it's too bad that I really don't like python very much
zmattwhat does it do?
pru_pythonwell as the main quadrotor code is running on the ARM, I was planning to use one of the PRUs to read the signal for the radio transmitter and send the decoded pulse widths back to the code running on ARM
pru_pythonand the other PRU to write a particular PWM value (that will come from the main quadrotor code) to the servo channels
zmatton the pru it's not a problem to just spin in an infinite loop, although using the sleep instruction might save some power (probably not significant compared to things like motors though)
pru_pythonokay and about the eCAP mode you mentioned, where can i find any examples/docs about it? Anything other than the TI RM????
zmattyeah as long as you only have two tasks to do in parallel, using one pru core for each is a good way to keep your code simple
pru_pythonokay, also just to confirm, i can skip the pypruss.modprobe() function while writing the loader correct?
zmattdepending on your requirements, it may be simpler to not use eCAP unless it's imperative to be able to measure the pulses with 10ns precision
pru_pythonno it is not
pru_pythonthe pulse widths are of the order of microseconds ! :)
zmattuio-pruss should already be loaded (check lsmod). if it isn't, probably your /boot/uEnv.txt isn't correctly configured
zmattah right, so pru can grab a cup of coffee in between pulses
jkridnerzmatt: lol
pru_pythonahahah true !
pru_pythonwell i think I have the errors sorted out ! I think I might have the test bed ready by this weekend! jkridner and zmatt thanks a lot for your time!
zmattthe main disadvantage of using the PRUSS eCAP is that there's only one specific pin for it (the fourth encoder input on the blue)
pru_pythonoh! thats why the ardupilot codebase uses that specific pin!
zmattand it might require more code than just doing it the stupid way... although you'll need to set up a timer of some sort anyway
zmatt(if not eCAP then one of the IEP timers probably)
pru_pythonbut like you said, i could configure any other pin for catching the interrupts right?
zmattwhich interrupts?
pru_pythonsince the pulsewidths are microseconds long
pru_pythonthe signal rises
pru_pythonthe PPM signal rising edges etc..
zmattif you're using pru you wouldn't use an interrupt, you'd just poll the pin
pru_pythonah interesting
pru_pythonand keep track of how many times it reads it as high?
zmattyou can either do cycle-counting or read some hardware timer/counter when you observe the signal transition
zmattif programming in C, the latter is your only option
pru_pythonId be writing the firmware in assembly
zmattthen either option is available
pru_pythonas i am referring to derek molloy's book
pru_pythoni don't have a clue about all the features the PRU has,
pru_pythonso i feel id be better of counting the number of times its high
pru_pythonokay thanks a lot
zmattin sufficiently simple use-cases, cycle-counting is definitely the simpler option. and your case seems sufficiently simple
pru_pythoncould you give an example in where you would need to use a timer
zmattif you want to be able to do other things while waiting, without the headache of having to do careful bookkeeping of how many cycles are being spent (which may even be impossible to do reliably when using loads/stores)
pru_pythonout of curiosity, could the peripherals like an IMU be read using the PRU, or would this be impractical?
zmattor if you want to be able to use the sleep instruction to pause the core while waiting for a signal to go high (e.g. to save a bit of power)
zmattPRU can access basically all resources on the SoC, but for most peripherals PRU would need exclusive access, i.e. linux should not have a driver loaded for it
zmattin case of i2c, that means PRU would need exclusive access to the whole i2c bus, not just one device on it
ds2Hmmmm multimaster I2C
pru_pythonbut would it be hard to implement, rendering it impractical
zmattpru_python: not very hard I guess... not sure how to measure that
pru_pythonokay cool
zmattlooks like what you just linked is a pure-pru implementation
pru_pythonthanks again! :p
zmattrather than using an i2c controller
zmattso that probably means it will hog the pru core (since it needs to do bit-banging) for a long time (i2c is slow)
zmattif using one of the i2c controllers pru needs to do much less work and only occasionally check for completion
zmattoh you left
altiumdoes anyone know what layout program the beagle X15 was design in?
zmattmight be allegro?
altiumso the X15 circuit board was designed in allegro? The only problem I have now is that I can't import the X15 .brd design file into altium unless I also have the allegro installation. Has anyone else made the full import into altium for the X15? I have the schematic, but having trouble importing the layout
altiumhas anyone imported the beagle X15 into Altium?
octo_hi all
octo_i got a question about systemd services, have we got an expert?
zmattthe best way to find out is by asking your question
zmatt(and being patient. there are plenty of experts here but many will only sporadically pay attention to irc)
octo_thx zmatt. ok here is my question. i got a bbgw and i wrote a c-programm with IO, CAN0 and WLAN0 used. when i want to autostart the programm from bootup with a systemd service this programm ist starting. also the led is on. i can read messages, but i cant get my wifi connection to my mqttbroker working
octo_when i start my c programm from command line, everything is working. if i start my service from command line, everything is fine
octo_only when i want to autostart with service, it doesnt work
zmattthen I'm guessing your program isn't robust to the possibility that it may not be able to connect immediately
octo_even when i ifconig... and there is a wifi connection to the internet
zmattif you restart your service after boot has completed and internet works, it still doesn't work?
zmattwhat error are you getting?
octo_yes, after restart it is working
zmattokay then it's probably what I just said
zmattyou shouldn't assume you can reliably connect anyway, wifi typically doesn't come with guarantees :) if connection fails just retry (after some short delay)
octo_mom, brb
zmattyou could also order your service after the network has been setup, the details of which
zmattmay vary depending on network manager used
zmattthat's not really a robust solution though, and it would stall startup if the network fails to come up
zmattwell, the latter probably not in a bad way
octo_ok, sorry....
octo_for afk
octo_i think you are right. the program starts when there isnt an internet connection available
octo_i do also reconnects, when i cant get an connection
octo_but the programm doesnt put out an error like: "cant establish connection"!
octo_it does, when the progamm is running from command line and i disable wifi manually
octo_i think the problem is, when programm tries to connect, but there isnt wifi device ready
octo_in my service i got this: after=network.target
zmattthat's the same as not having a wifi connection, or any other sort of reason for a connection to fail
ds2whick MQTT client?
octo_paho c
ds2mosquitto seems to retry
octo_broker is mosquitto, i also tried a free mqtt broker in web
ds2mosquitto also has a client
ds2mosquitto_pub and mosquitto_sub
octo_yes, i tried that from command line
octo_but in my c program i use paho client
ds2i have a wrapper script and they retry...esp. the sub
zmattocto_: the purpose of After=network.target is to ensure that during shutdown your service is stopped before the network is brought down btw
ds2with NM, network.target may not mean what you think
zmattsee also https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
ds2(or wifi in general)
octo_thx for the hint with network target @zmatt @ds2
zmattnetwork.target just means network *management* is up
ds2you may have to qualify it with DBUS messages from NM or similar
zmattor just retry if connection fails
ds2in the good old days....
zmatthe's probably not using gnome network manager
zmattit is possible to determine whether a route is available to a specific ip (which is probably what you want) and be notified of changes... but really, it makes little sense to bother with that
zmattthere are more reasons for a connection to fail
octo_i think there is some problem with my code
zmattand a single robust way to deal with it: periodically retry
zmattit sounds like it yet
octo_i do periodically retry
zmattthen there's probably just a bug
zmattadd verbose debugging
octo_but when autostart doesn work my serial debug says nothing about a connection try
octo_usually there must be something like : try to connect...
octo_but it doesnt.
zmattif you print to stdout or stderr in a service, it'll end up in journal btw
zmattsee journalctl
zmattalso the last few lines printed by the service can be seen if you do systemctl status <yourservice>
octo_ok thx
octo_i also got another question
zmattyou can also use the 'ss' utility to see if there are open connections (e.g. ss --tcp --n -p )
zmatt-n sorry, not --n
octo_got it
octo_if i want to start the service only when a specific file is not empty, there is a statement like: conditionallyFileExists=/......
ds2your retry may not be doing a deep enough retry
octo_i want to start the programm when in /sys/class/net/wlan0/address is set with the macadress of my device
ds2depending on your bind() call, it may need to be redone on the interface up
zmattocto_: 1. that's not what Condition statements are for (they prevent your service from running at all if condition fails) 2. that's a disgusting way to check anything related to networking 3. why do you think your service needs to care?
octo_i use this example for mqtt client https://www.eclipse.org/paho/clients/c/
zmattjust find and fix whatever bug is preventing the periodic retry to not work
zmattuhh, sentence fail
zmattpreventing it from working, or causing it to not work :P
octo_i try this for days....
zmattsorry to hear that
zmattI hope you find and fix the problem soon
octo_the project is a kind of can-wifi-gateway
zmattif you're not sure what sort of state your program is in when it's "stuck" after boot, if you compile it with debugging enabled then you can attach with gdb to the running process and try to inspect its state
zmattplease don't send private messages
octo_ok, sorry
octo_i will do that, i got gdb installed
octo_problem is, i use threads
octo_when i got to breakpoint, threads go crazy
zmatt"go crazy" ?
octo_is there a way, that the service will only start when i got wifi access?
zmattI don't know if gdb halts all threads on a breakpoint, it might have a setting for that. even if it doesn't, why would it matter
zmattmaybe, but I'm not really motivated to help you do that since it would be a really fragile "solution" and your program would still be buggy
octo_good point
octo_ok, i will try to fix this tomorrow with your hints
octo_thx for your time!
BongoShaftsburyI'm using a beaglebone green and attempting to enable SPI. After rebooting I'm not able to SSH in anymore. This results in having to reimage the SD card and works afterward. This behavior has also occured when doing other things like attempting a SCP where it hangs and after reboot SSH no longer works. Not really sure where to go from here.
zmattthat's really too vague to say anything helpful about
zmattcheck the serial console?
BongoShaftsburyrgr that will try that when i go back
zmattcheck if you're not running out of space
BongoShaftsburywould the device default write to the board disk rather than sd card?
zmattuhh, it will only write to whatever you booted from
zmattwhich will be the sd card if a bootable sd card is present at boot
BongoShaftsburyokay well we are using a 16gb sd card ~25% is used
zmattthe filesystem is expanded to cover the whole card? (I don't know whether there's any magic in the default images to ensure this happens automatically)
BongoShaftsburythat is a good question, i do not know
BongoShaftsburyi will have to check that
zmattdf -h /
BongoShaftsburyi'll be able to check it in 2.5 hrs
zmatttip: asking for help here when you're not actually able to check things on your bbb is probably not the most efficient use of your or our time
Solominhello! I have a project I would like to try with a Beagle board and I was wondering if someone could tell me if it can be done and which board would be recommended
SolominI have independent inputs (5v) and I would like a sound to be played for each input every time it receives a 5volt pulse
zmattpretty much board with gpio could do that, although note that 1. the beaglebones don't have integrated audio output (other than via hdmi, for those models that have it) 2. no beagleboard or beaglebone has 5v tolerant inputs
zmattso you'd need a level shifter
SolominSorry, I am new to this, but what type of tolerant inputs are available?
SolominIs it very difficult to do the project I mentioned?
zmattbeaglebone uses 3.3v i/o
zmattthat's an impossible to answer question since it depends entirely on your experience, skill level, and ability to learn. I don't feel qualified to judge that
SolominIt is possible that the output device is less than 3v; let's say for argument's sake it is, is the project I mentioned difficult?
Solominor overly complicated for a beginner?
Solominthanks for the information; have a great day