nparafe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nparafe has joined #beagle
set_ has quit [Remote host closed the connection]
set_ has joined #beagle
argonautx has quit [Quit: Leaving]
rcn-ee has joined #beagle
rcn-ee_ has quit [Ping timeout: 256 seconds]
vagrantc has joined #beagle
starblue has quit [Ping timeout: 256 seconds]
starblue has joined #beagle
shoragan[m] has quit [Ping timeout: 240 seconds]
shoragan[m] has joined #beagle
Shadyman has joined #beagle
ikarso has joined #beagle
vagrantc has quit [Quit: leaving]
vd has quit [Ping timeout: 256 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
jfsimon1981 has quit [Quit: Leaving]
jfsimon1981 has joined #beagle
<jfsimon1981> Hi
ikarso has joined #beagle
<jfsimon1981> is the beagle board working well in long time being turned on 100% duty ?
<set_> Is it possible to use the uc2637n (controller) and lm1949m (driver(s)) w/ the PowerCape? I mean...
<jfsimon1981> I remind having had troubles with a server running ssd type drive, where the drive did'nt like constant logs. although the beagle has a flash internal, i have no experience on long temr usage of them.
<set_> Could I benefit from what the PowerCape offers in dedicated power supplies to handle these controllers and drivers?
* set_ waits internally!
<jfsimon1981> i mean the read write errors on storage
<set_> The drivers accept up to 8v but my 12v supply into the controller creates a 10v supply to the drivers. How would I go about creation of less voltage w/out a step down converter?
<set_> This is a "no-issue" for a bit anyway, i.e. as the darlington transistor is not stocked!
<zmatt> jfsimon1981: all flash storage of any kind will deteriorate with writes
ikarso has quit [Quit: Connection closed for inactivity]
kveremitz has quit [Read error: Connection reset by peer]
kveremitz has joined #beagle
<set_> Is it possible to make a .h file w/ all or some of the #define directives for specific use on the am335x?
<set_> I know it would be an endless file but just some items would be needed.
<set_> Oh and for that darlington transistor, I ordered a couple that handle many in one package. So, if necessary, I can double up on trans. in the form of one chip. Lucky me. They had them by the plenty.
<set_> 1976 darlington trans. package updated in 2019. Ooh yea!
<jfsimon1981> hi set, what do you mean more precisely regarding the header file ?
<set_> Well, I have a header file for a type of M4 w/ all the registers that can be offered in the form of "#define" directives. I will share a line to show you.
<set_> #define GPIO_PORTF_AHB_DATA_R (*((volatile unsigned long *)0x4005D3FC))
<set_> So, I can use this file to call specific #define directives from the M4 registers for use.
<zmatt> that has nothing to do with the M4 and everything to do with the rest of the chip
<set_> Oh.
<set_> That is just one line. It has nothing to do w/ programming, okay. But, the file is made for a reason right?
<zmatt> that's not what I said
<set_> I know that is not what you said.
<set_> I was paraphrasing.
<zmatt> badly, as usual
<set_> Ha!
<zmatt> it declares one register of one peripheral on whatever microcontroller you're looking at
<zmatt> (in a way that's a bit ugly)
<set_> Right. But why would they declare every memory mapped directive that the chip consisted of in 2013?
<zmatt> ??
<set_> 2013 or whatever year. It is a good M4 that has been around for years.
<set_> The file obviously maps the hex to the region.
<zmatt> what do you mean "why would they declare" them? to have a convenient way to read and write them obviously?
<set_> Oh. But...could that not be done in the .c file?
<set_> Oh. Okay. I got it.
<zmatt> everything you can do in a .h file you can do in a .c file, a .h file is a fragment of C code meant to be reusable across different C files
<set_> Right. Okay. Exactly but the file is well over 5000 lines. Okay. Understood.
<zmatt> and you really don't want those 5000 lines in your actual .c file
<set_> Aw.
<zmatt> this header file is almost certainly machine-generated
<set_> Oh. Maybe.
<set_> This is what I did not understand.
<set_> B/c...in reality, there must be another way outside of typing that many lines one by one.
<set_> Plus learning the hex definition along w/ the memory mapped portions, it cannot be easy.
<set_> Machine-generated!
<set_> Okay, we are getting somewhere. At some point, someone had to enter them in right?
<set_> Or is it just randomly entered by machines and then at some point another person runs over and says, "This is called PORTA_TYPE_DEFI"?
<set_> Anyway...I will research this idea. I see Hackaday has some interesting ideas.
<set_> @zmatt: Do you have a machine generated .h file for the am335x?
<set_> No issue if so or not, I just thought it would be neat to have this so-called .h file for promoting software builds.
<jfsimon1981> set, what are you trying to do with the header question, which isn't yet available in the dev library ?
<set_> Oh. Um, random programming in C/C++ to build on my knowledge.
<set_> I like learning what I can when possible and it is Winter, sort of. It will get cold later today or in a bit.
<zmatt> there's no such single header file for the am335x, just bits for different peripherals/subsystems. there's generally no circumstance where you'd have a need or desire to include a header file representing the _entire_ am335x
<set_> Right. I understand. It is a very large chip.
<set_> It has many facets to it. I am not discounting this fact.
<zmatt> and also, there's usually an MMU that remaps addresses, so it's not even possible to make macros like these because the actual address may not be known at compile-time
<set_> Hmm. Okay. No issue. Winter time makes for no grass growing circumstances. So, I will have time!
<set_> Dang it. So, mapping addresses is out for me. Okay.
<set_> Well, 85 to 33 in two hours. There must be a storm brewing. Winter! No grass!
<set_> @zmatt: I am not sure exactly how I can program yet. This is the concern so far. If I was to use a specified set of .h file w/ preprocessor directives and the exact hex value for each, would mapping be easier for me?
<jfsimon1981> set
<set_> yes?
<jfsimon1981> you can for example look into headers. If logged into a beagle:
<jfsimon1981> less /var/lib/cloud9/common/prugpio.h
<set_> Aw!
<set_> I figured this much.
<zmatt> it should be noted that this is only relevant for pru, and even then accessing peripherals from pru requires exercising a great deal of care
<jfsimon1981> af well you can simply search for and extract a complete header list:
<jfsimon1981> sudo find / -name "*.h" > headers_search
<set_> Nice. Okay.
<jfsimon1981> and search for specifics in it
<set_> |
<jfsimon1981> less headers_search
<set_> Okay.
<jfsimon1981> When viewing, type "/gpio" enter, and "n" for next, to scroll down and look for all headers with gpio in the name.
<set_> Okay.
<jfsimon1981> That's one example how you can dive into the file system. Then view the header file with "less". Some contain internal addresses.
<set_> I am booting now.
<set_> Those are some neat commands.
<set_> I was unaware of / -name
<set_> It did not brake my system either!
<jfsimon1981> that's the wole commane "sudo find / -name "*.h" > headers_search"
<set_> I put the file as MyFile.txt.
<jfsimon1981> It does call find and looks for *.h recursively starting from root.
<set_> Nice.
<jfsimon1981> ">" is the redirect to file
<set_> right. What is bb-code-server?
<jfsimon1981> s this a search result ?
<set_> Yes. I found /opt/bb-code-server/ .
<jfsimon1981> ok
<jfsimon1981> that's a local application
<set_> Oh. Like beaglecfg?
<jfsimon1981> quite no idea, there's really a long list of applications and headers you'll find there
<set_> Right.
<set_> It is.
<jfsimon1981> that's basically everything, from linux to what the manufacturer developped and provided (TI people)
<set_> Oh.
<set_> Nice.
<jfsimon1981> From the names and location you can make a guess. Then you can open some headers and discover the registers, adresses, so on
<set_> Well, I guess since it is just me, I may not look at that file again. Who knows really? I might be able to use it. OH!
<set_> Nice! Double nice!
<jfsimon1981> i quickly checked a few gpio related headers and clock as well
<set_> Hmm.
<set_> You are being awful nice. What do you need?
<set_> I am just playin' around. Sorry to be so blunt.
<jfsimon1981> it's interesting but probably difficult to use. If you want to develop an application using c/c++, usually all you need is a few library, call them as needed.
<set_> Right!
<set_> Now, you taught me a lot. Geesh. Now, I have to do something to make you proud. Aw!
<jfsimon1981> Are you developping on Windows dektop ?
<set_> On the BBBW...
<set_> I mean, yes, I use Windows at times.
<jfsimon1981> ok
<set_> Is Windows Embedded coming back into play?
<set_> I remember someone saying, in here actually, that Microsoft was blabbing finally on their system OS procedures.
<set_> This would make it Open Source!
<jfsimon1981> honestly windows apparently does'nt like to much being embedded. I think they have tried and abandonned, it was a hack. I may be wrong, i don't follow win dev too much
<set_> Right.
<set_> They did it for a bit.
<set_> Then, they started to charge.
<jfsimon1981> do you code in c++ ?
<set_> Sort of...not well. I do not research enough to know how to do it w/ ease. I read up on my books but they are a "means to an end." They never teach me what I want to choose to learn.
<set_> It is like a book ago, I was held back to random math. Then, another book was about random engineering aspects on how programming can help any engineer figure out their math equations easily.
<set_> I have that Big Book on C++ by Stroustrup.
<set_> I just have not gone into it in detail again.
<set_> Yep.
<jfsimon1981> i take just 1 minute of your time, are you logged in the beagle now ?
<set_> Do you handle C/C++ well?
<set_> Yes.
<jfsimon1981> go to the home dir and type
<set_> I am logged in and rambling.
<set_> Okay.
<jfsimon1981> to go home just type "cd" enter
<set_> What is supposed to happen?
<jfsimon1981> it will download an archive file
<set_> Oh.
<set_> I get that idea.
<jfsimon1981> which is a source to calculate prime in c++, very small program
<set_> Oh.
<jfsimon1981> let me know once it's done
<set_> I am sorry for disturbing you.
<set_> I am not going to do it.
<set_> It is not against you or anything.
<set_> I am tired and my mom is calling. HA!
<jfsimon1981> right
<set_> All jokes aside, thank you.
<jfsimon1981> np
<set_> So, are we moving on?
<jfsimon1981> what do u mean ?
<set_> I do not know what I mean.
<set_> Oops.
<set_> Okay for now. I will break.
<jfsimon1981> right see you
<set_> Later for now!
<jfsimon1981> that program just calculated a primer number, for instance you write "prime 10" it returns the next prime above 10
<jfsimon1981> (ie 11)
<set_> nice.
<jfsimon1981> basically i sent you the source you could compile and run it, that's all
<set_> Okay. No issue. I just am scared of random things the odder I get.
<jfsimon1981> wget is a a download command
<set_> I know.
<jfsimon1981> gz is an extract command
<set_> wget! I am used to it. I use tar.
<set_> gzip!
<jfsimon1981> ok
<set_> I am foolish and silly, i.e. to the point of no return!
<set_> I got a site too!
<set_> It is not a nice as your site though. It is for fun so far.
<set_> This cold is kickin' in. The wind is blowing around downed fridges!
<set_> Back to the BBB!
Shadyman has quit [Quit: Leaving.]
vagrantc has joined #beagle
set_ has quit [Ping timeout: 240 seconds]
vd has joined #beagle
CrazyEddy has quit [Ping timeout: 240 seconds]
CrazyEddy has joined #beagle
ikarso has joined #beagle
vagrantc has quit [Quit: leaving]
philenotfound has quit [Remote host closed the connection]
CoffeeBreakfast has joined #beagle
zjason``` has joined #beagle
_outrageous has joined #beagle
buckket1 has joined #beagle
NishanthMenon_ has joined #beagle
kveremitz has quit [*.net *.split]
jfsimon1981 has quit [*.net *.split]
buckket has quit [*.net *.split]
xet7 has quit [*.net *.split]
NishanthMenon has quit [*.net *.split]
insurgent_ has joined #beagle
jfsimon1981 has joined #beagle
mgsb_ has joined #beagle
renrelkha has quit [Ping timeout: 240 seconds]
frostsnow has quit [Ping timeout: 240 seconds]
mgsb has quit [Ping timeout: 240 seconds]
nerdboy has quit [Ping timeout: 240 seconds]
mag_ has quit [Ping timeout: 240 seconds]
danny has quit [Ping timeout: 240 seconds]
GenTooMan has quit [Ping timeout: 240 seconds]
djinni has quit [Ping timeout: 240 seconds]
bzyx has quit [Ping timeout: 240 seconds]
javaJake has quit [Ping timeout: 240 seconds]
mgsb_ is now known as mgsb
nerdboy has joined #beagle
mag has joined #beagle
frostsnow has joined #beagle
nerdboy has quit [Changing host]
nerdboy has joined #beagle
GenTooMan has joined #beagle
kveremitz has joined #beagle
bzyx has joined #beagle
sicelo_ has joined #beagle
sicelo_ has joined #beagle
sicelo_ has quit [Changing host]
nparafe_ has joined #beagle
_outrageous has quit [Ping timeout: 256 seconds]
denix has quit [Ping timeout: 256 seconds]
sicelo has quit [*.net *.split]
starblue has quit [*.net *.split]
zjason`` has quit [*.net *.split]
nparafe has quit [*.net *.split]
Posterdati has quit [*.net *.split]
outrageous has quit [*.net *.split]
insurgent has quit [*.net *.split]
sicelo_ is now known as sicelo
buckket1 has quit [Ping timeout: 256 seconds]
denix has joined #beagle
danny has joined #beagle
NishanthMenon_ has quit [Ping timeout: 256 seconds]
_outrageous has joined #beagle
buckket1 has joined #beagle
starblue has joined #beagle
javaJake has joined #beagle
shoragan[m] has quit [Ping timeout: 250 seconds]
suy|m has quit [Ping timeout: 250 seconds]
renrelkha has joined #beagle
xet7 has joined #beagle
mvaittin has quit [Ping timeout: 250 seconds]
djinni has joined #beagle
jduchniewicz has quit [Ping timeout: 260 seconds]
Posterdati has joined #beagle
NishanthMenon_ has joined #beagle
_outrageous is now known as outrageous
jduchniewicz has joined #beagle
mvaittin has joined #beagle
suy|m has joined #beagle
shoragan[m] has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
argonautx has joined #beagle
suy|m has quit [Read error: Connection reset by peer]
mvaittin has quit [Remote host closed the connection]
jduchniewicz has quit [Remote host closed the connection]
shoragan[m] has quit [Write error: Connection reset by peer]
shoragan[m] has joined #beagle
mvaittin has joined #beagle
jduchniewicz has joined #beagle
suy|m has joined #beagle
shoragan[m] has quit [Quit: Client limit exceeded: 20000]
mvaittin has quit [Quit: Client limit exceeded: 20000]
jduchniewicz has quit [Quit: Client limit exceeded: 20000]
suy|m has quit [Quit: Client limit exceeded: 20000]
set_ has joined #beagle
set_ has quit [Remote host closed the connection]
set_ has joined #beagle
argonautx has quit [Quit: Leaving]
Morshing has joined #beagle
set_ has quit [Ping timeout: 240 seconds]