--- Log opened Mon Feb 01 00:00:30 2021 2021-02-01T00:02:43 < Laurenceb> ok its running, but what can I do with it? 2021-02-01T00:02:58 < Laurenceb> the autodetected configuration looks sane... 2021-02-01T00:03:25 < Laurenceb> oh force external mic to "unconnected"? 2021-02-01T00:04:39 < BrainDamage> yes 2021-02-01T00:06:56 < Laurenceb> hmm now I have no mic in alsamixer 2021-02-01T00:06:57 < Laurenceb> wtf 2021-02-01T00:08:01 < BrainDamage> re-enable it then, I forgot the proper procedure 2021-02-01T00:08:06 < BrainDamage> ask the guys in #alsa 2021-02-01T00:08:16 < BrainDamage> but you absolutely can force disable it 2021-02-01T00:09:11 < Laurenceb> ok 2021-02-01T00:09:13 < Laurenceb> thanks 2021-02-01T00:13:18 < karlp> hrm, I can buy a new vacuum cleaner cheaper than the replacement battery pack it uses: https://www.say-ahh.com/228-eurospec-electrolux-sirbp252li-wireless-vacuum-cleaner-aeg-120.html vs https://darel.lv/en/batteries-and-chargers-for-vacuum-cleaners/6203-aeg-electrolux-ultrapower-battery-pack-sirbp252li-li-ion-252v-140127175564.html 2021-02-01T00:15:38 < karlp> $200 aud frrom electrolux and not even in stock. nice one. 2021-02-01T00:16:46 < qyx> so USARTx start detection can wake STM32 from stop 1 mode (L452) 2021-02-01T00:16:48 < qyx> since when 2021-02-01T00:16:50 < qyx> thats great 2021-02-01T00:30:23 < antto> loirens, why u wanna make a soundcard? 2021-02-01T00:33:21 < Laurenceb> antto: faster than fixing this shitt 2021-02-01T00:33:25 < Laurenceb> wait lmao 2021-02-01T00:33:34 < Laurenceb> >the laptop mic is digital 2021-02-01T00:33:42 < Laurenceb> sheet no wonder there are issues 2021-02-01T00:33:53 < antto> dafuq is a "digital" mic even 2021-02-01T00:34:05 < Laurenceb> it goes through sigma-delta demod 2021-02-01T00:34:17 < antto> uh 2021-02-01T00:34:55 < Laurenceb> on the realtek not the intel HDA 2021-02-01T00:39:33 < karlp> bleh, run "sensors" have per core temps, run sensors-detect, end up with less sensors... 2021-02-01T00:39:37 < karlp> no backup file created 2021-02-01T00:53:13 < emeb_mac> yay linux! 2021-02-01T00:56:13 < Laurenceb> aha 2021-02-01T00:56:25 < Laurenceb> datasheet to the rescue 2021-02-01T00:56:42 < Laurenceb> I was using loopback to test but that bypasses some of the switching logic 2021-02-01T00:57:00 < Laurenceb> ok so everything works automatically apart from digital mic decoding 2021-02-01T00:57:14 < Laurenceb> alsa mixer has no effect on mic gain 2021-02-01T00:57:21 < Laurenceb> so its really noisy and faint 2021-02-01T00:57:47 < Laurenceb> using model=alc269-dmic fixed almost all of the massing data 2021-02-01T00:57:54 < Laurenceb> *missing 2021-02-01T00:58:16 < Laurenceb> but its still useless as mic boost has no effect on digital microphones 2021-02-01T01:08:42 < Laurenceb> woah 2021-02-01T01:08:45 < Laurenceb> now it works 2021-02-01T01:08:52 < Laurenceb> needed to pulseaudio -k 2021-02-01T01:09:13 < Laurenceb> inb4 it breaks 2021-02-01T01:09:42 < Laurenceb> looks like lunix didnt know what a digital mic or powersaving was 2021-02-01T01:51:40 < Laurenceb> ok wut 2021-02-01T01:51:48 < Laurenceb> it works in skype but nothing else 2021-02-01T01:55:41 < mawk> problem is Laurenceb 2021-02-01T01:59:50 < Laurenceb> what the fuck 2021-02-01T01:59:51 < jadew> https://twitter.com/justinrohrlich/status/1355964605709873155 2021-02-01T02:00:01 < Laurenceb> arecord -D hw:0,0 -f S16_LE -r 44100 -c 2 --buffer-time 10000 2021-02-01T02:00:10 < Laurenceb> some reall really broken buffering going on 2021-02-01T02:00:30 < Laurenceb> there is about 0.5s of perfect sound then it all starts to loop and get corrupted 2021-02-01T02:06:09 < Laurenceb> does arecord bypass pulseaudio? 2021-02-01T02:11:53 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 265 seconds] 2021-02-01T02:15:51 < Laurenceb> hmm maybe skype has dsp to fix the mic signal 2021-02-01T02:26:21 < Laurenceb> wew its broken again 2021-02-01T02:26:22 < Laurenceb> wtf 2021-02-01T02:28:08 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-01T02:29:33 < kakium69> cannot enter uefi setup 2021-02-01T02:30:15 < Laurenceb> what the fucking fuck 2021-02-01T02:30:18 < Laurenceb> fuck 2021-02-01T02:30:21 < Laurenceb> fuck lunix 2021-02-01T02:30:30 < Laurenceb> -infinity documentation 2021-02-01T02:30:52 < Laurenceb> how is it possible to the audio to be so broken 2021-02-01T02:31:21 < kakium69> I remember fighting with lunix audio back in 2008 or so 2021-02-01T02:31:36 < kakium69> OSS, ALSA, ESsomething 2021-02-01T02:32:38 -!- CatCow97 [~mine9@c-73-96-109-206.hsd1.or.comcast.net] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 2021-02-01T02:32:58 < kakium69> some software needed OSS 2021-02-01T02:33:28 < kakium69> it was that old 2021-02-01T02:35:24 < Laurenceb> what the fuuuuu 2021-02-01T02:35:30 < kakium69> how do I shrink lunix to smaller ssd? 2021-02-01T02:35:32 < Laurenceb> now I cant work out how it ever worked 2021-02-01T02:35:44 < Laurenceb> maybe I should restart alsa 2021-02-01T02:36:09 < kakium69> have you tried on another computer first? 2021-02-01T02:36:41 < kakium69> good thing about lunix is that you can throw the system drive to another machine and continue where you left 2021-02-01T02:36:51 < Laurenceb> how could I, the audio hardware is specific 2021-02-01T02:36:54 < Laurenceb> oh got you 2021-02-01T02:38:57 < kakium69> you need to make something work on bad hardware / drivers? 2021-02-01T02:39:17 < kakium69> and specifically on that audio hardware 2021-02-01T02:39:39 < Laurenceb> yeah I need to use this pc 2021-02-01T02:40:10 < kakium69> o.o 2021-02-01T02:41:35 < Laurenceb> fucked 2021-02-01T02:45:19 < Laurenceb> maybe there is a way to reset the sound card 2021-02-01T02:45:51 < kakium69> is there anything to reset in a soundcard 2021-02-01T02:46:05 < kakium69> does it even have a firmware 2021-02-01T02:46:31 < kakium69> does it have processor 2021-02-01T02:46:35 < Laurenceb> yes 2021-02-01T02:46:50 < Laurenceb> there is pci to hda bridge 2021-02-01T02:48:59 < Laurenceb> https://github.com/torvalds/linux/commit/4eab0ea196f569ed2085a0fa3729f60eb8edaad1 2021-02-01T02:49:00 < Laurenceb> hmmm 2021-02-01T02:49:40 < kakium69> tolvards!! 2021-02-01T02:50:54 < Laurenceb> fuck this 2021-02-01T02:51:00 < Laurenceb> back to analogue phones 2021-02-01T02:51:15 < Laurenceb> I'll just use video then hold an analogue phone to my ear 2021-02-01T03:10:20 -!- CatCow97 [~mine9@c-73-96-109-206.hsd1.or.comcast.net] has joined ##stm32 2021-02-01T03:22:59 < kakium69> back to magnetic tape 2021-02-01T03:28:10 -!- Mangy_Dog [~Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has quit [Ping timeout: 264 seconds] 2021-02-01T03:32:06 -!- oofus [~quassel@88.97.72.251] has quit [Quit: No Ping reply in 180 seconds.] 2021-02-01T03:35:54 -!- catphish [~charlie@unaffiliated/catphish] has quit [Quit: Leaving] 2021-02-01T03:39:36 < Laurenceb> hmm more issues 2021-02-01T03:39:42 < Laurenceb> >use google meeting 2021-02-01T03:39:44 < Laurenceb> nice 2021-02-01T03:39:53 < Laurenceb> this shit cant even see my audio input 2021-02-01T04:02:51 < jadew> https://media.discordapp.net/attachments/529933218296627201/804803015311097896/image0.jpg 2021-02-01T04:06:34 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has quit [Ping timeout: 264 seconds] 2021-02-01T04:08:21 < jadew> https://imgur.com/a/ZX8uGPL 2021-02-01T04:08:41 < jadew> https://media.discordapp.net/attachments/529933218296627201/805431588606312458/FB_IMG_1612099248787.jpg 2021-02-01T04:09:37 < jadew> haha https://media.discordapp.net/attachments/529933218296627201/805517704580038746/nfwggzaa29e61.png 2021-02-01T04:14:53 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has joined ##stm32 2021-02-01T04:40:16 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2021-02-01T04:45:47 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has joined ##stm32 2021-02-01T05:05:50 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has joined ##stm32 2021-02-01T05:05:59 < R2COM> yo 2021-02-01T05:06:20 < R2COM> not sure why but out of a sudden my blackmagic probe does not connect saying that sw-dp scan failed 2021-02-01T05:06:48 < R2COM> happened on a setup which was perfectly working and no wiring was ever touched 2021-02-01T05:07:02 < R2COM> regular routine debugger running with swd 2021-02-01T05:07:12 < R2COM> suddenly it says sw-dp scan failed! 2021-02-01T05:07:16 < R2COM> attaching to remote target failed 2021-02-01T05:07:24 < R2COM> shows correct target voltage of 3V tho 2021-02-01T05:07:45 < R2COM> no restart, reconnection,reset or power cycle of board solves issue 2021-02-01T05:33:36 < aandrew> jadew: I found tales from the golden age 2021-02-01T05:33:55 < jadew> aandrew, did you watch it? 2021-02-01T05:34:07 < aandrew> not yet, I literally just got it 2021-02-01T05:34:13 < jadew> ah, cool, first part? 2021-02-01T05:34:42 < aandrew> it's a 2009 movie iwth 8 substories according to wikipedia 2021-02-01T05:34:47 < aandrew> https://en.wikipedia.org/wiki/Tales_from_the_Golden_Age 2021-02-01T05:35:02 < jadew> yeah, but it's in two parts 2021-02-01T05:35:07 < jadew> and the second part is not that good 2021-02-01T05:35:16 < aandrew> ah, I guess it's only the first part then 2021-02-01T05:48:25 < jadew> the atmosphere in the movie reflects the communist era pretty well 2021-02-01T06:14:42 < R2COM> maybe i fucked up PA13/14 with messing with IO (setting as input) 2021-02-01T06:15:02 < R2COM> so i re-wired the f0 now, and connected BOOT0 to High 2021-02-01T06:15:05 < R2COM> and rebooted 2021-02-01T06:15:14 < R2COM> but the shit still cant connect to SWD interface 2021-02-01T06:33:43 < Laurenceb> arg wtf 2021-02-01T06:33:51 < Laurenceb> skype for business is not skype 2021-02-01T06:33:55 < Laurenceb> fuck this work shit 2021-02-01T06:34:08 < Laurenceb> why do they have to use tons of crazy teleconference software 2021-02-01T06:34:30 < Laurenceb> its actually lync wtf 2021-02-01T06:34:51 < Laurenceb> >use the web app 2021-02-01T06:34:56 < Laurenceb> >only loads in edge 2021-02-01T06:35:01 < Laurenceb> who could have predicted this 2021-02-01T06:36:03 -!- fc5dc9d4_ [~quassel@p57a61282.dip0.t-ipconnect.de] has joined ##stm32 2021-02-01T06:40:09 -!- fc5dc9d4 [~quassel@p4fe9a145.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 2021-02-01T06:42:15 < R2COM> oh fuck i guess thats what happened 2021-02-01T06:42:32 < R2COM> i remember last thing i did before everything fucked up is set all pins of PORTA to input 2021-02-01T06:43:01 < R2COM> not sure if i can fix it now with BMP 2021-02-01T06:50:20 < jpa-> R2COM: on some devices bootloader disables the SWD pins to use them for something else 2021-02-01T06:50:42 < jpa-> try keeping BOOT0 low and also keeping NRST low until connected, or configure the debugging software to connect-under-reset 2021-02-01T06:51:45 < jpa-> on BMP that would be "connect_srst enable" "swdp_scan" (prefix with "monitor" if running through GDB) 2021-02-01T06:57:03 < Laurenceb> anyone here ever used sky linux? 2021-02-01T06:57:16 < Laurenceb> I havent a clue what all the config options are 2021-02-01T06:57:34 < Laurenceb> I just have a skype for business (lync) meeting link I need to hit 2021-02-01T06:57:40 < Laurenceb> wtf how does this even work 2021-02-01T06:58:27 < R2COM> ok so here is what i did 2021-02-01T06:58:29 < R2COM> first of all 2021-02-01T06:58:40 < R2COM> that command: connect_srst enable doesnt work 2021-02-01T06:58:44 < R2COM> on that version of BMP 2021-02-01T06:58:51 < R2COM> it says Target does not support this command 2021-02-01T06:58:53 < R2COM> or something like that 2021-02-01T06:59:03 < R2COM> what i did now is, i found that i bought latest version BMP 2.1 2021-02-01T06:59:07 < R2COM> and added that one 2021-02-01T06:59:36 < R2COM> then i executed what you say, mon connect_srst enable 2021-02-01T06:59:38 < R2COM> but 2021-02-01T06:59:42 < R2COM> new problem now.... 2021-02-01T06:59:54 < R2COM> after swdp_scan command, it does not identify device 2021-02-01T07:00:26 < R2COM> No. Att Driver 2021-02-01T07:00:26 < R2COM> 1 ARM Cortex-M M0 2021-02-01T07:00:26 < R2COM> warning: while parsing target memory map (at line 1): Required element is missing 2021-02-01T07:00:28 < R2COM> ^ 2021-02-01T07:00:43 < R2COM> wtf is that one... 2021-02-01T07:00:51 < R2COM> so after that, as you see it managed to see that i have M0 2021-02-01T07:00:57 < R2COM> which is true... i got stm32f05 2021-02-01T07:01:10 < R2COM> but it didnt fully identify or connect to device, and the flash command failed 2021-02-01T07:01:29 < R2COM> then i found this fucking thread: 2021-02-01T07:01:30 < R2COM> https://github.com/blacksphere/blackmagic/issues/307 2021-02-01T07:02:01 < R2COM> and gsmcmullin was wrioging: Ok, this is an STM32L0 for which we didn't split the probe/attach, so no surprises it didn't get fixed. 2021-02-01T07:02:01 < R2COM> The fact that we can't even read DBGMCU_IDCODE when in reset is a concern. That suggests that there is no way to identify this device while it's in reset. 2021-02-01T07:03:06 < R2COM> any idea? 2021-02-01T07:05:44 < Laurenceb> holy shit it works 2021-02-01T07:05:55 < Laurenceb> sky lunix is actually easier to use than slype too 2021-02-01T07:06:08 < Laurenceb> just need to find "meeting link" in obscure side menu 2021-02-01T07:06:54 < Laurenceb> ""just"" the problem of 2 minute call limit, but fuck these bastards for using crazy software 2021-02-01T07:07:45 < Laurenceb> >when you go to jerb interviews and the hardest thing is working out wtf weirdo video chat software they are using 2021-02-01T07:16:34 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has quit [Quit: Gone to sleep...] 2021-02-01T07:23:15 < aandrew> well, that is a bit of an ego boost. I can spit out about 400 lines of C and it compiles witohout even a warning. Whether it's correct or not is another matter 2021-02-01T07:43:45 < R2COM> ill upgrade BMP firmware tomorrow and retry 2021-02-01T07:43:59 < R2COM> seen similar posts online where people said they upgraded firmware and similar problem was gone 2021-02-01T08:36:17 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-01T08:45:48 -!- Jak_o_Shadows [~Jak@unaffiliated/jak-o-shadows/x-0479135] has quit [Read error: Connection reset by peer] 2021-02-01T08:47:03 -!- Jak_o_Shadows [~Jak@unaffiliated/jak-o-shadows/x-0479135] has joined ##stm32 2021-02-01T08:50:13 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has quit [Quit: Leaving.] 2021-02-01T09:10:42 < R2COM> ok 2021-02-01T09:10:53 < R2COM> i fucking found old st-link device and made connection with that 2021-02-01T09:10:56 < R2COM> and did full chip erase 2021-02-01T09:11:11 < R2COM> it was success and blank check showed blank device 2021-02-01T09:11:28 < R2COM> now im getting back to my old original BMP probe and still cant connect to remote targed 2021-02-01T09:12:07 < R2COM> ok 2021-02-01T09:12:08 < R2COM> now 2021-02-01T09:12:10 < R2COM> fucking SUCCESS 2021-02-01T09:12:23 < R2COM> (forgot to bring BOOT0 back to low) 2021-02-01T09:12:40 < R2COM> let me just test with BMP 2.1 (new version of hardware probe) 2021-02-01T09:14:19 < R2COM> also works OK 2021-02-01T09:16:16 < R2COM> sooooo.... long story short: i somehow configured PORTA to input (including pins 13 & 14) and old BMP couldnt talk to device anymore, i tried connect under reset, but that probe did not support it. I then changed probe to new BMP 2.1, that one did have connect under reset, however; for some reason it couldnt flash data anyway. then i brought my old st-link/v2, connected it with SWD connection, 2021-02-01T09:16:16 < R2COM> and using ST-link utiliuty full erased chip. then brough back BMP (both old and new) and now they work 2021-02-01T09:16:53 < R2COM> one thing which wasnt clear is how the fuck the i couldnt reanimate this shit with BMP and had to use st-link 2021-02-01T09:16:57 < R2COM> but anyway...works OK now. 2021-02-01T09:18:01 -!- BrainDamage1 [~braindama@dynamic-adsl-78-12-155-102.clienti.tiscali.it] has joined ##stm32 2021-02-01T09:18:31 -!- BrainDamage [~braindama@unaffiliated/braindamage] has quit [Ping timeout: 272 seconds] 2021-02-01T09:22:37 -!- BrainDamage1 [~braindama@dynamic-adsl-78-12-155-102.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 2021-02-01T09:30:00 -!- BrainDamage [~braindama@unaffiliated/braindamage] has joined ##stm32 2021-02-01T09:31:51 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has quit [Ping timeout: 246 seconds] 2021-02-01T09:44:34 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has joined ##stm32 2021-02-01T09:58:55 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-01T10:07:39 -!- BrainDamage1 [~braindama@94-36-240-149.adsl-ull.clienti.tiscali.it] has joined ##stm32 2021-02-01T10:08:16 -!- BrainDamage [~braindama@unaffiliated/braindamage] has quit [Ping timeout: 240 seconds] 2021-02-01T10:42:09 -!- BrainDamage1 [~braindama@94-36-240-149.adsl-ull.clienti.tiscali.it] has quit [Quit: Bridge terminating on SIGTERM] 2021-02-01T10:42:37 -!- BrainDamage [~braindama@unaffiliated/braindamage] has joined ##stm32 2021-02-01T10:57:16 -!- tcth_ [~tcth@77.109.191.152] has quit [Read error: Connection reset by peer] 2021-02-01T10:57:42 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-01T10:57:50 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has quit [Remote host closed the connection] 2021-02-01T10:58:16 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has joined ##stm32 2021-02-01T11:05:42 -!- BrainDamage [~braindama@unaffiliated/braindamage] has quit [Quit: Bridge terminating on SIGTERM] 2021-02-01T11:09:13 -!- aidenhjj2 [~aidenhjj@78.40.148.182] has joined ##stm32 2021-02-01T11:11:46 -!- aidenhjj [~aidenhjj@78.40.148.182] has quit [Ping timeout: 265 seconds] 2021-02-01T11:11:46 -!- aidenhjj2 is now known as aidenhjj 2021-02-01T11:17:29 -!- BrainDamage [~braindama@unaffiliated/braindamage] has joined ##stm32 2021-02-01T11:42:03 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-01T11:51:19 -!- c10ud [~c10ud@emesene/dictator/c10ud] has joined ##stm32 2021-02-01T12:01:50 < zyp> karlp, the pymodbus stuff you pastebinned last I asked expired, was gonna look at that now 2021-02-01T12:04:07 < karlp> oh, sorry. 2021-02-01T12:04:10 < karlp> what was it again? 2021-02-01T12:04:13 < zyp> am I understanding stuff right that a slave context is responsible for handling requests to a particular device, and a server context is responsible for dispatching requests to one out of a list of slave contexts, based on address/unit id? 2021-02-01T12:04:22 < karlp> yeah, sounds about right. 2021-02-01T12:04:25 -!- oofus [~quassel@88.97.72.251] has joined ##stm32 2021-02-01T12:04:31 < karlp> not all examples make the distinction, 2021-02-01T12:04:52 < karlp> t least some of my stuff was using pymodbus to simulate multiple devices based on unitid, so I used multiple slave contexts 2021-02-01T12:05:05 < karlp> I was sharing my "modbus device fakes" or soemthing? 2021-02-01T12:05:11 < zyp> I think so 2021-02-01T12:06:17 < karlp> https://paste.centos.org/view/92b156a2 probably? 2021-02-01T12:08:11 < zyp> hmm, maybe 2021-02-01T12:08:25 < zyp> IIRC it was some stuff with handler callbacks 2021-02-01T12:08:44 < karlp> yeah, look at one of the individiual implmentations 2021-02-01T12:08:52 < karlp> they override the getValues to re-generate values 2021-02-01T12:09:15 < karlp> like line 611 for instance. 2021-02-01T12:09:32 < karlp> you got the whole file splatted, I may have selected a simpler example for you last time? 2021-02-01T12:10:29 < zyp> might be, I thought you had something with one callback for each register 2021-02-01T12:10:52 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-01T12:10:59 < karlp> hrm, doesn't sound like anything in pymodbus? 2021-02-01T12:11:21 < zyp> might have mixed that up in my head :) 2021-02-01T12:11:41 < karlp> that would be pretty gross to work with anyway.... 2021-02-01T12:11:52 < karlp> as values can span registers, or be otherwise related. 2021-02-01T12:15:16 < zyp> I was just thinking that particularly for read only registers I might want to generate it dynamically rather than storing it somewhere 2021-02-01T12:15:52 < zyp> I mean, I'm kinda thinking of this in the same manner as HTTP REST GET/POST 2021-02-01T12:16:25 < karlp> yeah, I do that already. 2021-02-01T12:16:43 < karlp> I mean, I don't bother explicitly making them readonly, 2021-02-01T12:16:50 < karlp> you'd have to overwrite other stuff for that, 2021-02-01T12:17:42 < zyp> how would you act on writes? 2021-02-01T12:17:54 < karlp> you get setValues() instead of getValues() iirc. 2021-02-01T12:18:03 < karlp> I have that somewhere else, let me look 2021-02-01T12:19:25 < karlp> something like https://paste.jvnv.net/view/qXtu6 maybe 2021-02-01T12:19:40 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has quit [Ping timeout: 272 seconds] 2021-02-01T12:20:15 < zyp> ah 2021-02-01T12:21:03 < karlp> haven't needed writes much, I mostly use this to fake things, and most devices I'm workingwith don't have a lot of writable regs anyway 2021-02-01T12:21:47 < zyp> I need to implement a server that other clients are going to talk to, to trigger actions 2021-02-01T12:26:37 < zyp> I guess technically I don't need to override reads, I can just hook writes and use those to update the datastore 2021-02-01T12:28:21 < karlp> yeah, I just override reads to a) generate fake values for next read, and b) some stats 2021-02-01T12:52:34 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has joined ##stm32 2021-02-01T13:14:14 < jpa-> hmm, latest batch of pcbs from jlcpcb has much worse alignment than i'm used to 2021-02-01T13:14:27 < jpa-> both silkscreen & milling seem to be off 0.1-0.2mm 2021-02-01T13:14:46 < zyp> 2L? 2021-02-01T13:17:19 < jpa-> yeah 2021-02-01T13:18:00 < jpa-> the couple 4L boards seem better 2021-02-01T13:21:11 < jpa-> but fortunately due to overconfidence i again have dozens of boards with prototype-level bugs, so i can just pick the ones with better alignment 2021-02-01T13:21:35 < zyp> heh 2021-02-01T13:28:23 < qyx> so, any idea why my stop1 is not forking? (L4) 2021-02-01T13:28:26 < qyx> *working 2021-02-01T13:29:04 < qyx> https://paste.jvnv.net/view/uh6sE 2021-02-01T13:29:35 < zyp> how is it not working? 2021-02-01T13:29:38 < qyx> it works, I am not able to connect with SWD anymore 2021-02-01T13:29:47 < qyx> but it consumes 1.29 mA 2021-02-01T13:30:07 < qyx> thats only a bit less than with wfi alone 2021-02-01T13:30:23 < qyx> (booting into system bootloader consumes ~11 mA) 2021-02-01T13:31:01 < zyp> how are the RCC_*LPENR configured? 2021-02-01T13:31:14 < qyx> I didn't touch them, wait 2021-02-01T13:31:27 < zyp> I'm not sure whether they default to on or off 2021-02-01T13:31:52 < zyp> but I figure if you don't turn off any peripherals in stop mode, you wouldn't see much difference from plain wfi 2021-02-01T13:31:55 < qyx> I am also keeping the 4 MHz MSI on, not switching to LSI 2021-02-01T13:32:06 < qyx> so do I have to turn them off? 2021-02-01T13:32:21 < zyp> that's what *LPENR decides 2021-02-01T13:32:22 < qyx> I had the impression stop mode just globally stops clocks 2021-02-01T13:32:25 < zyp> or was it *SMENR 2021-02-01T13:32:28 < zyp> idk 2021-02-01T13:32:36 < qyx> ok maybe I failed at reading, checking 2021-02-01T13:32:40 < zyp> yeah, but which clocks? 2021-02-01T13:33:20 < qyx> the right ones! 2021-02-01T13:33:31 < zyp> and where do you configure which those are? :) 2021-02-01T13:34:08 < qyx> apparently all default to 1 2021-02-01T13:34:11 < qyx> so running in stop mode 2021-02-01T13:34:29 < zyp> great, that supports my theory :) 2021-02-01T13:34:40 < qyx> *SMENR 2021-02-01T13:34:49 < qyx> so starting with 2.89 mA with wfi 2021-02-01T13:38:34 < qyx> basically I can turn off everything except lptim1 2021-02-01T13:38:39 < qyx> I hope 2021-02-01T13:40:36 < qyx> 1.78 mA now 2021-02-01T13:41:57 -!- fenugrec [~fenugrec@cpe7cb21b1e4c70-cm7cb21b1e4c6d.cpe.net.cable.rogers.com] has quit [Quit: Leaving] 2021-02-01T13:44:22 < qyx> This register only configures the clock gating, not the clock source itself. Most of the peripherals are clocked by a single 2021-02-01T13:44:25 < qyx> clock (AHB or APB clock), which is always disabled in Stop mode. In this case setting the bit has no effect in Stop mode. 2021-02-01T13:44:28 < qyx> zyp: ^ 2021-02-01T13:55:12 < karlp> oh, groovy, machx02 is in yosys now all the way 2021-02-01T14:09:38 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 264 seconds] 2021-02-01T14:28:05 < qyx> no peli cases today, peli distributor positive :S 2021-02-01T14:28:47 < zyp> heh 2021-02-01T14:30:30 -!- tctw [~Tectu@82.197.160.105] has joined ##stm32 2021-02-01T14:31:16 -!- gnom [~aleksande@178.150.7.153] has quit [Quit: leaving] 2021-02-01T14:31:24 -!- gnom [~aleksande@178.150.7.153] has joined ##stm32 2021-02-01T14:34:08 < englishman> heh. 2021-02-01T14:34:36 < englishman> spent $1k on peli cases here last week because a nano ohmmeter got smashed in transport 2021-02-01T14:34:52 < englishman> shipping Dept. put it in a cardboard box with some foam bits around 2021-02-01T14:34:54 < englishman> thanks guys 2021-02-01T14:35:20 < qyx> I am putting lora accels inside 2021-02-01T14:35:56 -!- gnom [~aleksande@178.150.7.153] has quit [Client Quit] 2021-02-01T14:36:03 < englishman> for tracking? 2021-02-01T14:36:05 -!- gnom [~aleksande@178.150.7.153] has joined ##stm32 2021-02-01T14:36:28 < englishman> going to integrate position with those accels so you don't need gps? 2021-02-01T14:37:26 < jpa-> it's to keep track of score in the shipping department football game 2021-02-01T14:48:25 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-01T15:31:20 < qyx> no, accels are the products, pelis are only for carrying them 2021-02-01T15:34:50 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-01T15:53:11 < Ecco> Heya :) 2021-02-01T15:53:19 < Ecco> I'm running into a problem similar to this one: https://community.st.com/s/question/0D50X00009Xkh9U/issue-with-usb-disconnect-event-detection-in-stm32f407 2021-02-01T15:54:02 < Ecco> Namely, if I use a rather common ESD protection by ST, then USB VBus doesn't go back all the way to 0 even if the cable is disonnected 2021-02-01T15:54:23 < Ecco> I'm not sure the explanations given by that tsuneo guy are correct 2021-02-01T15:54:30 < Ecco> Do you guy have an opinion on the matter? 2021-02-01T15:54:33 < karlp> take it up with that fae that told you to do it the way you're doing? :) 2021-02-01T15:55:03 < Ecco> Oh, so, we're not doing it the way the FAE said we should 2021-02-01T15:55:22 < Ecco> but essentially his point was that our ESD protection wouldn't protect us from long-term overvoltage 2021-02-01T15:55:36 < Ecco> He might be right. But there that's an entirely different problem we have 2021-02-01T15:55:55 < Ecco> If we use USBLC6 (which I'm sure you guys know about, it's everywhere in ST's sample schematics) 2021-02-01T15:56:04 < Ecco> then Vbus doesn't go back all the way to 0… 2021-02-01T15:56:10 < karlp> hrm, might be true, I'm using usblc6 on a hub downstream port, not device side... 2021-02-01T15:57:02 < Ecco> ok! I'm pretty sure I've seen it used as a device in more that one ST sample schem tho 2021-02-01T15:57:12 < Ecco> Also, it seems like a pretty big problem 2021-02-01T15:57:54 < aandrew> Ecco: interesting - ST's official response is that USBLC6 is not an appropriate device-side TVS 2021-02-01T15:58:03 < Ecco> how "official"? 2021-02-01T15:58:04 < aandrew> and that you don't want protection on VBUS 2021-02-01T15:58:16 < aandrew> oh wait, that's not "ST Employee" 2021-02-01T15:59:49 < aandrew> don't know how popular his name is, but he's got a lot of academic shit associated with his name 2021-02-01T16:00:02 < Ecco> Also, I'm wondering about the D+ pull-up 2021-02-01T16:00:11 < Ecco> You're supposed to pull D+ to 3.0V 2021-02-01T16:00:17 < Ecco> What if the MCU runs at 2.8V? 2021-02-01T16:00:37 < aandrew> I'm sure there is a requirement in the USB spec that USB I/O be 3.3V 2021-02-01T16:00:51 < aandrew> run off whatever you want, if you're talking USB you gotta have at least two 3.3V I/O 2021-02-01T16:01:02 < Ecco> ok 2021-02-01T16:01:17 < Ecco> Do you think the STM32 has an embedded DC-DC for this? 2021-02-01T16:01:29 < Ecco> Because I haven't seen this requirement anywhere in the datasheet 2021-02-01T16:01:47 < aandrew> I think there is a document that ST publishes for every part... what's the name of it... it's on the tip of my tongue. some kind of "sheet" with data about the part on it 2021-02-01T16:01:50 < aandrew> help me out 2021-02-01T16:01:59 < Ecco> :-D 2021-02-01T16:02:06 < Ecco> Well, it's also 1500 pages long 2021-02-01T16:02:13 < Ecco> and I've actually read (most of) it 2021-02-01T16:02:41 < aandrew> the DS isn't that long, the RM is but doesn't have pin parameters 2021-02-01T16:02:53 < Ecco> Yes, you're right 2021-02-01T16:03:05 < aandrew> you need the DS for this stuff, and the RM to figure out how to actually make use of the device. :-) 2021-02-01T16:03:13 < aandrew> I understand why they split it up but it's a pain 2021-02-01T16:04:51 < karlp> there'sa footnote for f4, 5. The voltage range for OTG USB FS can drop down to 2.7 V. However it is degraded between 2.7 and 3 V. 2021-02-01T16:04:57 < karlp> (because I was curious) 2021-02-01T16:05:14 < Ecco> Yes, this is correct 2021-02-01T16:05:15 -!- BrainDamage1 [~braindama@94-36-240-149.adsl-ull.clienti.tiscali.it] has joined ##stm32 2021-02-01T16:05:17 < Ecco> I've read this too 2021-02-01T16:05:26 < Ecco> And they don't say what "degraded" means 2021-02-01T16:06:04 < Ecco> "The voltage range for USB full speed PHYs can drop down to 2.7 V. However the electrical characteristics of D- and D+ pins will be degraded between 2.7 and 3 V." 2021-02-01T16:06:36 < karlp> I'd take it to mean, "don't actyualy try without consulting ST" 2021-02-01T16:06:48 < Ecco> ok 2021-02-01T16:07:18 < jpa-> i'd take it to mean "it'll work but don't expect to pass usb certification" 2021-02-01T16:07:53 -!- BrainDamage [~braindama@unaffiliated/braindamage] has quit [Ping timeout: 246 seconds] 2021-02-01T16:08:31 < karlp> L4 for instance has separate vddusb, and says, 3..3.6 for USB in use, 0..3.6 for usb not used. 2021-02-01T16:09:41 < Ecco> Also, I wonder why they say "between 2.7 and 3V" 2021-02-01T16:09:48 < Ecco> because technically D+ should be pulled at 3.3 2021-02-01T16:09:55 < zyp> should it? 2021-02-01T16:09:57 < Ecco> so what happens at 3.1V? 2021-02-01T16:10:09 < zyp> isn't it something like 3.0-3.3? 2021-02-01T16:10:10 < Ecco> zyp: I don't know, it's what I've gotten from a quick Google search 2021-02-01T16:10:18 < zyp> why not check the actual usb spec? 2021-02-01T16:10:29 < aandrew> probably has to do with official Vih specs and cable parameters 2021-02-01T16:10:39 < Ecco> I should 2021-02-01T16:10:41 < zyp> actual spec should have tolerances 2021-02-01T16:11:32 -!- BrainDamage1 [~braindama@94-36-240-149.adsl-ull.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 2021-02-01T16:11:52 < zyp> Table 7-7 says Vterm = 3.0..3.6V 2021-02-01T16:12:20 < Ecco> Wow you were quick 2021-02-01T16:12:25 < zyp> Rpu = 1.425..1.575kOhm 2021-02-01T16:12:26 < Ecco> I still haven't found it! 2021-02-01T16:12:34 < Ecco> Cool, thanks 2021-02-01T16:24:10 -!- BrainDamage1 [~braindama@94-36-240-149.adsl-ull.clienti.tiscali.it] has joined ##stm32 2021-02-01T17:13:44 < qyx> did I say lptim has no overflow flag? 2021-02-01T17:15:56 < zyp> it doesn't? 2021-02-01T17:19:51 < karlp> yay, linux onedrive client says, "ERROR: OneDrive account currently has zero space available. Please free up some space online" 2021-02-01T17:23:58 < BrainDamage1> if you don't mind the extra complexity, rclone is pretty good 2021-02-01T17:24:17 < qyx> Update Event Available only on STM32L41xxx and STM32L42xxx devices. 2021-02-01T17:26:56 < karlp> BrainDamage1: will try. 2021-02-01T17:27:06 < karlp> " onedrive" isn't filling me with confidence 2021-02-01T17:34:38 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-01T17:38:50 < karlp> heh, was probably hitting https://github.com/rclone/rclone/commit/0906f8dd3ba9972717c0d1f36e5de515d31492fa#diff-58011b068267880753813f48ca4cfdfc64264c0b5700f507a220444f6e169f23 which probably means i need bleeding rclonet oo. 2021-02-01T17:38:52 < karlp> will try 2021-02-01T17:42:36 -!- tctw [~Tectu@82.197.160.105] has quit [Ping timeout: 240 seconds] 2021-02-01T17:54:11 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-01T17:54:30 -!- BrainDamage1 [~braindama@94-36-240-149.adsl-ull.clienti.tiscali.it] has quit [Quit: Bridge terminating on SIGTERM] 2021-02-01T17:55:18 -!- BrainDamage [~braindama@unaffiliated/braindamage] has joined ##stm32 2021-02-01T18:09:33 -!- emeb [~ericb@ip174-73-159-221.ph.ph.cox.net] has joined ##stm32 2021-02-01T18:17:36 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has quit [Quit: Leaving] 2021-02-01T18:18:12 < qyx> so do I need to configure an exti direct line or not? 2021-02-01T18:18:30 < qyx> from the rm it looks like I shoulnd't touch exti configuration 2021-02-01T18:18:43 < qyx> but lets tr 2021-02-01T18:25:37 < BrainDamage> karlp: latest stable has the fix 2021-02-01T18:41:16 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has quit [Remote host closed the connection] 2021-02-01T18:43:12 < karlp> yeah, doesn't seem to be a problemyet anyway, just need to figure out how to do partial shit 2021-02-01T18:43:17 < karlp> seems much faster at first call 2021-02-01T18:43:26 < karlp> and didn't require manually searching for drive ids 2021-02-01T18:43:48 < karlp> problem is I have a 50k+ sharepoint site with 10 years of piled up cruft, and I absolutely do not want to sync all of it. 2021-02-01T18:43:50 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has joined ##stm32 2021-02-01T18:50:40 -!- catphish [~charlie@unaffiliated/catphish] has joined ##stm32 2021-02-01T18:55:54 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has joined ##stm32 2021-02-01T19:00:33 < BrainDamage> you can mount partial paths 2021-02-01T19:00:51 < BrainDamage> you can also tell it to purge old backups 2021-02-01T19:01:27 -!- catphish [~charlie@unaffiliated/catphish] has left ##stm32 ["Leaving"] 2021-02-01T19:01:41 < Laurenceb> arg wtf 2021-02-01T19:01:53 < Laurenceb> is there a haxor way to get an office 365 account? 2021-02-01T19:05:12 < R2COM> refresh my memory...what other debug probe works nicely in command line gdb debugging? i mean, what minimum option from jlink? 2021-02-01T19:06:54 < karlp> other than? 2021-02-01T19:13:28 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-01T19:16:45 < jpa-> what debug probe does not work nicely with gdb? 2021-02-01T19:17:37 < R2COM> i mean it works, but i noticed it lacks in some aspecs, i am using BMP now 2021-02-01T19:17:51 < R2COM> currentlyu using old version of BMP, but i got BMP 2.1 too 2021-02-01T19:17:53 < karlp> lacks? 2021-02-01T19:18:14 < R2COM> if you saw, yesterday, i locked out device by setting pa13,14 to input. and never could recover device using BMP 2021-02-01T19:18:22 < R2COM> had to use st-link to connect under reset and full erase chip 2021-02-01T19:18:40 < R2COM> so i see 2 functions didnt work for me for BMP: 1) connect under reset and then be able to flash 2) full chip erase 2021-02-01T19:18:41 < karlp> so, just use your stlink? 2021-02-01T19:19:05 < karlp> BrainDamage: strugglign to get --filter-from to work :) but it does appear more competent at least. 2021-02-01T19:20:32 < R2COM> after i "reanimated" the device with st-link im again using gdb+BMP as usual 2021-02-01T19:20:40 < R2COM> gdb console debugging works nicely for me i like it 2021-02-01T19:20:58 < R2COM> i just would like a more robust reliable probe which properly implements all features 2021-02-01T19:22:19 < jpa-> i'm mostly stuck with stlink+openocd also, seems every time i try to use BMP i run into some weird bugs with specific devices 2021-02-01T19:23:06 < R2COM> you debug from command line? 2021-02-01T19:23:37 < R2COM> i dont expect much from BMP, but for a $60 fucking dongle you'd expect two above functions to work nicely 2021-02-01T19:24:03 < R2COM> so which JLINK should i buy so i can debug with gdb in command line mode and have all above features working? 2021-02-01T19:24:25 < karlp> what's wrong with just stlink? 2021-02-01T19:24:48 < jpa-> R2COM: yes, gdb as usual, works fine with stlink+openocd 2021-02-01T19:24:58 < jpa-> it is not the fastest thing in the world, but good enough 2021-02-01T19:25:32 < R2COM> why not use jlink? 2021-02-01T19:25:44 < jpa-> because stlink is for cheap people like me 2021-02-01T19:26:05 < karlp> stlink is on every dev board I have, why would i buy another one? 2021-02-01T19:26:30 < karlp> I have a couple of dev boards withjlink-ob, use jlink on them, openocd makes thema ll look the same anyway, gdb works just fine with openocd 2021-02-01T19:28:08 < R2COM> so JLINK BASE can do debugging via gdb command line mode? 2021-02-01T19:28:13 < R2COM> $378 jeez 2021-02-01T19:28:15 < R2COM> for a fucking probe 2021-02-01T19:28:20 < R2COM> with 1 IC inside 2021-02-01T19:28:31 < karlp> you want to spend money, sure, go buy a jlink.... 2021-02-01T19:28:34 < aandrew> J-Link EDU is like $40 2021-02-01T19:28:48 < R2COM> i dont like chinese, but sometimes i feel that they are doing good job smacking those eurofags giving retarded prices for simple shit 2021-02-01T19:28:55 < R2COM> but EDU has some limits no 2021-02-01T19:29:04 < karlp> you're paying ofr the software, not the hardware 2021-02-01T19:29:20 < R2COM> plus its for educational purpose 2021-02-01T19:29:29 < aandrew> I've never had great success with stlink and debugging. never could figure out if it was my oocd or the hardware. oocd with jlink seemed to be fine, and same with genuine bmp so I suspect it's the stlink hardware 2021-02-01T19:29:34 < R2COM> im not a schoolboy anymore, so i cant lie 2021-02-01T19:29:36 < karlp> fucking finally. 2021-02-01T19:29:45 < aandrew> R2COM: you're learning, aren't you? 2021-02-01T19:29:47 < karlp> filter lists must use \ escaping for spaces, can't use "" 2021-02-01T19:30:11 < R2COM> if you use edu for something you got payed for you lied and can be sued 2021-02-01T19:30:14 < R2COM> theoretically... 2021-02-01T19:30:45 < R2COM> aandrew, wait, so jlink will require ocd too or what 2021-02-01T19:30:56 < R2COM> for BMP that server runs inside it 2021-02-01T19:32:29 < aandrew> jlink does not need it, but there is a jlink ("jaylink") driver for oocd if you don't want to change your workflow 2021-02-01T19:32:55 < aandrew> bmp doesn't need oocd, you can just use gdb directly 2021-02-01T19:33:14 < karlp> jlink has a Jlinkgdbserver.exe instead of oocd if you like using their sw 2021-02-01T19:33:17 < aandrew> I kind of wish ozone would allow generic gdb target hardware but understand why they don't 2021-02-01T19:33:24 < aandrew> I haven't found a better gui debugger 2021-02-01T19:33:24 < jpa-> R2COM: can't you use the "flash jlink on stlink" thingy if you really need jlink? 2021-02-01T19:33:39 < jpa-> https://www.st.com/en/development-tools/j-link.html 2021-02-01T19:33:54 < aandrew> jpa-: r2com is concerned about legalities so he wouldn't do that becuase it's only legit for use on stm32discovery type boards (i.e. not for debugging custom stuff) 2021-02-01T19:34:16 < karlp> ok, filters filter, but can't get it to sync one way without deleting things... 2021-02-01T19:34:23 < jpa-> aandrew: oh, is there such a rule? 2021-02-01T19:34:25 < aandrew> all my onboard stlinks are jlink with the exception of my stlinkv3 and the embedded v3 on my h757 dev board 2021-02-01T19:34:26 < karlp> it's ilght years faster than the onedrive thing 2021-02-01T19:35:28 < jpa-> aandrew: ah, looks like there is indeed 2021-02-01T19:35:54 < R2COM> so is there some solution which will run gdb server on "itself" like BMP? 2021-02-01T19:36:05 < jpa-> no, BMP is pretty much unique in that aspect 2021-02-01T19:36:21 < aandrew> yep 2021-02-01T19:36:27 < aandrew> and if you guys haven't tried orbuculum you're missing out 2021-02-01T19:36:28 < aandrew> I love it 2021-02-01T19:36:39 < R2COM> for regular flow yes, but for some circumstances where you need connect under reset or full chip erase work...it choked 2021-02-01T19:36:44 < karlp> that has nothign to do with bmp though aandrew :) 2021-02-01T19:40:58 < jpa-> at least until i bother making a BMP version with on-board FPGA for high speed trace capture ;) 2021-02-01T19:41:39 < zyp> jpa-, I've had that idea too 2021-02-01T19:41:54 < karlp> so have they.... 2021-02-01T19:41:58 < zyp> :) 2021-02-01T19:42:03 < jpa-> :) 2021-02-01T19:42:08 < jpa-> i'm waiting for it to appear 2021-02-01T19:44:10 < qyx> something is eating my energy 2021-02-01T19:44:13 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-01T19:45:39 < R2COM> is BMP source open source? 2021-02-01T19:46:56 < zyp> yes 2021-02-01T19:47:07 < zyp> https://github.com/blacksphere/blackmagic/ 2021-02-01T19:49:30 < R2COM> so... JLINK requires OpenOCD in order to be able to debug via gdb command line? 2021-02-01T19:49:32 < R2COM> or? 2021-02-01T19:49:38 < zyp> no 2021-02-01T19:50:06 < zyp> I have this shit running here: https://bin.jvnv.net/file/zNq7k.png :p 2021-02-01T19:50:44 < R2COM> ah right 2021-02-01T19:50:45 < R2COM> so 2021-02-01T19:50:52 < R2COM> in otehr words, JLINK require running GDB server 2021-02-01T19:50:56 < R2COM> which is that app you showed 2021-02-01T19:50:59 < R2COM> its free app? 2021-02-01T19:51:09 < R2COM> or they charge for that too 2021-02-01T19:51:10 < R2COM> lets see 2021-02-01T19:51:48 < zyp> free if you've got a jlink 2021-02-01T19:52:07 < R2COM> https://www.segger.com/products/debug-probes/j-link/tools/j-link-gdb-server/about-j-link-gdb-server/ 2021-02-01T19:52:32 < R2COM> so you run that server, and then get back to console and debug in gdb with jlink? 2021-02-01T19:52:39 < zyp> yeah 2021-02-01T19:52:43 < R2COM> gdb from console connecst to server etc 2021-02-01T19:52:45 < R2COM> ok 2021-02-01T19:53:11 < zyp> I'm only using this because I ran out of patience trying to get openocd and gd32v to play nicely 2021-02-01T19:53:33 < R2COM> ok in that case my solution cost is: $378 for JLink BASE 2021-02-01T19:53:36 < aandrew> karlp: your'e right that has nothing to do with bmp 2021-02-01T19:54:19 < R2COM> damn jewkillers charge so much for simple stupid probe 2021-02-01T19:54:22 < R2COM> because thats what it is 2021-02-01T19:54:42 < aandrew> R2COM: yes, jlink needs JLinkGDBServer running to use gdb 2021-02-01T19:55:57 < R2COM> alright 2021-02-01T19:56:08 < R2COM> i gotta think about it...cuz... honestly BMP works OK for regular shit 2021-02-01T19:56:21 < R2COM> and for "emergency" i got my st-link nearby to erase/reset devices... 2021-02-01T19:56:23 < R2COM> sooo... 2021-02-01T19:56:34 < R2COM> not sure if i now need to burn $378 2021-02-01T19:56:57 < R2COM> by chance, anyone knows of some other solution of probe for reasonable price which offers GDB server too? 2021-02-01T19:58:20 < jpa-> openocd on raspberry pi? :) 2021-02-01T19:58:43 < R2COM> nah, those words dont sound reliable to me 2021-02-01T19:59:04 < qyx> openocd with ft232h? 2021-02-01T19:59:41 < jpa-> isn't ft232h kind of slow with swd? haven't tried myself 2021-02-01T19:59:46 < karlp> the -h bit is important 2021-02-01T19:59:55 < karlp> they do make a single port -h, it's not real common though 2021-02-01T20:00:08 < karlp> things like tumpa and glasgow and busblaster all use the 2232h 2021-02-01T20:00:08 < R2COM> whats this 2021-02-01T20:00:10 < R2COM> http://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320168&productTab=1 2021-02-01T20:00:22 < karlp> what, you want to spend more? :) 2021-02-01T20:00:31 < karlp> sure, p&e will happily take it from your 2021-02-01T20:00:42 < karlp> you can go to lauterbach to, if you just want to spend 2021-02-01T20:01:17 < karlp> having a bit of a hard time what this realyl is about though, other than waving your dick around that youy've got money to spend on nothing 2021-02-01T20:01:22 -!- CheBuzz [~CheBuzz@unaffiliated/chebuzz] has quit [Ping timeout: 272 seconds] 2021-02-01T20:01:46 < jpa-> i would expect one to run into gdb version issues in any case - at least that has been my most common issue that if i upgrade gdb, i may need to upgrade BMP or openocd also 2021-02-01T20:02:05 < jpa-> might be even crappier if it is some closed source thing where you can't get a new version 2021-02-01T20:02:34 < karlp> hrm,I've nt had gdb version problems for years now 2021-02-01T20:02:34 < jpa-> gdb people haven't been very diligent about keeping compatibility with the remote protocol 2021-02-01T20:03:13 < jpa-> true, i haven't had them for years either.. though that might be because i'm apparently still using 2018Q4 :D 2021-02-01T20:05:16 < qyx> found 1.5 mA, qspi flash 2021-02-01T20:05:49 < qyx> I am curious why a pin configured in default (input with pullup) is at 0 V 2021-02-01T20:06:13 < qyx> setting to output and forcing to L sleeps the flash 2021-02-01T20:06:30 < qyx> 500 uA now 2021-02-01T20:06:37 < zyp> I generally only upgrade my BMP when I want to play with a new part that my previous firmware didn't support 2021-02-01T20:06:50 < zyp> never really had gdb protocol version issues 2021-02-01T20:08:19 -!- jpnurmi_ [jpnurmi@qt/jpnurmi] has quit [Quit: ZNC - http://znc.in] 2021-02-01T20:08:46 < R2COM> i just don't think there will be anyone in dev team of BMP looking into the issues i described 2021-02-01T20:08:55 < R2COM> project is out, source is out too so 2021-02-01T20:08:56 -!- jpnurmi [jpnurmi@qt/jpnurmi] has joined ##stm32 2021-02-01T20:09:04 < R2COM> i still like BMP for the regular flow 2021-02-01T20:09:29 < jpa-> you could post a bug bounty of $378 on that bug? :) 2021-02-01T20:09:59 < R2COM> btw... so the source shown above for BMP, that means if its burned on any stm32 device it will turn it into BMP literally yea? if hardware schematics same of course 2021-02-01T20:10:11 < zyp> yes 2021-02-01T20:10:27 < karlp> you could read the page you were linked... :) 2021-02-01T20:10:35 < karlp> that says hwo to run it on fucking blue pill shit even 2021-02-01T20:10:39 < R2COM> jpa- i'd post $1, together with maybe hundreds of others who had that bug (and i pretty sure people had that bug, cuz yesterday i browsed shitloads of forums talking about same thing) 2021-02-01T20:11:12 < R2COM> whoever is way deep into it might solved it for himself already and moved on and not interested in sharing 2021-02-01T20:11:24 < jpa-> but most won't post even $1, you can compensate with your mighty american wealth 2021-02-01T20:12:01 < R2COM> my mighty american wealth will go down with new gov since i will have to feed millions of refugees from somalia, sorry 2021-02-01T20:13:21 < zyp> shame 2021-02-01T20:13:31 < BrainDamage> even if that was true, it'd only set you back by ~1k/year 2021-02-01T20:23:28 -!- emeb [~ericb@ip174-73-159-221.ph.ph.cox.net] has quit [Quit: Leaving.] 2021-02-01T20:37:21 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has joined ##stm32 2021-02-01T20:46:04 < englishman> p sure the mighty american wealth has already devalued itself by 20% or so after the last few months of unlimited QE 2021-02-01T20:52:14 < zyp> hmm, I wonder how expensive C++ exceptions really are 2021-02-01T20:52:58 < zyp> they seem increasingly useful when combined with coroutines 2021-02-01T20:54:23 < BrainDamage> if you're not using threads they shouldn't in principle be more costly than a function call + stack / heap deallocation 2021-02-01T20:54:53 < BrainDamage> since the compiler can resolve at build time what catches it 2021-02-01T20:55:33 < zyp> even through indirect calls? 2021-02-01T20:58:15 < BrainDamage> you mean through an external lib? then I'm not sure 2021-02-01T20:58:52 < BrainDamage> because in that case the compiler wouldn't know, but I guess you could still build a call tree for the linker to see 2021-02-01T21:02:27 < BrainDamage> wrap the function with a callback to handle the exception path, and the code would sink it to a proper handler or a stub if uncaught 2021-02-01T21:02:30 < zyp> doesn't look like it even tries to omit anything: https://godbolt.org/z/z5aKdE 2021-02-01T21:11:15 < qyx> itm/etm is kept powered after flashing? 2021-02-01T21:11:43 < qyx> I have something draining 200 uA when I flah the board 2021-02-01T21:14:46 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has joined ##stm32 2021-02-01T21:16:45 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2021-02-01T22:19:02 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has quit [Ping timeout: 260 seconds] 2021-02-01T22:30:07 < zyp> hmm 2021-02-01T22:30:34 < zyp> a simple executable that throws an exception ends up being around 7k 2021-02-01T22:31:20 < zyp> commenting out the throw only saves me 2k 2021-02-01T22:32:28 < zyp> not sure why it's not getting garbage collected 2021-02-01T22:34:58 -!- iobus [uid144366@gateway/web/irccloud.com/x-pdwtxixcuhhluekn] has joined ##stm32 2021-02-01T22:38:28 < iobus> hello world, anyone used those cheap 433RF ASK modules with STM32 without Arduino? 2021-02-01T22:40:08 < R2COM> no, for such project we use stm32 only together with arduino 2021-02-01T22:46:00 -!- futarisIRCcloud [uid222239@gateway/web/irccloud.com/x-mptdtwuaiyawgjdk] has quit [Quit: Connection closed for inactivity] 2021-02-01T22:52:24 < mawk> probably iobus , ask your question 2021-02-01T22:52:41 < mawk> even if people haven't used it chances are they will know how to answer 2021-02-01T22:54:09 < iobus> @mawk I just wanna know what library they used, I only need the RX part, something compatible with RadioHead of Arduino for example 2021-02-01T22:54:37 < mawk> when playing with 868MHz FSK transmitter I made my own library 2021-02-01T22:54:41 < mawk> you don't need other people's code 2021-02-01T22:54:45 < mawk> it's simple enough 2021-02-01T22:54:55 < mawk> and there are as many setup codes as there are different transmitters anyway 2021-02-01T22:55:03 < mawk> so just read datasheet and implement yourself 2021-02-01T22:55:05 < mawk> it's not that hard 2021-02-01T22:56:47 < mawk> what receiver is it iobus 2021-02-01T22:58:02 < iobus> MX-RM-5V for RX and FS100A for TX, it's an 315MHz ASK OOK 2021-02-01T22:58:13 < mawk> you said 433 2021-02-01T22:58:53 < iobus> they are the same hardware, only frequency changes 2021-02-01T23:00:07 < mawk> why are you using these things though 2021-02-01T23:00:33 < iobus> i only need it for a class about USB for a lab assignment, trying to make a small concept about wireless keyboard 2021-02-01T23:00:44 < mawk> it doesn't support auto preamble, postamble, synchronization word, packet delimitation, retransmission, anything 2021-02-01T23:00:51 < iobus> if i don't find a solution soon i have to use NRF24 or ESP-NOW 2021-02-01T23:00:51 < mawk> yeah well maybe use something else 2021-02-01T23:01:00 < mawk> use nRF24L01+ 2021-02-01T23:01:04 < mawk> that's what I'd use 2021-02-01T23:01:12 < mawk> and that's what real life RF keyboard manufacturers use 2021-02-01T23:01:15 < mawk> among others 2021-02-01T23:02:23 < iobus> may you recommend a non-arduino library to use with ST's F103 HAL? 2021-02-01T23:02:36 < mawk> https://www.amazon.fr/WayinTop-NRF24L01-R%C3%A9cepteur-Adaptateur-R%C3%A9gulateur/dp/B07P95X6HM/ 2021-02-01T23:02:43 < mawk> to use for what? 2021-02-01T23:02:45 < mawk> the nRF24L01+? 2021-02-01T23:02:52 < mawk> I made my own 2021-02-01T23:02:59 < mawk> I don't trust other people's code in the "make:r space" 2021-02-01T23:03:03 < mawk> and it's very simple anyway 2021-02-01T23:03:20 < iobus> oh okay! thanks 2021-02-01T23:04:03 < mawk> don't use the one from my link 2021-02-01T23:04:05 < mawk> it has a weird adapter board 2021-02-01T23:04:09 < iobus> Yes I have the same module in my "electronics box" 2021-02-01T23:04:11 < mawk> but get one with a big antenna like this 2021-02-01T23:04:17 < mawk> otherwise the pcb might be shitty 2021-02-01T23:04:23 < mawk> just try it andsee 2021-02-01T23:04:42 < iobus> "NRF24L01+PA+LNA" 2021-02-01T23:04:48 < mawk> yeah 2021-02-01T23:04:50 < mawk> good 2021-02-01T23:07:06 < PaulFertser> And there was an issue with fake modules implementing auto-ack differently. 2021-02-01T23:07:11 < PaulFertser> Fake chips. 2021-02-01T23:08:31 < PaulFertser> So when using auto-ack one should not mix originals and fakes. 2021-02-01T23:08:36 < PaulFertser> iirc 2021-02-01T23:11:53 < mawk> https://www.amazon.fr/Electronique-Ensemble-Temp%C3%A9rature-R%C3%A9glable-Affichage/dp/B08BBY1YWC/ lol 2021-02-01T23:11:57 < mawk> lenovo counterfeit 2021-02-01T23:12:00 < mawk> LONOVE 2021-02-01T23:12:04 < mawk> and they say LENOVO in the title 2021-02-01T23:17:36 < qyx> 111 uA, freertos tickless with lptim on L4 \o/ 2021-02-01T23:17:45 < qyx> I'll try to go even lower 2021-02-01T23:17:55 < qyx> the only drawback is serial console doesn't work :( 2021-02-01T23:21:25 < mawk> why though? 2021-02-01T23:21:44 < mawk> tickless stuff is nice 2021-02-01T23:22:14 < qyx> probably usart rx interrupt no worky in stop 1 2021-02-01T23:22:18 < qyx> but it should 2021-02-01T23:23:10 < Steffanx> not using lpuart? 2021-02-01T23:25:37 < qyx> no because I am dumb 2021-02-01T23:25:43 < qyx> no lpuart on PA9/PA10 2021-02-01T23:25:46 < Steffanx> awh, too bad 2021-02-01T23:25:52 < qyx> but it should work 2021-02-01T23:25:57 < qyx> it should be able to detect start bit 2021-02-01T23:26:08 < qyx> maybe 115200 is too much to wake up from stop 1 2021-02-01T23:26:31 < antto> "Couleur" is that how you spell "color" in .fr? 2021-02-01T23:26:59 < Steffanx> oui oui 2021-02-01T23:27:32 < Steffanx> How to say it in .bg, mr antto ? 2021-02-01T23:27:44 < antto> цвят 2021-02-01T23:27:47 < Steffanx> .tiff ? 2021-02-01T23:28:15 < mawk> yes antto 2021-02-01T23:28:24 < antto> my condolesence, mawk 2021-02-01T23:28:40 < mawk> why 2021-02-01T23:28:56 < antto> .fr has soooo many extra letters for decorative purposes 2021-02-01T23:28:56 < mawk> cvyat ? 2021-02-01T23:29:01 < Steffanx> he secretly loves french. 2021-02-01T23:29:03 < mawk> maybe 2021-02-01T23:29:13 < mawk> but not in couleur 2021-02-01T23:29:18 < mawk> k ou l eu r 2021-02-01T23:29:24 < mawk> they all have their purpose 2021-02-01T23:29:39 < Steffanx> antto, you shuold go dutch. We remove the ou and turned into "kleur" . 2021-02-01T23:32:05 < antto> in .bg, afaik there is this one word that has FOUR consecutive vowels.. ain't no other word like it 2021-02-01T23:32:22 < antto> it's фоаие, and afaik it comes from .fr 2021-02-01T23:32:24 < antto> >:) 2021-02-01T23:32:46 < mawk> foyer ? 2021-02-01T23:32:50 < mawk> home 2021-02-01T23:32:57 < mawk> household 2021-02-01T23:33:00 < mawk> that antto ? 2021-02-01T23:33:08 < antto> nah, afaik it means like a lobby place maybe 2021-02-01T23:33:16 < mawk> chimney then ? 2021-02-01T23:33:32 < antto> no, i'd think it is pronounced that way-ish in .fr 2021-02-01T23:33:36 < mawk> of course it means foyer you lier 2021-02-01T23:33:38 < mawk> https://translate.google.fr/?sl=bg&tl=fr&text=%D1%84%D0%BE%D0%B0%D0%B8%D0%B5&op=translate 2021-02-01T23:33:40 < mawk> I was right 2021-02-01T23:34:21 < Steffanx> i beat you antto . Dutch has a word with 6. (a real world, there are made up words with more) 2021-02-01T23:34:24 < Steffanx> *word 2021-02-01T23:34:35 < mawk> what is it 2021-02-01T23:34:38 < Steffanx> zaaiuien 2021-02-01T23:34:58 < mawk> zaai onions? 2021-02-01T23:35:08 < antto> DAFUCHT? 2021-02-01T23:35:16 < Steffanx> yes, mawk 2021-02-01T23:35:19 < mawk> what is zaai 2021-02-01T23:35:30 < Steffanx> sowing 2021-02-01T23:35:35 < mawk> what is sowing 2021-02-01T23:36:02 < antto> DIY clothing 2021-02-01T23:36:11 < Steffanx> putting the onions in the ground to grow more mawk . 2021-02-01T23:36:19 < antto> oh 2021-02-01T23:36:31 < Steffanx> Does not strictly apply to unions ofcourse but .. ;) 2021-02-01T23:36:40 < mawk> ah 2021-02-01T23:37:36 < antto> wuddayaknow, it's фоайе 2021-02-01T23:37:45 < antto> in english it does mean lobby 2021-02-01T23:37:59 < effractur> /win 157 2021-02-01T23:38:08 < antto> Invalid window 2021-02-01T23:38:49 < antto> and in french it translates to "hall" o_O 2021-02-01T23:38:56 < antto> wtf, is g00gle trolling me?! 2021-02-01T23:40:02 < mawk> without the accent it's translated to foyer antto 2021-02-01T23:40:07 < mawk> which is the word it's coming from 2021-02-01T23:40:14 < mawk> just ask google to say "foyer" out loud for you 2021-02-01T23:40:20 < mawk> it's exactly фоайе 2021-02-01T23:40:34 < antto> so thank you, .fr, for contributing one of possibly the weirdest words in .bg 2021-02-01T23:40:35 < mawk> meaning shifted a bit when translated probably 2021-02-01T23:40:42 < mawk> in french it means household 2021-02-01T23:46:19 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has quit [Quit: Gone to sleep...] 2021-02-01T23:56:59 < zyp> Steffanx, pretty easy when you've got a language that does compound words --- Day changed Tue Feb 02 2021 2021-02-02T00:00:12 < Steffanx> Maybe zyp 2021-02-02T00:00:26 < Steffanx> There used to be one with more, but it got changed in 1996 2021-02-02T00:02:05 < zyp> I mean, where do you draw the limit for what's a real word? 2021-02-02T00:03:38 < Steffanx> Not sure. I guess words that are official recognized and... make sense 2021-02-02T00:03:46 < antto> when the word becomes longer than an Eminem song 2021-02-02T00:04:36 < zyp> I mean, you're probably not gonna find «saueeier» in a dictionary, but it means «sheep owner» and makes total sense 2021-02-02T00:06:55 < Steffanx> Then its unofficially recognised 😛 2021-02-02T00:10:46 < Steffanx> Anyway, it is indeed easy in dutch to make compound words, but they do have to make sense. Or be a real thing.. 2021-02-02T00:11:16 < Steffanx> But idk who or what draws the line 2021-02-02T00:11:47 < Steffanx> Borsjtsjschranser :) 2021-02-02T00:13:13 < antto> wat o_O 2021-02-02T00:14:19 < antto> and when you think about some people who know like 10 languages.. or more x_x 2021-02-02T00:16:06 < Steffanx> Apparently "Borsjtsj" is "Borscht" in english and thats apparently some russian beet soup 2021-02-02T00:16:51 < Steffanx> Hah, its not that we actually use this word. Like ever, antto 2021-02-02T00:17:04 < qyx> boršč 2021-02-02T00:17:12 < antto> bosch 2021-02-02T00:17:22 < antto> 2021-02-02T00:17:22 < qyx> you need too many letters to say such easy word 2021-02-02T00:18:52 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has joined ##stm32 2021-02-02T00:23:37 < mawk> what is schranser 2021-02-02T00:23:42 < mawk> sounds german 2021-02-02T00:23:46 < mawk> are you german Steffanx today? 2021-02-02T00:24:23 < antto> "today" o_O 2021-02-02T00:24:34 < mawk> better than tomorrow 2021-02-02T00:25:09 -!- Amun_Ra [~amun-ra@retro.rocks] has quit [Ping timeout: 264 seconds] 2021-02-02T00:25:17 < antto> does he dynamic_cast<> himself all the time? 2021-02-02T00:28:26 < Steffanx> I dont know what the english translation is mawk. But its like eating.. stuffing. Mainly without shame. 2021-02-02T00:29:17 < Steffanx> Guzzing? 2021-02-02T00:29:56 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-02T00:31:17 -!- Amun_Ra [~amun-ra@retro.rocks] has joined ##stm32 2021-02-02T00:32:01 < Steffanx> Welcome night crew member kakium69 2021-02-02T00:32:13 < Steffanx> Got the beats? 2021-02-02T00:32:26 < kakium69> hello evening steff 2021-02-02T00:32:47 < karlp> got the dope hook beatz yah 2021-02-02T00:35:27 < karlp> qyx: your 111uA, what is it doing at that point? 2021-02-02T00:35:28 < Steffanx> I almost wrote beads, but not sure if kakium69 is into that 2021-02-02T00:38:25 < kakium69> https://soundcloud.com/djlucidlou/lucidlou-when-i-saw-you-time-stood-still 2021-02-02T00:39:06 < antto> i haz some beatz too 2021-02-02T00:39:15 < karlp> does the channel have a favourite push/push sim card cage? 2021-02-02T00:39:31 < karlp> any size really, but probably full size for usability of a push/push slot one. 2021-02-02T00:41:17 < qyx> karlp: running my freertos framework, basically nothing, CLI + empty message queue 2021-02-02T00:41:38 < qyx> the important part is that applications need not to be aware of any low powerity 2021-02-02T00:42:06 < karlp> hrm. I've got a project soon to work out how low I can go with the adc still running.... 2021-02-02T00:42:11 < qyx> I revived the thing after maybe 4 years to see if it is actually usable 2021-02-02T00:42:42 < qyx> I have new lora accel pcbs here, my goal is continuous sampling 2021-02-02T00:42:55 < qyx> on a single AA lisocl2 2021-02-02T00:44:49 < kakium69> https://soundcloud.com/djlucidlou/had-to-disappear 2021-02-02T00:48:07 < kakium69> yeah soundcloud kinda rules 2021-02-02T00:48:26 < antto> it kinda sux 2021-02-02T00:48:31 < kakium69> yes 2021-02-02T00:48:53 < antto> they give you 1 (or a few) hour(s) or something 2021-02-02T00:49:08 < kakium69> time? 2021-02-02T00:49:21 < kakium69> unless you pay? 2021-02-02T00:49:21 < antto> yes, what else 2021-02-02T00:49:49 < antto> they rely on your $$$$$$ 2021-02-02T00:49:59 < antto> then u also may become famous 2021-02-02T00:50:49 < antto> but f*ck that.. the website was turned into sh*t.. specifically their stupid tendancy to auto play after the current track ends 2021-02-02T00:50:56 < antto> and it plays $something 2021-02-02T00:51:03 < antto> i insta-close it 2021-02-02T00:51:13 < kakium69> it plays far better than ytm autoplay 2021-02-02T00:51:28 < antto> pootube autoplay did not exist for a long time 2021-02-02T00:51:36 < antto> soundcloud is like that since years 2021-02-02T00:52:05 < kakium69> wait 2021-02-02T00:52:12 < kakium69> there is no button to turn it off? 2021-02-02T00:52:22 < antto> in soundcloud? 2021-02-02T00:52:25 < kakium69> y 2021-02-02T00:52:32 < antto> of course there ain't 2021-02-02T00:52:53 < antto> why do you think i said "insta-close" 2021-02-02T00:53:07 < antto> it was NOT like that when i registered 2021-02-02T00:53:22 < antto> or was it 2021-02-02T00:53:38 < antto> i don't remember.. but it got worse after some point in time 2021-02-02T00:56:36 < antto> "164 of 180 minutes used" .. so it's 3 hours 2021-02-02T00:56:56 < kakium69> 5.99eurss! 2021-02-02T00:57:02 < kakium69> per month 2021-02-02T00:57:16 < antto> how about no 2021-02-02T00:57:47 < antto> i put my "sh*t" there for free, not gonna do it if it COST me moneyz 2021-02-02T01:00:48 < qyx> put some bitmap fonts there 2021-02-02T01:01:13 < kakium69> I was a bit shocked antto 2021-02-02T01:01:21 < antto> hm? 2021-02-02T01:01:22 < qyx> freeertos thinks I slept well and longer than I should 2021-02-02T01:01:31 < kakium69> 6eur is something 2021-02-02T01:02:08 < antto> i'm already paying 5 bucks for hosting, i might as well splosh them mp3s on there 2021-02-02T01:04:24 < kakium69> https://www.tenforums.com/tutorials/78681-add-file-hash-context-menu-windows-8-10-a.html 2021-02-02T01:18:13 < kakium69> booted my linux from old computer in my ryzen beast now 2021-02-02T01:18:37 < antto> oh, u haz ryz0n 2021-02-02T01:19:11 < kakium69> it seems I last time used that lunix in early 2020 2021-02-02T01:19:33 < kakium69> my case really cannot fit that sata drive 2021-02-02T01:19:50 < kakium69> it's open now and sata drive is wired in 2021-02-02T01:20:21 < kakium69> it has all the pr0jext! 2021-02-02T01:20:37 < antto> stick it like this: https://qph.fs.quoracdn.net/main-qimg-d72bb7514d901f2ee4b46cb343a7eb68 2021-02-02T01:20:38 < kakium69> crazy kakistuff 2021-02-02T01:20:59 < kakium69> make a carbon fiber scoop to the case? 2021-02-02T01:21:13 < kakium69> I think I need to order some esata panel mounted thing 2021-02-02T01:21:23 < kakium69> esata is really nice thing 2021-02-02T01:23:02 < antto> if ur sata doesn't fit in tha box, let it stick out of the hood 2021-02-02T01:23:40 < kakium69> https://www.ebay.com/itm/Lenovo-M91p-M81-M93-M93p-M83-E93-M900-SATA-Extension-41R3311-41R3313-eSATA-Cable/153596788329 where is the power? 2021-02-02T01:23:44 < antto> paint it in chrome, iz gonna look "faster" 2021-02-02T01:24:21 < kakium69> couldn't get to uefi setup yesterday because of displayport connection instead of dvi 2021-02-02T01:24:26 < kakium69> go figure 2021-02-02T01:24:31 < kakium69> same gpu 2021-02-02T01:25:17 < antto> remember where most technical equipement problems were solved by hitting the equipement either sideways or downwards 2021-02-02T01:25:22 < antto> * when 2021-02-02T01:27:01 < kakium69> bios update gave me satisfaction today 2021-02-02T01:27:19 < kakium69> I now have ie. resizeable bar support 2021-02-02T01:27:52 < antto> you were resizing ur bar untill u got satisfaction? 2021-02-02T01:27:58 < kakium69> not that is makes any difference 2021-02-02T01:28:00 < antto> NSFW that sh*t! 2021-02-02T01:28:47 < antto> uh-oh.. CAT_IRQ 2021-02-02T01:38:04 < kakium69> :o 2021-02-02T01:51:52 < qyx> re: lptim, there are some errata https://gist.github.com/jefftenney/02b313fe649a14b4c75237f925872d72 2021-02-02T01:52:06 < qyx> looks like a moderately fucked up peripheral 2021-02-02T01:54:36 -!- iobus [uid144366@gateway/web/irccloud.com/x-pdwtxixcuhhluekn] has quit [Quit: Connection closed for inactivity] 2021-02-02T01:59:25 < qyx> Acknowledge and clear the CMPM event. Based on the errata, we dare not clear this flag unless it 2021-02-02T01:59:34 < qyx> is already set. Call it an over-abundance of caution 2021-02-02T01:59:35 < qyx> heh 2021-02-02T02:00:27 < R2COM> mawk you alive 2021-02-02T02:00:34 < mawk> yes 2021-02-02T02:00:50 < mawk> want some crystal math? 2021-02-02T02:01:19 < R2COM> https://paste.ofcode.org/DQKHgmxkDHBnmNbfLKdd4G 2021-02-02T02:01:27 < R2COM> what you think of this way of coding driver for GPIO 2021-02-02T02:01:36 < R2COM> i will use specialized template for each port 2021-02-02T02:01:51 < R2COM> and then in my main.cpp i do: 2021-02-02T02:01:57 < R2COM> CGPIO portc; 2021-02-02T02:01:57 < mawk> zyp is also a C++ magician 2021-02-02T02:01:57 < R2COM> 2021-02-02T02:01:57 < R2COM> portc.setpin(9); 2021-02-02T02:02:03 < mawk> I'm not the best guy in town 2021-02-02T02:02:07 < mawk> but let me look 2021-02-02T02:02:25 < R2COM> what i linked only for PORTC but will be multiplied to other ports 2021-02-02T02:02:31 < R2COM> i think its a neat way 2021-02-02T02:02:33 < kakium69> embedly shows the whole code in irc window :o 2021-02-02T02:03:10 < R2COM> and i made variadic template for setreg function, defined at end of this file: 2021-02-02T02:03:11 < R2COM> https://paste.ofcode.org/EDwLPxrJN2xtc9NXupZVr8 2021-02-02T02:03:14 < R2COM> ^ 2021-02-02T02:03:20 < R2COM> btw this is file i wrote from scratch 2021-02-02T02:03:22 < mawk> but then you have to specialize for each port R2COM no? 2021-02-02T02:03:24 < R2COM> my own new driver 2021-02-02T02:03:33 < R2COM> mawk yes i will specialise for each port 2021-02-02T02:03:35 -!- futarisIRCcloud [uid222239@gateway/web/irccloud.com/x-pilhsahcdxbosvxh] has joined ##stm32 2021-02-02T02:03:41 < mawk> instead of using address as template parameter or something 2021-02-02T02:03:43 < mawk> why? 2021-02-02T02:03:48 < mawk> they aren't the same? 2021-02-02T02:03:56 < R2COM> CGPIO portc; 2021-02-02T02:03:57 < mawk> the same way to program them 2021-02-02T02:04:01 < R2COM> portc.setpin(9); 2021-02-02T02:04:03 < R2COM> ^ 2021-02-02T02:04:10 < R2COM> this is shortest code to for example set pin 2021-02-02T02:04:24 < mawk> yes that's a cool way to use it 2021-02-02T02:04:24 < R2COM> when when you create portc object, its pins and clocks initialized in constructor 2021-02-02T02:04:32 < mawk> hmm 2021-02-02T02:04:43 < mawk> and is port B so different? 2021-02-02T02:04:46 < R2COM> so... constructor will depend on each application wiring 2021-02-02T02:04:48 < R2COM> so yes 2021-02-02T02:04:56 < mawk> so different that you need a whole different set of functions 2021-02-02T02:05:00 < R2COM> in constructor, MODER OTYPER etc etc setup depending on hardware 2021-02-02T02:05:07 < R2COM> only inside constructor 2021-02-02T02:05:15 < R2COM> which is not hard to modify 2021-02-02T02:05:19 < R2COM> its 1-time thing for each project 2021-02-02T02:05:23 < mawk> ah 2021-02-02T02:05:23 < R2COM> rest is all untouched 2021-02-02T02:05:39 < R2COM> you saw my driver too? with setreg and getreg functions at very end? 2021-02-02T02:05:42 < R2COM> 2nd link 2021-02-02T02:05:43 < mawk> so port C is how you call the gpio bank on your mcu? 2021-02-02T02:06:02 < R2COM> yes there is a class enum in driver file 2021-02-02T02:06:13 < R2COM> so that 2nd link i typed all from 0 2021-02-02T02:06:19 < R2COM> https://paste.ofcode.org/EDwLPxrJN2xtc9NXupZVr8 2021-02-02T02:06:44 < R2COM> no more #defines, all adheres to c++ standards etc... 2021-02-02T02:06:44 < mawk> it made my android chrome crash lol 2021-02-02T02:06:48 < mawk> I'm trying again 2021-02-02T02:06:57 < mawk> I just saw a bunch of constexpr 2021-02-02T02:07:03 < mawk> which is a cool feature 2021-02-02T02:07:04 < R2COM> yes and go to very bottom 2021-02-02T02:07:14 < R2COM> you will see a variadic templated setreg fun ction 2021-02-02T02:07:33 < R2COM> so. it works like: setreg(REGADDR, setting1, setting2,.....settingN.....); 2021-02-02T02:07:39 < R2COM> no more | operation and shit 2021-02-02T02:07:47 < R2COM> constexpr function which rolls out during compile time 2021-02-02T02:08:02 < R2COM> and setreg/getreg used by the peripheral drivers, like one i showed for CGPIO 2021-02-02T02:08:48 < R2COM> as an example, let me show you how i wrote driver (initial version) for RCC 2021-02-02T02:08:50 < R2COM> here: https://paste.ofcode.org/jbuhAi27PCeWmLfRyzWTyN 2021-02-02T02:08:56 < R2COM> ^ RCC driver 2021-02-02T02:09:05 < R2COM> now... in main.cpp all i need to do is this: 2021-02-02T02:09:07 < mawk> it crashed my whole android, I'll look when on pc 2021-02-02T02:09:10 < mawk> but it looks cool 2021-02-02T02:09:18 < R2COM> CRCC rcc; 2021-02-02T02:09:19 < mawk> setreg you give bits to mask in ? 2021-02-02T02:09:42 < R2COM> setreg does masking itself.. all you do is give settings separated by comma 2021-02-02T02:09:51 < mawk> ie setreg(X, a, b , c) does *X = a|b|c; 2021-02-02T02:09:57 < R2COM> yes 2021-02-02T02:10:02 < mawk> I see 2021-02-02T02:10:17 < mawk> nice 2021-02-02T02:10:17 < R2COM> CRCC rcc; <--- -gues that will that do? it will set already 48MHz system clock out of PLL 2021-02-02T02:10:33 < R2COM> unless you supply init values to rcc {val 1 val 2 } copnfiguring clocking system differently 2021-02-02T02:10:49 < R2COM> by default its 8mhz in, 48MHz system clock out of PLL (most used stuff for me at least) 2021-02-02T02:10:55 < R2COM> and done in 1 line of code in main.cpp 2021-02-02T02:11:09 < mawk> yeah 2021-02-02T02:11:30 < R2COM> it also saves default calibration / trim values in private variable (in case where id need it etc) 2021-02-02T02:11:51 < R2COM> all functions roll out as constexpr 2021-02-02T02:11:59 < R2COM> and no multiple function calling 2021-02-02T02:12:02 < R2COM> all compile time thing 2021-02-02T02:13:14 < R2COM> im done coding for register settings of TIM1, GPIO, RCC 2021-02-02T02:13:16 < R2COM> will complete all 2021-02-02T02:13:23 < R2COM> and write drivers for each 2021-02-02T02:13:33 < R2COM> already done coding CMSIS or whatever 2021-02-02T02:13:39 < R2COM> interrupt related stuff 2021-02-02T02:13:42 < mawk> ask zyp what he's done 2021-02-02T02:13:48 < mawk> he did a lot of stuff like that 2021-02-02T02:13:48 < R2COM> i saw his stuff 2021-02-02T02:13:52 < mawk> ah nice 2021-02-02T02:14:11 < mawk> I tried to do what you did in C++ but for amd64 2021-02-02T02:14:14 < mawk> pc platform 2021-02-02T02:14:28 < R2COM> pc platform for what? 2021-02-02T02:14:38 < mawk> I was making a kernel 2021-02-02T02:14:46 < R2COM> kernel for amd64? 2021-02-02T02:14:50 < mawk> yes 2021-02-02T02:14:54 < R2COM> kernel means, you were doing OS? 2021-02-02T02:14:59 < mawk> yes 2021-02-02T02:15:08 < mawk> it's not so different than targeting a MCU 2021-02-02T02:15:21 < mawk> but it's a bit more difficult 2021-02-02T02:15:21 < R2COM> so you made OS for 64bit PC? 2021-02-02T02:15:32 < mawk> yes it boots on 64 bits pc 2021-02-02T02:15:42 < R2COM> why you made it? 2021-02-02T02:16:07 < mawk> initializes keyboard, mouse, serial port, screen, graphics card, then writes stuff to the screen using builtin fonts 2021-02-02T02:16:15 < mawk> responding to keyboard and mouse events 2021-02-02T02:16:23 < mawk> to learn how x86 works 2021-02-02T02:16:32 < R2COM> but....can it run Cyberpunk2077? 2021-02-02T02:16:34 < R2COM> jk 2021-02-02T02:16:37 < mawk> lol 2021-02-02T02:17:30 < mawk> there are a lot of legacy stuff from 80386 and earlier to fill in 2021-02-02T02:17:30 < R2COM> but it means you can easily roll out RTOS for stm32 too? 2021-02-02T02:17:44 < R2COM> from scratch 2021-02-02T02:17:51 < mawk> then page tables and interrupt tables and all kind of system descriptors 2021-02-02T02:18:01 < mawk> I don't know, it's two different things 2021-02-02T02:18:07 < R2COM> yes...cuz its RTOS 2021-02-02T02:18:09 < mawk> I hadn't done a scheduler yet in the kernel 2021-02-02T02:18:13 < mawk> only cooperative 2021-02-02T02:18:30 < R2COM> can you run RTOS on x86? 2021-02-02T02:18:35 < mawk> yes 2021-02-02T02:18:39 < mawk> Linux can be one 2021-02-02T02:18:46 < mawk> with the proper patches 2021-02-02T02:18:58 < mawk> xenomai, preempt-rt 2021-02-02T02:19:15 < R2COM> refresh my mem..shouldnt there be something in hardware architecture that makes use of RTOS on x86 not doable 2021-02-02T02:19:27 < R2COM> or no.. 2021-02-02T02:19:29 < R2COM> hm 2021-02-02T02:20:05 < mawk> why? 2021-02-02T02:20:15 < R2COM> ok dunno might be wrong 2021-02-02T02:20:32 < mawk> x86 is CISC and instructions are not precisely defined in terms of clock cycles 2021-02-02T02:20:38 < mawk> but that's not really a barrier to RTOS 2021-02-02T02:20:38 < R2COM> btw, i noticed there are only 1-2 RTOS open source for stm32 written in c++ 2021-02-02T02:20:41 < R2COM> most of shit is in C 2021-02-02T02:20:48 < mawk> linux + preempt-rt is RTOS 2021-02-02T02:20:48 < R2COM> ah 2021-02-02T02:20:54 < R2COM> yes, ok thanks, thats what i wanted to know 2021-02-02T02:21:16 < mawk> zephyr is C++ I think, mbed too 2021-02-02T02:21:17 < R2COM> if its barrier to rtos or not 2021-02-02T02:21:44 < mawk> instructions are bounded in time, so it can be RTOS 2021-02-02T02:22:02 < mawk> and anyway core is so fast that you easily achieve μs realtime constraints 2021-02-02T02:22:09 < mawk> if you do it right, even with a full linux running 2021-02-02T02:22:17 < R2COM> heh 2021-02-02T02:22:28 < mawk> preempt-rt makes the kernel preemptiblr 2021-02-02T02:22:32 < R2COM> i guess thats whaty they should run on expensive ass oscilloscopes..not win10 lol 2021-02-02T02:22:40 < mawk> so your tasks have even higher priority than the kernel 2021-02-02T02:22:44 < mawk> lol 2021-02-02T02:22:45 < R2COM> heh 2021-02-02T02:23:07 < R2COM> we have some really nice scopes at work which kick a lot, but kinda older and run win7.... 2021-02-02T02:23:15 < R2COM> and IT doesnt let connect that to network 2021-02-02T02:23:22 < R2COM> and update costs money and not always maintained 2021-02-02T02:23:47 < R2COM> preempt-rt is linux patch? 2021-02-02T02:23:49 < R2COM> for any distro? 2021-02-02T02:23:56 < R2COM> which converts linux to rtos-like OS? 2021-02-02T02:24:35 < mawk> more or less 2021-02-02T02:24:44 < mawk> you have to write realtime application after that 2021-02-02T02:25:05 < mawk> you put them in the realtime scheduling class with the priority you want, and it will run realtime 2021-02-02T02:25:07 < R2COM> what happens to rest of apps and shit? 2021-02-02T02:25:17 < mawk> they slow down 2021-02-02T02:25:23 < mawk> if your task is blocking 2021-02-02T02:25:27 < R2COM> ok 2021-02-02T02:26:00 < mawk> or rather they freeze 2021-02-02T02:26:05 < mawk> like on MS-DOS 2021-02-02T02:26:45 < R2COM> is ThreadX an RTOS from M$ ? 2021-02-02T02:26:58 < R2COM> but its not for PC.. hm 2021-02-02T02:27:38 < R2COM> and not free 2021-02-02T02:28:12 < mawk> it's not from ms right? 2021-02-02T02:28:20 < R2COM> i thought it is 2021-02-02T02:28:23 < mawk> it's the os running on raspberry pi 2021-02-02T02:28:30 < mawk> in the coprocessor 2021-02-02T02:28:40 < mawk> VideoCore IV or something 2021-02-02T02:28:49 < R2COM> https://en.wikipedia.org/wiki/ThreadX 2021-02-02T02:28:53 < R2COM> i thjink it runs on anything 2021-02-02T02:29:01 < aandrew> R2COM: one of my contracts is threadx based 2021-02-02T02:29:04 < aandrew> not a bad rtos 2021-02-02T02:29:12 < mawk> ah they just bought it 2021-02-02T02:29:12 < aandrew> my only other experience with it was in the fx3 2021-02-02T02:29:14 < mawk> as always 2021-02-02T02:29:16 < R2COM> i don't know why would people choose it 2021-02-02T02:29:16 < aandrew> yes ms just bought it 2021-02-02T02:29:32 < aandrew> R2COM: because it's backed by ms and I bet they get a decent deal on support 2021-02-02T02:29:44 < aandrew> this contract is 100% ms shop, including teams which is total garbage 2021-02-02T02:30:03 < R2COM> what you mean garbage teams 2021-02-02T02:38:23 < mawk> teams is a software 2021-02-02T02:38:41 < mawk> like zoom 2021-02-02T02:39:33 < R2COM> http://micro-os-plus.github.io/ 2021-02-02T02:39:41 < R2COM> https://github.com/shangaoren/yggdrasil 2021-02-02T02:39:48 < R2COM> https://flit.github.io/projects/argon/ 2021-02-02T02:39:53 < R2COM> https://github.com/scmrtos/scmrtos 2021-02-02T02:39:55 < R2COM> ^ 2021-02-02T02:40:02 < aandrew> yes 2021-02-02T02:40:05 < aandrew> teams is shit software 2021-02-02T02:40:08 < R2COM> some list of c++ based rtos, not sure if you heard or know what good there 2021-02-02T02:40:09 < aandrew> it's just awful 2021-02-02T02:42:05 < R2COM> scmrtos seems interesting, saw some comments on people that they used it and its fast & small 2021-02-02T02:43:41 < R2COM> anyway 2021-02-02T02:43:46 < R2COM> will look into that later 2021-02-02T02:44:04 < R2COM> as of now im excited to finally have own lib and never come back to CMSIS or HAL or some other faggotry 2021-02-02T02:45:50 < R2COM> so im now working on some fpga flow automation 2021-02-02T02:46:03 < R2COM> and was thinking about some projs online mentioning someone trying to make scons work with it 2021-02-02T02:46:05 < R2COM> as build system 2021-02-02T02:46:15 < R2COM> but then im like.. hmm its not really C compile flow 2021-02-02T02:46:20 < R2COM> does it need system like scons 2021-02-02T02:46:32 < R2COM> cuz here... if some module is changed, synthesis has to be redone anyway 2021-02-02T02:46:32 < aandrew> sounds like too much work 2021-02-02T02:46:45 < R2COM> so i dont think that fpga flow would benefit from systems like scons 2021-02-02T02:47:03 < R2COM> what im doing now is automating flow script creation from source files using python 2021-02-02T02:47:07 < R2COM> and i feel its good enough 2021-02-02T02:47:14 < R2COM> (basically im not using ISE GUI) 2021-02-02T02:47:42 < R2COM> scons is best for c++ projects not HDL.. 2021-02-02T02:48:05 < aandrew> did you see that MachXO3 has full OSS flow support now 2021-02-02T02:48:07 < aandrew> verilog 2021-02-02T02:48:57 < R2COM> i never done lattice 2021-02-02T02:48:59 < R2COM> what about it 2021-02-02T02:49:29 < aandrew> that's the news right there 2021-02-02T02:49:39 < aandrew> I like lattice and altera/intel 2021-02-02T02:50:30 < R2COM> OSS = ? 2021-02-02T02:50:57 < R2COM> open source soft? 2021-02-02T02:51:09 < R2COM> you mena it has full support with free tools? 2021-02-02T02:53:38 < R2COM> what about verilog sim? 2021-02-02T02:53:40 < R2COM> which one used 2021-02-02T02:53:50 < R2COM> dont see any mentioning about it at least on lattice website 2021-02-02T02:56:12 < R2COM> anyway, unless its something as polished as "gcc" its proly not worth dealing with 2021-02-02T03:29:48 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-02T03:33:31 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 256 seconds] 2021-02-02T04:01:25 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-02T04:01:54 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has quit [Ping timeout: 256 seconds] 2021-02-02T04:03:48 -!- Lux [~Luggi09@parabox.it-syndikat.org] has quit [Ping timeout: 260 seconds] 2021-02-02T04:04:07 -!- Getty [getty@stardestroyer.de] has quit [Ping timeout: 256 seconds] 2021-02-02T04:04:44 -!- mrec [~markus@sundtek.de] has quit [Ping timeout: 256 seconds] 2021-02-02T04:07:04 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has quit [Ping timeout: 258 seconds] 2021-02-02T04:14:47 -!- Getty [getty@stardestroyer.de] has joined ##stm32 2021-02-02T04:16:13 -!- mrec [~markus@sundtek.de] has joined ##stm32 2021-02-02T04:16:19 -!- Lux [~Luggi09@parabox.it-syndikat.org] has joined ##stm32 2021-02-02T04:32:26 < mawk> R2COM: it's probably not lattice themselves that made the OSS toolchain 2021-02-02T04:32:33 < mawk> so don't look on their website 2021-02-02T05:18:49 -!- CatCow97 [~mine9@c-73-96-109-206.hsd1.or.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2021-02-02T06:33:15 -!- futarisIRCcloud [uid222239@gateway/web/irccloud.com/x-pilhsahcdxbosvxh] has quit [Quit: Connection closed for inactivity] 2021-02-02T06:35:03 -!- fc5dc9d4 [~quassel@p4fd0f6b3.dip0.t-ipconnect.de] has joined ##stm32 2021-02-02T06:37:41 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has quit [Ping timeout: 256 seconds] 2021-02-02T06:38:30 -!- fc5dc9d4_ [~quassel@p57a61282.dip0.t-ipconnect.de] has quit [Ping timeout: 246 seconds] 2021-02-02T07:09:59 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2021-02-02T07:12:46 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has quit [Remote host closed the connection] 2021-02-02T07:16:04 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has joined ##stm32 2021-02-02T07:17:30 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2021-02-02T09:04:41 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has quit [Quit: Leaving.] 2021-02-02T09:09:54 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has quit [Quit: Gone to sleep...] 2021-02-02T10:02:23 -!- veegee [~veegee@142.126.187.41] has joined ##stm32 2021-02-02T10:07:11 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has joined ##stm32 2021-02-02T11:30:40 < karlp> aandrew: wasn't it mach xo2? 2021-02-02T11:52:09 < mawk> an ex girlfriend sent me a message "I was thinking about you recently" 2021-02-02T11:52:16 < mawk> I'm pretty sure that means "I'm lonely I want some action" 2021-02-02T12:00:40 < BrainDamage> ask her if she's desperate enough to cross country borders 2021-02-02T12:01:44 < mawk> lol 2021-02-02T12:11:57 < BrainDamage> "I know the feeling, sitting here in the netherlands makes me reminesce and yearn for familiar people" 2021-02-02T12:13:28 < karlp> aandrew: https://twitter.com/cr1901/status/1356042679608606721 ? 2021-02-02T12:13:36 < mawk> lol BrainDamage 2021-02-02T12:47:22 < zyp> karlp, nice 2021-02-02T12:50:26 < karlp> looks fairly preliminary, but still, I expect the lattice experience means that it will be substantially easier as they get into more and more of them 2021-02-02T12:50:51 < karlp> with ice40, ecp5 and xo2, the overlap to get the rest should start getting smaller and smaller one would presume 2021-02-02T12:51:15 < zyp> machxo2 looks pretty great for simple stuff, runs at 3.3V, builtin flash, available in qfn32 2021-02-02T13:15:43 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-02T13:39:51 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-02T14:06:57 < englishman> wfh day, winds up to 70km/h already and the snow hasnt started yet 2021-02-02T14:30:18 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has joined ##stm32 2021-02-02T14:44:43 < zyp> fun 2021-02-02T14:49:30 < qyx> no snow here 2021-02-02T15:02:21 -!- nashpa [~nashpa@dliviu.plus.com] has quit [Ping timeout: 264 seconds] 2021-02-02T15:02:46 < englishman> https://streamable.com/z49psb 2021-02-02T15:06:09 < qyx> the question now is, should I take a picture before it catches fire? 2021-02-02T15:07:43 -!- nashpa [~nashpa@dliviu.plus.com] has joined ##stm32 2021-02-02T15:07:45 < qyx> lol I want 2021-02-02T15:08:05 < qyx> people would be happy to stay locked down if such thing happened here 2021-02-02T15:13:38 < zyp> ah, feels like home 2021-02-02T15:14:15 < zyp> never really have that weather here in the south of norway, but I grew up in the north 2021-02-02T15:23:17 * qyx connecting scope to 230 V PSU 2021-02-02T15:24:07 < qyx> idk why it draws 13.6 mA on the AC side when unloaded 2021-02-02T15:24:34 < jpa-> you might want one of my isolators to protect your keyboard 2021-02-02T15:24:53 < zyp> :D 2021-02-02T15:25:09 < zyp> note: only works if it's connected 2021-02-02T15:26:10 < BrainDamage> maybe it's the current leak through the compensation caps 2021-02-02T15:26:21 < BrainDamage> altough 3W on the caps sound quite a bit 2021-02-02T15:26:32 < karlp> jpa-: final toll on that was keyboard, 2 hubs, scope, and motherboard ;) 2021-02-02T15:27:02 < karlp> I've got no idea how the mobo ethernet got killed, but I never got link on ethernet after that, ended up using the opportunity and moving down to a mATX mobo and case instead. 2021-02-02T15:27:08 < karlp> now it's on my desk and I need less hubs too 2021-02-02T15:28:33 < qyx> BrainDamage: idk, maybe snubber or what 2021-02-02T15:28:40 < jpa-> karlp: that's a pretty bad toll even for the short-circuit you had - usually one would just blow a trace on the scope 2021-02-02T15:28:46 < qyx> I am not going to touch it to see if it is warm 2021-02-02T15:28:52 < karlp> well, it's a usb scope. 2021-02-02T15:29:03 < karlp> and yes, I was very surpised that a _separate- usb hub died 2021-02-02T15:29:05 < jpa-> i have GFCI for my electronics bench, hopefully it would do something in such a case 2021-02-02T15:29:34 < karlp> the scope no longer enumerates, the port it was on causes errors, but the rest of the ports on tha thub actually work ok, but the errors annoy me enough that I've binned it. 2021-02-02T15:29:36 < BrainDamage> qyx: ir thermometer is pretty useful for those things, and not as expensive as a thermal camera 2021-02-02T15:30:10 < karlp> the other unconnected hub no longer enumerates either, no idea why, and of course, the hub in the keyboard died, so the keyboard itself became useless. 2021-02-02T15:30:25 < karlp> anyway, I now have a quieter non-mech setup, with a smaller quieter pc case as well. 2021-02-02T15:30:39 < karlp> and a nice story about engineering samples and hazardous indications 2021-02-02T15:30:39 < qyx> https://bin.jvnv.net/file/3Mojr.JPG 2021-02-02T15:30:48 < qyx> karlp: :D 2021-02-02T15:30:56 < jpa-> that's the great thing about PCs, always good reason for upgrading 2021-02-02T15:31:20 < karlp> kept the cpu and ram, they weren't so old, gen 8, coffee lake stuff 2021-02-02T15:31:38 < karlp> daughters got to see a pc get rebuilt and poke screwdrivers around. 2021-02-02T15:35:19 < BrainDamage> it's like lego, but when you mess up you get to see nice fireworks 2021-02-02T15:40:37 < qyx> AC meter says 0 2021-02-02T15:40:50 < qyx> maybe my uni-t is not true rms 2021-02-02T15:41:04 < qyx> I was measuring AC voltage drop on a series resistor 2021-02-02T16:05:57 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 260 seconds] 2021-02-02T16:08:56 < aandrew> karlp: oh, my mistake, I read too quickly 2021-02-02T16:16:07 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2021-02-02T16:18:40 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has quit [Remote host closed the connection] 2021-02-02T16:19:31 < qyx> meh I though it has 2 Vpp ripple on the output 2021-02-02T16:19:38 < qyx> the probe accidentally switched to 1x 2021-02-02T16:19:56 < qyx> 200 mV is still too much though 2021-02-02T16:23:40 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has joined ##stm32 2021-02-02T17:11:53 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-02T17:12:33 < kakium69> google is back in android phones? 2021-02-02T17:12:33 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 264 seconds] 2021-02-02T17:13:15 < kakium69> pixel 5 2021-02-02T17:13:31 < kakium69> they use motorola as supplier? 2021-02-02T17:25:19 < zyp> wikipedia says foxconn 2021-02-02T17:26:49 < kakium69> :o 2021-02-02T17:30:25 < kakium69> gphone 2021-02-02T17:55:34 < qyx> karlp: see https://www.tme.eu/sk/details/zcm-42/casove-rele-cislicove/zamel/ 2021-02-02T17:55:38 < qyx> you should use esp32 too 2021-02-02T17:55:59 < qyx> (actually I didn't check but 90% it is esp) 2021-02-02T18:08:37 -!- tctm [~Tectu@82.197.160.105] has joined ##stm32 2021-02-02T18:38:17 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has quit [Quit: Leaving] 2021-02-02T18:56:04 -!- spacebyte [~tsm@193.137.28.238] has joined ##stm32 2021-02-02T18:56:13 -!- spacebyte [~tsm@193.137.28.238] has left ##stm32 [] 2021-02-02T19:00:38 -!- nashpa [~nashpa@dliviu.plus.com] has quit [Ping timeout: 256 seconds] 2021-02-02T19:10:29 -!- nashpa [~nashpa@dliviu.plus.com] has joined ##stm32 2021-02-02T19:17:29 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has quit [Ping timeout: 258 seconds] 2021-02-02T19:22:52 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has joined ##stm32 2021-02-02T19:28:51 -!- c4017w [~c4017@209.52.68.8] has joined ##stm32 2021-02-02T19:30:04 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has joined ##stm32 2021-02-02T19:33:08 < jadew> what color temperature do you keep your monitors at? 2021-02-02T19:34:57 < BrainDamage> 10KK, it doubles as tanning lamp 2021-02-02T19:35:09 < jadew> heh 2021-02-02T19:35:22 < jadew> I'm asking because I realized I don't know what white looks like 2021-02-02T19:35:35 < jadew> thought I could look at the walls, but then the walls are lit artificially... 2021-02-02T19:35:39 < BrainDamage> the nominal one is 5000K 2021-02-02T19:36:01 < BrainDamage> buuut, you have to consider that your panel is not calibrated 2021-02-02T19:36:29 < BrainDamage> also, "white" can be produced in many ways 2021-02-02T19:36:35 < jadew> my calibrator recommends 6500K - I got used to it, but now the light in my room has a red tint, because I have warm LED bulbs 2021-02-02T19:37:27 < zyp> I keep mine on default, whatever that is 2021-02-02T19:37:27 < BrainDamage> you can take a blue laser and a yellow laser, and you'll see white, on the other hand, everything illuminated by them will look like shit 2021-02-02T19:37:50 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2021-02-02T19:38:02 < jadew> zyp, I used to do that too, but now I'm not sure what default is 2021-02-02T19:38:15 < jadew> when I got my LED displays I manually calibrated them to look like the CCFL ones 2021-02-02T19:38:20 < BrainDamage> go with what feels comfortabl 2021-02-02T19:38:33 < BrainDamage> it's not like you need accurate colour rendition 2021-02-02T19:38:35 < jadew> now the only CCFL I have cannot do 6500K at the correct brightness so it looks like crap 2021-02-02T19:39:05 < jadew> BrainDamage, yeah... I don't, I just want them to be similar 2021-02-02T19:39:39 < jadew> also, the fact that I can now calibrate them for a particular brightness has me wonder what brightness is better for your eyes? 2021-02-02T19:40:22 < jadew> does the same thing with white bg/black bg applies? where black bg is bad because your iris has to be more dilated to let in more light 2021-02-02T19:40:52 < zyp> apparently I've got mine set to 40% brightness 2021-02-02T19:41:03 < jadew> the calibrator recommended me 180 something (candles I think) 2021-02-02T19:41:16 < jadew> and I calibrated them for 120 and it still feels too bright 2021-02-02T19:41:20 < zyp> 350cd/m2 is apparently max 2021-02-02T19:41:41 < zyp> not sure how linear that is though 2021-02-02T19:41:42 < jadew> so 140 2021-02-02T19:41:51 < jadew> oh wait, I calibrated them for 140 2021-02-02T19:42:06 < jadew> was thinking that maybe I should go for 120 next 2021-02-02T19:44:35 < BrainDamage> I feel like after a day staring at it, your own body is able to tell you if the setting was comfortable or not 2021-02-02T19:44:45 < BrainDamage> regardless of prescribed numbers 2021-02-02T19:46:47 < BrainDamage> granted, the symptoms of eye fatigue are not always evident, but if you compare few days you can easily see if you feel better or worse at the end of the day 2021-02-02T19:47:46 < jadew> yeah, I'll give it a try at 140 2021-02-02T19:59:30 -!- machinehum [~machinehu@S01061cabc0ab4603.vc.shawcable.net] has joined ##stm32 2021-02-02T19:59:57 < machinehum> Does anyone know how the code at the bottom related to PRBS7? https://en.wikipedia.org/wiki/Pseudorandom_binary_sequence 2021-02-02T20:02:19 < machinehum> If I wanted to modify it for PRBSk, where would I start? I see no exponentiations as one would expect after reading the the section above 2021-02-02T20:06:35 < machinehum> Nevermind got it 2021-02-02T20:15:59 < Laurenceb> anyone familiar with lunix sound here? 2021-02-02T20:16:19 < Laurenceb> if there a way to stop my mono mic being copied across both stereo channels? 2021-02-02T20:17:03 < Laurenceb> in theory my sound hardware should support two mic inputs mapping to left and right channels, but atm one mono mic seems to be mapped to two channels at once 2021-02-02T20:22:39 < jadew> could be a function of the recording software 2021-02-02T20:22:55 < jadew> I think you can select only one channel in audigy 2021-02-02T20:24:23 -!- tctm [~Tectu@82.197.160.105] has quit [Read error: Connection reset by peer] 2021-02-02T20:29:47 < Laurenceb> ah 2021-02-02T20:30:08 < Laurenceb> yeah looking at the realtek datasheet it would be possible to input two mics at a time as steroe 2021-02-02T20:33:14 -!- catphish [~charlie@unaffiliated/catphish] has joined ##stm32 2021-02-02T20:35:42 < Steffanx> Wtf are you even doing Laurenceb ? Internal mic?! 2021-02-02T20:37:30 < Laurenceb> was going to try adaptive noise canelling 2021-02-02T20:37:35 < Laurenceb> *cancelling 2021-02-02T20:41:04 < machinehum> Laurenceb: pavucontrol gives decent control over everything 2021-02-02T20:41:28 < Laurenceb> machinehum: it only lets me select a single source at a time 2021-02-02T20:47:31 < BrainDamage> https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-echo-cancel 2021-02-02T20:47:50 < BrainDamage> you can use any number of sources and beamforming 2021-02-02T20:48:01 < BrainDamage> with the webrtc driver 2021-02-02T20:51:59 < Laurenceb> yeah 2021-02-02T20:52:45 < Laurenceb> hmm it _looks_ like the realtek driver is configured to just use the left hand ADC channel 2021-02-02T20:53:10 < Laurenceb> in which case I could only do this with usb adaptor unless I can haxor it 2021-02-02T20:53:39 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-02T20:54:18 < Laurenceb> the realtek ADC/DAC on my machine can input two mics as left and right channels if the driver allowed it 2021-02-02T20:55:10 < Laurenceb> I have line in support so it should be possible to run mics in similar fashion 2021-02-02T20:55:20 < Laurenceb> - stereo line in 2021-02-02T20:57:38 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has joined ##stm32 2021-02-02T21:06:36 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has quit [Read error: Connection reset by peer] 2021-02-02T21:13:25 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-02T21:15:52 < jadew> lol, yesterday everyone was pushing for silver, today it crashed 2021-02-02T21:20:56 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-02T21:21:29 < kakium69> is there a way to see what shit has been installed to bubuntu compared to freshly installed system? 2021-02-02T21:21:49 < kakium69> compared to release set of packages 2021-02-02T21:21:50 < qyx> there is an apt.log 2021-02-02T21:23:26 < kakium69> that's a non-solution solution 2021-02-02T21:24:03 < kakium69> I wonder if synaptic had feature to show installed shits 2021-02-02T21:24:27 < zyp> obviously you can get a list of installed packets 2021-02-02T21:24:28 < qyx> you can show installed shit, but probably not diff against fresh install 2021-02-02T21:25:02 < qyx> idk if a distro carries its table of contents 2021-02-02T21:25:48 < kakium69> I'm concidering fresh install now 2021-02-02T21:26:35 < kakium69> instead of carrying files with rsync from mint19 installation from 512gb to 256gb ssd 2021-02-02T21:31:36 < kakium69> yeah I think I'll try it 2021-02-02T21:31:44 < kakium69> install mint20 2021-02-02T21:32:07 < kakium69> then try to mount old mint 2021-02-02T21:39:16 < kakium69> have you tried to boot your dualboot linux from windows host vm? 2021-02-02T21:43:45 < kakium69> what happens if you select windows bootloader? 2021-02-02T21:43:48 < kakium69> in grub 2021-02-02T21:53:42 < Steffanx> try and see 2021-02-02T21:53:47 < Steffanx> the only proper way to do things 2021-02-02T21:55:02 < BrainDamage> kakium69: install it on a VM, then dump the package list 2021-02-02T21:55:20 < kakium69> ye 2021-02-02T21:55:24 < kakium69> that's easier! 2021-02-02T21:55:43 < kakium69> also for copying shits 2021-02-02T21:56:05 < kakium69> else I would need to figure out how to mount LVM and encrypted home 2021-02-02T21:59:36 < bitmask> man, shoveling snow really shows how out of shape you are 2021-02-02T22:00:49 -!- rajkosto [~Rajko@cable-178-149-125-126.dynamic.sbb.rs] has joined ##stm32 2021-02-02T22:03:30 < kakium69> handschuhe 2021-02-02T22:05:12 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Remote host closed the connection] 2021-02-02T22:05:27 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2021-02-02T22:05:28 < bitmask> footmittehn 2021-02-02T22:06:39 < Steffanx> Why do you want to know this anyway kakium69 ? if you need some package you dont have you install it, if you have to install some package you dont even know you had why install it? 2021-02-02T22:06:56 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Client Quit] 2021-02-02T22:07:36 < kakium69> I just want kinda continue where I left 2021-02-02T22:08:07 < Steffanx> then copy everything? 2021-02-02T22:08:12 < kakium69> ye 2021-02-02T22:08:54 < Steffanx> i got a new ssd last week. copied windows while running the same windows. works like a charm 2021-02-02T22:09:25 < qyx> yeah, can be done with lvm too 2021-02-02T22:09:33 < qyx> hot-plug new drive 2021-02-02T22:09:56 < Steffanx> Copying one nvme disk to another is crazy fast anyway 2021-02-02T22:10:02 < qyx> extend volume group, move pe, remove old drive 2021-02-02T22:10:10 < qyx> hot unplug 2021-02-02T22:11:02 < kakium69> Steffanx: sata 512gb to nvme 256 2021-02-02T22:11:34 < kakium69> Steffanx: samsung magician? 2021-02-02T22:11:42 < Steffanx> 512 GB to 1TB 2021-02-02T22:12:07 < qyx> moneyed westener 2021-02-02T22:12:24 < Steffanx> Macrium Reflect is what I used for the copying 2021-02-02T22:15:13 < kakium69> 1TB costs 100e nowdays btw 2021-02-02T22:15:22 < kakium69> in nvme format 2021-02-02T22:17:46 < kakium69> 128GB usb dongle <20e 2021-02-02T22:20:17 < Steffanx> retweeting: https://multistream.co/p/XIdcDFawhZ9/SN9 2021-02-02T22:20:45 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has joined ##stm32 2021-02-02T22:21:04 < karlp> qyx: nice price on that zamel, but it's just a couple of relays 2021-02-02T22:21:27 < qyx> T-4m 2021-02-02T22:21:30 < qyx> sn9 2021-02-02T22:24:07 < Steffanx> more like ~1 minute 2021-02-02T22:24:26 < qyx> there are two? 2021-02-02T22:24:35 < qyx> will it be dual kaboom? 2021-02-02T22:24:41 < Steffanx> no its the right one. 2021-02-02T22:25:12 < Steffanx> https://www.youtube.com/watch?v=_zZ7fIkpBgs or the left one i guess? :P 2021-02-02T22:26:20 < karlp> rad! I actyually saw one live 2021-02-02T22:26:22 < karlp> first time in years 2021-02-02T22:26:45 < Steffanx> \o/ 2021-02-02T22:27:02 < Steffanx> its because Thorn stopped posting the links here. 2021-02-02T22:28:00 < karlp> no, they were almost always never at the right time for me. 2021-02-02T22:29:01 < qyx> spacex stream no worky? 2021-02-02T22:29:14 < qyx> oh works now 2021-02-02T22:30:04 < karlp> I wonder what cases those zamel people have 2021-02-02T22:30:51 < karlp> qyx: https://www.tme.eu/is/en/details/grm-10/building-automation/zamel/ is a good deal too, $100 for cellular, rs485 master, usb for ? and the relays.... 2021-02-02T22:31:51 < Steffanx> awh 2021-02-02T22:32:13 < jadew> hah 2021-02-02T22:32:25 < jadew> thanks for the link 2021-02-02T22:32:27 < BrainDamage> yessss 2021-02-02T22:32:37 < qyx> second time 2021-02-02T22:32:39 < BrainDamage> well, it landed 2021-02-02T22:32:40 < jadew> first one I see live 2021-02-02T22:32:45 < qyx> great flight, yeah 2021-02-02T22:32:55 < Steffanx> nice boom 2021-02-02T22:33:02 < karlp> oh, it lands that fast? 2021-02-02T22:33:07 < karlp> the stream broke, so I just turned it off 2021-02-02T22:33:09 < karlp> oh well. 2021-02-02T22:33:19 < jadew> it blew up 2021-02-02T22:33:35 < karlp> oh man 2021-02-02T22:33:45 < karlp> first one I saw launch, and didn't even stay with it after it took off 2021-02-02T22:33:54 < karlp> didn't think this was a landing test thingy, should have known better :) 2021-02-02T22:34:02 < qyx> yeah, it landed with fire effects 2021-02-02T22:35:24 < PaulFertser> tbh, I was literally speechless for a second after seeing it explode live. 2021-02-02T22:35:36 < PaulFertser> Somehow it was impressive. Thanks Steffanx 2021-02-02T22:39:13 < karlp> oh right,w ow, that was cool 2021-02-02T22:40:29 < kakium69> what is your take on using LVM for very basic lunix system installation? 2021-02-02T22:40:51 < zyp> what's the benefit? 2021-02-02T22:40:57 < kakium69> instead of just fat32 + ext4 2021-02-02T22:41:03 < qyx> fa twhat? 2021-02-02T22:41:09 < kakium69> EFI 2021-02-02T22:41:18 < kakium69>  /boot 2021-02-02T22:41:32 < PaulFertser> kakium69: efi grub reads kernel from lvm just fine 2021-02-02T22:41:45 < qyx> imo no point in not using lvm 2021-02-02T22:41:52 < kakium69> for some reason my mint19 has LVM 2021-02-02T22:41:52 < qyx> unless it is embedded or similar 2021-02-02T22:42:11 < BrainDamage> lvm is added if you want flexibility 2021-02-02T22:42:21 < BrainDamage> but for 90% of the users it's not needed 2021-02-02T22:42:40 < kakium69> all i know is I don't even have an idea how to mount that shit 2021-02-02T22:42:40 < qyx> 90% of users don't know what lvm means 2021-02-02T22:42:41 < PaulFertser> lvm is probably good if you plan to ever resize partitions. 2021-02-02T22:42:43 < BrainDamage> it's also extra complexity and more things to go wrong 2021-02-02T22:43:17 < BrainDamage> yes, 90% of the users are oblivious to the partition scheme 2021-02-02T22:43:30 < BrainDamage> it's there to make the life easier of those in the know 2021-02-02T22:44:06 < qyx> personally I wouldn't ever install anything on a physical hw without lvm because I got used to it 2021-02-02T22:45:40 < zyp> I'd probably rather install zfs anywhere I'd benefit from lvm 2021-02-02T22:46:13 < qyx> thats another group of people 2021-02-02T22:46:30 < qyx> hating layered design :> 2021-02-02T22:46:38 < BrainDamage> I use btrfs, same reason 2021-02-02T22:47:05 < antto> i used btrfs once 2021-02-02T22:47:31 < antto> i found some article about it and thought "ooh, sounds kewl, i shall try it out" 2021-02-02T22:47:49 < antto> turned out a bad choice when the HDD went dying 2021-02-02T22:47:58 < zyp> ah, btrfs exists too 2021-02-02T22:48:17 < antto> so i go back to ext4 2021-02-02T22:48:19 < zyp> it weren't stable enough to consider when I started using zfs, but I guess it might be now 2021-02-02T22:48:40 < BrainDamage> the raid 5,6 are still broken ;( 2021-02-02T22:48:46 < BrainDamage> rest works well 2021-02-02T22:49:04 < karlp> fedora is defaulting to btrfs for new isntalls now 2021-02-02T22:49:27 < BrainDamage> one horrible problem that bit me in the past was that you could run out of metadata space 2021-02-02T22:49:45 < BrainDamage> it's statically allocated, but can be resized online 2021-02-02T22:49:50 < antto> this rings a bell too 2021-02-02T22:49:50 < karlp> so, going through zypsnips for bucks from 12 -> 5V sort of space, not seeing much, did I miss things that were suggested before? 2021-02-02T22:50:04 < qyx> tps62125? 2021-02-02T22:50:18 < zyp> rt7225 or whatever that was called? 2021-02-02T22:50:23 < qyx> but 300 mA only 2021-02-02T22:50:34 < karlp> qyx: yeah, was abotu to say, I want like 3-4A peak 2021-02-02T22:50:43 < BrainDamage> worse, your first instinct with out of space is deleting files, but with CoW you only make it worse 2021-02-02T22:50:46 < qyx> 54240 then? 2021-02-02T22:50:54 < karlp> zyp: yeah, I thought there must be a richtek/mps part somewhere 2021-02-02T22:51:07 < qyx> nobody wants ti :( 2021-02-02T22:51:21 < antto> i'm dumb and i use onsemi's online PSU designer 2021-02-02T22:51:22 < BrainDamage> the only way to fix it was to attach a usb drive, raid0 to it, let it copy some metadata, then run the metadata resize tool 2021-02-02T22:51:33 < karlp> 54240 looks ok, is that one you've used? 2021-02-02T22:51:47 < BrainDamage> nowdays they just regularly resize it when it reaches x % fill 2021-02-02T22:51:55 < BrainDamage> into the data space 2021-02-02T22:52:05 < qyx> karlp: yes but not sync 2021-02-02T22:52:09 < BrainDamage> so it never appens 2021-02-02T22:52:15 < qyx> many volts though 2021-02-02T22:52:23 < karlp> sync/non-sync is just for final efficiency at load right? 2021-02-02T22:52:54 < qyx> yes 2021-02-02T22:53:10 < qyx> I usually select based on Iq 2021-02-02T22:53:17 < PaulFertser> BrainDamage: raid0 implies striping; is it possible to "just attach another PV" in "LVM terminology"? 2021-02-02T22:54:26 < BrainDamage> PaulFertser: yes, but you have to determine how to data and metadata are shared among the drives 2021-02-02T22:54:45 < BrainDamage> mirrored, striped, etc etc 2021-02-02T22:55:11 < zyp> karlp, looked it up: rt7257b 2021-02-02T22:55:33 < BrainDamage> iin this case, with no metadata space, it couldn't operate because in order to move the data to expand the metadata portion it would have to allocate more metadata 2021-02-02T22:55:50 < BrainDamage> so by attaching a new drive, and stripe the metadata 2021-02-02T22:56:02 < BrainDamage> i had enough space 2021-02-02T22:56:13 < PaulFertser> I see. Sounds like "fun" to figure that trick out. 2021-02-02T22:56:51 < BrainDamage> I spent few hours in the channel with the brtfs devs before we came up with that 2021-02-02T22:57:16 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2021-02-02T22:57:35 < PaulFertser> So nice one can get help directly from the real devs. 2021-02-02T23:00:05 < zyp> to get more on topic: I spent some time looking into how C++ exceptions are implemented and I'm starting to think «probably not worth it» 2021-02-02T23:01:18 * antto gives zyp a red "error" LED 2021-02-02T23:02:30 < zyp> duh, the point of exceptions is not to abort the entire system, it's to propagate an error through the call stack to where it can be handled 2021-02-02T23:02:46 < antto> i know, roughly 2021-02-02T23:03:14 < antto> Ameisen went deep into it at one point, i don't remember what his conclusions were 2021-02-02T23:03:45 < antto> i think he had 8bit in mind too then 2021-02-02T23:05:20 < antto> given that avrgcc is built without exceptions 2021-02-02T23:05:22 < zyp> I made a simple test yesterday, and it was adding kilobytes of metadata and unwinding code 2021-02-02T23:05:42 < zyp> i.e. a full minimal firmware with a throw ended up being something like 7k 2021-02-02T23:05:53 < PaulFertser> zyp: what do you think about monadic style of error handling? 2021-02-02T23:06:15 < zyp> not super stripped, but main just calls a function that throws 2021-02-02T23:06:19 < mawk> embedded haskell 2021-02-02T23:06:45 < PaulFertser> C++ allows to bind monads too. 2021-02-02T23:07:21 * antto is eyeballing C++20 things and drooling 2021-02-02T23:07:34 < antto> even tho i don't even understand a fraction of what the new things are 2021-02-02T23:07:59 < zyp> for larger projects, I could probably live with a few kilobytes extra for exception support, but for small things it gets unproportionally heavy 2021-02-02T23:08:39 < zyp> e.g. it'd get hard to fit a useful bootloader in an 8k flash section if you fill over half of it with exception support 2021-02-02T23:09:04 < zyp> and I'm also not convinced about the runtime overhead 2021-02-02T23:09:04 < antto> my xmega bootloader was 12K or more 2021-02-02T23:09:38 < antto> i thought the runtime is low untill sh*t actually hits the fan 2021-02-02T23:09:48 < zyp> apparently the way it's looking up the exception metadata, it's taking the PC value and doing a binary search in a table 2021-02-02T23:10:17 < zyp> yeah, that's how it's designed, it's free until something throws, and then unwinding is expensive 2021-02-02T23:10:47 < zyp> but I figure, what's the point of using exceptions at all if you're never gonna throw one? 2021-02-02T23:10:51 < antto> you could talk with Ameisen, he was into this some year ago 2021-02-02T23:11:13 < karlp> yeah, exceptiosn are mean tto be used 2021-02-02T23:11:34 < karlp> if you're not using them because "oh, they're expensive, can't do that" you get a pile of shit with some things being exceptions and some things not 2021-02-02T23:11:39 < zyp> I pictured using this for e.g. timeout errors 2021-02-02T23:11:41 < antto> i don't use exceptions.. remind me, does anything in the standard stuff require exceptions to be working? 2021-02-02T23:11:53 < antto> did operator new want them? 2021-02-02T23:11:55 < zyp> some parts of STL will throw 2021-02-02T23:12:02 < antto> right.. 2021-02-02T23:13:19 < antto> i'm still uber scared to use dynamic memory on embedded, even if i have hundreds of KB of RAM 2021-02-02T23:13:41 < zyp> I'm also avoiding that 2021-02-02T23:13:49 * antto hugs the array<> 2021-02-02T23:13:58 < zyp> so far the only thing I have using the heap are coroutines 2021-02-02T23:14:19 < zyp> because the benefit is large enough to justify it 2021-02-02T23:14:29 < antto> this coroutine thing is one thing i wanna check out in C++20 2021-02-02T23:16:15 < zyp> yeah, I'm pretty happy about how this is working out: https://paste.jvnv.net/view/eHBqg 2021-02-02T23:17:55 < antto> uhm, is this a non-blocking, buffered UART transmit+receive, made via the dumb blocking scheme internally? 2021-02-02T23:18:10 < zyp> correct 2021-02-02T23:18:15 < antto> huh 2021-02-02T23:18:34 < antto> how dumb/lazy and yet wonderful.. at the same time 2021-02-02T23:18:35 < antto> ;] 2021-02-02T23:19:35 < zyp> the whole point of coroutines is to be able to write blocking-style code that is actually async 2021-02-02T23:19:54 < zyp> i.e. the readability of blocking code with the performance/behavior of async code 2021-02-02T23:20:06 < antto> yeah, i sorta get the point 2021-02-02T23:20:31 < antto> my non-blocking USART code uses interrupts 2021-02-02T23:20:53 < antto> so it's trickier to get it going 2021-02-02T23:20:57 < mawk> why not DMA 2021-02-02T23:21:15 < antto> coz i currently am using the DMA for audio 2021-02-02T23:22:00 < mawk> you have several dma channels right 2021-02-02T23:22:24 < antto> yes, i have plenty 2021-02-02T23:22:29 < zyp> mawk, DMA solves a slightly different problem 2021-02-02T23:22:51 < mawk> yes I meant for antto 2021-02-02T23:22:59 < antto> however, this is the first time i use DMA and i wrote it pretty much as part of the I2S code 2021-02-02T23:23:01 < mawk> why did he chose interrupts over DMA 2021-02-02T23:23:04 < mawk> a 2021-02-02T23:23:11 < antto> i didn't write a standalone DMA "driver" 2021-02-02T23:23:15 < zyp> because it's easier? 2021-02-02T23:23:41 < antto> coz i copy/pasted my buffered usart class from my atmega code 2021-02-02T23:23:47 < mawk> "easy" is for lazy people, antto should strive for æsthetic perfection 2021-02-02T23:23:47 < antto> which uses interrupts 2021-02-02T23:23:49 < zyp> interrupts vs dma is not an either/or thing, you'd generally use both 2021-02-02T23:24:05 < antto> yes, you'd still need an interrupt on the DMA then 2021-02-02T23:24:05 < mawk> yes indeed I mean interrupts without dma vs interrupts with dma 2021-02-02T23:24:39 < zyp> maybe dma doesn't fit the application? 2021-02-02T23:24:45 < antto> i lost so much time on these DMA descriptors, i had nightmares aligned to 16 bytes 2021-02-02T23:25:01 < mawk> lol 2021-02-02T23:26:11 < antto> but now i can change the sampling rate and buffer size elegantly from one place, and the code will not compile if the I2S settings are impossible to achieve 2021-02-02T23:26:15 < antto> such much nice 2021-02-02T23:27:04 < antto> the DMA also keeps working when i pause with the debugger 2021-02-02T23:28:26 < antto> too bad the actual project hit a wall.. no f*cking data from the audio codec 2021-02-02T23:30:40 < antto> i wish you could static_printf() or something from templates and/or constexpr functions 2021-02-02T23:31:18 < antto> and also static_warning() 2021-02-02T23:47:07 < karlp> so, if you just go to lcsc and prameter seach you can find some cheap options for 12v->5v at 4A+, but some ofhtem need lots of external parts :) 2021-02-02T23:47:42 < qyx> oh I remember! 2021-02-02T23:47:52 < qyx> on the last pcb I used something awesome 2021-02-02T23:48:40 < BrainDamage> churning so many pcb the memory is just a fleeting feeling 2021-02-02T23:48:57 < karlp> I have some memory of dongs talking about some part that ws 6A capable, but cheap and easy and his china friend just used it for everything 2021-02-02T23:49:01 < qyx> that one was 0.6 A but there were others in the family 2021-02-02T23:49:35 < zyp> karlp, here you go: https://www.monolithicpower.com/en/products/power-modules/step-down/mpm3650.html 2021-02-02T23:50:51 < karlp> zyp: looks nice, bt it's like $4 :) 2021-02-02T23:51:23 * karlp is suspicious of the example schematic only having like 5 terminals, but the part coming in a qfn24 2021-02-02T23:51:25 < zyp> how much is the time you spend searching for the perfect part worth? 2021-02-02T23:51:34 < zyp> :) 2021-02-02T23:51:36 < karlp> oh, it's an internal inductor cuty 2021-02-02T23:51:48 < karlp> well, it's for work, so have to at least pretend to do some diligence 2021-02-02T23:52:03 < karlp> but yes, very much, "get somethign working first" really is a solid plan and what I am trying to do 2021-02-02T23:52:56 < zyp> I still need to play with this at some point: https://www.monolithicpower.com/en/products/power-modules/step-down/mpm54304.html 2021-02-02T23:58:06 < karlp> yeah, I'm kinda curious about whether I can use a pmic thingy, as I need 3.8V and 5V and 3.3V 2021-02-02T23:58:58 < karlp> shoudl stop doing nothing trolling datahseets though 2021-02-02T23:59:03 < zyp> :) --- Day changed Wed Feb 03 2021 2021-02-03T00:00:46 < karlp> AOZ3018 for my favourite semicon company though... 2021-02-03T00:01:53 < Laurenceb> nice lunix 2021-02-03T00:02:02 < Laurenceb> now I only have "dummy output" sound card 2021-02-03T00:02:58 < zyp> hmm 2021-02-03T00:03:09 < zyp> are there multiple revisions of the f7 discovery board in the wild? 2021-02-03T00:09:27 < BrainDamage> https://streamable.com/h0buyd 2021-02-03T00:10:22 < zyp> doesn't look like significant differences between the schematics 2021-02-03T00:13:52 < kakium69> sweet I booted rawdisk from virtualbox 2021-02-03T00:14:48 < kakium69> now I plan to share a disk image from inside VM to host in order to run another VM 2021-02-03T00:14:48 < karlp> never would have foundthis sort of cool shit without pointlessly trolling datasheets though: LP78071 charges your lipo, gives you yoru regulated output, and only 30c. 2021-02-03T00:17:17 < Laurenceb> hmm any idea how I can debug muh lunix? 2021-02-03T00:17:26 < Laurenceb> I upgraded kernel and now no soundcard 2021-02-03T00:17:56 < Laurenceb> dont know where to start :( 2021-02-03T00:19:29 < zyp> rm -rf / 2021-02-03T00:19:42 < Laurenceb> lol 2021-02-03T00:19:47 < Laurenceb> even usb cards wont work 2021-02-03T00:20:36 < kakium69> install ubuntu 2021-02-03T00:20:46 < machinehum> What 2021-02-03T00:20:47 < Laurenceb> llol 2021-02-03T00:20:59 < Laurenceb> I have mint 2021-02-03T00:22:03 < zyp> karlp, I bet it's something like that in all those cheap single cell power banks 2021-02-03T00:22:19 < kakium69> install gentoo 2021-02-03T00:22:52 < Laurenceb> hmm dmesg shows all the hardware and alsamixer is all good 2021-02-03T00:23:00 < Laurenceb> must be broken pulseaudio 2021-02-03T00:23:08 < kakium69> have you fiddled with it? 2021-02-03T00:23:15 < Laurenceb> maybe.... 2021-02-03T00:23:19 < Laurenceb> a while ago 2021-02-03T00:23:21 < kakium69> yeah 2021-02-03T00:23:35 < BrainDamage> did you reboot after upgrading the kernel? 2021-02-03T00:23:42 < Laurenceb> BrainDamage: yeah 2021-02-03T00:23:55 < BrainDamage> ok, so it's not a module mismatch 2021-02-03T00:23:56 < Laurenceb> prob some error in pulseaudio config file 2021-02-03T00:24:15 < BrainDamage> pulseaudio -k && pulseaudio -vv 2021-02-03T00:24:17 < Laurenceb> tried pulseaudio -k and it wont restart 2021-02-03T00:24:37 < BrainDamage> use -vv to get debug log 2021-02-03T00:24:46 < BrainDamage> -vvvv for even more verbosity 2021-02-03T00:24:59 < Laurenceb> I: [pulseaudio] main.c: Running in system mode: no 2021-02-03T00:24:59 < Laurenceb> E: [pulseaudio] pid.c: Daemon already running. 2021-02-03T00:25:02 < Laurenceb> what the heck 2021-02-03T00:25:05 < karlp> so... rpi people had their dual core shit workingthis longago: http://openocd.zylin.com/#/c/4935/ 2021-02-03T00:25:28 < BrainDamage> that's why I said pulseaudio -k && pulseaudio -vv 2021-02-03T00:25:39 < BrainDamage> socket activation makes it respawn immediately 2021-02-03T00:25:55 -!- rajkosto [~Rajko@cable-178-149-125-126.dynamic.sbb.rs] has quit [Read error: Connection reset by peer] 2021-02-03T00:26:03 < zyp> karlp, heh 2021-02-03T00:26:47 < kakium69> how do I share a file from guest to host without storing it to host? 2021-02-03T00:27:08 < Laurenceb> https://pastebin.com/W7Hibz7M 2021-02-03T00:27:13 < BrainDamage> samba? 2021-02-03T00:27:16 < qyx> sshfs? 2021-02-03T00:27:17 < kakium69> ye 2021-02-03T00:27:28 < kakium69> sshfs sounds even better 2021-02-03T00:28:20 < kakium69> how is the performance with sshfs on modern machine? 2021-02-03T00:29:10 < kakium69> I plant to like share a disk image and boot it as VM from host 2021-02-03T00:29:16 < Laurenceb> https://pastebin.com/aJEbGpKz 2021-02-03T00:29:28 < Laurenceb> ^if I run it as sudo that might explain 2021-02-03T00:29:32 < BrainDamage> D: [pulseaudio] module-udev-detect.c: Ignoring /devices/platform/thinkpad_acpi/sound/card29, because marked so. 2021-02-03T00:30:07 < qyx> wat kakium69 2021-02-03T00:30:17 < qyx> so you have a disk image of your guest on your host 2021-02-03T00:30:26 < qyx> theres is another disk image of a guest on this gues 2021-02-03T00:30:31 < qyx> you want to share it to host 2021-02-03T00:30:35 < qyx> and boot another gues? 2021-02-03T00:30:39 < kakium69> yes 2021-02-03T00:30:52 < kakium69> no nesting 2021-02-03T00:30:53 < BrainDamage> @_@ 2021-02-03T00:31:11 < kakium69> or maybe I could nesting it 2021-02-03T00:31:29 < kakium69> then pour files down towards the host 2021-02-03T00:31:43 < BrainDamage> sorry, I meant ಠ_ಠ 2021-02-03T00:31:48 < kakium69> yeah there is like 2 files anyway 2021-02-03T00:32:13 < BrainDamage> unless it's encrypted, you can just mount it 2021-02-03T00:32:17 < zyp> huh, found an l4 discovery, didn't know I had that 2021-02-03T00:32:31 < kakium69> it likelly is BrainDamage 2021-02-03T00:33:42 < Laurenceb> BrainDamage: what do you think is the problem? 2021-02-03T00:33:44 < kakium69> yeah LVM + encrypted home 2021-02-03T00:35:00 < qyx> you can do lvm on the host 2021-02-03T00:35:14 < qyx> losetup, pvscan, pvchange -a 2021-02-03T00:35:21 < qyx> luksopen or whatever 2021-02-03T00:35:25 < qyx> and then run from there 2021-02-03T00:35:37 < BrainDamage> Laurenceb: pacmd list-cards 2021-02-03T00:36:11 < qyx> (if your volume groups aren't named the same by any chance) 2021-02-03T00:36:27 < Laurenceb> 0 card(s) available. 2021-02-03T00:36:45 < BrainDamage> and aplay -l shows it? 2021-02-03T00:37:14 < Laurenceb> nope 2021-02-03T00:37:18 < Laurenceb> alsamixer does 2021-02-03T00:37:43 < BrainDamage> wut 2021-02-03T00:37:55 < Laurenceb> it looks like a pulseaudio issue? 2021-02-03T00:38:08 < BrainDamage> if aplay -l doesn't show it, it means it's not a hw device 2021-02-03T00:38:16 < Laurenceb> Card: HDA Intel F1: Help │ 2021-02-03T00:38:16 < Laurenceb> │ Chip: Realtek ALC269 2021-02-03T00:38:19 < BrainDamage> and pa can only work with hw devices 2021-02-03T00:38:41 < Laurenceb> oh shit 2021-02-03T00:38:43 < BrainDamage> what does aplay -L show? 2021-02-03T00:38:45 < Laurenceb> its owned by root 2021-02-03T00:38:53 < Laurenceb> sudo aplay -l 2021-02-03T00:39:04 < Laurenceb> and its there 2021-02-03T00:39:09 < BrainDamage> are you in the audio group? 2021-02-03T00:39:18 < Laurenceb> presumably not 2021-02-03T00:39:29 < BrainDamage> then add yourself and re-login 2021-02-03T00:39:33 < Laurenceb> k 2021-02-03T00:44:47 * antto mixes Laurenceb into mono 8bit unsigned uncompressed PCM 2021-02-03T00:45:34 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has quit [Remote host closed the connection] 2021-02-03T00:45:48 < antto> he couldn't deal with it >:) 2021-02-03T00:52:13 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-03T00:52:19 < Laurenceb> worksd 2021-02-03T00:52:22 < Laurenceb> thanks 2021-02-03T00:52:41 < antto> u can haz sound? 2021-02-03T00:56:32 < Steffanx> A muted blaxter is the best blaxter ;) 2021-02-03T01:01:36 < Laurenceb> muted no more 2021-02-03T01:01:41 < Laurenceb> I own the audio 2021-02-03T01:01:53 < Laurenceb> literally 2021-02-03T01:06:06 < kakium69> https://drive.google.com/file/d/1hRb4YRIPrZa8KUX4VSBXQ93JksiZpgkA/view?usp=sharing mint18 ssdimage inside mint19 ssd booted from mint20 host 2021-02-03T01:07:41 < kakium69> tommorow I'll figure out how to pour down the files from these layers to host 2021-02-03T01:11:29 * antto adds baking soda to the kakium69 and runs away 2021-02-03T01:26:57 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Ping timeout: 248 seconds] 2021-02-03T01:38:19 -!- jly [uid355225@gateway/web/irccloud.com/x-sdanvdcchrxorofw] has joined ##stm32 2021-02-03T02:04:58 < jly> Laurenceb: are you on 2021-02-03T02:05:11 < Laurenceb> yes 2021-02-03T02:06:25 < jly> have you been CHANning? 2021-02-03T02:17:03 < jadew> man.. the stock market is crazy right now 2021-02-03T02:18:05 < jadew> GME crashed, silver crashed 2021-02-03T02:18:46 < jadew> and people are doing the same shit with other stocks 2021-02-03T02:18:47 < englishman> that that reddit pumpndump was gay 2021-02-03T02:18:55 < englishman> i sold on friday for 850% gain 2021-02-03T02:19:03 < jadew> jeez... 2021-02-03T02:20:01 < jadew> I want to buy normal stocks, but I can't get my account activated because there's a huge inrush of people wanting to join the stock market 2021-02-03T02:20:19 < jadew> so they're overwhelmed by new accounts they have to validate 2021-02-03T02:23:28 < jadew> also, the broker I want to use has removed negative balance protection 2021-02-03T02:24:39 < Laurenceb> ok wtf 2021-02-03T02:24:53 < Laurenceb> the two channels from my mono mic arent the same 2021-02-03T02:24:59 < Laurenceb> wtf is the lunix driver doing 2021-02-03T02:25:16 < Laurenceb> it looks like they went through two different ADCs 2021-02-03T02:25:24 < Laurenceb> but its a digital mic so thats impossible 2021-02-03T02:25:36 < Laurenceb> a few lsb of noise 2021-02-03T02:25:58 < jly> install winpros 10 2021-02-03T02:30:41 < Laurenceb> wtf reeeeeeeee 2021-02-03T02:30:45 < Laurenceb> >The sourceforge.net website is temporarily in static offline mode. 2021-02-03T02:31:01 < Laurenceb> and its taken down all the octave repos 2021-02-03T02:39:02 < jly> octave 2021-02-03T02:47:48 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-03T02:58:12 < zyp> intrusive lists, supporting multiple handles: https://godbolt.org/z/a5E7qf 2021-02-03T03:01:14 < zyp> https://cgit.jvnv.net/laks/tree/util/intrusive_list.h?id=39b1c8a <- had a similar idea some years ago, but that one had to store a pointer to the object in the handle inside the object 2021-02-03T03:14:44 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has quit [Ping timeout: 258 seconds] 2021-02-03T03:22:09 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has quit [Ping timeout: 264 seconds] 2021-02-03T03:37:12 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has joined ##stm32 2021-02-03T03:40:07 -!- futarisIRCcloud [uid222239@gateway/web/irccloud.com/x-ffgvdwmkkeekpgbl] has joined ##stm32 2021-02-03T03:50:36 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 240 seconds] 2021-02-03T04:00:49 < qyx> backing up lisocl2 with a 2x 1 F supercaps is.. probably not the best idea 2021-02-03T04:01:15 < qyx> inrush current during charging is > 200 mA 2021-02-03T04:02:11 < qyx> also their leakage should have been just a few uA 2021-02-03T04:03:02 < qyx> I m at 0.6 mA now 2021-02-03T04:04:00 < qyx> uhm and I cannot reset the board :> 2021-02-03T04:10:08 < qyx> it settled at 340 uA, so about 210 uA of leakage through the caps 2021-02-03T04:11:35 < kakium69> excite 2021-02-03T04:12:54 < kakium69> what is the thing you are building? 2021-02-03T04:13:15 < qyx> second rev of that lora accel 2021-02-03T04:13:30 < kakium69> accel? 2021-02-03T04:13:39 < qyx> accelerometer/inclinometer 2021-02-03T04:16:51 < kakium69> client project? 2021-02-03T04:17:12 < kakium69> what it is used for? 2021-02-03T04:19:32 < kakium69> I think tommorow I will do 4 layer VM nesting 2021-02-03T04:19:57 < kakium69> by using win10 as the host for the whole stack of VMs 2021-02-03T04:24:51 < kakium69> I think grub installation has done something to windows efi so maybe better not atleast run updates via vm 2021-02-03T04:25:16 < kakium69> windows bootloader is not visible anymore to uefi 2021-02-03T04:25:41 < kakium69> just ubuntu visible for both nvme drives 2021-02-03T04:28:13 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Connection closed] 2021-02-03T04:30:08 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-03T04:40:03 < R2COM> is garuda linux good 2021-02-03T04:43:44 < kakium69> apparently 2021-02-03T04:44:02 < kakium69> it looks like hollywood movie effects 2021-02-03T04:44:40 < kakium69> it has kde 2021-02-03T04:45:55 < kakium69> is that kde nowdays o.o 2021-02-03T05:08:58 -!- Alexer [~alexer@alexer.net] has quit [Ping timeout: 265 seconds] 2021-02-03T05:14:01 -!- jly [uid355225@gateway/web/irccloud.com/x-sdanvdcchrxorofw] has quit [Quit: Connection closed for inactivity] 2021-02-03T05:24:07 -!- k\o\w [~k\o\w@cpe708ea3a28aba-cm589630ad9c27.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2021-02-03T06:05:45 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has quit [Quit: Gone to sleep...] 2021-02-03T06:12:26 -!- Miyu [~hackkitte@2a02:6d40:30d2:4e01:c5e5:970d:d0e0:b49c] has joined ##stm32 2021-02-03T06:16:11 -!- hackkitten [~hackkitte@2a02:6d40:30d2:4e01:603b:87de:43c2:5377] has quit [Ping timeout: 246 seconds] 2021-02-03T06:27:46 -!- k\o\w [~k\o\w@cpe708ea3a28aba-cm589630ad9c27.cpe.net.cable.rogers.com] has joined ##stm32 2021-02-03T06:33:33 -!- fc5dc9d4_ [~quassel@p4fe9ac57.dip0.t-ipconnect.de] has joined ##stm32 2021-02-03T06:38:04 -!- fc5dc9d4 [~quassel@p4fd0f6b3.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] 2021-02-03T06:42:36 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-03T08:28:29 < jpa-> qyx: some super caps reach their specified leakage only after having voltage for 24 hours or so 2021-02-03T08:40:09 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has quit [Ping timeout: 264 seconds] 2021-02-03T08:42:44 -!- jly [uid355225@gateway/web/irccloud.com/x-zclptsjggsulwsif] has joined ##stm32 2021-02-03T09:06:27 -!- catphish [~charlie@unaffiliated/catphish] has quit [Remote host closed the connection] 2021-02-03T09:08:45 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 240 seconds] 2021-02-03T09:39:48 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2021-02-03T09:59:56 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has quit [Quit: Leaving.] 2021-02-03T11:08:30 -!- mouseghost [~draco@wikipedia/desperek] has joined ##stm32 2021-02-03T11:09:39 < mouseghost> hey why am i banned on telegram group or something 2021-02-03T11:20:02 -!- machinehum [~machinehu@S01061cabc0ab4603.vc.shawcable.net] has quit [Ping timeout: 258 seconds] 2021-02-03T11:24:02 < Steffanx> I think some where annoyed by you mouseghost . Apparently there is some generation gap issue. 2021-02-03T11:24:06 < skz81> is garuda linux good >> is based on Arch, so YES ! ^^ 2021-02-03T11:24:13 < Steffanx> A little sad imho but... 2021-02-03T11:24:19 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has joined ##stm32 2021-02-03T11:24:21 < mouseghost> Steffanx, ffs everyone is annoyed with me :( 2021-02-03T11:24:28 < Steffanx> No.. 2021-02-03T11:24:32 < mouseghost> old farts and youngsters both 2021-02-03T11:24:44 -!- machinehum [~machinehu@S01061cabc0ab4603.vc.shawcable.net] has joined ##stm32 2021-02-03T11:31:00 < mouseghost> Steffanx, this is very sad :( 2021-02-03T11:31:04 < mouseghost> why is it like that 2021-02-03T11:37:03 -!- oofus_ [~quassel@88.97.72.251] has joined ##stm32 2021-02-03T11:38:47 -!- Miyu is now known as hackkitten 2021-02-03T11:51:18 -!- srk [~sorki@gateway/tor-sasl/sorki] has quit [Remote host closed the connection] 2021-02-03T11:51:40 -!- srk [~sorki@gateway/tor-sasl/sorki] has joined ##stm32 2021-02-03T11:53:28 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2021-02-03T12:03:01 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-03T12:20:08 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-03T12:21:50 < qyx> jpa-: oh I saw that, I though it means "it worsens in time, but after 24h it is max'd at .." 2021-02-03T12:22:10 < qyx> so the other way around 2021-02-03T12:31:04 < karlp> somehow I missed regs-stepdown.txt last night.. 2021-02-03T12:33:42 < zyp> naming could be more consistent 2021-02-03T12:34:01 < karlp> yeah, it's gotten bigger now, might be worth doing some cleanup... 2021-02-03T12:34:13 < karlp> it's what happens when you're just grabbing bits and pieces. 2021-02-03T12:35:17 < karlp> zyp: what's your "intrusive lists" ? 2021-02-03T12:35:20 < karlp> I don't get it 2021-02-03T12:47:42 < zyp> it's a container interface for a linked list where the next-pointer is stored inside the contained object itself, hence intrusive 2021-02-03T12:48:14 < zyp> i.e. the handle is a wrapper type for the next pointer 2021-02-03T12:49:43 < zyp> and since a next-pointer can only be used for one list at a time, and there might be a need to put the same object in multiple lists, it supports multiple handles 2021-02-03T12:53:03 < zyp> the benefit of an intrusive list is that it needs no extra storage -- you put pointers to existing objects into the list, and the storage space needed to store these pointers exists inside the objects 2021-02-03T12:53:38 < zyp> i.e. no allocation/deallocation needed when inserting and removing objects from a list 2021-02-03T12:53:57 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 246 seconds] 2021-02-03T12:56:56 < zyp> I'm planning to use this for tasks: every task gets a handle, and then it can either be put in the scheduler's «ready to run» queue, or in a future's list of tasks to wake up upon completion 2021-02-03T12:59:09 < zyp> and since a list itself can be as simple as a pointer to the first element, I'm effectively getting the ability to have multiple tasks awaiting the same object for free 2021-02-03T13:02:04 < karlp> I'm obviously slow today. gonna do something else instead. 2021-02-03T13:04:05 < zyp> bonus benefit: moving all elements from one list to the next is as simple as swapping a couple of pointers 2021-02-03T13:05:00 < zyp> a->last->next = b->first; a->last = b->last; b->first = b->last = nullptr; 2021-02-03T13:07:08 < mouseghost> hm? 2021-02-03T13:10:37 < zyp> (this is useful when you have a bunch of tasks waiting for the same event and you want to set them all ready at the same time) 2021-02-03T13:12:31 -!- jly [uid355225@gateway/web/irccloud.com/x-zclptsjggsulwsif] has quit [Quit: Connection closed for inactivity] 2021-02-03T13:12:48 * karlp just uses bsd queue.h shit normally. 2021-02-03T13:12:59 < karlp> though mostly just lua tables honestly :) 2021-02-03T13:15:30 < zyp> ah, yeah, I guess this would be a C++ take on bsd queues 2021-02-03T13:18:07 -!- Laurenceb70 [2ed0c84b@75.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-03T13:18:21 < Laurenceb70> zoom is turning me into an instagram thot 2021-02-03T13:18:33 < Laurenceb70> I now how filters to give me a chad chin 2021-02-03T13:18:37 < Laurenceb70> *have 2021-02-03T13:21:51 -!- Mangy_Dog [~Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has joined ##stm32 2021-02-03T13:23:33 < Laurenceb70> someone should make a virgin filter to match the chad filter 2021-02-03T13:23:50 < Laurenceb70> lollllll 2021-02-03T13:23:52 < Laurenceb70> https://www.bbc.co.uk/news/uk-england-55824936 2021-02-03T13:23:59 < Laurenceb70> >everything is b& 2021-02-03T13:24:33 < Laurenceb70> >28 minutes ago 2021-02-03T13:24:47 < Laurenceb70> keeek I got filters running 30 minutes ago 2021-02-03T13:25:56 < karlp> zyp: silly me presumed that something like bsd queues would have been stuff in stl? 2021-02-03T13:26:01 < karlp> why do you have to build your own? 2021-02-03T13:27:58 -!- Netsplit *.net <-> *.split quits: Laurenceb70 2021-02-03T13:36:51 < jpa-> karlp: stl relies on memory allocation *a lot* 2021-02-03T13:40:46 < karlp> that's where https://www.etlcpp.com/ comes in right? 2021-02-03T13:40:56 < karlp> or you get into wheel building like zyp? 2021-02-03T13:45:38 < mouseghost> wheel building is cool 2021-02-03T13:46:01 < jpa-> cool, i didn't know about etl 2021-02-03T13:47:30 < zyp> same 2021-02-03T13:48:25 < jpa-> karlp: so, what is your favourite lead-free alloy for hand soldering? 2021-02-03T13:52:17 < qyx> I am using this now https://www.broquetas.com/en-product-eco-4-lead-free-solid-wire-for-electronic-soldering.php 2021-02-03T13:52:27 < mouseghost> wo there are different? 2021-02-03T13:52:34 < qyx> (sorry for being karlp) 2021-02-03T13:53:15 < BrainDamage> Sn Cu Ag works for me too 2021-02-03T13:53:30 < BrainDamage> the more the Ag, the better it seeems to work 2021-02-03T13:53:48 < jpa-> yeah, Sn96.5Cu0.5Ag3 is what i have also, works but i do notice the melting point being rather high 2021-02-03T13:54:20 < qyx> it is hard to find anything with lower melting point 2021-02-03T13:54:30 < qyx> 217 °C is pretty low 2021-02-03T13:54:30 < karlp> I only learnt about etl here, how did you guys miss it? :) 2021-02-03T13:54:52 < jpa-> karlp: you're the only one who reads all backlogs :) 2021-02-03T13:55:26 < jpa-> 217°C is quite high compared to the 179°C leaded solder i like :) 2021-02-03T13:58:03 < qyx> I am cheating and using leaded solder for big QFNs 2021-02-03T14:00:39 < jpa-> i'm considering trying out SN42/BI58 2021-02-03T14:00:47 < jpa-> it's rather expensive though 2021-02-03T14:09:57 -!- oofus_ [~quassel@88.97.72.251] has quit [Read error: Connection reset by peer] 2021-02-03T14:12:44 -!- oofus_ [~quassel@88.97.72.251] has joined ##stm32 2021-02-03T14:16:21 < Steffanx> What jpa- .. .what was this embedded stl you have fun with? I thought that was estl 2021-02-03T14:16:28 < Steffanx> *etl 2021-02-03T14:18:09 < Steffanx> The one that was for embedded but NOT the tinier mcu kind of embedded. 2021-02-03T14:21:14 < karlp> we're using 97sc == sac305 == same as yours jpa 2021-02-03T14:21:27 < karlp> 3 silver 0.5 cu. 2021-02-03T14:21:33 < jpa-> Steffanx: no, it was ustl, which was small and without memory allocations, but *not* for embedded :D 2021-02-03T14:21:42 < jpa-> karlp: ok 2021-02-03T14:22:12 < karlp> I don't solder a lot, I don't have strong opinions on it. 2021-02-03T14:22:24 < karlp> it's lead free, that's enough? 2021-02-03T14:23:00 < jpa-> possibly i'll just need a better soldering iron at some point 2021-02-03T14:23:40 < zyp> I'm not really interested in replacing stl with a third party dependency, just filling in a few features stl lacks 2021-02-03T14:23:41 < jpa-> ts-100 is having trouble with it 2021-02-03T14:24:50 < BrainDamage> zyp: you mean few features stl laks 2021-02-03T14:25:14 < BrainDamage> jpa-: what temp are you using? 2021-02-03T14:25:32 < jpa-> 370-400°C usually 2021-02-03T14:26:33 < BrainDamage> mmm, 325-350 works sufficiently with my ts100, what kind of tip? 2021-02-03T14:26:53 < jpa-> TS-C1 2021-02-03T14:27:12 < jpa-> with TS-BC2 it's better, but too big for many things 2021-02-03T15:01:24 -!- rajkosto [~Rajko@cable-178-149-125-126.dynamic.sbb.rs] has joined ##stm32 2021-02-03T15:50:05 < englishman> im down with that multicore sac305 just because the flux is so good 2021-02-03T15:50:39 < englishman> https://dm.henkel-dam.com/is/content/henkel/lt-6320-sell-sheet-loctite-solder-wire-solutionspdf 2021-02-03T15:54:48 < Sadale> Didn't know that loctile made soldering wire 2021-02-03T15:56:45 < englishman> they also make the best paste 2021-02-03T15:57:39 -!- tctw [~Tectu@82.197.160.105] has joined ##stm32 2021-02-03T15:58:41 < Sadale> I'd imagine they'd be very expensive 2021-02-03T16:00:21 < englishman> not at all 2021-02-03T16:39:24 -!- fluiD [~fluiD@unaffiliated/nn7] has quit [Remote host closed the connection] 2021-02-03T16:39:46 -!- fluiD [~fluiD@unaffiliated/nn7] has joined ##stm32 2021-02-03T16:43:07 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-03T16:46:04 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Client Quit] 2021-02-03T17:00:37 -!- mouseghost [~draco@wikipedia/desperek] has quit [Quit: mew wew] 2021-02-03T17:02:24 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-03T17:11:57 < kakium69> so apparently efi partition in lunix drive is empty and /boot/efi has been mounted to windows drive efi partition 2021-02-03T17:12:27 < kakium69> so I couldn't do 4layer nested VM 2021-02-03T17:13:03 < kakium69> VM in windows throws EFI shell 2021-02-03T17:13:44 < kakium69> I rather have windows EFI as it was and lunix EFI separatelly on it's own drive 2021-02-03T17:17:27 < Steffanx> Is the snow keeping you in your basement kakium69 ? 2021-02-03T17:17:43 < kakium69> the wind rather 2021-02-03T17:18:22 < kakium69> -15C and 5m/s 2021-02-03T17:18:30 < kakium69> 9m/s gust 2021-02-03T17:23:20 < kakium69> if I change mount point of /boot/efi to linux drive EFI 2021-02-03T17:23:38 < kakium69> and then reinstall bootloader 2021-02-03T17:24:09 < kakium69> does windows EFI partition still give me grub and allow me to enter windows to repair windows efi? 2021-02-03T17:28:26 < PaulFertser> kakium69: basically you can tell what your UEFI implementation can offer you to boot from fixed disks with "efibootmgr -v" on GNU/Linux or "bcdedit" on Windows. 2021-02-03T17:28:44 < PaulFertser> kakium69: and you can choose between all the options in UEFI boot menu 2021-02-03T17:29:11 < PaulFertser> There should be no magic or tricks in this process, fairly straightforward. 2021-02-03T17:29:18 < effractur> if you have 1 esp partion yes 2021-02-03T17:29:23 < effractur> you should not have more then 1 2021-02-03T17:29:39 < kakium69> why not have one per drive 2021-02-03T17:29:44 < PaulFertser> Yes, one ESP per fixed disk. 2021-02-03T17:30:03 < kakium69> I have but mint installer went for windows drive ESP 2021-02-03T17:30:04 < PaulFertser> You can have one per drive. 2021-02-03T17:30:17 < kakium69> it replaced something probs 2021-02-03T17:30:26 < PaulFertser> kakium69: well, you are free to change anything you want. And control the results with efibootmgr or change it. 2021-02-03T17:38:05 < kakium69> does bootx64.efi contain everything for loading grub? 2021-02-03T17:39:08 < effractur> bootx64 is just a wellknown path 2021-02-03T17:39:18 < effractur> so it just copies grub.efi to that location 2021-02-03T17:39:42 < kakium69> so if I change mounting point 2021-02-03T17:39:55 < kakium69> and reinstall bootloader 2021-02-03T17:40:15 < kakium69> that .efi will stay there 2021-02-03T17:41:20 < kakium69> not that it's even a problem because new bootloader intallation will probe windows directory from windows drive esp? 2021-02-03T17:41:44 < kakium69> and I will get windows to boot eather way 2021-02-03T17:41:48 < karlp> bleh, BTheadphones can't play and charge at the same time. 2021-02-03T17:42:28 < kakium69> btheadphones turn audio into shit when 2 direction audio is in use 2021-02-03T17:43:25 < zyp> what are some nice bt headphones nowadays? 2021-02-03T17:43:57 < zyp> I'll probably want some for work eventually 2021-02-03T17:45:28 < Steffanx> Noise cancelling or not? 2021-02-03T17:46:18 < zyp> ANC is nice to have 2021-02-03T17:46:19 < PaulFertser> kakium69: you can even manually copy all the files anyhow you want, and edit efi vars with efibootmgr, there's no magic in installing. 2021-02-03T17:46:24 < effractur> zyp: what OS are you running? 2021-02-03T17:46:37 < Steffanx> Heh karlp . My bt headphones cant play and charge at the same time either, but... it charges so fast its hardly an issue 2021-02-03T17:46:52 < effractur> if it is non linux then the Bose QC35 is nice 2021-02-03T17:46:58 < effractur> on linux its also okay but not for calls 2021-02-03T17:48:38 < zyp> I figure I'll be using linux 2021-02-03T17:48:57 < Steffanx> My Sony wh1000xm3 are nice too. But pricey 2021-02-03T17:49:37 < Steffanx> But headphones/sound is such personal thing. Some love the Sony and hate the bose. And the other way arounx 2021-02-03T17:50:08 < effractur> yes but the XM3's dont support dual BT sessions 2021-02-03T17:50:15 < effractur> the XM4's do afaik 2021-02-03T17:50:33 < effractur> so i got my laptop and phone linked 2021-02-03T17:50:43 < effractur> and then my phone rings or my laptop get a call 2021-02-03T17:50:45 < effractur> it auto switches 2021-02-03T17:50:49 < englishman> the xm4 were on sale over xmas, were a great price 2021-02-03T17:50:55 < englishman> now not so much 2021-02-03T17:51:40 < Steffanx> effractur: thats like a total nonissue for md 2021-02-03T17:51:57 < Steffanx> My phone never rings :D 2021-02-03T17:52:07 < englishman> boomer problems 2021-02-03T17:52:35 < Steffanx> Imagine effractur being younger than us, englishman 2021-02-03T17:53:07 < effractur> well mine also never but i got my music on my phone 2021-02-03T17:53:15 < effractur> but if i get a call from work its on my laptpo 2021-02-03T17:53:30 < zyp> since it's for work, something like this looks interesting: https://www.jabra.com/business/office-headsets/jabra-evolve/jabra-evolve2-85 2021-02-03T17:53:33 -!- tctw [~Tectu@82.197.160.105] has quit [Ping timeout: 246 seconds] 2021-02-03T17:53:37 < zyp> bit pricy 2021-02-03T17:54:04 < englishman> wow yeah 2021-02-03T17:54:14 < Steffanx> Can you move the microphone? 2021-02-03T17:54:21 < Steffanx> If not. .. meh 2021-02-03T17:54:24 < englishman> about 2x price of the xm4 when they were on sale. 2021-02-03T17:54:41 < zyp> Steffanx, apparently it folds away when not in use 2021-02-03T17:56:39 < Steffanx> But damn indeed. And I thought I paid a lot for my xm3 2021-02-03T18:10:36 < BrainDamage> all circumaural headphones after 1 h or so make my ears sweltering 2021-02-03T18:13:06 < BrainDamage> also, lol @ 97% noise reduction, because if they wrote it in db like everyone else you'd notice it's only 15dB noise suppression 2021-02-03T18:13:26 < englishman> my sennheisers did as well until i got some big smoofy ear cups which were about half the cost of the headphones themselves 2021-02-03T18:13:59 < BrainDamage> vs the run-out-the-mill headphone with noise suppression that does 10 2021-02-03T18:30:18 < kakium69> drive with efi or efi partition doesn't need any flags or such? 2021-02-03T18:33:58 -!- machinehum [~machinehu@S01061cabc0ab4603.vc.shawcable.net] has quit [Quit: WeeChat 3.0] 2021-02-03T18:35:28 < kakium69> so there is no fstab anymore 2021-02-03T18:39:29 < Lux> anc is useless anyway, except if you have some loud monotonous noise 2021-02-03T18:41:08 -!- rajkosto [~Rajko@cable-178-149-125-126.dynamic.sbb.rs] has quit [Read error: Connection reset by peer] 2021-02-03T18:42:32 < BrainDamage> air conditioning fits the bill, as well as transportation noise 2021-02-03T18:48:39 < kakium69> PaulFertser: does mount point of /boot/efi depend on where the kernel was booted from? 2021-02-03T18:50:17 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has quit [Quit: Leaving] 2021-02-03T18:51:23 < kakium69> will see 2021-02-03T18:52:35 < BrainDamage> if you don't have fstab, then you either don't have the efi esp mounted, or it's using systemd mount files 2021-02-03T18:53:51 < BrainDamage> the root partitition doesn't need a entry if the kernel resides in the same partition 2021-02-03T19:03:12 < kakium69> I don't have fstab but currently I have esp mounted from windows drive 2021-02-03T19:08:31 < kakium69> I wonder where I can find apt hook that involves updating grub 2021-02-03T19:08:52 < kakium69> I kinda want to see what it calls 2021-02-03T19:09:52 < kakium69> i think it calls systemd 2021-02-03T19:21:30 < kakium69> no 2021-02-03T19:22:09 < kakium69>  /etc/kernel/postinst.d/zz-update-grub 2021-02-03T19:22:24 < kakium69> it calls update-grub 2021-02-03T19:25:59 < kakium69> it seems grub has nothing to do with physical partition mounted to /boot/efi 2021-02-03T19:39:45 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has joined ##stm32 2021-02-03T19:49:01 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has joined ##stm32 2021-02-03T19:51:12 < kakium69> interstings 2021-02-03T19:51:15 < kakium69> I didn't know 2 partitions could be mounted to same point 2021-02-03T19:51:16 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-03T19:57:37 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-03T19:57:40 < kakium69> so I used tool called boot-repair 2021-02-03T19:57:48 < kakium69> did the trick 2021-02-03T20:15:24 < Laurenceb> argg stupid work shittt 2021-02-03T20:15:30 < Laurenceb> over 9000 video chat apps 2021-02-03T20:15:50 < Laurenceb> does anyone know how the hell microsoft teams works? 2021-02-03T20:16:04 < Laurenceb> >someone has already set up your organisation 2021-02-03T20:16:07 < Laurenceb> wtf 2021-02-03T20:16:23 < Laurenceb> microshaft is worse than lunix 2021-02-03T20:16:47 < Laurenceb> >Ask your admin to get you started with Teams 2021-02-03T20:16:49 < Laurenceb> lulwut 2021-02-03T20:33:31 < kakium69> but I couldn't restore windows ESP 2021-02-03T20:33:40 < kakium69> it just has grub now forever 2021-02-03T20:34:07 < kakium69> ofc uefi lets me pass that and boot to windows directly 2021-02-03T20:36:17 < PaulFertser> How can UEFI boot windows directly without windows EFI bootloader on ESP? 2021-02-03T20:38:51 < kakium69> it's there 2021-02-03T20:39:01 < kakium69> under windows 2021-02-03T20:39:19 < kakium69> efi/windows/boot or so 2021-02-03T20:40:11 < kakium69> but stuff under efi/boot has like timestamps from yesterday so those are grub thingies 2021-02-03T20:40:57 < kakium69> apparently recovery doesn't touch those 2021-02-03T20:41:18 < BrainDamage> grub has the binary code to be executed in efi, and configuration, etc in /boot 2021-02-03T20:41:47 < kakium69> hey I forgot the simplest search "remove dualboot" 2021-02-03T20:43:16 < Laurenceb> lol microshart teams works with random email 2021-02-03T20:43:23 < Laurenceb> this makes perfect sense /s 2021-02-03T20:44:58 < Laurenceb> >loading microsoft teams 2021-02-03T20:45:10 < Laurenceb> for ten minutes each time you make the simplest change 2021-02-03T20:45:12 < kakium69> the rationale is that stuff like grub might live in /boot so don't make dualbooters mad 2021-02-03T20:45:15 < Laurenceb> yup its microsoft 2021-02-03T20:45:49 < kakium69> or even worse.. wipe veracrypt from esp partition 2021-02-03T21:00:23 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-03T21:02:33 < qyx> re: leakage, old 470u/16V ~11 uA 2021-02-03T21:02:43 < qyx> (like 10y old china-made) 2021-02-03T21:02:58 < qyx> recent 680u/10V ~2 uA 2021-02-03T21:03:11 < qyx> polymer 100u/16V ~3.5 uA 2021-02-03T21:04:07 < qyx> and the supercap, still waiting until it charges to see 2021-02-03T21:05:09 < qyx> maybe the supercap balancing circuit is the thing consuming power 2021-02-03T21:06:06 < qyx> https://bin.jvnv.net/file/09Plm/Screenshot_2021-02-03_20-05-50.png 2021-02-03T21:11:34 < Laurenceb> supercaps are weird 2021-02-03T21:11:44 < Laurenceb> leakage decays for days at full charge 2021-02-03T21:12:45 < Laurenceb> teams is shit compared to zoom 2021-02-03T21:13:00 < Laurenceb> lame video features and tons of weird bloat 2021-02-03T21:13:26 < Laurenceb> also makes muh lunix desktop look like windows 10 2021-02-03T21:13:35 < mawk> teams make my cpu go 400% on linux 2021-02-03T21:13:37 < mawk> it's mega shitty 2021-02-03T21:13:53 < mawk> even when no call is playing 2021-02-03T21:13:55 < qyx> I was able to log in, it ok about 5 minutes 2021-02-03T21:13:57 < mawk> which is the worst part 2021-02-03T21:14:08 < antto> it's probably digging coinz 2021-02-03T21:14:12 < mawk> it's just because it's some stupid anti-optimized electron shit 2021-02-03T21:14:14 < mawk> yeah 2021-02-03T21:14:53 < mawk> >Anti-optimization is a novel concept popularized by NodeJS developers following the social justice ideal of "bloated is beautiful". 2021-02-03T21:18:31 -!- aidenhjj [~aidenhjj@78.40.148.182] has quit [Quit: The Lounge - https://thelounge.chat] 2021-02-03T21:19:26 -!- aidenhjj [~aidenhjj@78.40.148.182] has joined ##stm32 2021-02-03T21:19:32 -!- aidenhjj [~aidenhjj@78.40.148.182] has quit [Client Quit] 2021-02-03T21:20:36 -!- aidenhjj [~aidenhjj@78.40.148.182] has joined ##stm32 2021-02-03T21:20:53 < Laurenceb> lolllll 2021-02-03T21:20:56 < Laurenceb> accurate 2021-02-03T21:21:01 -!- catphish [~charlie@unaffiliated/catphish] has joined ##stm32 2021-02-03T21:21:09 < Laurenceb> zoom just works 2021-02-03T21:22:02 < Laurenceb> zoom has filters so I can act like a thot 2021-02-03T21:30:40 < mawk> lol 2021-02-03T21:30:59 < karlp> yeah, teams is the the sort of crap that gets dropped on people because someone in marketting wanted an excel license, and before you know it you have sharepoint and teams 2021-02-03T21:31:12 < karlp> and it's shit,but it's just workable enouigh that nothing else gets used. 2021-02-03T21:33:04 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has quit [Quit: Gone to sleep...] 2021-02-03T21:37:33 < Steffanx> No zoom was great... 2021-02-03T21:39:55 < Steffanx> Teams on windows works fine... the chat could be better but the video stuff is fine 2021-02-03T21:40:49 < BrainDamage> we have a saying here: revolutions happen only when people are hungry 2021-02-03T21:41:05 < mawk> are you hungry? 2021-02-03T21:41:23 < BrainDamage> it's to be read as: people will tolerate a lot of shit, as long as it somehow works 2021-02-03T21:45:22 < Steffanx> Its not a case of somehow works. It works. 2021-02-03T21:45:41 < Steffanx> Maybe not on lunix, but thats irrelevant ;) 2021-02-03T21:48:23 < mawk> you're irrelevant Steffanx 2021-02-03T21:48:27 < mawk> linux is the future 2021-02-03T21:48:29 < mawk> you're the old past 2021-02-03T21:49:12 < Steffanx> Yeah, the last few days i read nothing but: muh audio doesnt work, muh BT headset doesnt work. Much PA drama. 2021-02-03T21:49:25 < mawk> that's because the problem is Laurenceb 2021-02-03T21:49:31 < Steffanx> and mr kp. 2021-02-03T21:52:10 < Laurenceb> BGT60LTR11AIP looks pretty hawt 2021-02-03T21:53:09 < mawk> ball trip ? 2021-02-03T21:53:36 < Laurenceb> https://www.infineon.com/cms/en/product/evaluation-boards/demo-bgt60ltr11aip/#!documents 2021-02-03T21:54:35 < kakium69> what happens if 2 of those radars meet? 2021-02-03T21:56:09 -!- mouseghost [~draco@wikipedia/desperek] has joined ##stm32 2021-02-03T21:57:04 < Laurenceb> ur self driving car runs you over 2021-02-03T21:57:31 < kakium69> ys 2021-02-03T21:57:34 < kakium69> yes 2021-02-03T22:08:48 < Laurenceb> looks like narrowband Rx 2021-02-03T22:08:58 < Laurenceb> so no really fancy radar :( 2021-02-03T22:09:04 < Laurenceb> no full datasheet yet 2021-02-03T22:23:01 < Laurenceb> https://www.youtube.com/watch?v=5vqSX40seqA 2021-02-03T22:36:31 -!- veegee [~veegee@142.126.187.41] has quit [Quit: veegee] 2021-02-03T22:48:51 < Laurenceb> hah AD made a pro device 2021-02-03T22:49:05 < Laurenceb> >RF signal bandwidth: 250 MHz 2021-02-03T22:50:21 < Laurenceb> https://www.analog.com/en/education/education-library/videos/5489321821001.html 2021-02-03T22:50:32 < Laurenceb> double chin fat bastard guy has a nice radar 2021-02-03T23:16:30 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Connection closed] 2021-02-03T23:31:56 < catphish> i should be playing with NB-IoT soon, this sounds fun 2021-02-03T23:33:46 < Laurenceb> BGT24LTR11N16 looks hoxorable 2021-02-03T23:52:34 -!- fenugrec [~fenugrec@cpe7cb21b1e4c70-cm7cb21b1e4c6d.cpe.net.cable.rogers.com] has joined ##stm32 --- Day changed Thu Feb 04 2021 2021-02-04T00:01:06 -!- oofus [~quassel@88.97.72.251] has quit [Read error: Connection reset by peer] 2021-02-04T00:04:43 -!- oofus [~quassel@88.97.72.251] has joined ##stm32 2021-02-04T00:07:33 < karlp> Steffanx: what were my linux problems recently? 2021-02-04T00:10:15 < Steffanx> Bt headphones or something 2021-02-04T00:12:29 < karlp> oh,yeah, 2021-02-04T00:12:31 < karlp> that was fun. 2021-02-04T00:12:53 < karlp> got bt headphones to get more experience with bt. 2021-02-04T00:25:38 < qyx> hm, removed that cap balancing, it was the cause of high consumption 2021-02-04T00:25:48 < karlp> what was that cap balancingopamp thing trying to do? 2021-02-04T00:26:10 < karlp> you wanted 1F at a higher voltage right? hence the series? 2021-02-04T00:26:19 < qyx> pushing the middle point to the middle 2021-02-04T00:26:20 < karlp> and you were trying to hold the voltage in the middle with the 1M resistors? 2021-02-04T00:26:28 < karlp> what happenswithout "balancing" ? 2021-02-04T00:26:28 < qyx> yes + follower 2021-02-04T00:26:42 < qyx> idk, they say don't use series supercaps wihtout balancing :> 2021-02-04T00:26:52 < karlp> they don't say why? 2021-02-04T00:27:18 < qyx> I didn't investigate, probably the same reason as for li* cells 2021-02-04T00:27:37 < qyx> manufacturing tolerances and stuff, causing runaway when charging/discharging 2021-02-04T00:30:07 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-04T00:30:29 < kakium69> yeah I need to forget 4layer nested virtualization 2021-02-04T00:30:34 < qyx> kakium69: However, when two 2021-02-04T00:30:34 < qyx> capacitors are in series, an imbalance in the leakage current 2021-02-04T00:30:34 < qyx> between the cells could result in one of the supercapacitors 2021-02-04T00:30:35 < qyx> exceeding its rated voltage. 2021-02-04T00:30:43 < qyx> karlp: ^ 2021-02-04T00:30:47 < kakium69>  yes 2021-02-04T00:31:03 < kakium69> you need additional circuits to overcome that problem 2021-02-04T00:31:27 < kakium69> and those are easily in microamps 2021-02-04T00:32:40 < kakium69> unless you really undercharge them and use zeners 2021-02-04T00:33:55 < kakium69> so virtualbox in guest said that /dev/sda is inaccessable 2021-02-04T00:34:02 < kakium69> indeed it is 2021-02-04T00:34:41 < kakium69> and that is where I leave it and boot to linux to pull my files from old systems 2021-02-04T00:35:49 < kakium69> any sticker recommends to new laptop to add some cool? 2021-02-04T00:40:14 < kakium69> PaulFertser, BrainDamage: I used "boot-repair" for installing grub to right partition and now it mounts the right partition too after boot. Removed grub from windows esp manually and replaced bootx64.efi with windows one. Thanks for the tips! 2021-02-04T00:43:23 < ColdKeyboard> Do you have to make any modification to ST-Link portion of the Nucleo board once you cut it off (separate Nucleo and STLink portion)? 2021-02-04T00:43:46 < ColdKeyboard> I'm having a weird issue where I can see the programmer, but I can't connect to the device. Moving wires from STLink to another programmer, it works fine :\ 2021-02-04T00:44:26 < karlp> umm, there might be some jumpers till iirc 2021-02-04T00:45:06 < ColdKeyboard> I pulled off the jumpers for Nucleo (Two that say ON->Nucleo, OFF->STLink) 2021-02-04T00:45:15 < ColdKeyboard> The 0R I think are left as default 2021-02-04T00:45:59 < karlp> I mean, I've onyl got one cut board, and I can't remmeber anymore if anything was done to it. 2021-02-04T00:46:09 < karlp> normally I just leave it in place and pull off the jumpers 2021-02-04T00:46:21 < karlp> but I have a vague recall of some weirdness with reset floating or something 2021-02-04T00:47:00 < ColdKeyboard> Right, it's pulled up on the target board, obviously. And for jumpers I'm not sure if I should add 0R, or disconnect or what not... 2021-02-04T00:47:13 < ColdKeyboard> Datasheet is kind of vauge about it or I don't understand it 2021-02-04T01:00:08 < karlp> heh 2021-02-04T01:00:49 < karlp> I noticed earlier that in current kicad, .txt files will show up in the project editor: https://bin.jvnv.net/file/Vjr5m.png 2021-02-04T01:00:57 < karlp> but. if you double click on them, it uses system $EDITOR 2021-02-04T01:01:03 < karlp> so tries to pop a vim.... 2021-02-04T01:01:06 < karlp> good one. 2021-02-04T01:01:38 < karlp> ok, no, it has a preference for it, but it defautled to vim?! 2021-02-04T01:08:28 < ColdKeyboard> https://community.st.com/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId=0680X000006qKh9&operationContext=CHATTER&contentId=05T0X00000NPEUN&page=0 2021-02-04T01:08:54 < ColdKeyboard> Huh, so R9 is not populated on board, but wouldn't you need it in order to detect VDD_T 2021-02-04T01:09:44 < qyx> speaking of kicad, is 5.99 compatible with 5.1.x? 2021-02-04T01:09:57 < qyx> (semver says yes) 2021-02-04T01:12:01 < Steffanx> Try it? 2021-02-04T01:12:22 < karlp> upwards only 2021-02-04T01:12:27 < karlp> it's made of win 2021-02-04T01:12:40 < karlp> but you will get new files saved in new format that aren't backward compatible 2021-02-04T01:21:37 -!- fenugrec [~fenugrec@cpe7cb21b1e4c70-cm7cb21b1e4c6d.cpe.net.cable.rogers.com] has quit [Quit: Leaving] 2021-02-04T01:29:13 -!- grummund_ [~unknown@unaffiliated/grummund] has quit [Ping timeout: 256 seconds] 2021-02-04T01:33:05 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 240 seconds] 2021-02-04T01:41:17 -!- grummund [~unknown@unaffiliated/grummund] has joined ##stm32 2021-02-04T01:54:06 -!- mouseghost [~draco@wikipedia/desperek] has quit [Quit: mew wew] 2021-02-04T02:06:05 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has joined ##stm32 2021-02-04T02:11:53 < kakium69> https://drive.google.com/file/d/1eiZCC7DKq9WLRKc82-FZdNIilbEuSBPw/view?usp=sharing what I found under 3levels of virtualization 2021-02-04T02:12:07 < kakium69> my autisming folder 2021-02-04T02:13:41 < kakium69> I mean when I found a washing machine manual I wanted to laught 2021-02-04T02:17:17 < kakium69> https://music.youtube.com/watch?v=hy4pSVjLKFw musics 2021-02-04T02:24:16 < kakium69> when I was young I though I need to have a folder with thousands of datasheets 2021-02-04T02:25:32 < kakium69> now I know I need the minimal number of datasheets and even then remove them after use 2021-02-04T02:27:45 < kakium69> or leave them in project folder 2021-02-04T02:27:58 < kakium69> which ever way 2021-02-04T02:28:18 -!- oofus_ [~quassel@88.97.72.251] has quit [Read error: Connection reset by peer] 2021-02-04T02:38:30 -!- catphish [~charlie@unaffiliated/catphish] has quit [Quit: Leaving] 2021-02-04T02:56:18 < mawk> did you really film your screen kakium69 2021-02-04T02:56:21 < mawk> aren't you ashamed 2021-02-04T02:56:26 < kakium69> no 2021-02-04T02:56:37 < kakium69> I mean yes I did 2021-02-04T02:56:42 < kakium69> and no I'm not 2021-02-04T02:56:59 < mawk> use SimpleScreenRecorder 2021-02-04T02:57:02 < mawk> it works very well 2021-02-04T02:57:11 < kakium69> just turn capture on from virtualbox? 2021-02-04T02:57:24 < mawk> virtualbox is for pussies 2021-02-04T02:57:31 < mawk> real men run on real hardware 2021-02-04T02:57:34 < mawk> because that's more real 2021-02-04T02:58:09 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has quit [] 2021-02-04T02:58:15 < mawk> look in datasheet ColdKeyboard they say it all 2021-02-04T02:58:17 < BrainDamage> you mean on x86, that's already jit compiled in firmware to a risc processor? 2021-02-04T02:58:20 < mawk> you have to cut solder bridges and stuff 2021-02-04T02:58:40 < mawk> is it really jit though 2021-02-04T02:58:56 < mawk> jit has this strong notion of optimizing hot codepaths using inferred types and so on 2021-02-04T02:59:03 < mawk> maybe not always 2021-02-04T02:59:31 < mawk> I would expect microinstruction decoding happens with some kind of fast hardware 2021-02-04T03:00:37 < BrainDamage> part of the codepath is hw, part is firmware, some instructions that translate directly are priviledged 2021-02-04T03:00:52 < BrainDamage> rest get shuffled into a dedicated cpu 2021-02-04T03:01:42 < BrainDamage> x86 is such a clusterfuck 2021-02-04T03:02:02 < mawk> yes 2021-02-04T03:02:31 < mawk> I like especially the backwards compatibility all the way back to 80186 2021-02-04T03:02:44 < mawk> that sure is the road to high perf 2021-02-04T03:03:08 < BrainDamage> why, aren't you running 16 bit machine code regularly? 2021-02-04T03:04:34 < mawk> when I was doing this x86 kernel I added 16 bit support 2021-02-04T03:04:38 < mawk> or more or less had to 2021-02-04T03:04:52 < mawk> to be able to call the "video bios" routines to set up graphics card without having to deep dive into drivers 2021-02-04T03:05:21 < mawk> aka VBE/vesa functions 2021-02-04T03:05:32 < mawk> but that only works in qemu, real life graphics card never implemented this crap 2021-02-04T03:05:37 < mawk> because vesa had expensive licensing 2021-02-04T03:05:48 < mawk> or maybe not for that reason, but anyway it's nowhere to be found 2021-02-04T03:07:09 < mawk> the procedure to come from 64 bits to 16 bits is pretty fun 2021-02-04T03:07:27 < mawk> you need to do 64 bits -> 64 bits 32 bits compatibility mode -> 32 bits paged mode -> 16 bits paged mode -> 16 bits segmented mode 2021-02-04T03:07:35 < mawk> then you can make the bios call 2021-02-04T03:07:39 < mawk> then climb up the chain in the reverse order 2021-02-04T03:07:53 < mawk> and of course if you were doing multicore you have to halt all the other cores 2021-02-04T03:11:52 < mawk> I forgot a step it's 32 bits paged mode -> 32 bits segmented mode -> 16 bits segmented mode -> 16 bits real mode 2021-02-04T03:11:56 < mawk> there's no 16 bits paged mode 2021-02-04T03:12:05 -!- Mangy_Dog [~Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has quit [Ping timeout: 240 seconds] 2021-02-04T03:12:05 < mawk> who needs page when you have only 1MiB of memory 2021-02-04T03:22:40 -!- t4nk_freenode [sundan@gateway/shell/xshellz/x-jysfiiaczfvxyzso] has quit [Max SendQ exceeded] 2021-02-04T03:22:50 -!- t4nk_freenode [sundan@gateway/shell/xshellz/x-gmiijblzdfffljan] has joined ##stm32 2021-02-04T03:39:45 -!- futarisIRCcloud [uid222239@gateway/web/irccloud.com/x-ffgvdwmkkeekpgbl] has quit [Quit: Connection closed for inactivity] 2021-02-04T03:42:19 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-04T04:04:35 < mawk> when are you doing your own BrainDamage ? 2021-02-04T04:05:31 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has joined ##stm32 2021-02-04T04:06:03 < R2COM> so did someone else hear about garuda linux or no 2021-02-04T04:06:03 < mawk> go to bed R2COM it's 3 am 2021-02-04T04:06:18 < R2COM> nah 2021-02-04T04:06:32 < R2COM> garuda linux has feature of state snapshots in grub 2021-02-04T04:06:41 < mawk> BTRFS is a modern copy on write (CoW) filesystem for Linux aimed at implementing advanced features while also focusing on fault tolerance, repair and easy administration. 2021-02-04T04:06:44 < R2COM> so if update went bad etc, you can right from grub load to pre-update state 2021-02-04T04:06:45 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 256 seconds] 2021-02-04T04:06:48 < mawk> I wouldn't exactly say "fault tolerance" 2021-02-04T04:06:52 < mawk> yeah 2021-02-04T04:07:09 < R2COM> do you think its cool feature i described? 2021-02-04T04:07:14 < R2COM> and that btrfs ? 2021-02-04T04:07:26 < mawk> I use btrfs 2021-02-04T04:07:28 < mawk> already 2021-02-04T04:07:30 < mawk> but on debian 2021-02-04T04:07:35 < R2COM> its some modern shit yea? 2021-02-04T04:07:38 < mawk> yeah it's a cool feature 2021-02-04T04:07:44 < R2COM> is it > ntfs? 2021-02-04T04:07:47 < mawk> modern I don't know, but since it's quite experimental I guess we can say modern 2021-02-04T04:07:50 < mawk> sure 2021-02-04T04:07:59 < mawk> snapshots and RAID are cool features of btrfs 2021-02-04T04:08:05 < mawk> and it's copy on write 2021-02-04T04:08:10 < mawk> when you cp a file, it's instantaneous 2021-02-04T04:08:12 < R2COM> does that grub snapshot cuz of btrs? 2021-02-04T04:08:13 < mawk> for instance 2021-02-04T04:08:16 < mawk> yes 2021-02-04T04:08:20 < mawk> they make use of it 2021-02-04T04:08:26 < R2COM> hmm 2021-02-04T04:08:28 < mawk> but you can make any fs snapshottable by having it live under lvm 2021-02-04T04:08:29 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-04T04:08:31 < R2COM> also, why you use debian? 2021-02-04T04:08:37 < mawk> but then the snapshots are at the block device level and not file level 2021-02-04T04:08:45 < mawk> because I've always used debian 2021-02-04T04:08:52 < mawk> since I'm 9 or 10 2021-02-04T04:09:01 < mawk> go conservatism right 2021-02-04T04:09:14 < R2COM> what you think of arch linux base? 2021-02-04T04:09:21 < mawk> nothing good 2021-02-04T04:09:26 < mawk> I'm not a fan of rolling release distros 2021-02-04T04:09:53 < R2COM> mainly cuz of that? 2021-02-04T04:10:06 < R2COM> you prefer quantized updateS? 2021-02-04T04:12:05 < mawk> arch linux is all about being rolling release 2021-02-04T04:12:13 < mawk> yes I prefer stable distributions 2021-02-04T04:13:37 < mawk> anyway the distro isn't really important for me 2021-02-04T04:13:52 < mawk> since I compile myself a lot of stuff 2021-02-04T04:14:12 < R2COM> what you think of using arch linux for eda setup? 2021-02-04T04:16:28 < mawk> it's probably not the best choice to have archlinux for anything that has "setup" in the name 2021-02-04T04:16:41 < mawk> since that implies that the machine needs to stay stable for long periods of time with running the same softwares 2021-02-04T04:16:54 < mawk> which is a perfect job for stable distributions, and there's nothing as stable as debian 2021-02-04T04:17:31 < R2COM> but man i liked that visual of garuda lol 2021-02-04T04:17:44 < mawk> yes that's how they trap you 2021-02-04T04:17:47 < R2COM> and...wouldnt its snapshots compensate for that rolling release stuff? 2021-02-04T04:17:49 < mawk> like with that chinese spyware distro 2021-02-04T04:17:51 < mawk> deepin or something 2021-02-04T04:17:59 < R2COM> oh 2021-02-04T04:18:04 < R2COM> btw, garuda = India 2021-02-04T04:18:09 < mawk> well yes having a kevlar vest compensates for walking through a shooting range 2021-02-04T04:18:15 < mawk> but you don't want to do it in the first place 2021-02-04T04:18:19 < R2COM> lol 2021-02-04T04:18:23 < mawk> ah right that sounded indian 2021-02-04T04:18:50 < R2COM> is debian using btrfs? 2021-02-04T04:18:59 < mawk> it's using whatever you tell it to use 2021-02-04T04:19:04 < mawk> ext4 by default 2021-02-04T04:19:06 < R2COM> during setup right? 2021-02-04T04:19:09 < mawk> yes 2021-02-04T04:19:34 < R2COM> why would they "trap" into OS by looks? 2021-02-04T04:20:00 < mawk> that's something I noticed, all weird small distros get users because they look good 2021-02-04T04:20:29 < R2COM> there were some comments about good performance of garuda 2021-02-04T04:20:33 < R2COM> is performance of debian good? 2021-02-04T04:20:34 < R2COM> tops? 2021-02-04T04:20:48 < R2COM> like the way how it runs stuff and uses ram etc? 2021-02-04T04:21:05 < mawk> it's all linux anyway, so all distros are mostly similar in how they run 2021-02-04T04:21:17 < mawk> I don't expect wild performance variations 2021-02-04T04:21:45 < kakium69> package manager is different 2021-02-04T04:21:58 < R2COM> what package manager is in debian? 2021-02-04T04:22:00 < mawk> APT best package manager of all times 2021-02-04T04:22:01 < kakium69> apt 2021-02-04T04:22:02 < mawk> apt 2021-02-04T04:22:06 < kakium69> apt 2021-02-04T04:22:09 < mawk> tpa 2021-02-04T04:22:20 < R2COM> and how fedora compares to debian? 2021-02-04T04:22:25 < mawk> when you read "apt" out loud in french it means "has farted" 2021-02-04T04:22:53 < mawk> it's probably a bit similar but less stable, I don't know 2021-02-04T04:23:14 -!- Laurenceb [~laurence@75.200.208.46.dyn.plus.net] has quit [Ping timeout: 256 seconds] 2021-02-04T04:23:14 < R2COM> so you really happy with debian, and think its OK as a setup for EDA desktop? 2021-02-04T04:23:25 < mawk> fedora is redhat's device to get users to betatest their software for them 2021-02-04T04:23:47 < mawk> yes for having a stable machine to run the same software for years I would use debian 2021-02-04T04:23:57 < mawk> you will get updates for your debian version for a long time 2021-02-04T04:24:07 < mawk> and you can even upgrade to newer debian version pretty easily 2021-02-04T04:24:10 < R2COM> you would generally avoid small distros? 2021-02-04T04:24:15 < kakium69> yes 2021-02-04T04:24:21 < mawk> yeah you get obviously less support 2021-02-04T04:24:26 < R2COM> debian origin: global 2021-02-04T04:24:40 < R2COM> looking at distrowatch about it 2021-02-04T04:24:42 < kakium69> there is 1000 small distros per one big distro 2021-02-04T04:24:56 < R2COM> what about Manjaro linux? 2021-02-04T04:25:00 < R2COM> it comes from your motherland mawk 2021-02-04T04:25:04 < R2COM> it has your blood 2021-02-04T04:25:33 < R2COM> also arch based tho.. 2021-02-04T04:26:20 < mawk> lol 2021-02-04T04:27:00 < mawk> manjaro is like arch for beginners 2021-02-04T04:27:30 < mawk> if you want stability you will have to find either debian-based (debian, ubuntu) or redhat based (centos, fedora) 2021-02-04T04:27:37 < mawk> so just take debian 2021-02-04T04:27:43 < mawk> or ubuntu if you feel like a grandma 2021-02-04T04:28:31 < R2COM> seems like yeah 2021-02-04T04:28:36 < R2COM> what about cool GUI for it? 2021-02-04T04:28:40 < R2COM> you can make it any or? 2021-02-04T04:28:48 < mawk> yes I use KDE it looks good 2021-02-04T04:29:09 -!- Amun_Ra [~amun-ra@retro.rocks] has quit [Ping timeout: 246 seconds] 2021-02-04T04:29:10 < mawk> wait I sent only a partial screen 2021-02-04T04:29:25 < mawk> better 2021-02-04T04:29:26 < R2COM> all i see is 1 screen 2021-02-04T04:29:28 < R2COM> ok 2021-02-04T04:29:45 < R2COM> hm 2021-02-04T04:29:59 < R2COM> would you please show 2 things 2021-02-04T04:30:02 < R2COM> say folder explorer 2021-02-04T04:30:06 < R2COM> + some app with some controls 2021-02-04T04:30:09 < R2COM> slide bars etc 2021-02-04T04:30:11 < R2COM> :P 2021-02-04T04:30:31 < mawk> https://serveur.io/Screenshot_20210204033025614.png 2021-02-04T04:30:54 < mawk> https://serveur.io/Screenshot_20210204033052042.png 2021-02-04T04:31:34 -!- Amun_Ra [~amun-ra@retro.rocks] has joined ##stm32 2021-02-04T04:31:35 < R2COM> its nice, nothing bleeding edge tho 2021-02-04T04:31:48 < mawk> you can change themes 2021-02-04T04:31:57 < mawk> I just kept the basic one in dark mode 2021-02-04T04:32:38 < R2COM> not resource hungry either? 2021-02-04T04:32:44 < R2COM> say if you run nothing, its idling cpu ? 2021-02-04T04:33:49 < R2COM> i see theres only 1 download for it 2021-02-04T04:33:54 < R2COM> i guess just that 64 bit rite 2021-02-04T04:34:49 < mawk> yes 64 bits 2021-02-04T04:34:54 < mawk> but you don't have to download 2021-02-04T04:35:07 < mawk> just choose kde at debian installation 2021-02-04T04:35:21 < R2COM> yeah but one needs to download debian rite 2021-02-04T04:35:23 < R2COM> to install 2021-02-04T04:35:25 < mawk> yes 2021-02-04T04:35:29 < mawk> take debian dvd 2021-02-04T04:35:33 -!- Laurenceb [~laurence@6.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-04T04:35:58 < mawk> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current/amd64/iso-dvd/firmware-10.7.0-amd64-DVD-1.iso 2021-02-04T04:36:10 < mawk> dvd with drivers and all 2021-02-04T04:36:15 < R2COM> ok 2021-02-04T04:36:16 < R2COM> also 2021-02-04T04:36:17 < R2COM> wow 2021-02-04T04:36:21 < R2COM> you heard that PLASMA kde? 2021-02-04T04:36:32 < R2COM> its like kde on steroids or what 2021-02-04T04:36:35 < mawk> yes it's the same thing 2021-02-04T04:36:36 < R2COM> like improved style? 2021-02-04T04:36:44 < mawk> it's the latest version of kde 2021-02-04T04:36:50 < mawk> the one I showed 2021-02-04T04:37:02 < mawk> I guess it designates the UI in particular 2021-02-04T04:37:29 -!- R2COM1 [~R2COM@ip72-217-88-4.ph.ph.cox.net] has joined ##stm32 2021-02-04T04:37:41 < mawk> 033644 it's the latest version of kde 2021-02-04T04:37:41 < mawk> 033650 the one I showed 2021-02-04T04:37:41 < mawk> 033702 I guess it designates the UI in particular 2021-02-04T04:37:46 < R2COM1> ahh 2021-02-04T04:37:57 < mawk> for resources it takes a bit more than gnome or other but not that much 2021-02-04T04:38:01 < mawk> today's computer are good enough 2021-02-04T04:38:27 < R2COM1> i have one laptop from 2014 which already chokes by win10 2021-02-04T04:38:34 < R2COM1> even that one with latest kde would do better 2021-02-04T04:38:37 < R2COM1> i assume 2021-02-04T04:38:39 < mawk> ah 2021-02-04T04:38:41 < mawk> yes probably 2021-02-04T04:38:51 < R2COM1> but this one i plan to install on my main PC 2021-02-04T04:38:56 < R2COM1> however, of course im not dumping win10 2021-02-04T04:38:58 < R2COM1> so 2021-02-04T04:39:11 < R2COM1> what i think is, can i buy one more SSD and get debian on it? 2021-02-04T04:39:18 < mawk> just reduce windows partition size and you can install side by side 2021-02-04T04:39:20 < R2COM1> and do dual boot between win10 ssd or debian ssd? 2021-02-04T04:39:26 < mawk> or get a new drive yes 2021-02-04T04:39:34 < R2COM1> im afraid to fuck things up in case somethjing goes wrong 2021-02-04T04:39:43 < mawk> you can always recover 2021-02-04T04:39:54 < R2COM1> so that, say linux got f'ed up, i can just unplug that SSD and put bios to boot back only from win10 ssd 2021-02-04T04:39:56 < mawk> make a windows install usb stick just in case 2021-02-04T04:40:01 < mawk> to recover windows bootloader 2021-02-04T04:40:04 < R2COM1> ok 2021-02-04T04:40:05 < mawk> but it won't be need 2021-02-04T04:40:24 < mawk> and anyway yes you can choose in bios what to boot to 2021-02-04T04:40:25 < R2COM1> but i guess its still better to buy separate 500GB SSD just for Debian 2021-02-04T04:40:41 < mawk> that depends on the size of the porn collection you will have 2021-02-04T04:40:47 < R2COM1> can i do it and do dual boot between win10 ssd or debian ssd? 2021-02-04T04:40:53 < mawk> yes 2021-02-04T04:41:13 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has quit [Ping timeout: 276 seconds] 2021-02-04T04:41:22 < mawk> you can do whatever you want with hard drives, have two os on 1 drive, 2 os on 2 drives, 1 os on 2 drives, etc 2021-02-04T04:41:59 < mawk> the last one is called RAID 0 2021-02-04T04:42:17 < mawk> I have to go it's 4am almost here 2021-02-04T04:42:23 < R2COM1> cya 2021-02-04T04:43:23 -!- R2COM1 is now known as R2COM 2021-02-04T04:49:22 < kakium69> you can try stuff in virtualbox 2021-02-04T04:51:35 < kakium69> dynamic size virtual disk doesn't need much actual space 2021-02-04T05:01:56 < kakium69> I have linux on bootable nvme but I plan mainly use it via virtualbox 2021-02-04T05:02:49 -!- dogukan [~dogukan@unaffiliated/dogukan] has joined ##stm32 2021-02-04T05:07:06 < kakium69> I think by using virtio-net instead of network card emulation might give massive host<->guest performance for files, xserver and shit 2021-02-04T05:14:21 -!- Laurenceb [~laurence@6.200.208.46.dyn.plus.net] has quit [Ping timeout: 264 seconds] 2021-02-04T05:22:03 < R2COM> i know i can try 2021-02-04T05:22:08 < R2COM> but nothing to try honestly 2021-02-04T05:22:15 < R2COM> if i selected ill go with it 2021-02-04T05:22:24 < R2COM> and then i wont need to spend extra 1-2 cores on VM 2021-02-04T05:22:31 < R2COM> just use all full power of my CPU on OS 2021-02-04T05:22:57 < R2COM> my MB is kinda old, no nVME 2021-02-04T05:23:03 < R2COM> ill buy sata6 ssd 2021-02-04T05:41:54 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has quit [Remote host closed the connection] 2021-02-04T05:42:13 -!- dogukan [~dogukan@unaffiliated/dogukan] has quit [Remote host closed the connection] 2021-02-04T05:54:42 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has quit [Quit: Gone to sleep...] 2021-02-04T05:56:00 < R2COM> i have some confusion about nvme 2021-02-04T05:56:12 < R2COM> if my MB doesnt have it but i got PCIE 3.0 x16 2021-02-04T05:56:17 < R2COM> i cant use tthis right": https://www.amazon.com/YATENG-Controller-Expansion-Card-Support-Converter/dp/B07JJTVGZM 2021-02-04T05:56:29 < R2COM> or this one can plug in longer, x16 as well (according to pics) 2021-02-04T05:57:22 < R2COM> or wait 2021-02-04T05:57:25 < R2COM> id rather use this: 2021-02-04T05:57:26 < R2COM> https://www.amazon.com/Sabrent-NVMe-PCIe-Aluminum-EC-PCIE/dp/B084GDY2PW/ref=pd_lpo_147_t_2/138-7748464-1829146?_encoding=UTF8&pd_rd_i=B084GDY2PW&pd_rd_r=b131c242-5af4-4941-8dff-c438292cb5e3&pd_rd_w=7HC3p&pd_rd_wg=aHfU7&pf_rd_p=16b28406-aa34-451d-8a2e-b3930ada000c&pf_rd_r=KBHK7CMYAJE48DRFHHV5&refRID=KBHK7CMYAJE48DRFHHV5&th=1 2021-02-04T06:32:02 -!- fc5dc9d4 [~quassel@p4fe9a07f.dip0.t-ipconnect.de] has joined ##stm32 2021-02-04T06:35:36 -!- fc5dc9d4_ [~quassel@p4fe9ac57.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 2021-02-04T06:46:03 -!- futarisIRCcloud [uid222239@gateway/web/irccloud.com/x-uakgzkrgclixwrzd] has joined ##stm32 2021-02-04T06:47:05 < R2COM> i wont need heatsink 2021-02-04T07:15:10 < jpa-> R2COM: yeah, should work, though depending on bios it possibly won't boot from it 2021-02-04T07:36:16 < R2COM> https://forums.evga.com/tm.aspx?m=2887055&mpage=2 2021-02-04T07:36:28 < R2COM> this page shows some dude saying that it boots from x79 or x99 2021-02-04T07:36:41 < R2COM> similar brand nvme booted for him from x99 ftw (which is MB i have) 2021-02-04T07:36:53 < R2COM> so..hopefully works for me too 2021-02-04T07:56:02 < ColdKeyboard> Weird thing... STM32L011 does not print anything on the USART when it's power cycled. However if I load gdb and start debuggin... works like a charm :( 2021-02-04T08:11:37 < R2COM> maybe you do sometihng before pll locked or something, and during gdb you run to some point and all inits fine thats why it works 2021-02-04T08:11:44 < R2COM> sleep time 2021-02-04T08:12:24 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2021-02-04T08:14:12 < ColdKeyboard> I'm looking at it... can't figure it out 2021-02-04T08:14:21 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-04T08:16:09 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has quit [Ping timeout: 264 seconds] 2021-02-04T08:33:52 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has joined ##stm32 2021-02-04T08:47:09 -!- jsoft [~jsoft@unaffiliated/jsoft] has joined ##stm32 2021-02-04T09:01:41 < ColdKeyboard> BOOT0 should be tied to GND for normal boot, right? 2021-02-04T09:10:15 < jpa-> yes 2021-02-04T09:10:28 < jpa-> and NRST should be high 2021-02-04T09:14:17 < ColdKeyboard> Weird, when I use debugger and attach to running MCU it's at 0x1FF000F4 2021-02-04T09:14:34 < ColdKeyboard> And it ends up at the same address regardless if BOOT0 is LOW or HIGH 2021-02-04T09:17:32 -!- c10ud [~c10ud@emesene/dictator/c10ud] has quit [Ping timeout: 260 seconds] 2021-02-04T09:20:06 < jpa-> what values does debugger show for x /2xw 0x0000 2021-02-04T09:20:19 < jpa-> i.e. reset and stack vector 2021-02-04T09:23:27 < ColdKeyboard> Where do I find that? 2021-02-04T09:23:42 < jpa-> are you using gdb? 2021-02-04T09:23:53 < ColdKeyboard> I'm using Ozone from JLInk 2021-02-04T09:24:16 < jpa-> ah, i don't know how to use that; but you would want to read the two 32-bit values at 0x0000 and 0x0004 2021-02-04T09:25:50 < ColdKeyboard> 0x0000 -> 00 08 00 20 ED 20 00 08 95 06 00 08 97 06 00 08 2021-02-04T09:26:02 < ColdKeyboard> 0x0004 -> 6D 21 00 08 6D 21 00 08 6D 21 00 08 6D 21 00 08 2021-02-04T09:26:14 < ColdKeyboard> I'm looking at Memory view 2021-02-04T09:27:50 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has quit [Quit: Leaving.] 2021-02-04T09:28:46 < jpa-> ok, looks reasonable (0x080020ED and 0x20008000) 2021-02-04T09:29:28 < jpa-> are you using semihosting in your code? 2021-02-04T09:30:07 < ColdKeyboard> What's that? :) 2021-02-04T09:30:17 < ColdKeyboard> I assume, no. Unless it's turned on by default 2021-02-04T09:30:37 < jpa-> probably not then 2021-02-04T09:31:01 < jpa-> it seems like your code is jumping to that weird address for some reason, because the boot address itself seems reasonable 2021-02-04T09:31:28 < jpa-> 0x1FF000F4 is system boot memory though, so maybe it is ending up in bootloader for some reason 2021-02-04T09:31:51 < ColdKeyboard> Dammit... when I run with GDB it works fine, which sucks 2021-02-04T09:32:12 < jpa-> hmm, there is nBOOT_SEL config bit on that device 2021-02-04T09:32:53 < jpa-> what value do you see at 0x4002201C ? 2021-02-04T09:33:22 < ColdKeyboard> 0x4002201C -> AA 00 70 80 00 00 00 00 98 94 64 BB 34 28 20 02 2021-02-04T09:33:49 < jpa-> so defaults there, no problems with that 2021-02-04T09:34:03 < jpa-> sounds pretty weird indeed 2021-02-04T09:35:15 < ColdKeyboard> It's driving me nuts since I can't even do a board bringup with this thing :( 2021-02-04T09:35:44 < jpa-> you could try putting some while(1){} loop with nothing in it in your main(), and see if it boots to that (check with debugger where it is when you connect on the fly) 2021-02-04T09:35:56 < jpa-> if that works, then it would be some code later in your init that is jumping to a weird place 2021-02-04T09:37:38 < ColdKeyboard> Good point, I can give that a try now 2021-02-04T09:38:52 < ColdKeyboard> Hmmm... I put while(1) as the first line inside main() and it still hangs at that 0x1FF00100 area 2021-02-04T09:40:00 < jpa-> that's weird.. it is the behavior one would expect with BOOT0 being high, though i think 0x0000 vectors would look different then also 2021-02-04T09:40:32 < jpa-> i once had a weird intermitten boot issue caused by the BOOT0 pin not being properly soldered, it only contacted sometimes 2021-02-04T09:40:34 < ColdKeyboard> BTW, I also tried pulling BOOT0 to VCC as well as GND, same result 2021-02-04T09:40:45 < ColdKeyboard> Right now it's tied to GND btw 2021-02-04T09:41:03 < ColdKeyboard> I'll try to reflow the board again if everything else fails :\ 2021-02-04T09:43:00 < jpa-> have you tried it with the debugger cable completely disconnected from the PCB? 2021-02-04T09:43:46 -!- c10ud [~c10ud@emesene/dictator/c10ud] has joined ##stm32 2021-02-04T09:43:47 -!- c10ud_ [~c10ud@emesene/dictator/c10ud] has joined ##stm32 2021-02-04T09:43:50 -!- c10ud_ [~c10ud@emesene/dictator/c10ud] has quit [Remote host closed the connection] 2021-02-04T09:44:02 < ColdKeyboard> Huh... there is ~700R between actual GND and GND pins on the MCU (when + on GND and - on pin) 2021-02-04T09:45:58 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has joined ##stm32 2021-02-04T09:52:39 < ColdKeyboard> Tried without the debugger... same thing 2021-02-04T09:52:54 < ColdKeyboard> It's sleep time. I'll have to build another board tomorrow and give it a whack :\ 2021-02-04T10:59:55 < mawk> it's 10am ColdKeyboard you're lazy why are you sleeping now 2021-02-04T11:00:04 < mawk> eh I don't have meetings today I can take a nap 2021-02-04T11:00:17 < mawk> if my colleague stops calling me "so how are you progressing????" 2021-02-04T11:00:32 < mawk> then he snitches to manager "mawk is probably sleeping he's not online on slack" and I don't get pay rise 2021-02-04T11:06:03 -!- jsoft [~jsoft@unaffiliated/jsoft] has quit [Ping timeout: 246 seconds] 2021-02-04T11:09:02 -!- jsoft [~jsoft@unaffiliated/jsoft] has joined ##stm32 2021-02-04T11:19:42 < zyp> 08:28:47 < jpa-> ok, looks reasonable (0x080020ED and 0x20008000) 2021-02-04T11:19:45 < zyp> are you drunk? 2021-02-04T11:20:55 < zyp> 0x20000800 2021-02-04T11:21:05 < mawk> that's ram right 2021-02-04T11:21:11 < PaulFertser> The end of RAM 2021-02-04T11:21:32 < mawk> a 2021-02-04T11:21:32 < PaulFertser> 0x800 is hm, not much 2021-02-04T11:21:38 < mawk> flash 2021-02-04T11:21:41 < mawk> ah nvm 2021-02-04T11:24:49 < PaulFertser> I would use hardware srst and "mon reset halt" to see where it ends up. 2021-02-04T11:27:42 -!- jsoft [~jsoft@unaffiliated/jsoft] has quit [Remote host closed the connection] 2021-02-04T11:32:51 < PaulFertser> Then "tb main" "c" 2021-02-04T11:32:58 < PaulFertser> And if it ends up in main, step through it. 2021-02-04T11:43:45 -!- mouseghost [~draco@wikipedia/desperek] has joined ##stm32 2021-02-04T11:44:52 -!- veegee [~veegee@142.126.187.41] has joined ##stm32 2021-02-04T11:53:53 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-04T12:14:14 -!- tcth__ [~tcth@77.109.191.152] has joined ##stm32 2021-02-04T12:17:31 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 276 seconds] 2021-02-04T12:19:18 -!- iobus [uid144366@gateway/web/irccloud.com/x-qjavoehzmoweoemy] has joined ##stm32 2021-02-04T12:45:22 < jpa-> zyp: looks like i mirrored some nibbles also :) 2021-02-04T12:46:51 -!- catphish [~charlie@unaffiliated/catphish] has joined ##stm32 2021-02-04T12:50:38 < Steffanx> You are forgiven jpa- 2021-02-04T12:52:25 < mawk> is there really consensus about that Steffanx ? 2021-02-04T12:52:46 < PaulFertser> Kingdoms do not need consensus. 2021-02-04T12:52:47 < mawk> maybe jpa- should stay in purgatory for a while for what he's done 2021-02-04T12:53:31 < mawk> yes willem-alexander should be beheaded 2021-02-04T12:53:38 < mawk> to properly frenchize the country 2021-02-04T12:53:51 < PaulFertser> Do you think there's a consensus in russia that the pigs should be beating peaceful people with batons on the streets? 2021-02-04T12:54:02 -!- mode/##stm32 [+q *!*@serveur.io] by ChanServ 2021-02-04T12:54:14 < Steffanx> Cant hear you mawk 2021-02-04T12:54:43 -!- mode/##stm32 [-q *!*@serveur.io] by ChanServ 2021-02-04T12:54:47 < mawk> :'( :'( 2021-02-04T12:55:03 < mawk> pigs do that all over the world PaulFertser 2021-02-04T12:55:23 < mawk> with more or less impunity indeed 2021-02-04T12:55:51 < mawk> also baton is better than gum gun 2021-02-04T12:56:11 < mawk> that french police used against yellow vest 2021-02-04T12:56:29 < PaulFertser> mawk: not sure yellow vest was as peaceful though 2021-02-04T12:56:51 < mawk> that was the media strategy, to depict it as not peaceful in order to justify what police did 2021-02-04T12:56:58 < mawk> then of course over the weeks more and more antifa infiltrated it 2021-02-04T12:57:10 < mawk> but police tactics were the same even at the peaceful start 2021-02-04T12:57:34 < mawk> tactic is let people in, then block entry or exit, launch tear gas and start shooting gum balls 2021-02-04T12:57:37 < mawk> then rinse and repeat next saturday 2021-02-04T12:58:40 < PaulFertser> Why do the french people accept such cruelty? 2021-02-04T12:59:04 < mawk> the part of france that didn't accept it was either busy getting their eyes bursted in the demonstrations, or too afraid to demonstrate 2021-02-04T12:59:11 < mawk> and the other part didn't know about it or thought the violence was justified 2021-02-04T12:59:19 < PaulFertser> Russians do it because many of them are selfish sheeps. 2021-02-04T12:59:43 < PaulFertser> But social media shows everything, it's all on video. 2021-02-04T12:59:58 < mawk> yeah 2021-02-04T13:00:19 < mawk> I don't know if you already have that but for any video evidence of police brutality we had all the official media trying to debunk the video 2021-02-04T13:00:33 < mawk> or some accept that it was brutality, but then justify it 2021-02-04T13:01:14 -!- fc5dc9d4 [~quassel@p4fe9a07f.dip0.t-ipconnect.de] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 2021-02-04T13:01:42 -!- fc5dc9d4 [~quassel@p4fe9a07f.dip0.t-ipconnect.de] has joined ##stm32 2021-02-04T13:02:27 < mawk> gum gun caused 14 persons to lose an eye and 78 serious injuries 2021-02-04T13:02:38 < mawk> and GLI-F4 tactical grenades killed at least one person 2021-02-04T13:03:17 < mawk> there was a UN report advocating using against this "less-lethal weapons" in france by civilian law enforcement, but wasn't really listened to 2021-02-04T13:03:41 < mawk> I can get that gum gun is hard to aim with, but they all have laser aim 2021-02-04T13:03:51 < mawk> if they shoot the head it's not by accident 2021-02-04T13:04:25 < PaulFertser> wtf :( 2021-02-04T13:09:55 < mawk> https://cdn.radiofrance.fr/s3/cruiser-production/2019/03/986f8eda-1b60-4a46-8ce9-c7bc65f8dd55/870x489_index.webp 2021-02-04T13:09:59 < mawk> this is the bullet this gun shoots 2021-02-04T13:10:11 < mawk> when it hits your face it breaks bone very easily 2021-02-04T13:10:19 < Steffanx> but maybe not entirely on purpose either mawk ... except when you considering random shooting and hitting the head "on purpose" 2021-02-04T13:10:34 < mawk> you don't shoot randomly in france Steffanx 2021-02-04T13:10:41 < PaulFertser> Why do they shoot if those people are not damaging anything? 2021-02-04T13:10:55 < mawk> normally the gun is reserved for when the cops are encircled and in danger 2021-02-04T13:10:58 < mawk> to make people go away 2021-02-04T13:11:01 < mawk> but they don't really use it to that end 2021-02-04T13:11:37 < mawk> Steffanx: you issue 3 sommations, you get permission from a superior officer, then you can use it 2021-02-04T13:11:44 < mawk> you don't shoot randomly 2021-02-04T13:11:49 < mawk> and anyway whenever you shoot, you aim 2021-02-04T13:11:57 < mawk> shooting randomly doesn't exist for police 2021-02-04T13:12:38 < Steffanx> ofcourse it does 2021-02-04T13:12:44 -!- fc5dc9d4 [~quassel@p4fe9a07f.dip0.t-ipconnect.de] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 2021-02-04T13:12:52 < mawk> even just drawing your gun will get a french cop under custody for interrogation 2021-02-04T13:12:55 < mawk> they don't do it randomly 2021-02-04T13:13:03 < mawk> gun law is very strict even for cops 2021-02-04T13:13:06 < Steffanx> its not that you bureaucrats ALWAYS stick to the rules. 2021-02-04T13:13:20 < mawk> lol 2021-02-04T13:13:30 < mawk> well I'm not against breaking a few leftist bones with sticks 2021-02-04T13:13:35 < mawk> but bursting eyes is a bit too much 2021-02-04T13:13:43 < mawk> also it's not just eye, the gum bullet easily break bones 2021-02-04T13:13:53 < mawk> these people need hours of reconstructive surgery, titanium plates and so on 2021-02-04T13:21:54 < mawk> also they got orders PaulFertser , as always 2021-02-04T13:21:58 < mawk> they don't do it by themselves 2021-02-04T13:22:27 < mawk> in this case it was the stragey of the local state administrator for Paris, Didier Lallemant, nominated directly by the government 2021-02-04T13:22:36 < mawk> his name reads like "didier the german guy" 2021-02-04T13:26:13 -!- iobus [uid144366@gateway/web/irccloud.com/x-qjavoehzmoweoemy] has quit [] 2021-02-04T13:31:02 -!- hackkitten [~hackkitte@2a02:6d40:30d2:4e01:c5e5:970d:d0e0:b49c] has quit [Read error: Connection reset by peer] 2021-02-04T13:31:09 -!- hackkitten [~hackkitte@2a02:6d40:30d2:4e01:c5e5:970d:d0e0:b49c] has joined ##stm32 2021-02-04T13:43:33 -!- tcth__ [~tcth@77.109.191.152] has quit [Ping timeout: 246 seconds] 2021-02-04T13:53:12 -!- fc5dc9d4 [~quassel@p4fe9a07f.dip0.t-ipconnect.de] has joined ##stm32 2021-02-04T13:58:24 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has joined ##stm32 2021-02-04T14:05:35 < Steffanx> will you hold your breath again PaulFertser ? https://www.youtube.com/watch?v=Ep8XJanoFgw&feature=emb_title 2021-02-04T14:08:54 < PaulFertser> Impressive. But no. 2021-02-04T14:12:32 -!- srk [~sorki@gateway/tor-sasl/sorki] has quit [Ping timeout: 268 seconds] 2021-02-04T14:13:59 -!- jsoft [~jsoft@unaffiliated/jsoft] has joined ##stm32 2021-02-04T14:16:50 < qyx> oh spam about STM32WL55JC 2021-02-04T14:17:14 < qyx> they say dual core M0/M4 is needed to avoid recertification of the radio on software update 2021-02-04T14:18:17 < qyx> did they license Semtech's radio? 2021-02-04T14:19:38 -!- srk [~sorki@gateway/tor-sasl/sorki] has joined ##stm32 2021-02-04T14:19:57 < qyx> hm, hardware mailbox and semaphores 2021-02-04T14:21:47 < mawk> you don't like them? 2021-02-04T14:23:31 < qyx> never seen them 2021-02-04T14:23:55 < qyx> hm it is probably only a dual die package 2021-02-04T14:24:04 < qyx> you have to communicate with the radio using spi 2021-02-04T14:25:36 < mawk> I mean mailbox and semaphores 2021-02-04T14:26:10 < qyx> yeah I mean I have never seen a hardware implementation 2021-02-04T14:26:15 < qyx> not counting the thing in the CAN peripheral 2021-02-04T14:33:37 -!- jsoft [~jsoft@unaffiliated/jsoft] has quit [Remote host closed the connection] 2021-02-04T15:09:34 -!- tctw [~Tectu@82.197.160.105] has joined ##stm32 2021-02-04T15:25:38 -!- tctw [~Tectu@82.197.160.105] has quit [Read error: Connection reset by peer] 2021-02-04T15:43:25 < qyx> re solarwinds, who did mention them? kaki? 2021-02-04T16:03:43 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has quit [Ping timeout: 276 seconds] 2021-02-04T16:04:43 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has joined ##stm32 2021-02-04T16:14:47 -!- Laurenceb [~laurence@6.200.208.46.dyn.plus.net] has joined ##stm32 2021-02-04T16:15:41 < englishman> Laurenceb: i have an interesting paper on modeling gravitational lensing using raytracing, want a copy? 2021-02-04T16:24:29 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has quit [Quit: Leaving] 2021-02-04T16:28:11 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has joined ##stm32 2021-02-04T16:30:57 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has joined ##stm32 2021-02-04T16:39:45 -!- futarisIRCcloud [uid222239@gateway/web/irccloud.com/x-uakgzkrgclixwrzd] has quit [Quit: Connection closed for inactivity] 2021-02-04T16:46:27 < mawk> you wrote it englishman ? 2021-02-04T16:46:34 < mawk> give it to me 2021-02-04T16:46:39 < englishman> no 2021-02-04T16:46:41 < Laurenceb> yeah sounds good thanks 2021-02-04T16:46:43 < englishman> i didn't 2021-02-04T16:47:01 < Laurenceb> microsoft teams ate my ram :( 2021-02-04T16:47:13 < Laurenceb> why do hyperloop have to use a bazillion chat apps 2021-02-04T16:47:52 < englishman> https://www.spiedigitallibrary.org/journals/optical-engineering/volume-60/issue-01/015104/Ray-tracing-simulation-of-gravitational-lensing-using-a-gradient-index/10.1117/1.OE.60.1.015104.full 2021-02-04T16:47:58 < englishman> should work without login 2021-02-04T16:49:18 < Laurenceb> interesting 2021-02-04T16:49:29 < mawk> who no 2021-02-04T16:49:31 < mawk> give it 2021-02-04T16:49:33 < Laurenceb> I need to get muh Radiance sim scripted properly 2021-02-04T16:49:36 < mawk> ah 2021-02-04T16:49:42 < Laurenceb> for stratosolar sim 2021-02-04T16:49:45 < Steffanx> how much wam is that Laurenceb ? 1 GB? 2021-02-04T16:49:51 < Laurenceb> lol 4 2021-02-04T16:49:59 < mouseghost> wam 2021-02-04T16:50:01 < Steffanx> 4 GB in 2021 :D 2021-02-04T16:50:03 < mouseghost> swam 2021-02-04T16:50:06 < BrainDamage> https://www.medrxiv.org/content/10.1101/2021.02.01.21250957v1 apparently covid vaccine maakes people stupid ... as in they stop taking safety precautions as soon as they are vaccinated instead of atfter ~3 weeks 2021-02-04T16:50:10 < Steffanx> know your memes mouseghost 2021-02-04T16:50:16 * Laurenceb is hyperlooping 2021-02-04T16:50:21 < mouseghost> Steffanx, ay i compiled erlang on 2gb 2021-02-04T16:50:26 < Laurenceb> they trolled me epic style 2021-02-04T16:50:32 < Steffanx> https://www.youtube.com/watch?v=_pVNvSuA2mM <- mouseghost 2021-02-04T16:50:36 < Laurenceb> first day working on site they had a jerb for me 2021-02-04T16:50:48 < Laurenceb> cleaning out blocked train toilets 2021-02-04T16:50:52 < BrainDamage> digging the tunnel 2021-02-04T16:50:58 < BrainDamage> nice 2021-02-04T16:50:59 < Laurenceb> lul 2021-02-04T16:51:09 < mouseghost> whats dedotated Steffanx 2021-02-04T16:51:22 < mouseghost> dedicated? 2021-02-04T16:51:24 < Laurenceb> they also have a pile of about 100 broken train galley ovens that need fixing 2021-02-04T16:51:52 < Laurenceb> but now I'm making a 24GHz FOD radar 2021-02-04T16:51:53 < mouseghost> Steffanx, do you want me to pee myself? because you are close 2021-02-04T16:52:11 < BrainDamage> I'm sure someone will make a racist joke of that 2021-02-04T16:53:41 < zyp> heh, 4GB 2021-02-04T16:53:50 < mouseghost> good its not superkai69 2021-02-04T16:54:00 < Steffanx> mouseghost do as you like.. im not stopping you 2021-02-04T16:54:01 < mouseghost> oh it actually rhymes better 2021-02-04T16:54:51 < mouseghost> Steffanx, how is it in german 2021-02-04T16:55:26 < Steffanx> idk, i hardly speak german 2021-02-04T16:55:26 < mouseghost> mach wie du liebst.. ich stoppe dich nicht 2021-02-04T16:55:28 < mouseghost> ? 2021-02-04T16:55:34 < mawk> out of what BrainDamage 2021-02-04T16:55:58 < mawk> I want to hear the joke 2021-02-04T16:55:59 < zyp> $newjob asked me for input for what computer they're gonna get me, I'm like «idk, something with 64GB ram would be good» 2021-02-04T16:56:05 < mawk> lol 2021-02-04T16:56:10 < BrainDamage> mawk: train ovens 2021-02-04T16:56:15 < mawk> a 2021-02-04T16:56:29 < Steffanx> lol zyp ... 64 -_- 2021-02-04T16:56:35 < zyp> too little? 2021-02-04T16:56:50 < mouseghost> wam 2021-02-04T16:56:56 < Steffanx> How many VMs do you plan on running? 2021-02-04T16:57:00 < mawk> wandom access memowy 2021-02-04T16:57:02 < zyp> one 2021-02-04T16:57:40 < zyp> but I mean 2021-02-04T16:57:42 < Steffanx> but hey, ram is cheap-ish so yeah 64 is fine 2021-02-04T16:57:43 < BrainDamage> might as well ditch the ssd 2021-02-04T16:57:59 < BrainDamage> just keep it powered 2021-02-04T16:58:01 < mouseghost> i have 2GB flash in one terminal 2021-02-04T16:58:03 < mouseghost> and 2GB wam 2021-02-04T16:58:18 < zyp> my workstation at home had 32, and then one module failed last year so now it's running with 24 2021-02-04T16:58:24 < mouseghost> :/ 2021-02-04T16:58:33 < zyp> and I'm actually running out of ram now from time to time 2021-02-04T16:58:37 < mouseghost> aw 2021-02-04T16:58:53 < mouseghost> you aint swapping? 2021-02-04T16:59:21 < zyp> I am, but it's not like that's helping 2021-02-04T16:59:48 < zyp> even on a ssd, swapping out a few gigabytes makes everything grind to a halt 2021-02-04T16:59:59 < Laurenceb> whats the fastest spi on stm32? 2021-02-04T17:00:04 < BrainDamage> linux swap performance is horrible 2021-02-04T17:00:08 < zyp> Laurenceb, octospi 2021-02-04T17:00:20 * Laurenceb is planning on DMA->SPI for radar modulation 2021-02-04T17:00:25 < BrainDamage> I benchmarked approx 2% of IO capacity of the drrive 2021-02-04T17:00:30 < Laurenceb> zyp: I only need single bit 2021-02-04T17:00:43 < Laurenceb> BrainDamage: yeah and they refuse to fix it 2021-02-04T17:00:50 < zyp> BrainDamage, macos in my case, on linux I wouldn't even bother with swap 2021-02-04T17:01:01 < BrainDamage> also, swap shouldn't be used as "more ram", at least linux swap 2021-02-04T17:01:26 < BrainDamage> it only exists to let the cache handler code work better on ordered data 2021-02-04T17:01:28 < zyp> macos automatically swaps to files growing with demand 2021-02-04T17:01:55 < zyp> with linux I just wouldn't bother setting up a swap partition 2021-02-04T17:02:03 < BrainDamage> there's a few daemons for linux that do that 2021-02-04T17:02:19 < zyp> yeah, but it's not like I want it, it's just the default setup 2021-02-04T17:02:21 < BrainDamage> instead I installed a userspace oom killer 2021-02-04T17:02:29 < zyp> and I'm too lazy to figure out if I could turn it off 2021-02-04T17:02:40 < BrainDamage> when I start seeing stuff disappearing, I know it's time to reboot 2021-02-04T17:02:46 < zyp> :) 2021-02-04T17:06:30 < Laurenceb> F4 spi is limited to 50Mhz right? 2021-02-04T17:07:48 < BrainDamage> are you going to use the raw spi signal as modulation input? 2021-02-04T17:08:06 < BrainDamage> DSSS style 2021-02-04T17:10:18 < jpa-> H7 QSPI can get 200MHz, but it's limited to 4GB at a time and then couple clocks of pause 2021-02-04T17:11:07 < jpa-> Laurenceb: if you are planning on modulation output, maybe HRTIM would be useful also? IIRC it can do ~100MHz square wave with the edges positioned at 4GHz resolution 2021-02-04T17:12:38 < jpa-> zyp: for me vm.min_free_kbytes helped a bit with linux freezing everything when it starts swapping https://askubuntu.com/a/45009/115468 2021-02-04T17:13:06 < jpa-> ah mac os 2021-02-04T17:13:16 < jpa-> then i'll redirect that to BrainDamage 2021-02-04T17:13:39 < BrainDamage> not familiar with macos 2021-02-04T17:13:48 < zyp> jpa-, I'm not interested in increasing swap performance, I'm interested in having enough ram to not need swap 2021-02-04T17:13:55 < BrainDamage> ah you meant the swap perf 2021-02-04T17:14:09 < jpa-> i think this conversation is sufficiently tangled now 2021-02-04T17:38:11 < qyx> don't swap thigns 2021-02-04T17:38:23 < qyx> also corona32, we are fully britished it seems 2021-02-04T17:38:45 < qyx> 23 of 28 samples randomly selected yesterday 2021-02-04T17:40:45 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has joined ##stm32 2021-02-04T17:41:21 < R2COM> so i ordered the nvme without heatsink, been reading articles that it doesnt really improve much and that extreme cooling there not needed 2021-02-04T17:41:29 < R2COM> thus no need to overpay for looks of cool heatsink 2021-02-04T17:44:36 < jpa-> yeah, i haven't really understood point of heatsinks on NVME, especially aftermarket heatsink 2021-02-04T17:44:45 < jpa-> if the drive needs one, there will be one pre-installed 2021-02-04T17:44:49 < karlp> I tried running without swap on inux, then realized I _must_ have swap to be able to hibernate 2021-02-04T17:45:23 < R2COM> hmm okay 2021-02-04T17:45:34 < karlp> I'm running otu of my 500GB ssd drive again though 2021-02-04T17:48:23 < karlp> hrm, I'm still debating whether to drop a bunch of pdfs and step files into the sch/pcb git repo or not... 2021-02-04T17:48:48 < qyx> hibernating uh oh 2021-02-04T17:48:56 < qyx> never did that, does it even work? 2021-02-04T17:50:56 < karlp> yeah, works fine. does wonders for my productivity 2021-02-04T17:51:04 < karlp> and lets me turn off my desk and the blinken lights at night 2021-02-04T17:51:27 < karlp> I mean, except that you're _required_ to have swap, but other than that... 2021-02-04T17:52:00 < qyx> hm, no swap here with 16G, I didn't have any with 8G too 2021-02-04T17:52:32 < qyx> and I either suspend or keep running at night 2021-02-04T17:53:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 240 seconds] 2021-02-04T17:53:10 < qyx> the thing draws 30 mA@12 V suspended, 300 mA running 2021-02-04T17:53:39 < drzacek> Hello there 2021-02-04T17:54:05 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 2021-02-04T17:54:22 < drzacek> I am trying my black pill (stm32f411ceu6) for the first time, and I'm not sure what am I suppose to configure in the CLOCK tab in Stm32CubeIDE (the hw config editor). 2021-02-04T17:59:22 < mawk> leave maximum frequency then 2021-02-04T17:59:52 < mawk> is there an external crystal on the board? if yes you might select HSE source for the PLL 2021-02-04T17:59:56 < mawk> set correctly the frequency 2021-02-04T17:59:58 < karlp> qyx: I'm not turning it off to save power or anything.. 2021-02-04T18:00:04 < mawk> show screenshot drzacek 2021-02-04T18:00:09 < mawk> I'm too lazy to start cube 2021-02-04T18:00:11 < qyx> thats interesting how do people make their lives harder 2021-02-04T18:00:18 < qyx> if you don't configure anything the MCU runs with defaults 2021-02-04T18:00:20 < mawk> give a link to datasheet of your board also 2021-02-04T18:00:30 < qyx> if you are starting to ivnestigate stm32, it is the best approach 2021-02-04T18:00:38 < qyx> and not keep configuring clock tree for 2 days 2021-02-04T18:00:40 < mawk> hmm 2021-02-04T18:00:43 < mawk> not sure 2021-02-04T18:00:49 < qyx> what not sure 2021-02-04T18:00:51 < mawk> it's the best approach for getting stuff quickly done I agree 2021-02-04T18:00:56 < mawk> but not the best approach for understanding 2021-02-04T18:01:01 -!- kakium69 [b05d2806@176.93.40.6] has joined ##stm32 2021-02-04T18:01:04 < qyx> if you use libopencm3, you can get the MCU running in 5 lines of code 2021-02-04T18:01:08 < qyx> without touching clocks 2021-02-04T18:01:14 < qyx> (except enabling gpio clock) 2021-02-04T18:01:25 < mawk> yes that's too quick, knowledge shines through pain 2021-02-04T18:01:34 < mawk> the bible says "work your dough until your bread gets the taste of blood" right? 2021-02-04T18:01:44 < qyx> idk what does the bible say 2021-02-04T18:02:10 < mawk> anyway it's by playing with clock tree in cube that I understood how it works 2021-02-04T18:02:20 < mawk> even if you don't save the project file after it's still good to try stuff and experiment 2021-02-04T18:02:38 < mawk> see what inputs are to pll, what outputs are, what parameters, which peripherals on which clock, etc 2021-02-04T18:05:27 < mawk> if you don't try stuff it will stay magical forever and stay hard 2021-02-04T18:16:26 < drzacek> mawk, https://imgur.com/a/ufMd1XO 2021-02-04T18:16:44 < zyp> mawk, shit's tedious though 2021-02-04T18:16:45 < drzacek> looks like there's 25mhz on the board 2021-02-04T18:16:55 < zyp> do once for fun, sure 2021-02-04T18:16:59 < zyp> do it every time, no thanks 2021-02-04T18:18:14 < drzacek> that clock tree looks super complex, I'm sure it all makes sense, but without additional help info on that screen I have no idea what am I looking at. The fact that most paths are grayed out for some reason doesn't help either 2021-02-04T18:18:41 < zyp> drzacek, try reading the RCC chapter in the reference manual :) 2021-02-04T18:18:47 < drzacek> I've been playing with the stm32f103 some time ago, I knew what I had to type there to get the max 72mhz and that was it, never played with it again 2021-02-04T18:18:49 < drzacek> zyp, got it 2021-02-04T18:19:11 < drzacek> https://www.st.com/resource/en/reference_manual/dm00119316-stm32f411xce-advanced-armbased-32bit-mcus-stmicroelectronics.pdf got this thing open right now 2021-02-04T18:21:19 < drzacek> ah, I had to enable the external oscilators in the PIN tab 2021-02-04T18:21:42 < drzacek> now it looks somewhat better. Thanks, I was looking in SYS, not in RCC, not I remember 2021-02-04T18:22:02 < drzacek> I'll be back tomorrow with more dumb questions! 2021-02-04T18:22:05 < zyp> for F411, max freq is 84, right? 2021-02-04T18:22:21 < drzacek> they advertised it as 100 2021-02-04T18:22:26 < drzacek> and 100 is what it put as default now 2021-02-04T18:22:43 < zyp> ah, you'll probably want 96 in that case 2021-02-04T18:23:08 < zyp> so that you can do Q = 2P to get 48MHz on the Q output 2021-02-04T18:23:22 < drzacek> oh/ 2021-02-04T18:23:36 < drzacek> ok, but I got to go now, thanks for help 2021-02-04T18:23:38 -!- drzacek [~drzacek@b941c009.business.dg-w.de] has quit [Quit: Leaving] 2021-02-04T18:24:52 < qyx> yeah 84 was for F40x 2021-02-04T18:25:20 < qyx> if he has 25 MHz xtal, 100 shoudl be achievable 2021-02-04T18:26:58 < zyp> F4 can make any integer freq from any integer crystal, but if you want USB you need a VCO freq divisible by 48 MHz 2021-02-04T18:28:08 < zyp> and lcm(48, 100) is 1200, which is way above the VCO max :) 2021-02-04T18:39:04 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2021-02-04T18:42:09 -!- emeb_mac [~ericb@ip174-73-159-221.ph.ph.cox.net] has joined ##stm32 2021-02-04T19:01:08 -!- srk [~sorki@gateway/tor-sasl/sorki] has quit [Ping timeout: 268 seconds] 2021-02-04T19:02:17 -!- srk [~sorki@gateway/tor-sasl/sorki] has joined ##stm32 2021-02-04T19:09:43 < Mangy_Dog> https://imgur.com/gallery/oSXKsY6 2021-02-04T19:15:54 < zyp> nice 2021-02-04T19:19:27 < Mangy_Dog> thankies 2021-02-04T19:28:14 < qyx> I am not into scifi-space, but looks good 2021-02-04T19:29:27 < PaulFertser> So far everything Mangy_Dog showed here looked rather good. 2021-02-04T19:29:31 < Mangy_Dog> In this case its just a atmega328 with a mpr121 touch sensing chip... This is the daughter board, the main board that runs the lcd and the core program is on the stm32f103... Im just running test programs at the moment to make sure everything is working and wired up right, before I seal it in and then attack it to the main body 2021-02-04T19:29:58 < Mangy_Dog> the two baords talk through uart 2021-02-04T19:30:24 < Mangy_Dog> tbh the daughter board passes on what buttons are pressed to the main board, and the main board tells the daughter board what leds to turn on 2021-02-04T19:31:33 -!- kakium69 [b05d2806@176.93.40.6] has quit [Quit: Connection closed] 2021-02-04T19:46:08 < mawk> zyp I've always done it using the cube guj 2021-02-04T19:46:09 < mawk> gui 2021-02-04T19:46:17 < mawk> I don't think it's complex or tedious 2021-02-04T19:46:33 < mawk> I don't use their auto solver feature, I just tweak coefficients like I want and that's it 2021-02-04T19:46:43 < mawk> you get immediate computation of what you did 2021-02-04T19:46:50 < mawk> so it's easy 2021-02-04T20:28:30 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has joined ##stm32 2021-02-04T20:29:23 -!- catphish [~charlie@unaffiliated/catphish] has quit [Remote host closed the connection] 2021-02-04T20:38:38 < mouseghost> mawk, what is it for? 2021-02-04T20:38:41 < mouseghost> Mangy_Dog, 2021-02-04T20:39:26 < Mangy_Dog> tricorder v2 2021-02-04T20:39:34 < Mangy_Dog> i made a prop0 a couple years ago this is the new version 2021-02-04T20:40:48 < mouseghost> oh, cool! 2021-02-04T20:44:50 < Laurenceb> jpa-: interesting, thanks 2021-02-04T20:45:04 < Laurenceb> problem is I really need high bit rate pseudorandom sequences 2021-02-04T20:45:14 < Laurenceb> 50mhz is prob good enough for hyperloop radar 2021-02-04T20:46:13 < Laurenceb> then use the spi to abuse the pll on one of the infenion radar ics to generate 2psk 2021-02-04T20:47:10 < mouseghost> huh 2021-02-04T20:47:56 < Laurenceb> wut 2021-02-04T20:48:14 < englishman> 50 millihertz isn't very fast 2021-02-04T20:48:18 < Laurenceb> Mhz 2021-02-04T20:48:37 < Laurenceb> hyperradar 2021-02-04T20:49:34 < jpa-> Laurenceb: looks like H7 normal SPI can do 100MHz and it's not transfer length limited 2021-02-04T20:50:11 < Laurenceb> ok thats not too far from the limit of the 24GHz band 2021-02-04T20:50:21 < antto> https://i.imgur.com/d5EPPkt.mp4 2021-02-04T20:50:22 < Laurenceb> 24-24.25GHz aiui 2021-02-04T20:51:54 -!- bitmask [~bitmask@c-73-215-237-27.hsd1.nj.comcast.net] has quit [Ping timeout: 276 seconds] 2021-02-04T20:52:19 -!- grummund [~unknown@unaffiliated/grummund] has quit [Ping timeout: 276 seconds] 2021-02-04T20:52:36 -!- grummund [~unknown@unaffiliated/grummund] has joined ##stm32 2021-02-04T20:54:32 < jpa-> it also has the delay block that could conceivably be used to run two SPI peripherals at 0.5 clock cycle difference, and then XOR externally for poor man's DDR 2021-02-04T20:54:44 < Laurenceb> nice 2021-02-04T20:55:10 < Laurenceb> an interesting feature would be a way to continuously vary spi clock speed 2021-02-04T20:55:17 < Laurenceb> dunno how that could be done tho 2021-02-04T20:55:27 < jpa-> quadspi has DDR built-in, but i ran into https://community.st.com/s/question/0D50X0000BqA26l/quadspi-hangs-with-busy-after-4-gb-indirect-read 2021-02-04T20:55:29 < Laurenceb> guess a slave spi device then external clock 2021-02-04T20:55:29 < ColdKeyboard> [03:59] it's 10am ColdKeyboard you're lazy why are you sleeping now 2021-02-04T20:55:39 < ColdKeyboard> Dude it was 4AM for me :) 2021-02-04T20:56:12 < Laurenceb> or vary the clock to the whole device lmao 2021-02-04T20:56:39 < Laurenceb> nah more seriously a vcxo for spi clk input then dac control might work 2021-02-04T20:56:58 < Laurenceb> or a fancy clock synthesis ic 2021-02-04T20:56:59 < jpa-> you can output HSI to MCO and adjust HSITRIM, no matter what the device runs on 2021-02-04T20:57:07 < Laurenceb> oooh nice plan 2021-02-04T20:57:54 < jpa-> +-5.5% in 0.17% steps 2021-02-04T20:58:01 < Laurenceb> one idea is to transmit Barker codes then dither the chip clock to lock onto moving objects 2021-02-04T20:58:28 < Laurenceb> could spi be clocked off HSI with rest of MCO ? 2021-02-04T20:58:44 < jpa-> at least by looping back MCO to SCK and running in slave mode 2021-02-04T20:58:48 < Laurenceb> actually if HSI can be output from the IC it could be linked back in with spi as slave 2021-02-04T20:58:50 < Laurenceb> yeah 2021-02-04T20:59:28 < BrainDamage> out of curiosity, what is your budget, and why is it so limited that you need to go with such hacks? 2021-02-04T20:59:43 < jpa-> oh, H7 PLL has this: "13-bit Sigma-Delta modulator, allowing to fine-tune the VCO frequency by steps of 11 2021-02-04T20:59:44 < jpa-> to 0.3 ppm." 2021-02-04T21:00:03 < BrainDamage> I mean, I doubt a hypeloop replacement would be budget-pinned by the radar 2021-02-04T21:00:12 < jpa-> and three PLLs so you can run CPU on one and use others for SPI 2021-02-04T21:00:33 < ColdKeyboard> Does anyone have a clue why would STM32L011 boot at 0x1FF.. region instead of 0x800.. Boot0 is LOW, I tried tying it HIGH but same thing. Funny thing is when I attach GDB and start, it works great 2021-02-04T21:01:57 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has quit [Ping timeout: 265 seconds] 2021-02-04T21:09:19 < Laurenceb> BrainDamage: I want to avoid crazy bazillion BGA insanity with non standard cored pcb 2021-02-04T21:09:30 < Laurenceb> keep it sanely designable 2021-02-04T21:09:57 < Laurenceb> jpa-: nice, so H7 does have a purpose 2021-02-04T21:10:22 < jpa-> H7 is very cool and quite cheap also 2021-02-04T21:10:39 < Laurenceb> loads of custom microwave shit on a pcb is bound to end badly 2021-02-04T21:11:10 < Laurenceb> off the shelf consumer 24GHz with haxored interface might actually be buildable in sane timeframe 2021-02-04T21:11:29 < qyx> ColdKeyboard: dod you power cycle the board after flashing it for the first time? 2021-02-04T21:12:48 < qyx> there is a "firmware ok" detection logic, it is checking the reset vector or whatever, don't recall exactly now 2021-02-04T21:12:56 < Laurenceb> BrainDamage: current prototype uses Rpi and "light fence"... 2021-02-04T21:12:59 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 256 seconds] 2021-02-04T21:13:03 < qyx> if it thinks thereis no valid firmware, it sets a bit 2021-02-04T21:13:17 < qyx> if the bit is set, it always boots to system bootloader 2021-02-04T21:13:24 < qyx> if you flash new firmware, the bit is not reset 2021-02-04T21:13:37 < qyx> either you have to make it manually or power cycle the mcu to do the detection again 2021-02-04T21:14:26 < ColdKeyboard> qyx I do power cycle the board and if I attach a debugger it is at 0x1F.. range. However if I start with gdb and run, it goes from 0x800... 2021-02-04T21:15:00 < ColdKeyboard> I don't think I'm setting nBOOT flag anywhere, and BOOT0 is tied to GND, so it should be booting into user application and not bootloader, right? 2021-02-04T21:15:41 < qyx> also I haven't used L0 yet myself, so probably there are other things to check 2021-02-04T21:15:51 < qyx> try to ask zyp, he did something with L0 2021-02-04T21:16:27 < PaulFertser> ColdKeyboard: what if you attach hardware reset line and use "reset halt"? 2021-02-04T21:20:40 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2021-02-04T21:27:00 < ColdKeyboard> I used Ozone from JLink to get a nice GUI. Reset halt would be reset the MCU and halt? 2021-02-04T21:27:41 < PaulFertser> And halt before it executes the first instruction. 2021-02-04T21:28:13 < PaulFertser> ColdKeyboard: if that L part is always running the bootloader then it's indeed might be the case that the bootloader doesn't consider your firmware valid for whatever reason. 2021-02-04T21:28:42 < ColdKeyboard> When I use reset & halt it sits at 0x08002108 2021-02-04T21:29:15 < ColdKeyboard> But again, I don't know if JLink is instructing the MCU or setting the PC to a default value or just applying reset + halt 2021-02-04T21:40:41 < PaulFertser> I know only OpenOCD, sorry. 2021-02-04T21:47:30 < mawk> streets are packed 15mn before curfew Steffanx 2021-02-04T21:47:32 < mawk> lol 2021-02-04T21:50:55 < Steffanx> uh? 2021-02-04T22:03:38 < mawk> what 2021-02-04T22:03:45 < mawk> come in delft to look by yourself 2021-02-04T22:05:53 < Steffanx> no thanks 2021-02-04T22:14:43 < mawk> then believe me 2021-02-04T22:14:50 < mawk> I am an authoritative source of information 2021-02-04T22:20:33 -!- tcth__ [~tcth@77.109.191.152] has joined ##stm32 2021-02-04T22:23:18 < zyp> you guys doing curfews? 2021-02-04T22:24:24 < Steffanx> yeah, but after 21.00 so what changed? 2021-02-04T22:25:37 -!- catphish [~charlie@unaffiliated/catphish] has joined ##stm32 2021-02-04T22:26:42 < Steffanx> we even had riots the first few days because "muuuh ffreeedummmm" 2021-02-04T22:26:56 < ColdKeyboard> Virus is from the bat. Bat is awake during the night... what part of curfew at night does not make sense? rofl 2021-02-04T22:27:26 < ColdKeyboard> People are sitting in pubs, hanging out entire day but staying home from 9pm-8am will change everything :) 2021-02-04T22:27:55 < Steffanx> people are not in the pubs. 2021-02-04T22:28:25 < zyp> Steffanx, makes sense, if people weren't that fucking stupid there wouldn't be any point in curfews in the first place 2021-02-04T22:29:05 < ColdKeyboard> There are always people who will always exploit any situation to the maximum extend allowed by law... sad, but true. 2021-02-04T22:29:37 -!- catphish [~charlie@unaffiliated/catphish] has left ##stm32 [] 2021-02-04T22:30:42 < ColdKeyboard> Huh, PaulFertser you may be right. I wiped the device and attached to it while it's "empty" and it hangs at same 0x1F.. spot as when I flash my app 2021-02-04T22:31:47 < qyx> yes thats internal bootloader 2021-02-04T22:32:04 < ColdKeyboard> How can I figure out why does it think my app is invalid? :\ 2021-02-04T22:32:29 < qyx> start by reading in the RM what exactly it checks 2021-02-04T22:32:50 < qyx> and then crosscheck in your app 2021-02-04T22:46:18 < englishman> daily positives have fallen to 40% of what they were when the curfew was implemented, here 2021-02-04T22:46:31 < englishman> i think old people started to take shit seriously 2021-02-04T22:47:39 < englishman> although, they are dropping in other provinces too, that have taken less action 2021-02-04T22:47:41 < englishman> so who the fuck knows 2021-02-04T22:49:58 < PaulFertser> I'm rather suprised that moscow manages without any curfew. No idea why but seems to be true. 2021-02-04T22:58:09 -!- fenug [~fenugrec@97.107.220.18] has joined ##stm32 2021-02-04T23:05:13 < Steffanx> When putin says you stay inside, you stay inside, right PaulFertser ? 2021-02-04T23:05:59 < mouseghost> Steffanx, clearly, people my age from normal env.s. are uhhh 2021-02-04T23:13:51 < qyx> excuse my dumbness 2021-02-04T23:14:03 < qyx> I have a adc reading, let's say 1024 of 4096 2021-02-04T23:14:29 < qyx> it is from a resistive divider 10K to 10K NTC 2021-02-04T23:14:38 < qyx> do I need to know Vdda in order to compute Rntc? 2021-02-04T23:14:51 < qyx> I failed for the third time, even with wolfram alpha 2021-02-04T23:15:39 < qyx> so basically 1024/4095 = Vdda / (10k + Rntc) * 10k 2021-02-04T23:15:45 < qyx> it seems I need Vdda :S 2021-02-04T23:15:52 < qyx> no fuk wait 2021-02-04T23:16:02 < qyx> 1024/4095 * Vdda = Vdda / (10k + Rntc) * 10k 2021-02-04T23:16:14 < qyx> so I may divide it by Vdda 2021-02-04T23:16:58 < qyx> 1024/4096 = 10k^2 + 10kRntc 2021-02-04T23:17:25 < qyx> (1024/4095 - 10k^2) / 10k = Rntc, right? 2021-02-04T23:19:23 < qyx> I am curious how did I manage to do maths at uni 2021-02-04T23:19:52 < zyp> drugs 2021-02-04T23:19:54 < Lux> you also could have just copy pasted some arduino stuff :P 2021-02-04T23:20:05 < Lux> but yeah seems about right 2021-02-04T23:20:18 < qyx> no 2021-02-04T23:20:41 < Lux> and now you need that approx formula to calc temp and beta 2021-02-04T23:20:52 < qyx> I have that one 2021-02-04T23:21:05 < qyx> the only part that works because I copied it :> 2021-02-04T23:22:19 < Steffanx> over worked much qyx ? 2021-02-04T23:25:17 < mouseghost> qyx, are you getting enough sleep? 2021-02-04T23:28:31 < qyx> Lux: problem with the ardweeno stuff is that they always use NTC connected to Vdda for some reasong 2021-02-04T23:28:35 < qyx> and not to GND 2021-02-04T23:32:24 < qyx> ok float rntc = 10000.0 / (4095.0 * adc - 1); 2021-02-04T23:32:26 < qyx> works. 2021-02-04T23:32:44 < qyx> thanks https://learn.adafruit.com/thermistor/using-a-thermistor 2021-02-04T23:32:53 < qyx> knowledge gathered 2021-02-04T23:34:52 < mawk> you measure 4095 r/(r+R) with your adc 2021-02-04T23:34:58 < mawk> so you just invert that 2021-02-04T23:35:25 < mawk> r is your unknown, R is your 10K 2021-02-04T23:36:08 < qyx> you are late to the party 2021-02-04T23:36:11 < mawk> :( 2021-02-04T23:36:48 < mawk> so 4095r/(r+R) = adc => 4095r = r·adc + R·adc => (4095-adc)·r = R·adc => r = R·adc/(4095-adc) = R/(4095/adc - 1) 2021-02-04T23:36:51 < mawk> so you made an error qyx 2021-02-04T23:36:54 < mawk> it's / not * 2021-02-04T23:36:57 < mawk> so I'm not late to the party 2021-02-04T23:36:59 < mawk> QED 2021-02-04T23:37:19 < qyx> wat 2021-02-04T23:37:28 < mawk> it's R/(4095/adc - 1) 2021-02-04T23:37:33 < mawk> or R·adc/(4095 - adc) 2021-02-04T23:37:36 < mawk> if you don't want divisions 2021-02-04T23:38:10 < mawk> your webpage agrees with me also, I guess that's a good thing 2021-02-04T23:38:27 < mawk> https://serveur.io/Screenshot_20210204223825228.png 2021-02-04T23:38:54 < qyx> fuck that shit I even failed to copy that stuff 2021-02-04T23:38:58 < mawk> lol 2021-02-04T23:39:20 < mawk> then you find B value from NTC datasheet 2021-02-04T23:39:26 < mawk> and apply the exponential formula 2021-02-04T23:39:28 < mawk> right 2021-02-04T23:39:50 < mawk> you're using the internal voltage reference from the stm32 ? or is your vdda fixed 2021-02-04T23:43:52 < qyx> it is ratiometric 2021-02-04T23:44:00 < qyx> the divider is between vdda/vssa 2021-02-04T23:45:11 < mawk> ah 2021-02-04T23:45:25 < mawk> but vdda is basically your core voltage no? 2021-02-04T23:45:32 < mawk> I mean if you use a lipo or something to feed it, then it's not fixed 2021-02-04T23:45:33 < qyx> yes 2021-02-04T23:45:41 < qyx> it doesn't have to be 2021-02-04T23:45:44 < mawk> and then you'd rather use the internal voltage reference 2021-02-04T23:45:53 < mawk> or else you will need tricks to measure Vdda as well 2021-02-04T23:45:57 < mawk> which adds more components 2021-02-04T23:46:38 < mawk> hmm yeah nevermind 2021-02-04T23:51:52 < qyx> I dont't want nor need to measure vdda 2021-02-04T23:53:11 < karlp> yeah you do :) 2021-02-04T23:53:19 < karlp> you want to make sure it's as stable as you think. 2021-02-04T23:53:44 * karlp always samples external channels and teh iref to get better results 2021-02-04T23:55:29 < qyx> I am doing that but for ratiometric mesurement of a resistor bridge/divider there is no need to 2021-02-04T23:55:38 < qyx> because vdda is irrelevant in that case 2021-02-04T23:58:18 -!- veegee [~veegee@142.126.187.41] has quit [Quit: veegee] 2021-02-04T23:59:05 < karlp> Laurenceb: we just added a bunch of extra h7 support to locm3.... ;) --- Day changed Fri Feb 05 2021 2021-02-05T00:01:36 < qyx> \o/ I'll try in few hours 2021-02-05T00:01:51 < qyx> also we will do CANFD for G4/H7 2021-02-05T00:01:53 < englishman> shouldn't you call it iocm7 2021-02-05T00:01:55 < qyx> if not done already 2021-02-05T00:03:03 < karlp> englishman: I'm at least (personally) drawing the line at arm cortex.... 2021-02-05T00:15:20 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2021-02-05T00:16:15 < ColdKeyboard> Huh, I created another blank application with uart that puts single string out... 2021-02-05T00:17:17 < ColdKeyboard> When I power-cycle the board it doesn't work (ends up on 0x1F..) but if I use GDB and reset the board, it works fine... 2021-02-05T00:17:20 < ColdKeyboard> this is driving me nuts 2021-02-05T00:28:48 < Steffanx> and you're sure your boot0 pin is doing the right thing? 2021-02-05T00:37:43 < ColdKeyboard> It is. I'll have to whip up another board tonight... I'm not looking forward to that tho 2021-02-05T00:38:17 < mawk> and if you probe it? 2021-02-05T00:38:20 < mawk> is it really puled dow 2021-02-05T00:38:22 < mawk> n 2021-02-05T00:38:30 < ColdKeyboard> Steffanx to your point, I also tried soldering (manually lifting a pin and adding a resistor) BOOT0 to VDD as well to GND and same result 2021-02-05T00:40:29 < mawk> ah 2021-02-05T00:40:40 < mawk> and you checked nboot0 in the option bytes? 2021-02-05T00:40:51 < mawk> is it = the reset value 2021-02-05T00:41:27 < mawk> or factory value rather 2021-02-05T00:45:07 < ColdKeyboard> mawk I'm not sure how to check that. Last night jpa- was helping me with that and he said it looks normal 2021-02-05T00:45:15 < mawk> ah right 2021-02-05T00:45:22 < ColdKeyboard> I'll just build another board and see if it behaves the same way. Hopefully it doesn't... :) 2021-02-05T00:57:49 -!- tcth_ [~tcth@77.109.191.152] has joined ##stm32 2021-02-05T01:01:16 -!- tcth__ [~tcth@77.109.191.152] has quit [Ping timeout: 276 seconds] 2021-02-05T01:02:10 < ColdKeyboard> Also, on an unrelated note 2021-02-05T01:02:38 < ColdKeyboard> is it normal that __aeabi_dmul and __aeabi_dsub take 1240 and 1828 bytes??? 2021-02-05T01:02:51 < zyp> probably 2021-02-05T01:03:04 < zyp> that's why you'd want to avoid doubles 2021-02-05T01:10:12 < ColdKeyboard> :S I'm not using doubles anywhere tho... at least not intentionally 2021-02-05T01:13:04 < zyp> unintentionally then :) 2021-02-05T01:13:19 < zyp> those functions wouldn't get pulled in if nothing called them 2021-02-05T01:13:27 < zyp> so just search through the disassembly for the calls 2021-02-05T01:13:36 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2021-02-05T01:23:13 < ColdKeyboard> Totaly, I know compiler is not making this up. I just have to find where I'm "using" them :) 2021-02-05T01:24:38 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2021-02-05T01:30:09 < karlp> ColdKeyboard: 0.0 is a double implicitly... 2021-02-05T01:30:24 < karlp> any floating point literal needs a 69.42f suffix to ensure it's a float 2021-02-05T01:30:28 < karlp> very easy trap to fall into 2021-02-05T01:34:40 -!- fluiDD [~fluiD@unaffiliated/nn7] has joined ##stm32 2021-02-05T01:34:56 -!- fluiD [~fluiD@unaffiliated/nn7] has quit [Ping timeout: 240 seconds] 2021-02-05T01:50:13 -!- Spirit532 [~Spirit@mm-117-106-44-37.mgts.dynamic.pppoe.byfly.by] has quit [Disconnected by services] 2021-02-05T01:50:21 -!- Spirit532 [~Spirit@93.84.77.179] has joined ##stm32 2021-02-05T02:03:55 < qyx> I just fell into 2021-02-05T02:04:11 < qyx> with a "log" 2021-02-05T02:04:40 < karlp> needs more logf 2021-02-05T02:04:48 < karlp> throw that f everywhere baby 2021-02-05T02:05:12 < qyx> my .text has overflown 2021-02-05T02:05:21 < karlp> awwww 2021-02-05T02:05:24 < qyx> fortunately my pomodoro was ending 2021-02-05T02:05:33 < qyx> so grabbed another pcb to work on 2021-02-05T02:05:34 < karlp> yeah, it's midnight 2021-02-05T02:05:43 * karlp should get back to pmodoro again 2021-02-05T02:05:59 < karlp> had a nice gnoem shell integrated one that worked well for me, but it's busted since years now 2021-02-05T02:06:14 < qyx> yeah to know how unproductive you are 2021-02-05T02:06:24 < qyx> if I count pomodoros per day, it is usually ~10 2021-02-05T02:06:59 < karlp> how long are you doing? 2021-02-05T02:07:15 < qyx> from dusk to dawn 2021-02-05T02:07:18 < qyx> or the other wy around 2021-02-05T02:07:27 < karlp> what? 2021-02-05T02:07:30 < karlp> no, each one 2021-02-05T02:07:33 < qyx> oh 2021-02-05T02:07:38 < qyx> 25min, 5m break 2021-02-05T02:07:54 < qyx> so basically thats only 5 hours of fully productive work per day 2021-02-05T02:08:36 < englishman> you really only need to be productive for 30min a day 2021-02-05T02:08:52 < qyx> you have to sleep, eat and stuff, today I was getting another 5G chip, which takes some time 2021-02-05T02:09:01 < qyx> an hour or so walking 2021-02-05T02:09:02 < karlp> 5hrs is fine 2021-02-05T02:09:06 < qyx> not much time left 2021-02-05T02:09:18 < karlp> I think in an old job we ended up on only assigning 5 hours per day to tasks anyway 2021-02-05T02:09:57 < qyx> we were assigning 8 and $boss didn't want to admit it is impossible 2021-02-05T02:10:20 < qyx> when we were reviewing it every month, it was always <6h 2021-02-05T02:10:23 < karlp> aandrew: that's.... quite a space: https://twitter.com/akohlsmith/status/1357480455658962944 2021-02-05T02:10:30 < qyx> but he still insisted on planning 8h a day to keep us motivated 2021-02-05T02:12:09 < qyx> I like those unfinished walls 2021-02-05T02:12:16 < qyx> looks exactly like my ceiling 2021-02-05T02:13:56 < zyp> hmm, I haven't done a desk update in a while, I think desk is sufficiently messy now 2021-02-05T02:14:37 < qyx> also https://pbs.twimg.com/media/EsrekmHXMAIo4FG?format=png&name=small 2021-02-05T02:16:45 < zyp> https://bin.jvnv.net/file/C8UoB.jpg 2021-02-05T02:17:07 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has joined ##stm32 2021-02-05T02:17:14 -!- CygniX [~CygniX@opensuse/member/CygniX] has quit [Remote host closed the connection] 2021-02-05T02:17:35 < kakium69> apparently 1Gbps is enough for fullhd remote desktop 2021-02-05T02:17:35 -!- CygniX [~CygniX@opensuse/member/CygniX] has joined ##stm32 2021-02-05T02:19:42 < zyp> still got a lot of $oldjob stuff on the desk, should probably pack that away soon 2021-02-05T02:21:08 < kakium69> can I set bootorder of harddrives in virtualbox? 2021-02-05T02:21:51 < zyp> when I quit I offered them to contract me back when they need me, so they said I could just keep the laptop and stuff for now 2021-02-05T02:22:28 < kakium69> oh 2021-02-05T02:22:55 < kakium69> don't feel like it's going to happen? 2021-02-05T02:23:38 < zyp> contracting me back? pretty sure they will 2021-02-05T02:24:33 < zyp> and I'd like that too, I liked $oldjob 2021-02-05T02:24:53 < zyp> but I like $newjob too, and I couldn't turn down an offer with a 25% raise :p 2021-02-05T02:31:11 -!- machinehum [~machinehu@S01061cabc0ab4603.vc.shawcable.net] has joined ##stm32 2021-02-05T02:31:28 < kakium69> it seems I cannot get virtual machine to reach desktop while I'm using host via remote desktop 2021-02-05T02:31:53 < kakium69> actually yes 2021-02-05T02:31:57 < kakium69> I got desktop 2021-02-05T02:32:39 < qyx> I am starting to like BGAs 2021-02-05T02:32:52 < qyx> much easier to solder than qfp with the same number of pads 2021-02-05T02:37:51 < qyx> re: desks, got a new rack recently https://bin.jvnv.net/file/fycx1.JPG 2021-02-05T02:38:02 < qyx> I needed to shorten the shelves a bit 2021-02-05T02:38:20 < machinehum> Needs a fan 2021-02-05T02:38:52 < qyx> I'll use duktape instead 2021-02-05T02:39:59 -!- Jak_o_Shadows [~Jak@unaffiliated/jak-o-shadows/x-0479135] has quit [Quit: No Ping reply in 180 seconds.] 2021-02-05T02:40:30 < qyx> I also got some green banana jack sockets and 1meg resistors for ESD bonding points 2021-02-05T02:41:23 < kakium69> for some reason I could not launch my nested stack of linuxes if the first level host is windows 2021-02-05T02:42:10 -!- Jak_o_Shadows [~Jak@unaffiliated/jak-o-shadows/x-0479135] has joined ##stm32 2021-02-05T02:43:07 < kakium69> I wanted remote desktop -> windows host -> mint20 on nvme -> mint19 on sata -> mint18 on disk image 2021-02-05T02:52:01 -!- mouseghost [~draco@wikipedia/desperek] has quit [Quit: mew wew] 2021-02-05T03:02:56 -!- Mangy_Dog [Mangy_Dog@unaffiliated/mangy-dog/x-3069595] has quit [Ping timeout: 240 seconds] 2021-02-05T03:10:09 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 264 seconds] 2021-02-05T03:14:10 < ColdKeyboard> Ok, so something is messed up with the board. Assembled a new board and it boots into the main app as expected. 2021-02-05T03:17:58 < mawk> I'm in pain Steffanx 2021-02-05T03:18:05 < mawk> I halved methadone dose 2021-02-05T03:18:09 < mawk> since 5 days now 2021-02-05T03:20:05 < Steffanx> Semi self medicating again mr mawk? 2021-02-05T03:20:53 < mawk> it's not self medicating 2021-02-05T03:20:57 < mawk> it's self non-medicating 2021-02-05T03:21:09 < mawk> I said halved not doubled 2021-02-05T03:22:57 -!- jly [uid355225@gateway/web/irccloud.com/x-ziissrfrzrheawnf] has joined ##stm32 2021-02-05T03:24:27 < Steffanx> Welcome jly. Tell us about your methadone dose 2021-02-05T03:25:04 < jly> it's dextroamphetamine 2021-02-05T03:26:30 < mawk> yeah a speedball would be nice 2021-02-05T03:26:33 < mawk> want to trade Lux ? 2021-02-05T03:26:36 < mawk> jly: * 2021-02-05T03:26:47 < jly> nah i need these 2021-02-05T03:27:04 < mawk> why 2021-02-05T03:27:07 < mawk> you're adhd? 2021-02-05T03:27:12 < jly> yes 2021-02-05T03:27:25 < jly> somehow I don't think that'd surprise anyone I know 2021-02-05T03:27:31 < Steffanx> Pumping all day... adhd 2021-02-05T03:27:58 < jly> anyway 2021-02-05T03:28:07 < jly> who do you need methadone steffan? 2021-02-05T03:28:15 < mawk> it's me who takes it 2021-02-05T03:28:18 < jly> covid boredom got you addicted to heroin? 2021-02-05T03:28:24 < mawk> not steffie 2021-02-05T03:28:29 < jly> you? 2021-02-05T03:28:32 < mawk> yes 2021-02-05T03:28:38 < jly> yeah I never tried it 2021-02-05T03:28:40 < mawk> for 7 years now 2021-02-05T03:29:06 < jly> luckily I never got addicted to a drug 2021-02-05T03:29:20 < mawk> you never want to crush up a little amp tablet and snort it? 2021-02-05T03:29:24 < mawk> I'd totally do that if I were you$ 2021-02-05T03:29:34 < jly> nah I just take the required dose 2021-02-05T03:29:37 < mawk> ADHD people have like 4-fold more addiction risk 2021-02-05T03:29:42 < jly> exactly 2021-02-05T03:29:47 < jly> have to think about this stuff 2021-02-05T03:29:59 < mawk> hmm then it's because you've never done it before 2021-02-05T03:30:07 < mawk> you haven't tasted the forbidden fruit 2021-02-05T03:30:09 < jly> you'd be wrong there 2021-02-05T03:30:14 < mawk> how do you do then 2021-02-05T03:30:20 < mawk> why aren't you on methadone too 2021-02-05T03:30:23 < jly> me and a friend were grinding up dexies and mixing them with cocaine 2021-02-05T03:30:28 < mawk> ah nice 2021-02-05T03:30:33 < jly> new years eve 2021-02-05T03:30:46 < jly> I only do those things maybe once every couple of years 2021-02-05T03:30:51 < mawk> good 2021-02-05T03:31:05 < mawk> I held 7 years before trying to snort my methadone 2021-02-05T03:31:08 < mawk> but then one day I got bored 2021-02-05T03:31:08 < qyx> huh ##drug32? 2021-02-05T03:31:20 < mawk> ##narcoticsanonymous32 2021-02-05T03:31:20 < jly> rofl 2021-02-05T03:31:23 < jly> steffan started it 2021-02-05T03:31:26 < mawk> yeah 2021-02-05T03:31:28 < mawk> it's Steffanx 2021-02-05T03:31:30 < mawk> totally 2021-02-05T03:31:41 < jly> I can shift onto getting asian ladyboys to suck me off on a boat? 2021-02-05T03:31:48 < jly> or we'll just stick with drugs? 2021-02-05T03:33:20 < Steffanx> Fuck you mawk. It was you mentioning your methadone 2021-02-05T03:34:29 < jly> ever since the telegram, I thought this channel devolved into pumps and drugs 2021-02-05T03:36:40 < mawk> yes absolutely 2021-02-05T03:36:42 < mawk> yes I said I halved the dose Steffanx 2021-02-05T03:36:44 < mawk> so I mentioned absence of drugs 2021-02-05T03:36:46 < mawk> which is the opposite of mentioning drugs 2021-02-05T03:36:48 < mawk> 180° angle between the two vectors 2021-02-05T03:37:37 < Steffanx> Ok. 2021-02-05T03:38:35 < mawk> so why aren't you dead under a bridge jly 2021-02-05T03:38:44 < jly> the orthogonality between pussy and muh dikkk 2021-02-05T03:38:55 < jly> me dead? idk 2021-02-05T03:39:24 < mawk> tell me your secrets 2021-02-05T03:40:32 < Steffanx> Leave the poor guy alone, mawk 2021-02-05T03:41:06 < Steffanx> This is not how you treat a old ##stm32 friend 2021-02-05T03:41:12 < Steffanx> An 2021-02-05T03:42:01 < mawk> are you named steffan in real life Steffanx ? 2021-02-05T03:42:03 < mawk> I want to know which of you or karlp have the most unoriginal nick 2021-02-05T03:42:05 < mawk> he's using black magic that I have to know 2021-02-05T03:42:09 < mawk> I'm treating him well 2021-02-05T03:42:11 < mawk> I didn't wish for him to be dead under a bridge 2021-02-05T03:42:13 < mawk> I just ask myself why it hasn't happened yet 2021-02-05T03:42:15 < mawk> give he has the same addiction-causing illness as me 2021-02-05T03:42:17 < mawk> and daily access to amphetamine 2021-02-05T03:42:33 < jly> are you prepared to die for IRC 2021-02-05T03:42:41 < mawk> not really 2021-02-05T03:42:42 < Steffanx> Idk mawk 2021-02-05T03:43:14 < mawk> I'm the winner of the unoriginal nick contest 2021-02-05T03:43:15 < jly> get yourself a 3 consonant nick 2021-02-05T03:43:18 < mawk> because I stole it 2021-02-05T03:43:29 < mawk> from a drughead guy on another server 2021-02-05T03:43:41 < jly> i've had 100 here 2021-02-05T03:43:53 < jly> i just pump until people start blocking me or going psycho 2021-02-05T03:43:57 < jly> then rinse and repeat 2021-02-05T03:44:05 < mawk> lol 2021-02-05T03:44:18 < mawk> I registered the nick sabu also 2021-02-05T03:44:25 < mawk> the portorican hacker snitch 2021-02-05T03:44:33 < mawk> but people thought I was him so threatened me 2021-02-05T03:44:38 < mawk> so I switched to mawk 2021-02-05T03:44:48 < Steffanx> Should use Salcedo 2021-02-05T03:44:58 < mawk> that one isn't a snitch 2021-02-05T03:45:24 < jly> animeCUMfreak 2021-02-05T03:45:27 < jly> how about that nick 2021-02-05T03:45:30 < mawk> lol 2021-02-05T03:45:34 < mawk> nice one 2021-02-05T03:46:23 < mawk> how are the ladyboys going 2021-02-05T03:46:35 < mawk> do you feed then everyday like they told at the pet sho 2021-02-05T03:46:37 < mawk> p? 2021-02-05T03:47:18 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has quit [Ping timeout: 258 seconds] 2021-02-05T03:49:59 < jly> never seen any tbh 2021-02-05T03:50:26 < mawk> in paris I've seen a few 2021-02-05T03:50:35 < mawk> not thai ones though 2021-02-05T03:50:58 < jly> ah 2021-02-05T03:51:15 < mawk> regular homegrown french ladyboys 2021-02-05T03:51:31 -!- fenug [~fenugrec@97.107.220.18] has quit [Ping timeout: 258 seconds] 2021-02-05T03:51:44 < Steffanx> Is jly alright? So you know? 2021-02-05T03:51:48 < jly> do 2021-02-05T03:51:54 < Steffanx> Do* 2021-02-05T03:51:59 < mawk> even the brother in law of my ex gf became one 2021-02-05T03:52:02 < jly> jly is fine 2021-02-05T03:52:13 < mawk> he was wearing dresses and green long hair before so there were telltale signs 2021-02-05T03:52:16 < jly> why the fuck is steffan awake 2021-02-05T03:52:22 < jly> isn't it like 3am in dutchland? 2021-02-05T03:52:29 < mawk> I'm in dutchland too 2021-02-05T03:52:37 < mawk> I'm sleeping in Steffanx's bed 2021-02-05T03:52:46 < jly> you guys both on the gear? 2021-02-05T03:52:58 < mawk> with an error margin of a few hundred km 2021-02-05T03:53:15 < mawk> no I'm into hot russians lately 2021-02-05T03:53:16 < jly> hmm 2021-02-05T03:53:18 < Steffanx> Its only almost 3 am ... jly 2021-02-05T03:53:26 -!- tcth_ [~tcth@77.109.191.152] has quit [Ping timeout: 258 seconds] 2021-02-05T03:53:37 < jly> ye 2021-02-05T03:54:21 < Steffanx> Safu 2021-02-05T03:56:36 -!- AndrevS [~AndrevS@2001:982:2b90:1:dea6:32ff:feb3:6c02] has joined ##stm32 2021-02-05T03:56:36 < mawk> sulfate? 2021-02-05T03:57:43 < Steffanx> Sounds all fucked up 2021-02-05T03:58:14 -!- kakium69 [b05d2806@176-93-40-6.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2021-02-05T03:59:17 < qyx> Steffanx: isnt it workday tomorrow? 2021-02-05T03:59:27 < mawk> yes 2021-02-05T03:59:32 < mawk> much workday tomorrow 2021-02-05T03:59:33 < qyx> or you have kurzarbeit in dutchland too? 2021-02-05T03:59:45 < mawk> I want kurzarbeit 2021-02-05T04:00:01 < Steffanx> No, its a national holiday tomorrow 2021-02-05T04:00:01 < mawk> wow I have no meetings tomorrow 2021-02-05T04:00:06 < mawk> I can sleep all day 2021-02-05T04:00:07 < Steffanx> But dont tell mawk 2021-02-05T04:00:17 < mawk> lol 2021-02-05T04:01:55 < qyx> I didn't even notice we had national holidays this year 2021-02-05T04:01:58 < qyx> *last year 2021-02-05T04:02:17 < Steffanx> Its a lie btw, but dont tell him 2021-02-05T04:02:29 < Steffanx> Its just me having a day off 2021-02-05T04:02:31 < qyx> sure 2021-02-05T04:02:39 -!- oofus_ [~quassel@88.97.72.251] has joined ##stm32 2021-02-05T04:02:43 < mawk> lol you were afraid I wouldn't put my alarm clock 2021-02-05T04:04:57 -!- oofus [~quassel@88.97.72.251] has quit [Ping timeout: 256 seconds] 2021-02-05T04:05:23 < jly> hmmm 2021-02-05T04:08:35 < mawk> when are you visiting dutchland jly 2021-02-05T04:08:50 < jly> when the trouble starts 2021-02-05T04:10:59 < mawk> hmm 2021-02-05T04:11:07 < mawk> when the collapse begins? 2021-02-05T04:11:28 < mawk> when we're past shell oil peak? 2021-02-05T04:11:41 < mawk> shale* 2021-02-05T04:14:45 < jly> fuck knows 2021-02-05T04:18:51 < ColdKeyboard> Is there a I2C slave example for STM that you guys would recommend? 2021-02-05T04:19:06 < ColdKeyboard> I'm having issues getting the I2C IRQ firing once address is called 2021-02-05T04:19:50 < ColdKeyboard> I2C is initialized, enabled the IRQ, set the NVIC priority, started HAL_I2C_Slave_Receive_IT etc. 2021-02-05T04:20:12 < ColdKeyboard> But still nothing other than I notice SCL line goes LOW after I2C address matching STM's is present on the bus 2021-02-05T04:21:33 < aandrew> it's vanishingly rare that I use i2c slave on any mcu 2021-02-05T04:22:03 < aandrew> I do remember it's kind of goofy though on every one I've used it on, mostly because you've gotta get the interrupt for the address and decide quickly if you want to ACK 2021-02-05T04:26:10 < ColdKeyboard> Oh interesting... it didn't respond when I had clock streching disabled but once I enabled it's ACK-ing the address 2021-02-05T04:26:43 < ColdKeyboard> Life is hard. It's even harder when you are dumb or don't know what are you doing 2021-02-05T04:47:05 -!- boB_K7IQ [~boB_K7IQ@c-73-254-117-91.hsd1.wa.comcast.net] has joined ##stm32 2021-02-05T05:02:39 < qyx> so trying libopencm3 on H7 2021-02-05T05:15:20 < Laurenceb> I need to get myself a H7 discovery 2021-02-05T05:15:25 * Laurenceb zzz 2021-02-05T05:18:28 < qyx> ok the linker magic is not here 2021-02-05T05:20:21 -!- Laurenceb [~laurence@6.200.208.46.dyn.plus.net] has quit [Ping timeout: 264 seconds] 2021-02-05T05:25:29 < qyx> compiled, flashed, hardfault 2021-02-05T05:28:58 < qyx> ok, no ram at 0x20000000 2021-02-05T05:29:51 < mawk> where is it 2021-02-05T05:30:39 < qyx> 0x24000000 2021-02-05T05:30:48 < qyx> works now, led blinks 2021-02-05T05:48:29 -!- oofus [~quassel@88.97.72.251] has joined ##stm32 2021-02-05T05:52:28 -!- oofus_ [~quassel@88.97.72.251] has quit [Ping timeout: 276 seconds] 2021-02-05T06:31:13 -!- fc5dc9d4_ [~quassel@p4fe9a228.dip0.t-ipconnect.de] has joined ##stm32 2021-02-05T06:35:22 -!- fc5dc9d4 [~quassel@p4fe9a07f.dip0.t-ipconnect.de] has quit [Ping timeout: 276 seconds] 2021-02-05T06:40:00 -!- R2COM [~R2COM@ip72-217-88-4.ph.ph.cox.net] has joined ##stm32 2021-02-05T06:41:05 < R2COM> mawk what you think of this debian distro: https://sparkylinux.org/ 2021-02-05T06:41:07 < R2COM> lol 2021-02-05T06:47:53 < aandrew> anyone here good with C++? I'm not and I'm trying to understand a template 2021-02-05T06:58:47 < aandrew> template <> 2021-02-05T06:58:47 < aandrew> void FooData::updateDataFromBuffer(const uint8_t* buff) 2021-02-05T06:58:47 < aandrew> { const bool new_data = *reinterpret_cast(buff); data = new_data; 2021-02-05T06:58:47 < aandrew> } 2021-02-05T07:01:09 < aandrew> there's different types in -- it looks like it's creating a bunch of updateDataFromBuffer(uint8_t *src) but I don't see where "data" is 2021-02-05T07:03:18 < aandrew> oh I see it in the class in the .h file ... T data{0}; 2021-02-05T07:03:20 < aandrew> wtf is this hsit 2021-02-05T07:04:07 < aandrew> looks like "T" means whatever specific datatype is used when this particular class is instantiated 2021-02-05T07:09:38 < aandrew> yep I think so 2021-02-05T07:09:54 -!- brdb [~basdb@c-73-218-240-52.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] 2021-02-05T07:10:24 < aandrew>