**** BEGIN LOGGING AT Wed Mar 07 03:00:01 2018 Mar 07 11:02:34 PRU has a memory flash of 8KB, If I need to write a program with more instructions, how can increase the flash memory. Can I use ram? Mar 07 11:02:45 it doesn't have flash Mar 07 11:03:22 where is located my written program? Mar 07 11:03:58 I mean, where is located my written program when it is running? Mar 07 11:04:17 PRU uses an instruction RAM, a very fast SRAM tightly coupled to the core to be able to supply instructions with the ultra low latency that the PRU core requires Mar 07 11:05:03 there's no way to expand a program beyond the 8 KB limit (per core) Mar 07 11:05:45 What is the difference between instruction RAM and Data RAM? Mar 07 11:05:53 also shared RAM? Mar 07 11:06:27 instruction RAM holds instructions, data RAM holds data :P Mar 07 11:07:08 the two data RAMs and the shared RAM are really just three SRAM modules connected to the PRUSS interconnect (along with local peripherals) Mar 07 11:08:30 So, my written program will be placed in two memory spaces. instruction RAM (for instruction ovbiously) and Data RAM (for the variables and numbers that i need to use). is it right? Mar 07 11:09:03 the two instruction RAMs (one per core) are special because of their tight coupling to the core. They can't be used for general-purpose data storage since they are not accessible for read/write access (other than instruction fetch) whenever the core is enabled Mar 07 11:10:41 :O, so they are just used to execute instruction given in my written program Mar 07 11:11:10 yep Mar 07 11:11:15 perfect Mar 07 11:11:32 this tight coupling is because instruction fetch needs to happen within a fraction of a clock cycle Mar 07 11:12:01 like cache Mar 07 11:12:04 (since the PRU core is not pipelined, so each instruction needs to be fetched, decoded, and executed all within the same single clock cycle) Mar 07 11:12:35 :O, it is likely to ARM cortex in ST with cahce instruction Mar 07 11:12:37 cache for most cores has an access time of one cycle or more Mar 07 11:13:04 STmicroelectronics in this way reach one cycle per intruction Mar 07 11:13:10 no they don't Mar 07 11:13:13 cortex-M is pipelined Mar 07 11:13:59 ok Mar 07 11:14:10 indirect branch is not single-cycle in cortex-M Mar 07 11:14:37 zmatt: did you ever use beaglebone green wireless bluetooth audio to play music on a headset? Mar 07 11:15:06 because it fetches the instruction ahead of time, so if the program flow suddenly changes it needs to discard the prefetched instruction and wait for the correct one to be fetched Mar 07 11:15:26 microdevel: I have no green or green-wireless, and no experience with bluetooth Mar 07 11:16:25 thanks zmatt, does anyone else have experience in playing sound on a bluetooth headset with beaglebone green wireless? Mar 07 11:16:39 thank you very much for your clear exlanation zmatt Mar 07 11:17:03 in order to debug pru i need to solder the jtag pin header in the bottom part of the bbb, right? Mar 07 11:17:12 jtag is irrelevant for pru Mar 07 11:17:16 or, well Mar 07 11:17:26 maybe if you want to use ccs it needs it, not suer Mar 07 11:17:42 but I'm pretty sure there are pru debuggers you can just run on the beaglebone Mar 07 11:19:24 https://sourceforge.net/projects/prudebug/ this one for example Mar 07 11:22:33 thank you Mar 07 14:05:37 how do you load the uio_pruss module on a BBPocket? modprobe uio_pruss returns a not found error Mar 07 15:03:48 kedidie_: that will depend on the image that you installed, not the particular flavor of BBB Mar 07 15:04:50 Or could it be that the module is present, but returns a ENOTFOUND from its load/init/probe/whatever functioN? Mar 07 15:06:02 see https://github.com/e-ale/Code/blob/master/RESOURCES/pocketbeagle/README.md for 2018-03-05 image. Mar 07 15:28:55 thanks jkridner Mar 07 15:32:25 on my bbgw, pulseaudio wont detect my bluetooth headset, even though pairing, connection, everything is fine. any ideas? Mar 07 15:36:17 microdevel1: Try runing pulseaudio with a bunch of -v's? Mar 07 15:37:13 blathijs: i already did, it seems to load fine but says: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist Mar 07 15:37:27 is this serious or can it be ignored? Mar 07 15:38:20 i'm using the latest seed image Debian 8.10 2018-02-01 4GB SD SeeedStudio IoT Mar 07 15:39:27 is it correct to do bluetoothctl->connect device-> start pulseaudio (pulseaudio -D)? Mar 07 15:43:01 I don't know, really... Mar 07 16:11:36 jkridner[m] Yes that was exactly it, thanks Mar 07 16:27:59 test Mar 07 16:46:32 Nacho__: Alls systems operational Mar 07 17:07:45 blathijs: so it seems, indeed! Mar 07 17:14:27 kedidie_: that depends on the kernel Mar 07 17:14:58 kedidie_: and it's a bit of an issue on the blue right now since there doesn't seem to be a kernel version that has both uio-pruss support and a decent dts file for the blue, but that's being worked on Mar 07 17:15:35 uio-pruss should work if you install a -bone kernel Mar 07 20:54:55 Hi. I want to switch from pasm to C code for writing PRU code. I don't want to use CCS. I want to compile on the beaglebone directly. What have I to install? I only can find tutorials about CCS. Mar 07 23:01:55 NTQ: PRU CGT Mar 07 23:02:26 http://www.ti.com/tool/download/PRU-CGT-2-2 Mar 07 23:03:15 specifically the armhf version (which TI for some reason calls "ARM-A8") Mar 08 01:03:21 Hello... Mar 08 01:04:07 BBB! Mar 08 01:24:11 Has anyone used the "Tarts" BBB cape for IoT stuff? Mar 08 01:25:31 I looked at that last time you mentioned it. It looks like a great way to pay like $60 for what appears to be a $2 silabs radio chip. Mar 08 01:25:46 Oh. Mar 08 01:25:49 Damn. Mar 08 01:25:57 Two Dollars. Good lord. Mar 08 01:26:00 But on the other hand, it looks like it comes with a bunch of example code, so that's probably worth it. Mar 08 01:26:04 silabs, heh? Mar 08 01:26:25 Silabs is a guess, they're at the root of almost all those sensor-node devices. Them or Nordic. Mar 08 01:26:33 Oh. I think this is why they charge, esp. for the other IoT things they mfg. Mar 08 01:26:42 Okay. Mar 08 01:26:47 I couldn't get a BoM for the board, it's not OSHW, so I really can't say. Mar 08 01:26:57 Okay. Mar 08 01:27:18 myself: Hello. My name is bien_salad. Mar 08 01:27:27 What are you working on right now? Mar 08 01:27:51 Clearing my desk to set up a new monitor. :) Mar 08 01:28:10 Ha! Monitors are good but I mean w/ the BBB or related stuff. Mar 08 01:29:09 ... Mar 08 01:29:18 You do not have to answer if you do not want to. I understand. Mar 08 01:29:19 ... Mar 08 01:29:39 I will explain...I am working on setting up new Python software for this Motor Bridge Cape on the BBG. Mar 08 01:29:53 I got this sucker working last night w/ the change of some software produced by other people. Mar 08 01:30:07 ... Mar 08 01:30:11 The motors will turn! Mar 08 01:30:50 But to relate, I am waiting for a soda to cool in the fridge. Mar 08 01:31:36 ... Mar 08 01:32:08 Seeed-Studio produced this really nice motor controller w/ some nice extras. They put everything before my eyes and I went loopy. Mar 08 01:32:15 ... Mar 08 01:32:37 I got it. I fell in love and I made something move. This started my fondness of making things w/ the BBB and variants. Mar 08 01:34:58 ... Mar 08 01:35:17 I have been trying to make it work w/ updated kernels, updated boards, and updated images. Mar 08 01:35:41 Everyone keeps updating things and breaking backward compatibility. So, I keep working on it. Mar 08 01:48:33 bien_salad: maybe get some support in some kind of "upstream"? Mar 08 01:48:45 What do you mean? Mar 08 01:48:49 upstream? Mar 08 01:48:50 bien_salad: I don't think I even have this controller board.... Mar 08 01:49:01 It is okay. I have everything working now. Mar 08 01:49:10 ... Mar 08 01:49:14 That is why I am so happy now. Mar 08 01:49:25 bien_salad: I mean, make sure Robert Nelson (rcn-ee) has one and something to test it with such that when he makes new releases, he thinks about it. Mar 08 01:49:34 happy is good. Mar 08 01:49:35 Okay. Mar 08 01:49:39 Good idea! Mar 08 01:49:51 having others share in your happiness.... even better. Mar 08 01:49:57 Should I contact him on GitHub or by another way? Mar 08 01:49:59 yea boy! Mar 08 01:50:21 cape support goes primarily through https://github.com/beagleboard/bb.org-overlays Mar 08 01:50:37 oh. Now I know. That is a great update to me. Mar 08 01:50:45 I will go to that site now. Mar 08 01:51:05 overall image support goes through https://github.com/beagleboard/image-builder Mar 08 01:52:19 Okay. Mar 08 01:52:45 So...jkridner|p: How should I make this process smooth and available? Mar 08 01:53:16 For instance: Should I just say, "I have issues and I fix them." Mar 08 01:53:35 if we get examples into https://github.com/beagleboard/bone101, I think some people see that via the Cloud9 IDE examples folder... Mar 08 01:53:50 Okay. Mar 08 01:54:02 not sure really where people see the most examples.... since, they don't always update to the latest on https://beagleboard.org/latest-images Mar 08 01:54:12 I know other, maybe few, people use this Cape. I have dealt w/ them in the past. Mar 08 01:55:28 yeah... I think I've got vague idea of hearing about it, but .... don't have one. Mar 08 01:55:49 I've got a call with the Seeed folks in an hour, actually. I might bring it up. Mar 08 01:56:06 Yea. That sounds nice. Mar 08 01:56:11 where did you find info about using it and how did you succeed? Mar 08 01:56:35 calculus: I'm in Pasadena! Mar 08 01:56:35 Oh...Seeed-Studio produced it and I found their Wiki and some Hub on their site. Mar 08 01:56:42 calculus: you coming to SCaLE tomorrow? Mar 08 01:57:08 I think they allow git contributions to their wiki, but I'm not sure. Mar 08 01:57:30 Not yet. That CLI thing keeps failing my contribution. Mar 08 01:57:34 hard enough for me to try to keep track of https://github.com/beagleboard slash *blah* Mar 08 01:57:42 I got it. Mar 08 01:57:45 I understand. Mar 08 01:58:23 Hey...I will make notice to issues on bb-overlays and perform a pull-request on the bone101 on GitHub. Mar 08 01:59:03 jkridner|p: I was trying to get involved w/ updates on your site. I can type the .txt files if necessary. Mar 08 01:59:19 Well...the txt part to those files. Mar 08 01:59:28 bien_salad: site? you mean beagleboard.org? Mar 08 01:59:35 Yes sir. Mar 08 01:59:49 well, it is in a git repo too, but not very hackable there. Mar 08 01:59:56 * jkridner|p plans to fix that. :-/ Mar 08 01:59:58 I know. Mar 08 02:00:14 Take your time. From what I can tell, you have traveling on your mind. Mar 08 02:00:20 I'd always meant for the site to be more wiki-able. Mar 08 02:00:27 indeed. Mar 08 02:00:41 I'm taking any distraction from finishing up these slides and labs for tomorro.w Mar 08 02:00:48 I have caught some older ideas about the site that are not reliable as they used to be. Mar 08 02:00:50 Okay. Mar 08 02:00:52 Later. Mar 08 02:01:03 bien_salad: thanks for engaging! Mar 08 02:01:15 I can let you go. Thank you again for input. Mar 08 02:01:18 You are welcome. **** ENDING LOGGING AT Thu Mar 08 03:00:02 2018