**** BEGIN LOGGING AT Wed Apr 22 02:59:57 2020 Apr 22 03:00:08 Unfortunately Divide by Zero can not be trapped just like in Fortran Apr 22 03:07:49 And yes I have Fortran running on BBB Apr 22 03:09:40 Good night all Apr 22 03:09:47 Well, I am done w/ Micro-Cap 12 for the night. Apr 22 03:09:51 Later. Apr 22 03:10:04 No Diagram? Apr 22 03:10:11 KenUnix: I will get it soon. Apr 22 03:10:20 Give me a time limit, maybe? Apr 22 03:10:27 tomorrow Apr 22 03:10:29 No. Apr 22 03:10:32 Later than that. Apr 22 03:10:34 Ha. Apr 22 03:10:57 bye(y) (y) Apr 22 03:10:58 I will try. I will if it rains. Apr 22 03:11:12 Maybe. Apr 22 04:14:29 GenTooMan: Ada and VHDL are great.... if that's your mindset. If it's not, then they're terrible. I have mixed feelings about them, but I doubt I'll ever use either in any real project. Apr 22 04:15:30 But... they're both very DoD, so they're obscenely explicit. They make Java look like the "cool" aunt / uncle. Apr 22 04:15:43 * IanWizard isn't a fan of Java either, despite trying to be. Apr 22 10:51:55 hello, i have a question and i would like your help , Apr 22 10:52:18 i want to use the PRUs to implement MDB protocol Apr 22 10:52:47 while doing my search on the wab i found that it's practically impossible to do so Apr 22 10:53:09 so i want to ask if anyone had tried it ( 9bits uart0 ) Apr 22 10:53:28 send 9 bits using uart 0* Apr 22 12:56:04 question Apr 22 12:56:28 for binary addition why do you need to carry the column on the right most bit Apr 22 12:57:04 https://chortle.ccsu.edu/AssemblyTutorial/Chapter-08/ass08_4.html Apr 22 14:01:05 MattB0ne: ehm, have you never done addition of numbers in elementary school? Apr 22 14:02:01 addition works exactly the same in base 2 as it does in base 10 or any other number base Apr 22 14:02:34 (which shouldn't be a surprise since it's just a different way to represent numbers, you're still doing the same operations on them) Apr 22 14:08:42 too bad anime63 left, MDB doesn't seem particularly hard to implement Apr 22 14:12:27 How do I get my BBB back to its factory settings? It now will not let me see the original website after I tried updating the software. It jumps right to cloud9. Apr 22 14:17:03 Bret66: that sounds like a weird reason to want to downgrade to an old image. if they removed that default page and you feel its content was important, I suggest opening an issue here: https://github.com/beagleboard/Latest-Images/issues Apr 22 14:30:31 Bret66: the factory image on the bbb is afaik normally just the latest (or at least a recent) image at the time it was produced Apr 22 14:31:20 (hence usually I'd recommend just reflashing a BBB to the latest image after purchase regardless, since you never know how old the image is it comes with by default) Apr 22 14:32:48 actually when you said "updating the software", did you mean reflashing the beaglebone to the latest image, or did you mean updating packages using apt? Apr 22 14:33:09 m Apr 22 14:35:22 I tried reflashing, followed the instructions on the website, but it really is not clear which one to use, IoT vs L___ . I was wanting to turn this into a computer for my shop and have a keyboard, mouse, HDMI screen, etc. Apr 22 14:36:00 trying to use a bbb like a desktop PC sounds awful, it's really not designed for that Apr 22 14:36:43 i am wanting to use it with my Ham radio stuff as well as christmas lighting, etc. Apr 22 14:37:13 not really a desktop replacement but a computer none-the-less Apr 22 14:37:20 all in my shop Apr 22 14:37:26 the SoC was designed for industrial control applications and such, its graphics capabilities are very minimal, mostly just intended to be used for simple touchscreen interfaces (the display controller doesn't even support a hardware mouse cursor, it needs to be drawn by software) Apr 22 14:38:15 so what do I do to get it back to where it will show me the beaglebone start up page when I connect instead of Cloud9? Apr 22 14:39:09 I don't even know what was on that... wasn't it like mostly just links to cloud9 and some documentation? Apr 22 14:40:43 no, it comes up with a beaglebone start page, and connects to the BBB, it has some examples, that you can interact with your beaglebone...bonescripts... Apr 22 14:40:49 but also I already replied to that: "if they removed that default page and you feel its content was important, I suggest opening an issue here: https://github.com/beagleboard/Latest-Images/issues" Apr 22 14:42:56 Bret66: yeah that's what I said, mostly just documentation and such, stuff you also find on the website... https://beagleboard.org/Support/BoneScript Apr 22 14:43:25 oh, so thats why, i was on number 4 of the page, and wanting to get familiar with the board, so I was going to follow the outline, etc. and on the bonescript page, it will not connect to my BBB. Apr 22 14:43:49 so that has all been scrapped? Apr 22 14:43:51 oh sorry, use http://beagleboard.org/Support/BoneScript (not https:) Apr 22 14:44:00 I don't know, I'm just making guesses here Apr 22 14:44:42 it says not secure, and am using HTTP:// not HTTPS:// Apr 22 14:44:44 it does feel like there should be a default page there since the getting-started guide references it, so I do suggest opening an issue like I've already suggested twice now Apr 22 14:46:49 in general, that's the place for any issues that are new in the latest image Apr 22 14:47:50 most likely a lot of early testing was done by more advanced users, who probably never use cloud9 or bonescript. Apr 22 14:49:01 that doesn't make issues encountered by new users less important though, in fact it makes it all the more important to report the issue Apr 22 14:54:13 I have opened a ticket... thanks zmatt Apr 22 14:56:27 Bret66: seems odd that the bonescript page on the site can't interact with the bbb though, what IP address did you fill in? Apr 22 14:57:07 oh it looks like you don't have to, it autodetects? Apr 22 14:57:09 or should Apr 22 14:57:19 and I think http://beagleboard.org/Support/bone101/ is the original starting page? Apr 22 14:58:21 I think it makes sense to keep documentation on the site rather than in the image, to ensure people are reading the most recent documentation Apr 22 14:59:54 I have it connected to my laptop via the USB, so it is 192.168.7.2 Apr 22 15:00:50 It used to autodetect, but now it will not. Apr 22 15:03:09 Good afternoon, I'd like to know what will be, now a day, the best way to develop a web application to acquire and control and display analog data. Apr 22 15:03:32 Using Beaglebone Black Apr 22 15:04:47 Aldo95: that is such a vague and broad-scoped question there is no real answer. you can acquire analog data in pretty much any programming language on the bbb, and how to develop web applications isn't beaglebone-specific Apr 22 15:07:25 I try to tuned my question. My I acquire data using PHP or NODE.JS? Apr 22 15:07:42 May I.... Apr 22 15:08:20 (you mean "Can I...") Apr 22 15:08:55 Sorry for my bad English grammar Apr 22 15:09:15 there are two ways of acquiring analog data: the basic way is via sysfs, which can be used by any programming language which can open and read text files Apr 22 15:09:22 which is... basically any programming language Apr 22 15:11:09 A little bit more tuning... I need from a remote client to acquire data in realtime Apr 22 15:11:28 there's also a more advanced interface for reading analog data called "IIO", for which node.js bindings definitely exist Apr 22 15:12:55 but I don't think many people use IIO for analog data... I think it's mostly useful if you need high samplerates or automatically triggered sampling, but I don't know much about IIO myself Apr 22 15:12:57 Can you give me a link where to read about your suggest? Apr 22 15:13:05 Well, I guess I am stuck until I find any answers on github for me. Thanks zmatt Apr 22 15:13:53 Bret66: if you don't already have an answer by then, try asking here later this week Apr 22 15:14:01 Bret66: I'll see if I can give it a try myself later Apr 22 15:16:51 Aldo95: so, for the easy way (via sysfs)... if you look in /sys/bus/iio/devices/iio:device0 (you shouldn't hardcode that path, but most people seem to do so anyway) you'll find "in_voltage0_raw" up to "in_voltage7_raw" Apr 22 15:17:13 Aldo95: if you read any of these files you get a number in range 0-4095 corresponding to 0-1.8V Apr 22 15:18:07 you can just use the node.js function fs.readFile to read those Apr 22 15:20:48 Thank yo so much to everybody Apr 22 17:38:17 Hello, does the LabView library of Beaglebone Blue control its Bluetooth module? Apr 22 17:39:21 TimCruise: ask the labview people? Apr 22 17:39:58 The library is on BB blue page, not labview Apr 22 17:41:05 :] can you see me? Apr 22 17:42:03 TimCruise: where? if I google beaglebone labview the top results are from labviewmakerhub.com and the only beagleboard.org pages I get are just third-party project pages Apr 22 17:43:07 That page is for BB Black. I meant this page: https://github.com/ktalke12/Labview-MiP Apr 22 17:43:45 This library is not related to Labview LINX toolkit. Apr 22 17:43:49 that just looks like a random person's unmaintained personal project Apr 22 17:44:10 OH! D: Apr 22 17:44:14 it's not a name I recognize, definitely not someone from beagleboard.org Apr 22 17:46:57 anyway, I don't think anyone here can help you with labview stuff Apr 22 17:47:21 I see. -_- Apr 22 17:47:25 I know what labview is and I've used it a few decades ago, but that's about it Apr 22 17:49:20 Is there any BB Black Wireless industrial grade version for sale? Apr 22 17:50:11 or BB Blue industrial grade version? Apr 22 17:50:25 I don't think so... I guess industrial uesrs typically prefer the reliability of ethernet Apr 22 17:51:06 blue industrial sounds like an odd concept Apr 22 17:51:24 the blue is intrinsically more a hobbyist thing Apr 22 17:51:28 I think Apr 22 17:52:16 I heard Raspberry Pi always overheated XD Apr 22 17:52:37 I heard it is irrational Apr 22 17:52:50 industrial is mainly to get temperature rating below freezing I think? Apr 22 17:53:16 Hot environment is also crucial Apr 22 17:53:25 I don't think it has a higher upper temperature rating Apr 22 17:53:55 I think there are too many components that max out around 85 ͏°C Apr 22 17:54:30 but I'm not sure, it's not something I've ever had to dig into Apr 22 17:56:18 I think that's also the limit for ddr3 memory (unless you get special high-temperature memory, modify the bootloader to configure the ram and memory controller appropriately, and even then it's only raised to 95 ͏°C) Apr 22 17:57:15 yeah, ddr3 normal temperature is max 85, extended is max 95 Apr 22 20:17:02 wondering if anyone has any hints for using RProc with the AI board, the BBB tutorials are all great, but I see remoteproc0 - 7 in the sysfs system, and I cannot get PRUs running Apr 22 20:17:28 root@am57xx-evm:~/modules# echo 'stop' > /sys/class/remoteproc/remoteproc1/state Apr 22 20:17:29 /sys/class/remoteproc/remoteproc2/firmware Apr 22 20:17:45 "write error"? Apr 22 20:50:50 jimvrhodes: did you check which ones are for pruss? Apr 22 20:51:24 the am572x has a ton of auxiliary cores, most of which use remoteproc Apr 22 21:02:15 this one-liner would print an overview of them: https://pastebin.com/9aq3tnKs Apr 22 21:05:23 hmm, I should talk to rcn about making sure interesting sysfs devices all have udev rules that make symlinks for them Apr 22 21:06:01 to allow people to avoid hardcoding unstable sysfs paths without having to scan for devices Apr 22 21:07:25 if I'm not mistaken, you can run ddr3 hotter if you use shorter refresh intervals. Apr 22 21:08:24 thinkfat_: that's the extended temperature option I mentioned. it requires 1. that your ram supports it 2. that you configure it into extended temperature mode via its mode register 3. that you double the refresh rate Apr 22 21:08:37 and even then it just raises the max from 85 to 95 Apr 22 21:12:07 I remember reading an application note from freescale about dynamic switching depending on the temperature... Apr 22 21:12:59 yeah the mode register has an "auto" option, but I don't think there's any way to read the memory temperature so I'm not sure how you're expected to know the refresh rate to use (or what the point of the auto setting is if you're going to use double refresh rate anyway) Apr 22 21:13:25 oh right, that setting is for self-refresh Apr 22 21:14:31 so all it does is slightly reduce power consumption in sleep (while still allowing temperatures up to 95 degC) Apr 22 21:42:12 zmatt do you recall anyone using the BBB audio output? I haven't even used the video yet. So hence I was wondering suddenly. Apr 22 21:43:38 via hdmi you mean? Apr 22 21:44:12 it's probably pretty rare Apr 22 21:44:52 I tried b/c of an older book about some bot that listens to commands and plays back sounds. Apr 22 21:46:33 Speech input and speech output is what I was trying. Apr 22 21:52:27 Ok ... so rarely on a good day. Apr 22 21:53:57 I can see audio output being used just via HDMI (honestly) doesn't seem to be something commonly used, I can only see it as an option at best. Apr 22 22:03:07 yes we use audio in/out via mcasp, but not via hdmi Apr 22 22:09:39 I am trying right now again and it works this time! Apr 22 22:09:54 from an older book, circa '13. Apr 22 22:11:07 zmatt good to know my thinking wasn't off the wall at least. Apr 22 22:13:03 Do you know if aplay from also-utils can play mp3 files? Apr 22 22:13:13 sorry. alsa-utils. Apr 22 22:14:22 aplay: pcm_write:2053: write error: Interrupted system call <<< error from the BBB. The speaker makes noise but that is it. Apr 22 22:14:25 No music yet. Apr 22 22:22:49 aplay cannot play mp3 Apr 22 22:23:19 but getting anything from your speaker probably means it works Apr 22 22:34:28 Oh. Apr 22 22:34:40 It works. I got it. I had to convert it to 8-bit. Apr 22 22:34:48 I can hear it now. Apr 22 22:36:16 It can record too. 8-bit! Apr 22 22:36:40 Is there a way to use another bit outside of just 8-bit on the BBB for files? Apr 22 22:37:02 Or is that up to the alsa source? Apr 22 22:40:06 I just espeak for the first time w/ a, what seemed to be an Iranian voice, telling me hello from the BBB! Apr 22 22:41:33 I have no idea what you're on about, natively it uses 32-bit audio Apr 22 22:43:19 @zmatt your one post got me off the stop from where I have been stuck for a few days, thank you! Apr 22 22:43:41 AM5279 uses remoteproc4 through 7 for the PRUs Apr 22 22:45:51 32-bit, okay. Apr 22 22:46:06 I will mess w/ it some. It is on playback w/ 8-bit for some reason. Apr 22 23:08:43 jimvrhodes: on my bbx15 it's 0-3. there's absolutely nothing guaranteeing this numbering, the kernel just arbitrarily assigns them in whatever order it encounters the devices Apr 22 23:09:38 jimvrhodes: so it may depend on kernel version, kernel config, and the DT Apr 22 23:58:29 So, pocketsphinx has changed considerably since the last time I checked on it. Dang! Apr 22 23:59:55 Now, changing the file, continuous.c, in /pocketsphinx/src/programs/ is not doable for me. Is anyone else working on speech detection w/ their BBB and/or are you changing up the continuous.c file to make it once more? Apr 23 00:08:53 ... Apr 23 00:59:46 https://pastebin.com/AKD33PzZ is the file change in continuous.c from make and sudo make install w/ pocketsphinx. I will get the error source soon. Please bear w/ me. Apr 23 01:00:01 IF it matters. Apr 23 01:03:16 https://pastebin.com/n5HTxiX9 is the make command after changing up the continuous.c file in /pocketsphinx/src/programs/ if that can help anyone who is bored out of their minds. Apr 23 01:06:26 what you pasted looks like garbage, hence the compiler is telling you it looks like garbage Apr 23 01:07:26 why are you modifying this utility anyway? if you want to use this for speech-control, just spawn this program (unmodified) from your own script/service and process its output Apr 23 01:08:03 To make espeak work on command. Apr 23 01:08:11 Oh. Apr 23 01:09:00 I am following some articles on this book, "beaglebone robotic projects," and this fellow explains how to use pocketsphinx for speech recognition to control bots. Apr 23 01:09:35 It is an older book but I got far this time compared to seven years ago. Apr 23 01:20:26 set_: how big is the change? Apr 23 01:20:46 A couple lines, maybe 10 lines. I backed up the file already. Apr 23 01:20:49 espeak? hmmm? Apr 23 01:20:56 Yes. espeak. Apr 23 01:21:05 that's the opposite of pocketsphinx Apr 23 01:22:01 Supposedly, on this text, the author told it like this... Apr 23 01:22:41 ds2: it looks like he tried to modify a pocketsphinx example (that continuously transcribes speech) to embed command recognition and execute commands with system(), instead of just processing the output of the program Apr 23 01:23:13 Get espeak w/ apt install, go to http://www.speech.cs.cmu.edu/tools/lmtool-new.html after making your .txt file of commands, and then change continuous.c and make again. Apr 23 01:23:13 zmatt: espeak is TTS right? Apr 23 01:23:25 ds2: yeah, that's one of the commands he invokes using system() Apr 23 01:23:31 is that a different espeak Apr 23 01:23:44 right but pocketsphinx is Speech -> Text Apr 23 01:23:50 espeak is unimportant here, other than being just a command being invoked Apr 23 01:24:07 Right. So, I am going to command my bot and then get replies back. Apr 23 01:24:19 ah Apr 23 01:24:27 Commands will be in the form of speech recog. Apr 23 01:24:40 got it. I had that going a few years ago... accuracy had a bit to be desired Apr 23 01:24:52 At least, this is what the book lead me to believe I could do. Apr 23 01:25:02 Right. I am noticing now. Apr 23 01:25:11 Hello?! Apr 23 01:25:13 like I said, he should probably just use the output of that pocketsphinx program, not try to modify it Apr 23 01:25:25 To start? Apr 23 01:25:33 B/c...I already did it. IT works. Apr 23 01:25:33 to start and to finish Apr 23 01:25:36 OH. Apr 23 01:25:44 it is a different area that looked at before... I was getting to take input from a non ALSA source Apr 23 01:25:49 I plan to buy BB Black Wireless. Which OS should I choose? So many options there Apr 23 01:25:49 I see no reason for modifying the program Apr 23 01:25:55 Oh. I am using AlSA. Apr 23 01:26:02 the ADC outputing to a char device Apr 23 01:26:19 Yea. Apr 23 01:26:26 :] Apr 23 01:26:29 that mod seems a bit inappropriate Apr 23 01:26:29 GoodMan: there's really only one recommended image, the latest debian IoT image: https://beagleboard.org/latest-images Apr 23 01:26:48 just send the output of that to a pipe and go from there Apr 23 01:26:53 Let me download first Apr 23 01:26:57 Yea but seven years back, it may have made sense. Apr 23 01:27:05 set_: why did you choose espeak? Apr 23 01:27:08 (for TTS) Apr 23 01:27:18 It was in the book I have been working on for seven years. Apr 23 01:27:21 Ha. Apr 23 01:27:28 I never got it to work. Apr 23 01:27:38 oh... picoTTS is much easier to compile and mess with Apr 23 01:28:36 I compiled the original pocketsphinx and sphinxbase w/ ease. Apr 23 01:28:48 I am just too new still to handle their new source. Apr 23 01:29:28 GoodMan: do not send private messages. Apr 23 01:30:04 I don't know it is private Apr 23 01:31:29 GoodMan: gui images never worked great on the bbb, and it seems no gui versions exist at all of the latest images Apr 23 01:32:05 you could still install a desktop environment if you really wanted to of course, but don't expect it to work well... the bbb isn't well suited for running a desktop OS Apr 23 01:33:29 it's processor is designed for industrial control applications, hence its graphics capabilities are quite minimal (just intended for touchscreen interfaces) Apr 23 01:34:23 it does have 3D capabilities Apr 23 01:34:28 Yes, I want a screen for demonstration. Apr 23 01:34:49 ds2: yeah they included a (very basic) gpu because android requires one Apr 23 01:35:21 but it's not supported when using x11 hence i would go unused if you'd install a desktop environment Apr 23 01:35:27 *it would go unused Apr 23 01:36:15 GoodMan: for single-window fullscreen applications there are plenty of options that don't require a desktop environment, for example single-window qt5 applications can run directly on the framebuffer Apr 23 01:36:16 oh :O Apr 23 01:36:33 zmatt: to be fair, that isn't a silicon issue...just a licensing disaster Apr 23 01:36:40 I see Apr 23 01:36:48 ds2: doesn't change the situation for the user though Apr 23 01:36:57 *nod* Apr 23 01:37:14 actually, the current state of SGX and X11 is almost ideal for VNC Apr 23 01:37:23 ? Apr 23 01:37:29 qt5 is free, maintained by Nokia? Apr 23 01:38:04 SGX works with the FB and it renders to memory just fine... that's exactly what VNC needs Apr 23 01:38:16 GoodMan: nokia hasn't owned it since 2011 Apr 23 01:38:31 I got it down to an undeclared identifier and a break statement. Apr 23 01:38:37 what is Nokia... Apr 23 01:38:52 microsoft vomit? Apr 23 01:38:57 mobile phone company Apr 23 01:39:26 that ceased a long time ago Apr 23 01:39:29 who acquired Qt in 2008 and sold it again in 2011 Apr 23 01:39:35 that means I should install the text OS, and than run qt5 application for demonstration? Apr 23 01:39:40 I remember the politician that invented, financed, Sprint. I watched him speak one time w/ his goon sidekick. Apr 23 01:40:17 with a LCD panel? Apr 23 01:40:19 GoodMan: I'm just giving options, you can do whatever you want Apr 23 01:40:52 you can use any hdmi display, or any LCD cape that's compatible with the beaglebone black Apr 23 01:41:04 I just need to declare the word "word" in .c and then move on. Someone send rations. Apr 23 01:41:10 Ha. Apr 23 01:41:42 nice Apr 23 01:42:06 How do I maintain a fixed user name here? Apr 23 01:42:32 ds2: and I'm not sure you can convince sgx to render purely into memory targets? iirc its platform glue explicitly looks for the tilcdc device Apr 23 01:43:15 GoodMan: the web chat doesn't remember any settings for you, but you can instead use any proper IRC client (numerous of these exist for all platforms) Apr 23 01:43:16 the BBB's graphics hw is primative compared the BBC/BBX15/BBX but it is pretty advanced compared to say the atmel stuff Apr 23 01:43:48 zmatt: It is possible to request that and it works but I donno if it is implemented as an extra copy Apr 23 01:44:06 ds2: it's primitive for a linux system running X11 Apr 23 01:44:07 I messed with it playing with GPGPU Apr 23 01:44:38 zmatt: I am not using the EGL for X11, I am using the framebuffer EGL Apr 23 01:46:20 there is no EGL for X11, unless you mean tomba's highly experimental dri3wsegl (that hasn't been worked on since 2018) Apr 23 01:46:42 *nod* Apr 23 01:47:04 but "framebuffer" still implies dependency on the display controller Apr 23 01:47:57 even though sgx ultimately doesn't care what is being done with the rendered frame obviously, it just renders into a dmabuf provided by userspace Apr 23 01:48:25 Hi Zmatt and guys Apr 23 01:49:35 I got it Apr 23 01:49:37 ! Apr 23 01:50:37 the only issue is this... Apr 23 01:51:11 my declared variable char *word <<< the error statement shows can be used uninitialized. Apr 23 01:51:21 If that makes sense. Apr 23 01:53:11 I guess I will have to read how to initialize char *word. Apr 23 01:53:42 jimvr: do not send unsolicited private messages to people. just ask your questions in chat Apr 23 01:53:44 found the thing - Frame Buffer Objects Apr 23 01:54:07 it may want the tilcdc to init but most implementations support FBOs Apr 23 01:54:25 This interface is better Apr 23 01:56:19 #zmatt Sorry! Apr 23 01:57:18 So the GPU of BB Black is not in use when I run single window full screen graphics? Apr 23 01:57:51 nope Apr 23 01:59:21 @zmatt Sorry! Apr 23 01:59:51 parent: /sys/devices/platform/44000000.ocp/4b226004.pruss-soc-bus/4b200000.pruss/4b234000.pru Apr 23 01:59:52 firmware: PRU_Halt.out Apr 23 01:59:52 state: offline Apr 23 02:00:06 echo 'start' > /sys/class/remoteproc/remoteproc4/state Apr 23 02:00:13 write error? Apr 23 02:00:57 pretty sure write error should also indicate what the error was? Apr 23 02:01:22 and check kernel log for errors, you can see e.g. the last 10 lines with: journalctl -k -n10 Apr 23 02:02:30 invalid argiment is all that I get Apr 23 02:03:07 okay well that's still more specific than "write error" Apr 23 02:03:13 check kernel log? Apr 23 02:03:14 You are a genius, Boot failed, Unsupported Class Apr 23 02:03:21 It's always software Apr 23 02:03:34 unsupported class? Apr 23 02:04:39 Apr 23 01:55:14 beaglebone kernel: remoteproc remoteproc4: powering up 4b234000.pru Apr 23 02:04:41 oh that means it's not even an ELF file Apr 23 02:04:47 let alone a valid PRU executable Apr 23 02:05:31 CCS10 in Windows, as a PRU program. I'll go back and check my build settings, thanks for the help, you have gotten me off a stop that I have had for days Apr 23 02:05:37 First PRU experience Apr 23 02:05:58 what does file /lib/firmware/PRU_Halt.out say? Apr 23 02:11:28 embarrased to say, not a program Apr 23 02:11:34 again, thanks Apr 23 02:11:37 lol Apr 23 02:12:08 appreciate you being here, thanks, I think I can get going now, if not, as Arnold says, "I'll be back..." Apr 23 02:12:11 well glad to have been able to help, even though I don't use remoteproc-pru myself (I use uio-pruss instead) Apr 23 02:12:23 Ah glad to see zmatt here :) Apr 23 02:12:28 I'll review that, thanks Apr 23 02:12:30 You've helped me before...in quite the pickle atm XD Apr 23 02:14:16 Tried flashing the 10.3 eMMC Flasher image to one of the element 14 beaglebone blacks today. Got it to go once, but I unhooked it apparently early? i thought it was done with all 4 LEDs were flashing. So I let it go again, this time until it powered off. Now it won't boot into Linux without an SD card in. Funny part is it boots into 8.11 with Apr 23 02:14:17 the 10.3 flasher image on the SD card? Apr 23 02:14:40 biggi_: all four leds flashing is a failure Apr 23 02:15:08 It didn't do it the 2nd time though? It turned off (although it might have before it turned off?) Apr 23 02:15:09 ehh Apr 23 02:15:40 Is there something inherantly different on the E14 versions? Apr 23 02:16:41 And why will it only boot with the uSD card in now? It's just wonky to me. Apr 23 02:16:44 "Funny part is it boots into 8.11 with the 10.3 flasher image on the SD card?" ... that kinda sounds like you've managed to get it to reverse-flash Apr 23 02:16:49 but not sure Apr 23 02:17:08 Heh you're right. I dont' even know how that could have happened? Apr 23 02:17:10 normally step 1 of reflashing is erasing eMMC, which maens there'd be no possible way for it to still boot into an old 8.11 system Apr 23 02:18:18 I suggest just writing the eMMC flasher image onto SD card again, and make sure to hold down the S2 button (the button closest to the SD card slot) while powering on (you can let go once the power led turns on) Apr 23 02:18:36 So just to recap steps I did: I downloaded the 10.3 image off the BB website, flashed it with Win32DiskImager, then uncommented the #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh line in uEnv and then let 'er rip Apr 23 02:18:47 ehm, no Apr 23 02:18:59 if you download the flasher image you don't have to modify anything Apr 23 02:19:20 It would never flash if I held S2 before I made that change Apr 23 02:19:40 then you probably didn't get the flasher image Apr 23 02:19:46 This is where I read to do that https://stackoverflow.com/questions/31725206/unable-to-flash-emmc-from-sd-card-beaglebone-black Apr 23 02:20:05 I mean, you can still change a normal image into a flasher image by doing so Apr 23 02:20:12 bone-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz is the file I have Apr 23 02:20:28 that should definitely reflash your system Apr 23 02:20:39 let me download and inspect the image Apr 23 02:20:47 Does it matter that I may have flashed it with Win32 with the .xz extension? Apr 23 02:20:55 yes that won't work Apr 23 02:21:01 it won't result in a bootable system Apr 23 02:21:02 That's my issue Apr 23 02:21:15 use https://etcher.io/ Apr 23 02:21:16 However, still confused as to how I reverse flashed? Apr 23 02:21:27 you probably uncommented the line in /boot/uEnv.txt on the eMMC instead Apr 23 02:21:39 and booted from eMMC, not SD card Apr 23 02:22:00 so use the .xz extension in etcher? Apr 23 02:22:01 hence it proceeded to reflash the sd card Apr 23 02:22:14 etcher will do on-the-fly decompression of xz files yeah Apr 23 02:22:23 ok i'll give it a try Apr 23 02:22:25 sec Apr 23 02:22:27 i can try now Apr 23 02:22:39 the reason it won't boot without sd card now is because your eMMC is a flasher Apr 23 02:22:56 due to uncommenting that line Apr 23 02:23:18 so is there anything else I need to do at this point beofre I try to reflash? Apr 23 02:23:53 no, just write the flasher image to sd card with etcher and stick it into the bbb... you probably won't need the S2 button but it also won't hurt Apr 23 02:24:14 kk it's etching now Apr 23 02:24:23 love having my work lab at home and working at 10:30 at night... Apr 23 02:24:51 at least I have a good backup of my current beaglebone then Apr 23 02:24:59 etcher also verifies what was written to sd card after writing it, which is a good idea since sd cards aren't always as reliable as people hope Apr 23 02:26:20 (I actually once ran into a microsd card where some sectors read different data each time you read them :D ) Apr 23 02:26:25 85% done flashing, I hope this fixes it Apr 23 02:26:37 Nice...I've had some wonko stuff. Apr 23 02:27:00 My favorite thing is that micro sd cards will actually write protect themselves if they start getting bad sectors. you can read data off them, you just can't write anything at all Apr 23 02:27:53 oh that sounds like you must have had pretty nice sd cards if they're polite enough to give write errors instead of just causing silent corruption Apr 23 02:28:10 i typically stay with sandisk/samsung Apr 23 02:29:35 the failure modes I've seen with managed nand (sd and eMMC) are either some pages having a few dozen bitflips, or the embedded controller crashing on attempted write Apr 23 02:29:59 Yea; they can get wonky. Just finished validating, going to toss it in now. Apr 23 02:32:13 seems to be flashing Apr 23 02:32:35 i truly appreciate the help, i'll keep you updated here in a bit, goign to play a game of apex with some buddies (through social distancing!) Apr 23 02:33:52 how do I store a byte in hex form Apr 23 02:33:57 in c++ Apr 23 02:34:09 mastermind_: that question makes no sense Apr 23 02:34:31 I want to read a buffer stream of bytes in binaary Apr 23 02:34:41 and store them as binary so 0xE1 Apr 23 02:34:54 i have in a variable as 0xE1 that I can parse Apr 23 02:35:00 and decode Apr 23 02:35:24 or follow on if I save to an int does c convert it to in Apr 23 02:35:27 int* Apr 23 02:35:56 I really don't know what you mean. hexadecimal is just a way to textually represent numbers for humans Apr 23 02:36:12 just like decimal is Apr 23 02:36:21 e.g. 0xE1 is the same thing as 225 Apr 23 02:36:52 if you read binary in as a byte, it's stored in a byte. Apr 23 02:36:55 I am over here yelling into my mic to make my bbb turn on GPIO20 in a .c file. Is it working? No. Is it worth it, yes. Apr 23 02:36:59 then you can display it however you want Apr 23 02:37:19 do you mean you have a string containing a number in hexadecimal format, and you want to parse that string into a number? Apr 23 02:37:34 it's just really not clear what you're asking Apr 23 02:44:45 zmatt that worked beautifully. now i can actually isntall python 3.6 XD Apr 23 02:44:58 biggi_: ehh, that should be installed by default Apr 23 02:45:28 not on 8.11 Apr 23 02:45:51 you shouldn't be using 8.11 Apr 23 02:46:00 :P Apr 23 02:46:25 debian jessie is obsolete and unmaintained Apr 23 02:46:39 it's what was on there. that's why i was trying to flash! Apr 23 02:46:53 so how's that going? Apr 23 02:47:08 it finished Apr 23 02:47:18 i said it worked beautifully! Apr 23 02:47:44 so... why would you still need to install python3 ? Apr 23 02:48:09 haha i don't. i'm playing apex with a buddy, just checked it and it was done :D Apr 23 02:48:17 actually it ships with python3.7 Apr 23 02:48:27 that's fine, opencv jsut requires 3.6 Apr 23 02:48:45 opencv on a beaglebone? oof Apr 23 02:49:08 tell me about it. i've got a flask app ready that streams the usb camera to a web app Apr 23 02:49:11 going to see how bad it lags Apr 23 02:49:34 usb performance tends to be quite bad on the bbb (mostly because the driver sucks) Apr 23 02:50:04 (but also because the hardware is mostly meant as device/otg controller and quite limited in its host role) Apr 23 02:51:09 ye i'll let you know how it goes Apr 23 02:52:52 well I am getting stuff back in my read in binary so something like '\xe3\x54' Apr 23 02:52:55 works fine on my desktop haha Apr 23 02:53:06 I need to parse that Apr 23 02:55:33 in C or python? Apr 23 02:55:38 C Apr 23 02:55:50 their example shows how iirc Apr 23 02:55:57 and it has nothing to do with hex Apr 23 02:56:29 what you want to know is how to read a 16-bit unsigned integer from a buffer Apr 23 02:57:09 zmatt after i get this going, next is the differential encoder thing you helped me with Apr 23 02:57:15 well does C do it for me Apr 23 02:57:17 (this project got side tracked and now we're going back to it) Apr 23 02:57:24 they store it in a unsigned char response[2]; Apr 23 02:57:32 a little-endian 16-bit signed or unsigned integer actually (varies per variable) Apr 23 02:58:36 biggi_: but there are lots of ways actually Apr 23 02:59:20 oh rude, their code looks like an accident waiting to happen **** ENDING LOGGING AT Thu Apr 23 02:59:58 2020