--- Log opened ma touko 01 00:00:38 2023 2023-05-01T00:02:47 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-05-01T00:05:15 < jadew> check this out, namecheap allowed one my domains to expire without giving me any notifications 2023-05-01T00:05:19 < jadew> be warned with that one 2023-05-01T00:12:52 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 252 seconds] 2023-05-01T00:19:49 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-05-01T00:24:50 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 246 seconds] 2023-05-01T00:26:00 < Steffanx> Why i have this vague memory of you mentioning something similar before? 2023-05-01T00:26:23 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-01T00:30:37 < jadew> hmm 2023-05-01T00:30:46 < jadew> I don't remember but now I kinda do 2023-05-01T00:31:06 < jadew> it's possible it happened in the past 2023-05-01T00:31:17 < jadew> this time I think I lost two of them 2023-05-01T00:31:22 < jadew> they're in pending delete 2023-05-01T00:31:30 < jadew> they were like we'll get back to you 2023-05-01T00:31:36 < jadew> bitch, you'll handle this now 2023-05-01T00:31:41 < jadew> like WTF 2023-05-01T00:49:18 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-01T00:54:45 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-01T01:04:42 < jadew> the guy I'm talking to keeps writing and deleting - can't be good news 2023-05-01T01:06:56 < Steffanx> Lol. Good bot 2023-05-01T01:07:30 < jadew> earlier he said one of them can be recovered if I pay the redemption fee 2023-05-01T01:07:39 < jadew> told him I'm not paying anything extra, since it was not my screw up 2023-05-01T01:12:20 < nomorekaki> electric machine pros 2023-05-01T01:12:34 < jadew> they're asking me to pay $80 extra for both domains 2023-05-01T01:12:42 < jadew> as it's my fault their email didn't get delivered 2023-05-01T01:21:09 < jadew> so, they checked and their emails didn't get delivered 2023-05-01T01:21:28 < jadew> but they still want me to pay cuz the problem is on my side and I should ask google why they're not delivery my mail 2023-05-01T01:21:50 < jadew> I told them to fuck off, because it's their responsibility to make sure their email gets delivered to fucking google 2023-05-01T01:22:08 < jadew> it's not like I'm hosting my own mail and I misconfigured something 2023-05-01T01:23:57 < Steffanx> In the end it's your loss. 2023-05-01T01:24:11 < Steffanx> They know that too 2023-05-01T01:24:19 < jadew> yeah, but I will report them 2023-05-01T01:24:30 < jadew> ICANN demands them to send those emails 2023-05-01T01:24:33 < Steffanx> Fuck customers. 2023-05-01T01:25:03 < jadew> and now that they've basically breached the contract, they're asking me to pay an extra fee, so I can report them to the EU authorities too 2023-05-01T01:25:40 < Steffanx> Have your domains taken by those shitty domain claiming/registering bots \o/ 2023-05-01T01:25:40 < jadew> I don't think those domains are worth the extra $80, but I don't want to lose them either 2023-05-01T01:25:48 < jadew> exactly 2023-05-01T01:26:01 < jadew> I mentioned that too, I want this to be fixed before they expire, otherwise they're gone 2023-05-01T01:26:18 < jadew> those bots pick up everything 2023-05-01T01:27:16 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 250 seconds] 2023-05-01T01:31:05 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-01T01:31:57 < jadew> I told the guy to look in the email job details because when an email gets rejected by a service, it will also provide a rejection reason and that reason gets recorded in the job 2023-05-01T01:32:10 < jadew> he's basically now looking to figure out if it's my fault or not 2023-05-01T01:32:45 < jadew> I still receive their BS marketing shit and order confirmations - just not the renewal notifications. 2023-05-01T01:42:48 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-01T01:44:10 < jadew> Ok, convo is over, he said he'll keep looking into it. 2023-05-01T02:14:15 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-01T02:14:18 < Laurence_b> https://slashdot.org/comments.pl?sid=22865776&cid=63487344 2023-05-01T02:16:20 < zyp> jadew, not so sure about that, all the domains I've let expire are currently available 2023-05-01T02:17:04 < BrainDamage> that's 100% correct, no idea why it only has score 2 2023-05-01T02:17:20 < BrainDamage> ( for one, laurenceb's link is not nonsensical ) 2023-05-01T02:28:14 < jadew> zyp, mine always get picked up and held for a year or two 2023-05-01T02:29:08 < zyp> hmm, maybe they did, idk 2023-05-01T02:29:20 < zyp> been four years since last I let a domain lapse 2023-05-01T02:29:45 < jadew> they pick almost anything up 2023-05-01T02:29:53 < jadew> happens with romanian domains too 2023-05-01T02:30:03 < jadew> but it's more selective there 2023-05-01T02:33:20 < zyp> there's limits to how many .no domains one entity can own, something like ten per company 2023-05-01T02:33:58 < zyp> that doesn't stop domain sharks from registering tons of companies for the sole purpose of owning domain names though 2023-05-01T02:35:15 < jadew> they are registered as registrars 2023-05-01T02:35:24 < jadew> and they can keep as many as they want like that 2023-05-01T02:35:35 < jadew> I'm following a domain for 3 or 4 years 2023-05-01T02:35:43 < zyp> .no domains must be tied to a norwegian entity 2023-05-01T02:35:49 < jadew> and they do something weird with the expiration time too 2023-05-01T02:37:47 < zyp> oh, it's 100 per company and 5 per individual 2023-05-01T02:38:17 < zyp> https://www.norid.no/en/om-domenenavn/regelverk-for-no/#5.-Requirements-for-the-applicant---who-can-apply%3F 2023-05-01T02:38:28 < zyp> > The organisation must in fact conduct business and/or have activities and a presence according to information specified in the Central Coordinating Register, and it must document its actual existence if Norid requests such documentation. 2023-05-01T02:38:36 < zyp> maybe they've started cracking down on it 2023-05-01T02:39:25 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-01T02:44:59 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-01T02:54:13 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-01T03:22:26 -!- jadew [~rcc@5.12.190.118] has quit [Ping timeout: 252 seconds] 2023-05-01T03:35:56 -!- jadew [~rcc@5.12.180.208] has joined ##stm32 2023-05-01T03:49:04 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 248 seconds] 2023-05-01T04:13:21 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-01T04:24:17 -!- Suspect [~rod@211.30.181.154] has quit [Quit: Leaving] 2023-05-01T04:31:24 < jadew> lol, apparently C++ is on par with Javascript in terms of salary 2023-05-01T04:31:32 < jadew> at least according to the article I'm reading 2023-05-01T04:32:02 < jadew> and Java developers make more 2023-05-01T04:32:17 < jadew> same with python 2023-05-01T04:33:36 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 250 seconds] 2023-05-01T04:34:48 < jadew> looks like every article quotes different numbers for the same regions 2023-05-01T04:34:58 < jadew> they're probably pulling those numbers out of their asses 2023-05-01T04:35:18 < jadew> or the data they're using is garbage 2023-05-01T04:36:43 < jadew> Payscale says it's $68k/yr 2023-05-01T04:36:49 < jadew> (the average) 2023-05-01T04:37:40 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-01T04:38:30 < jadew> Instagram influencers make between 10k to 100k per post 2023-05-01T04:38:48 < jadew> lmfao, the world we live in... 2023-05-01T04:44:05 < jadew> so... a micro influencer can make like 3k/post, while a nano influencer can expect $600/post 2023-05-01T04:44:55 < jadew> $100 per 10k followers - but not everyone goes with that 2023-05-01T04:48:29 < jadew> being a whore has never been this profitable 2023-05-01T04:50:48 < jadew> lmfao, the numbers for salaries are fucking garbage 2023-05-01T04:51:27 < jadew> glassdoor says the average programmer salary in Romania is $6000/year lol 2023-05-01T04:51:43 < jadew> that's like what a janitor makes... 2023-05-01T04:51:54 < jadew> maybe even more than that? 2023-05-01T04:52:06 < jadew> probably more. 2023-05-01T05:04:31 < specing> lol 2023-05-01T05:09:28 < jadew> 31% of developers have a mental condition lol 2023-05-01T05:09:37 < jadew> (this is a stack overflow statistic) 2023-05-01T05:10:02 < jadew> that includes ADHD, anxiety disorder, bipolar disorder, etc 2023-05-01T05:10:48 < jadew> that checks out, I would say that more than 1 in 3 people in here are... different 2023-05-01T05:23:56 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-01T06:12:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-01T06:26:25 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-01T06:30:11 -!- Suspect [~rod@211.30.181.154] has joined ##stm32 2023-05-01T06:43:14 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-01T07:07:20 -!- Suspect_ [~rod@pa49-197-139-253.pa.qld.optusnet.com.au] has joined ##stm32 2023-05-01T07:09:45 -!- Suspect [~rod@211.30.181.154] has quit [Ping timeout: 240 seconds] 2023-05-01T07:29:43 -!- Suspect_ [~rod@pa49-197-139-253.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-05-01T08:04:04 -!- nerozero [~nerozero@87.253.63.54] has quit [Remote host closed the connection] 2023-05-01T08:05:14 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-01T08:25:52 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 248 seconds] 2023-05-01T08:36:08 -!- kow__ [~k\o\w@72.53.234.152] has quit [Ping timeout: 265 seconds] 2023-05-01T08:37:36 -!- drfff [~k\o\w@72.53.234.152] has joined ##stm32 2023-05-01T09:06:53 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:ec7a:25de:7b24:ebf7] has joined ##stm32 2023-05-01T09:06:53 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:ec7a:25de:7b24:ebf7] has quit [Changing host] 2023-05-01T09:06:53 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-01T09:19:59 -!- drfff [~k\o\w@72.53.234.152] has quit [Ping timeout: 246 seconds] 2023-05-01T10:05:42 -!- Suspect [~rod@pa49-197-139-253.pa.qld.optusnet.com.au] has joined ##stm32 2023-05-01T10:22:16 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-01T10:47:27 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-01T10:52:53 < zyp> jadew, what's mine? 2023-05-01T10:54:18 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-01T10:54:57 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-01T10:55:32 < Steffanx> You're in the control group 2023-05-01T11:41:50 -!- Suspect [~rod@pa49-197-139-253.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-05-01T11:46:40 < jadew> lol Steffanx 2023-05-01T11:47:42 < jadew> I don't know zyp, I'm not a psychologist 2023-05-01T11:53:16 < jadew> namecheap answered, they checked and the emails didn't go out, so they said they'll recover both domains and will waive the redemption fees. 2023-05-01T11:54:24 < jadew> ah, but they're not sure they'll be able to recover one of them :/ 2023-05-01T13:06:05 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 240 seconds] 2023-05-01T13:08:27 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-01T13:48:29 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-01T14:02:19 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-01T14:37:31 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:ec7a:25de:7b24:ebf7] has joined ##stm32 2023-05-01T14:37:31 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:ec7a:25de:7b24:ebf7] has quit [Changing host] 2023-05-01T14:37:31 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-01T15:01:33 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-01T15:49:40 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-05-01T15:56:46 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-01T16:06:51 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-01T16:22:34 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-01T16:23:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-01T17:38:08 -!- nomorekaki [~kaki@87-93-185-38.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-01T17:40:46 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 276 seconds] 2023-05-01T17:58:54 -!- kaki [~kaki@87-93-185-38.bb.dnainternet.fi] has joined ##stm32 2023-05-01T17:58:58 -!- kaki is now known as nomorekaki 2023-05-01T18:05:38 -!- nomorekaki [~kaki@87-93-185-38.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-01T19:04:20 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-01T19:30:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-01T19:31:16 -!- Suspect [~rod@pa49-197-139-253.pa.qld.optusnet.com.au] has joined ##stm32 2023-05-01T19:55:46 < jadew> what a shit system... they let one of my most important domains get deleted 2023-05-01T19:55:59 < jadew> those fuckers really piss me off now 2023-05-01T19:56:34 < jadew> it was the one I was using for sharing family photos, bought it on the day of my wedding 2023-05-01T19:56:38 < jadew> fucking assholes 2023-05-01T20:00:28 < Steffanx> Time to leave em 2023-05-01T20:00:37 < jadew> I agree 2023-05-01T20:06:58 -!- boddax [~boddax@host-82-59-153-100.retail.telecomitalia.it] has joined ##stm32 2023-05-01T20:17:22 < fenugrec> too late now but... have you considered a personal yearly reminder to check up on domains ? i.e. not depending on a long chain of the registrar's email systems, your email filters, etc. ? 2023-05-01T20:17:50 < jadew> fenugrec, I have multiple domains, they expire all the time 2023-05-01T20:18:18 < fenugrec> well, get your renewals sync'ed for the same period of the year, and check them all at once ? 2023-05-01T20:18:35 < fenugrec> dunno, I just got 1 domain and registered it for 10 y, we'll see how well that goes for me 2023-05-01T20:18:56 < jadew> that's super risky 2023-05-01T20:19:07 < jadew> it's better to have it expire yearly, so you form a habbit 2023-05-01T20:19:13 < jadew> especially if you have just the one 2023-05-01T20:19:31 < fenugrec> nah, see, because I have a yearly reminder already set up anyway 2023-05-01T20:19:47 < fenugrec> 'check DNS ? no prob, still 9y left. Reset alert' 2023-05-01T20:20:02 < jadew> lol 2023-05-01T20:20:29 < jadew> it's a good idea in hindsight, but I was relying on the fact that they're mandated by ICANN to send those freaking emails 2023-05-01T20:22:57 < jadew> just finished registering a complaint with ICANN, I'm hoping they can restore that domain with the original purchase date 2023-05-01T20:24:21 < qyx> is yhe date important? 2023-05-01T20:25:24 < jadew> yeah... it's when I got married 2023-05-01T20:28:56 < Steffanx> Why you got married? 2023-05-01T20:30:04 < jadew> got her pregnant :D 2023-05-01T20:36:05 < qyx> unfortunate such unexpectation 2023-05-01T21:08:22 -!- kaki [~kaki@87-93-185-38.bb.dnainternet.fi] has joined ##stm32 2023-05-01T21:08:26 -!- kaki is now known as nomorekaki 2023-05-01T21:14:03 < jadew> wasn't exactly planned, but we were hoping and expecting it 2023-05-01T21:15:15 < Steffanx> nomorekaki: enjoy this cat song loved and hated by many (and blame q y x for ever linking to this guy): https://youtu.be/0u1uv9tpXTQ?t=196 2023-05-01T21:21:18 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c846-cdfb-64-c2ec.fixed6.kpn.net] has joined ##stm32 2023-05-01T21:34:46 -!- nerozero [~nerozero@87.253.63.54] has quit [Read error: Connection reset by peer] 2023-05-01T21:35:52 < qyx> wut 2023-05-01T21:39:20 < Steffanx> lol 2023-05-01T21:48:06 < Steffanx> qyx: you once linked to this guy doing omegle things . now it shows up in my youtube recommended videos. 2023-05-01T21:55:31 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c846-cdfb-64-c2ec.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-05-01T21:58:57 < qyx> oh yeah he is cool 2023-05-01T22:11:18 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-01T22:19:20 -!- nomorekaki [~kaki@87-93-185-38.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-01T22:22:08 -!- kaki [~kaki@87-93-185-38.bb.dnainternet.fi] has joined ##stm32 2023-05-01T22:22:14 -!- kaki is now known as nomorekaki 2023-05-01T22:28:13 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in] 2023-05-01T22:30:24 < Steffanx> yeah 2023-05-01T22:31:11 -!- wvdakker [~wvdakker@mail.wilsoft.nl] has joined ##stm32 2023-05-01T22:31:14 -!- boddax [~boddax@host-82-59-153-100.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-01T22:34:19 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 250 seconds] 2023-05-01T23:05:19 < nomorekaki> Steffanx: Yeah Yeah Yeahs 2023-05-01T23:08:26 < Steffanx> what does "Yeah Yeah Yeahs" mean nomorekaki ? 2023-05-01T23:38:05 < karlp> it means rock and roll. 2023-05-01T23:38:30 < karlp> maybe start with gold lion? 2023-05-01T23:38:35 < karlp> many options 2023-05-01T23:47:25 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-01T23:49:25 < fenugrec> omg, my dream has finally come true : you can by a portrait TV to watch dumbass tiktok garbage on a 43" screen: https://www.costco.ca/.product.5305043.html?EMID=CA_EN_2023_0501_1786_COSTCOCA&langId=-24 2023-05-01T23:53:55 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 268 seconds] --- Day changed ti touko 02 2023 2023-05-02T00:00:04 < qyx> TIL There must be no metal running beneath the common-mode choke. CMCs can inject noise into metal beneath 2023-05-02T00:00:07 < qyx> them, which can affect the emissions and immunity performance of the system. 2023-05-02T00:04:33 < ColdKeyboard> Anyone have a suggestion on what would be the cheapest way to add MCU to the CAN bus? 2023-05-02T00:04:48 < ColdKeyboard> I don't think any STM parts have a built in transciever? 2023-05-02T00:07:46 < fenugrec> not to my knowledge 2023-05-02T00:08:54 < fenugrec> there are small TSSOP-20 F0 parts with CAN periph, but you still need an xceiver. Possibly not the cheapest option, not sure what automotive uses for small can nodes 2023-05-02T00:08:59 -!- qyx [~qyx@84.245.120.14] has quit [Ping timeout: 260 seconds] 2023-05-02T00:10:39 -!- qyx [~qyx@84.245.120.149] has joined ##stm32 2023-05-02T00:14:49 < qyx> stm32f042 + mcp2562 2023-05-02T00:14:58 < qyx> or tja1442 2023-05-02T00:15:17 < qyx> to be more current, stm32g0b1 or stm32g4xx 2023-05-02T00:17:01 < fenugrec> nxp apparently has mcu with built-in xceiver, lpc11c00 2023-05-02T00:17:11 < qyx> there may be other cheaper transceivers but beware of V_IH min on the TX input 2023-05-02T00:17:29 < qyx> you want one which can be interfaced to a 3V3 MCU 2023-05-02T00:18:02 < qyx> so either sufficiently low V_IHmin or a dedicated Vddio pin, which those two have 2023-05-02T00:18:34 < specing> qyx: whoa, pricy 2023-05-02T00:18:56 < specing> wait, $0.8.. was viewing wrong page 2023-05-02T00:19:27 < fenugrec> ^ what qyx said. Although IME the TJA parts , even if run from +5V, have TTL input thresholds e.g. V_ih = 2V 2023-05-02T00:22:36 < qyx> yeah basically just avoid 0.7*VDD parts 2023-05-02T00:24:02 < fenugrec> I wonder what part of the can transceiver needs such incompatible or challenging silicon process that a combined mcu+xceiver be so uncommon 2023-05-02T00:24:24 < fenugrec> maybe the +- 50V tolerance on H/L 2023-05-02T00:46:57 < zyp> I looked at lpc11c before, IIRC the transceiver needs a 5V supply, separate from the 3.3V supply for the rest 2023-05-02T00:48:14 < zyp> I even bought a devboard for it, but never ended up putting it into a design 2023-05-02T00:50:02 < zyp> IME, lpc mcus tends to be annoying to work with in some way or another, so I'd probably just pick a stm32 and a suitable transceiver 2023-05-02T00:50:35 < zyp> and I agree with qyx; f042 for cheap, g4 or g0b1 for newer with fdcan support 2023-05-02T00:51:34 < zyp> unless it's going into something that calls for a larger mcu 2023-05-02T00:57:17 < fenugrec> brotip : if you go with a f042 in tssop20 and think "oh hey it can do USB too, that'd be nice", well they share pins so you can't have usb+can on the 20-pin variant. 2023-05-02T01:17:10 < zyp> but you can on the qfn variant, I've used it for precisely a usb-can bridge 2023-05-02T01:28:15 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-02T01:42:41 < fenugrec> zyp what firmware did you use ? 2023-05-02T01:46:12 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-02T01:46:34 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-02T02:03:07 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-05-02T02:03:30 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-02T02:25:35 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [] 2023-05-02T02:41:30 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-02T02:48:24 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-02T03:12:27 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-02T03:28:27 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 248 seconds] 2023-05-02T03:28:42 -!- Suspect [~rod@pa49-197-139-253.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-05-02T04:11:34 < ColdKeyboard> It's literally for something that needs to be able to read a message from the CAN bus and adjust the PWM based on that value 2023-05-02T04:12:14 < ColdKeyboard> So I'm curious what MCU or MCU+IC would be considered for cost sensitive applications 2023-05-02T04:12:51 < ColdKeyboard> Like in automotive for driving stuff like a dumb lock or something, what would be the cheapest CAN node 2023-05-02T04:20:47 < ColdKeyboard> Or maybe LIN Bus is more appropriate for cost sensitive applications? 2023-05-02T04:41:10 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 276 seconds] 2023-05-02T04:46:54 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-02T05:05:33 < ColdKeyboard> I guess at that point I might even consider 1-wire or I2C. It's for devices that are within ~2-3m of each other 2023-05-02T05:17:52 < aandrew> LIN is meant for low cost automotive shits, it's just UART on the other end, but if auto isn't important, why not just plain old RS485? shit's cheap, multi-vendor and anything with a UART can talk to it without issue. shit, you don't even need termination at low baud rates 2023-05-02T05:18:55 < aandrew> you could probably autism something up where you have a bit of logic and a shift register to get rid of the micro too if it's rx-only and you don't mind blowing your budget on screwing around with a "solution" that could be solved with a $0.10 micro 2023-05-02T05:32:39 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-02T05:41:48 < ColdKeyboard> Well the application is that the micro should be able to set the PWM value based on the received value and it can also be asked "what is the current value" (ie to confirm, master reset, not keeping records in RAM etc) 2023-05-02T05:42:00 < ColdKeyboard> I think maybe even I2C should work. Strong pull-up, low data rate 2023-05-02T05:42:38 < ColdKeyboard> There is a paper on how to add node failure immunity with few transistors and resistors so that shouldn't break the bank 2023-05-02T05:43:03 < ColdKeyboard> Then use a cheapest micro that has I2C and it's starting to sound feasable 2023-05-02T05:51:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-02T05:52:49 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 268 seconds] 2023-05-02T07:30:27 -!- Suspect [~rod@211.30.162.197] has joined ##stm32 2023-05-02T08:25:21 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-02T09:19:36 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-02T10:01:29 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-24e7-20f5-a33f-e09b.fixed6.kpn.net] has joined ##stm32 2023-05-02T10:09:22 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-02T10:09:31 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-02T10:12:20 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-02T10:12:20 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-02T10:12:20 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-02T10:20:32 -!- Suspect [~rod@211.30.162.197] has quit [Quit: Leaving] 2023-05-02T10:38:42 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-02T10:53:52 -!- Suspect [~rod@211.30.162.197] has joined ##stm32 2023-05-02T12:14:06 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4dd0:dd90:4bfe:ddaf] has joined ##stm32 2023-05-02T12:38:59 -!- Suspect [~rod@211.30.162.197] has quit [Quit: Leaving] 2023-05-02T13:02:03 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-02T13:16:12 -!- c10ud [~c10ud@user/c10ud] has quit [Ping timeout: 268 seconds] 2023-05-02T13:24:10 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-02T13:24:10 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-02T13:24:10 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-02T13:24:28 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-05-02T13:24:45 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-02T13:24:45 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-02T13:24:45 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-02T13:34:05 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 240 seconds] 2023-05-02T13:35:10 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-02T13:38:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-24e7-20f5-a33f-e09b.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-05-02T14:37:39 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-02T14:42:24 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 2023-05-02T14:43:19 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-02T14:47:45 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-02T14:48:27 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-02T15:06:30 < qyx> do we have a recommended usb-c DFP circuit? 2023-05-02T15:07:14 < ventYl> ColdKeyboard: automotive would probably use something like PIC8 for that purpose 2023-05-02T15:07:23 < zyp> qyx, for CC sensing and VBUS switching? 2023-05-02T15:08:52 < qyx> just to advertise 5V/1.5A, nothing more 2023-05-02T15:08:59 < qyx> is a pullup enough? 2023-05-02T15:09:12 < qyx> I am checking tusb320 now because it is back in stock 2023-05-02T15:09:41 < karlp> just pullups on cc should be fine for basic DFP iiuc 2023-05-02T15:09:48 < zyp> advertising is just a matter of pullup value, but for a socket you're also required to have a switch on vbus and only turn it on when you've detected a valid sink 2023-05-02T15:10:07 < karlp> I used this tps DFP part, to switch on correctly, but I was having .... problems with it and we never reseovled them. 2023-05-02T15:10:43 < zyp> if you had a captive cable with a plug, passive pullups and hardwired vbus would be enough 2023-05-02T15:11:05 < karlp> you _can_ just yolo and do hot plugs, but... not regarded as cool. 2023-05-02T15:11:41 < zyp> the point is that you can't plug a plug into another plug, so they're allowed to always output vbus, pretty much to allow passive A-C cables 2023-05-02T15:12:16 < zyp> but you can wire two sockets together with a C-C cable, so a socket needs to always confirm that the other end wants power before turning it on 2023-05-02T15:13:36 < zyp> if you've already got a spare ADC, you could just sense the CC lines and control a vbus switch when you detect them being at the valid level 2023-05-02T15:13:47 < karlp> for varying definitions of "needs" of course ;) 2023-05-02T15:14:29 < karlp> yeah, you need to do some maths to decided what level means what, but it's pretty straightforward. 2023-05-02T15:14:39 < karlp> especially if you're not running at 1.8V... 2023-05-02T15:14:51 < zyp> hmm 2023-05-02T15:15:01 < zyp> tusb320 doesn't have internal vbus switch? 2023-05-02T15:15:02 < qyx> nah I have a linux on the sourcing end and I don't want to do anything nonstandard 2023-05-02T15:15:17 < zyp> I figure if you're putting a dedicated chip for it, get one with internal vbus switch 2023-05-02T15:15:35 < zyp> otherwise put a g0 and use the UCPD peripheral or something :) 2023-05-02T15:16:52 < zyp> this looks like what you want: https://www.ti.com/lit/ds/symlink/tps25821.pdf 2023-05-02T15:16:56 < qyx> probably the easiest would a IC with DFP shit + switch + OCP integrated with a single ~OC output 2023-05-02T15:17:07 < qyx> *would be 2023-05-02T15:17:17 < zyp> that's what I linked :) 2023-05-02T15:18:22 < zyp> availability looks good too, TI got a million in stock 2023-05-02T15:18:40 < qyx> does that discharge rating mean I may #yolo the ESD part? 2023-05-02T15:18:54 < zyp> ESD part on what? 2023-05-02T15:19:02 < zyp> CC? 2023-05-02T15:19:06 < qyx> 8 kV contact discharge, 15 kV air 2023-05-02T15:19:50 < zyp> this doesn't touch DP/DM, so if you're using those, you'd still want ESD protection on them 2023-05-02T15:21:00 < qyx> pretty good stock on mouser too 2023-05-02T15:21:21 < qyx> k thanks I didn't know there are all-in-ones for that 2023-05-02T15:22:26 < zyp> there's tons of various usb-c oriented all in ones 2023-05-02T15:22:46 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-24e7-20f5-a33f-e09b.fixed6.kpn.net] has joined ##stm32 2023-05-02T15:23:11 < zyp> with varying definitions for «all» 2023-05-02T15:30:41 < qyx> I remember stm32mp1xx vendor code did all this detection using ADC in u-boot/linux board specific code and it was a mess 2023-05-02T15:30:50 < qyx> one of the reasons I didn't like it 2023-05-02T15:34:20 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Quit: Leaving] 2023-05-02T15:52:37 < qyx> meh 120uF of ceramics on the input 2023-05-02T15:53:07 < qyx> but they say 1u is required minimum, 22u is a recommended minimum 2023-05-02T15:53:15 < qyx> 2x22u will do 2023-05-02T15:54:44 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-02T16:20:22 < zyp> I wouldn't bother attempting to handle it manually either on something running linux 2023-05-02T16:20:39 < zyp> probably not on a board with a MCU either 2023-05-02T16:21:46 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-24e7-20f5-a33f-e09b.fixed6.kpn.net] has quit [Read error: Connection reset by peer] 2023-05-02T16:23:03 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-24e7-20f5-a33f-e09b.fixed6.kpn.net] has joined ##stm32 2023-05-02T16:31:53 -!- nomorekaki [~kaki@87-93-185-38.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-02T16:40:50 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-02T16:57:52 < qyx> so half dun https://bin.jvnv.net/file/uW8VG/Screenshot_2023-05-02_15-57-31.png 2023-05-02T16:58:43 < qyx> https://bin.jvnv.net/file/1FLtw/Screenshot_2023-05-02_15-58-27.png 2023-05-02T16:58:48 < qyx> this should be enough for 1.5 A 2023-05-02T17:16:46 < jpa-> such big chip 2023-05-02T17:24:37 < karlp> tps25820/21 is what we used, and we had/have weird thigns where sometimes downstream wouldn't turn on... 2023-05-02T17:25:09 < karlp> I'm not sure what the problem was, but we were planning a next round with more explicit control o it's enable, we were suspecting that it didn't like being turned on to an upstreamed vbus that was also being turned on... 2023-05-02T17:28:40 < karlp> we had EN tied high like you originally, this option was the planned next rev: https://bin.jvnv.net/file/eNoyx.png 2023-05-02T17:29:32 < karlp> if you're just putting 5 times the input cap too, that might be all it needed? 2023-05-02T17:30:56 < karlp> which myir som are you using? an imx one? or the allwining t507 one? 2023-05-02T17:40:24 < qyx> "0.5% not needed" :D 2023-05-02T17:40:37 < qyx> I concluded the same and omitted 0.5%, so populating 1% as standard 2023-05-02T17:40:52 < qyx> karlp: imx6ull 2023-05-02T17:44:34 < qyx> I am pretty worried now 2023-05-02T17:50:30 < karlp> we were doing this very non-normal situation though of having a string of usb-c devices connected in a row, 2023-05-02T17:50:43 < karlp> it _normally_ always worked if I plugged them in one at a time. 2023-05-02T17:51:02 < karlp> so for a plain "provide a DFP from my linux host" you're probably in good hands. 2023-05-02T17:52:02 < qyx> they are saying something about inputs/outputs sensitive to vrious transients, there is a pretty long section on the recommended capacitances 2023-05-02T17:52:16 < qyx> and they don't like large inductances either 2023-05-02T17:53:02 < karlp> yeah, that's the sort of thing we probably didn't have "just right" but cross probing and reproducting plug/unplug events over even just 4-5 boards .... I added a switch to enable, and it probably would have resolved it... 2023-05-02T17:53:18 < karlp> but now I'll never know :) 2023-05-02T17:53:40 < qyx> are those designs your own or you left them there? 2023-05-02T17:53:49 < qyx> IP I mean 2023-05-02T17:54:06 < karlp> I did find a note in the datasheet that that 0.5% resistor is only if you reallllly care about current limits iirc 2023-05-02T17:54:11 < karlp> don't ask IP questions :) 2023-05-02T17:54:18 < karlp> that's unclear at the best of times. 2023-05-02T18:01:45 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-02T18:05:12 < zyp> did you quit or what? I'm out of the loop 2023-05-02T18:06:53 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-02T18:15:06 < karlp> company's laid us all off. 2023-05-02T18:15:50 < BrainDamage> relocating to india or banrupcy? 2023-05-02T18:16:54 < karlp> the later, but only if they don't make the rest of our notice period for payroll, they won't file themselves. 2023-05-02T19:11:03 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-24e7-20f5-a33f-e09b.fixed6.kpn.net] has quit [Ping timeout: 250 seconds] 2023-05-02T19:23:59 < aandrew> ColdKeyboard: i2c is a shitty horrible protocol. do not recommend, no matter how slow or shitty you want to make it to try to stabilize it. stick to RS485 if there is any distance at all 2023-05-02T19:24:16 < aandrew> you don't need a real UART (or I2C peripheral) if you need cheap. bit bang is perfectly fine 2023-05-02T19:34:03 < jpa-> and even on shorter distances, UART is generally more reliable than I2C 2023-05-02T19:34:40 < jpa-> because I2C has weak pull-up states and it is also edge-sensitive throughout, so any noise gets you in weird states 2023-05-02T19:34:51 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-02T19:35:02 < jpa-> whereas with UART you only get a corrupted byte, which is easy to recover from 2023-05-02T19:39:05 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-02T19:39:37 < zyp> I'd rather bit bang i2c than uart though 2023-05-02T19:39:46 < qyx> I would vote for a single wire uart 2023-05-02T19:40:11 < fenugrec> eh, half duplex 2023-05-02T19:40:31 < qyx> most of the comms is, even on full duplex links you have request-response protocols 2023-05-02T19:40:59 < zyp> just use a regular uart in i2c fashion; hook rx and tx together, configure tx as opendrain and add a pullup 2023-05-02T19:41:14 < fenugrec> granted proper uart periphs will probably have a halfdup mode so you don't need to remove echos manually 2023-05-02T19:41:14 < zyp> then treat it like rs485 :) 2023-05-02T19:41:30 < fenugrec> ColdKeyboard, just pick something, anything 2023-05-02T19:41:32 < qyx> yeah stm32 has a dedicated mode for that 2023-05-02T19:41:33 < fenugrec> well not i2c 2023-05-02T19:42:59 < zyp> ColdKeyboard, by the way, have you considered just doing USB? 2023-05-02T19:43:31 < fenugrec> for the sake of making fw development more 'interesting' ? 2023-05-02T19:43:46 < qyx> haha 2023-05-02T19:44:18 < zyp> USB is at least as ubiquitous as CAN in microcontrollers, and doesn't need an external transceiver (not counting HS, which is not relevant here) 2023-05-02T19:45:34 < zyp> needs hubs though 2023-05-02T19:45:37 < fenugrec> I don't know anything more frustrating to debug than USB problems 2023-05-02T19:46:48 < zyp> eh, you just plug it in the USB analyzer and immediately see what's wrong :) 2023-05-02T19:47:27 < fenugrec> "immediately" 2023-05-02T19:48:13 < zyp> yeah, assuming you've got a USB analyzer, that is 2023-05-02T19:48:15 -!- Suspect [~rod@211.30.162.197] has joined ##stm32 2023-05-02T19:48:22 < zyp> usually that's where the limitation is 2023-05-02T19:48:34 < fenugrec> maybe I'm just PTSDing from trying to make userland USB code on windows and hoping to get good performance 2023-05-02T19:48:41 < jpa-> for me the "immediately" has usually been "after several hours digging through USB stacks" 2023-05-02T19:48:47 < fenugrec> ^ 2023-05-02T19:49:20 < jpa-> of course it is better if you first write a perfect and clean usb stack yourself, like some people do 2023-05-02T19:49:33 < zyp> :D 2023-05-02T19:51:02 < zyp> one of these days I'm gonna redo the laks usb stack and give it a sane API 2023-05-02T19:52:16 < jpa-> how about a readme? ;) 2023-05-02T19:52:32 < zyp> :) 2023-05-02T19:53:22 < zyp> the other day I added an async wrapper around a bulk pair so I can just plug it into the protobuf rpc server that I've already written before 2023-05-02T19:53:26 < zyp> https://paste.jvnv.net/view/auwXs 2023-05-02T19:54:11 < zyp> doesn't really need to be a pair though, so I'm gonna generalize it to separate in/out adapters 2023-05-02T19:55:28 < zyp> but the way the API works makes it annoyingly hard to do any sort of sane flow control on the OUT pipe 2023-05-02T20:41:43 < jadew> was one of you talking about OBD2 controllers a couple of months ago? maybe a year? 2023-05-02T20:41:58 < jadew> I need one and I wonder if the el-cheapo BT ones are fine 2023-05-02T20:42:33 < karlp> zyp: do you (or anyone else) konw anything about displaylink? 2023-05-02T20:42:50 < karlp> I've got this m2 mac, that apparently (wtf apple?!) only supports one external screen, 2023-05-02T20:43:03 < karlp> and I have usb-c dock with two hdmi's that's... meant to work, 2023-05-02T20:43:20 < karlp> and there's thing called displaylink, that we installed the driver for, but it says "no display link capacble displays detected" 2023-05-02T20:43:21 < jadew> karlp, maybe it supports chaining them 2023-05-02T20:43:25 < jadew> like you can do with HDMI 2023-05-02T20:43:37 < karlp> do the _screens_ need to support displaylink, or just the docks? 2023-05-02T20:43:42 < karlp> chaining in which way? 2023-05-02T20:44:02 < jadew> with HDMI you can use one cable from the PC, to one monitor 2023-05-02T20:44:13 < jadew> and from another HDMI port of the monitor you can go to another monitor 2023-05-02T20:44:27 < jadew> but the display has to support this 2023-05-02T20:44:38 < karlp> that _definitely_ requires special monitors and I'm pretty sure that won'y work on an apple m1 or m2 that simply don't support more than one anyway. 2023-05-02T20:44:53 < karlp> this displaylink is something I'd never heard of and is some "extra" usb display shit. 2023-05-02T20:45:48 < karlp> we're currently leaning towards returning both monitors and just getting one slightly bigger one, but it would be good to know if the it's just "get a _different_ usb-c dock that does this displaylink thing too" or "you'll need two different monitors as well" 2023-05-02T20:48:00 < zyp> jadew, you're mixing up hdmi and displayport 2023-05-02T20:48:25 < karlp> the more I read synaptics page, the more it seems that this is missing functionality in the _dock_ that she was sold, 2023-05-02T20:49:50 < zyp> displaylink is that display over usb3 protocol? I had a dell dock at $oldjob using that 2023-05-02T20:50:03 < zyp> I thought usb-c killed it 2023-05-02T20:50:16 < jadew> zyp, I'm not sure, I remember my last monitor supported that, but maybe you're right, I'll have to check it out 2023-05-02T20:50:25 < karlp> alt-mode makes it "different" as I understand it, 2023-05-02T20:50:39 < karlp> alt mode on usb-c uis still being driven by the host? 2023-05-02T20:50:53 < zyp> usb-c alt mode is just displayport on spare lanes 2023-05-02T20:51:18 < karlp> yeah, but to go out to a usb-c connected dock, how do you get your multi monitor that way? 2023-05-02T20:51:27 < zyp> macos doesn't support displayport MST 2023-05-02T20:51:27 < karlp> that's also for running a single usb-c connection to the monitor right? 2023-05-02T20:51:33 < zyp> yes 2023-05-02T20:51:37 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 276 seconds] 2023-05-02T20:52:01 < zyp> macos needs thunderbolt to get multiple displays from one port 2023-05-02T20:52:02 < karlp> I hate being in the nitty gritty of consumer electronics, the search pool is grossssss 2023-05-02T20:52:16 < karlp> ok, so "displaylink" promises to workaround that. 2023-05-02T20:52:22 < zyp> then you get two separate displayport links tunneled over thunderbolt, rather than multiple monitors in one displayport stream 2023-05-02T20:52:32 < karlp> and also, apparently m1 and m2 (non-pro) onyl uspport _1_ even with thunderbolt 2023-05-02T20:52:44 < zyp> and yeah, I guess displaylink is a cheapo solution in a similar manner 2023-05-02T20:53:20 < zyp> what's your purpose? docking? 2023-05-02T20:53:40 < karlp> yeah, docking a laptop and having two extended desktop screens. 2023-05-02T20:53:51 < jadew> zyp, you're right, it's display port 2023-05-02T20:54:22 < karlp> I'm going over tonight to try a different dock, which it can do "2 lanes HBR3 source, MST, DSC 3:1" which means nothing to me :) 2023-05-02T20:54:23 < zyp> I'd just get one of those macbook oriented docks with a dual plug so you've still got a single cable, but can hook one display to each port 2023-05-02T20:54:35 < zyp> it means it won't work 2023-05-02T20:54:42 < zyp> MST is multiple streams in one displayport link 2023-05-02T20:54:48 < zyp> which is not supported by macos 2023-05-02T20:54:56 < karlp> yeah, apparently that simply doens't matter for the m1 and m2 non-pro, they just _dont_ support more than one external display, displaylink is the only path. 2023-05-02T20:56:19 < zyp> that sounds too shitty that I won't take your word on that :) 2023-05-02T20:56:20 < karlp> https://support.apple.com/kb/SP870?locale=en_US 2023-05-02T20:56:26 < karlp> yeah, I couldn't believe it either, 2023-05-02T20:56:41 < karlp> the "pro" and "max" versions do, happily, but... I couldn't believe it either 2023-05-02T21:01:05 < karlp> I tried via two separate usb-c->hdmi dongles as well, and just nada on the second one, total garbage experience :) 2023-05-02T21:04:46 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-02T21:07:21 < jpa-> https://jpa.kapsi.fi/stuff/pix/IMG_20230502_210552.jpg summer is cancelled 2023-05-02T21:08:08 < karlp> hrm, this one actually explicitly lists displaylink: https://computer.is/is/product/fartolvudokka-icybox-usb-c-a-ib-dk2251ac-2xhdmi 2023-05-02T21:46:55 < Steffanx> Nice jpa- . That's how a true finnisher like it right? 2023-05-02T21:47:14 < Steffanx> Cars are parked a little close together though 2023-05-02T21:58:20 < zyp> I'm not sure jpa- is a true finnisher, he's got neighbors 2023-05-02T22:02:14 < jpa-> i talk to my neighbours nowadays, not sure how it happened 2023-05-02T22:11:26 -!- drzacek [~drzacek@2a01:3d8:441:1400:555:ac74:a97f:9bcf] has joined ##stm32 2023-05-02T23:11:03 < machinehum> https://imgur.com/a/kBSkD4S 2023-05-02T23:11:18 < machinehum> Is this really the best way, does anyone know of a simple little 3 terminal device 2023-05-02T23:11:23 < machinehum> Just slam in between the cells 2023-05-02T23:17:25 < machinehum> MM3513C01NRH maybe 2023-05-02T23:51:45 -!- drzacek [~drzacek@2a01:3d8:441:1400:555:ac74:a97f:9bcf] has quit [Read error: Connection reset by peer] 2023-05-02T23:56:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 248 seconds] --- Day changed ke touko 03 2023 2023-05-03T00:06:36 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 250 seconds] 2023-05-03T00:08:29 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-05-03T00:49:20 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 268 seconds] 2023-05-03T01:01:59 < qyx> I would not call it the best way, it is the most cheap and basic way 2023-05-03T01:02:16 < qyx> a bit better is to use a dedicated multi cell balancing/monitoring IC 2023-05-03T01:02:53 < qyx> the best solution is probably active balancing using a dedicated IC 2023-05-03T01:03:42 < qyx> "probably" because it may not be ultimately true, it depends on the battery usage 2023-05-03T01:06:56 -!- Suspect [~rod@211.30.162.197] has quit [Quit: Leaving] 2023-05-03T01:22:01 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 276 seconds] 2023-05-03T01:30:34 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-03T01:46:24 < qyx> usb pros, zyp specifically, stm32->PC data download, what would you use? 2023-05-03T01:46:30 < qyx> mass storage emulation? 2023-05-03T01:47:38 < qyx> the memory medium is TBD, even if it was eMMC, it would be filesystem-less 2023-05-03T01:55:37 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-03T01:56:02 < Laurence_b> https://cursus.edu/fr 2023-05-03T01:56:07 < Laurence_b> the curse of the thot 2023-05-03T02:01:29 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-03T02:05:30 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-03T02:23:45 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-03T03:01:36 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 248 seconds] 2023-05-03T03:10:51 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-03T04:59:41 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-03T05:09:35 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-03T05:38:07 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-03T06:48:40 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-03T07:07:53 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has quit [Read error: Connection reset by peer] 2023-05-03T07:13:15 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-05-03T08:01:23 < jpa-> qyx: i would use MTP 2023-05-03T08:01:36 < jpa-> simpler to implement, you don't have to fake scsi and fat 2023-05-03T08:18:51 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-03T08:51:48 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-03T09:11:38 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-03T09:36:42 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-03T09:39:41 -!- Suspect [~rod@211.30.152.55] has joined ##stm32 2023-05-03T09:46:27 -!- Suspect [~rod@211.30.152.55] has quit [Quit: Leaving] 2023-05-03T10:07:10 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-03T10:07:10 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-03T10:07:10 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-03T10:08:38 < zyp> I'm not sure host side for MTP support is good enough that I'd bother with that 2023-05-03T10:09:36 < zyp> mass storage is just block device anyway, so you could just export your entire flash like that, but a filesystem-less block device sounds annoying to deal with on windows 2023-05-03T10:10:00 < zyp> or you could emulate a file system with files on it 2023-05-03T10:10:45 < zyp> but it's a question of how you want to do it on the user side 2023-05-03T10:11:15 < zyp> usb ethernet presenting a http interface is a valid option too 2023-05-03T10:11:41 < zyp> or you could do something custom bulk to just pull the data 2023-05-03T10:15:09 < jpa-> i haven't had any problem with host side MTP support in a decade 2023-05-03T10:15:38 < jpa-> it's pretty popular with android 2023-05-03T10:16:52 < jpa-> doing MSC & emulating minimal FAT is easy for read-only, but i don't really see the point 2023-05-03T10:17:50 < jpa-> .. except apparently mac os x is a holdout on MTP? 2023-05-03T10:17:57 < jpa-> unless you install separate software 2023-05-03T10:19:45 < zyp> that's what I mean by «I'm not sure» 2023-05-03T10:19:58 < jpa-> yeah, i didn't know - i don't use mac os x :) 2023-05-03T10:20:09 < jpa-> MTP works fine on linux and windows 2023-05-03T10:20:18 < zyp> if you're shipping something that anybody is supposed to be able to use, it has to just work regardless of what they're using 2023-05-03T10:20:24 < jpa-> indeed 2023-05-03T10:20:36 < jpa-> .. though apparently if not you are shipping smartphones ;) 2023-05-03T10:21:01 < zyp> who uses MTP with their smartphone anyway? 2023-05-03T10:21:31 < jpa-> i do every month, to transfer audiobooks to phone 2023-05-03T10:21:35 < zyp> haven't everything been «cloud sync» for the last decade or so? 2023-05-03T10:21:56 < jpa-> not with the free cloud spaces being 15GB max :) 2023-05-03T10:43:14 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-03T10:43:17 < Laurence_b> lolll vice went bust 2023-05-03T10:43:47 < Laurence_b> inb4  https://www.youtube.com/watch?v=x7CxM1anfPE 2023-05-03T10:54:20 -!- specing [~specing@user/specing] has quit [Killed (NickServ (GHOST command used by specing_))] 2023-05-03T10:54:20 -!- specing_ [~specing@user/specing] has joined ##stm32 2023-05-03T10:56:02 -!- specing_ is now known as specing 2023-05-03T10:58:27 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-03T11:12:48 < qyx> zyp: nah who even uses macos 2023-05-03T11:13:13 < qyx> yeah MTP works 2023-05-03T11:14:13 < qyx> but if jpa- says it is simpler, I'll look into it 2023-05-03T11:27:30 -!- Suspect [~rod@211.30.152.55] has joined ##stm32 2023-05-03T11:30:10 -!- Suspect [~rod@211.30.152.55] has quit [Client Quit] 2023-05-03T11:34:38 < jpa-> looks like more examples available for MSC though 2023-05-03T12:16:11 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Ping timeout: 246 seconds] 2023-05-03T12:30:52 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 276 seconds] 2023-05-03T12:33:45 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-03T12:35:44 < karlp> I'd bet 99problems that most of the MSC examples won't be fully complete, and will have all sorts of gaping holes, given that they are shitty partial filesystem impls as well as the MSC shits. 2023-05-03T13:01:04 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-03T13:24:28 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-03T14:08:11 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 260 seconds] 2023-05-03T14:43:21 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-03T15:16:44 < jbo> I'm currently looking atht he MIC2090 high-side switch datasheet. It lists "MIC2090 is rated for 50mA minimum continious current". Is that "minimum" in terms of it can handle at least that much or is that "minimum" in terms of "it requires at least this current to operate properly"? o.O 2023-05-03T15:20:25 < jbo> https://www.microchip.com/en-us/product/MIC2090 2023-05-03T15:20:31 < jbo> "MIC2090 is rated for 50mA minimum continuous current" 2023-05-03T15:34:10 < zyp> it's the minimum figure on the «current limit threshold» spec 2023-05-03T15:34:13 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-03T15:34:17 -!- kaki is now known as nomorekaki 2023-05-03T15:34:52 < zyp> which means that it won't start limiting current until you're at least pushing more than 50mA 2023-05-03T15:34:59 < nomorekaki> what was the name of function counting set bits in arm platform? 2023-05-03T15:35:10 < zyp> the max figure for the same spec is 150mA 2023-05-03T15:35:21 < zyp> so it'll limit the current to somewhere in between 50 and 150mA :p 2023-05-03T15:36:45 < zyp> at a glance it looks like a pretty shitty switch, I figure only reason you'd want to use it if you want the current limiting feature around that threshold 2023-05-03T15:36:52 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-03T15:37:44 < zyp> nomorekaki, I'm not sure arm got a popcount, just clz 2023-05-03T15:38:57 < nomorekaki> __builtin_popcount 2023-05-03T15:40:17 < nomorekaki> I'll write __builtin_parity to my code 2023-05-03T15:40:22 < nomorekaki> it's not even for arm 2023-05-03T15:40:24 < zyp> https://godbolt.org/z/5bGcoaEx3 2023-05-03T15:41:46 < zyp> parity should be easier 2023-05-03T15:44:40 < zyp> here's parity: https://godbolt.org/z/a5KGxh6jY 2023-05-03T15:46:51 < zyp> I expect that to perform better than checking evenness of popcount :) 2023-05-03T15:59:47 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-03T16:08:51 < jbo> zyp, agreed, thanks 2023-05-03T16:37:22 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-03T16:51:39 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Quit: Leaving] 2023-05-03T16:58:44 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-03T17:03:36 -!- Thorn [~Thorn@2001:818:dfc8:7a00:f4a4:746e:614c:2e73] has joined ##stm32 2023-05-03T17:03:36 -!- Thorn [~Thorn@2001:818:dfc8:7a00:f4a4:746e:614c:2e73] has quit [Changing host] 2023-05-03T17:03:36 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-03T17:10:24 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-03T17:12:28 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-03T17:14:08 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-03T17:28:11 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-03T17:37:48 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-03T17:43:34 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-03T18:29:08 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-03T18:43:17 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-03T18:51:16 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-03T19:56:20 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 268 seconds] 2023-05-03T20:05:18 -!- englishman [englishman@user/englishman] has quit [Remote host closed the connection] 2023-05-03T20:05:21 -!- hackkitten [~hackkitte@2a00:6020:5090:5700::35e] has quit [Write error: Broken pipe] 2023-05-03T20:05:25 -!- Netsplit *.net <-> *.split quits: jmcgnh, quinor, jadew, kilobyte_ch, LFSveteran, Alexer, Sadale, Posterdati, Linux_Kerio, zyp, (+77 more, use /NETSPLIT to show all of them) 2023-05-03T20:10:47 -!- englishman [englishman@user/englishman] has joined ##stm32 2023-05-03T20:10:47 -!- Miyu [~hackkitte@94.31.98.136] has joined ##stm32 2023-05-03T20:10:53 -!- Netsplit over, joins: boB_K7IQ, rajkosto, Mangy_Dog, Spirit532, jmcgnh, m5zs7k, Ad0, catphish, dreamcat4, duude__ (+77 more) 2023-05-03T20:59:26 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Ping timeout: 246 seconds] 2023-05-03T21:01:20 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-03T21:16:43 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 276 seconds] 2023-05-03T21:22:40 < qyx> zyp: expensive accidents 2023-05-03T21:23:47 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-03T21:43:29 < catphish> STM32CubeMX won't let me enable a UART if only its RX pin is available, but this configuration will work, right? 2023-05-03T21:51:03 < zyp> qyx, yeah, I was ordering 4€ worth of screws from distrelec and needed something to pad my order with 2023-05-03T21:51:23 < fenugrec> catphish, I have doubts, IIRC the periph takes over from the pin drivers, but I vaguely recall the RM should explain it 2023-05-03T21:51:40 < zyp> I kinda wanted this thing and it showed out of stock, available around end of june or so, so I threw it in, thinking I could cancel it later if I decided I didn't want it after all 2023-05-03T21:52:00 < zyp> and then it shipped way earlier than they said :p 2023-05-03T21:53:00 < zyp> but this thing looks great 2023-05-03T21:53:23 < fenugrec> I was padding a DK order the other day, forgot to login, lost my shopping cart, entered everything again except THE part I really needed. Thanks, brain 2023-05-03T21:53:30 < zyp> haha 2023-05-03T21:54:37 < zyp> I think I'm gonna reduce my carrier slots to 3HP so I can fit 8x3+4 in 28HP to make a 8:1 mux backplane 2023-05-03T21:55:29 < zyp> should be easier than designing a 16:1 backplane, and rather than the original 16:1 in 84HP I've been envisioning, I could fit three individual 8:1 ones 2023-05-03T21:55:42 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-03T21:55:42 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-03T21:55:42 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-03T22:07:21 < josuah> > needed something to pad my order with 2023-05-03T22:07:46 < josuah> I'll likely end-up with 40% of my overall budget sinking in these "free shipping" holes :) 2023-05-03T22:08:19 < zyp> true 2023-05-03T22:08:56 < josuah> also, sometimes, that is something I would end-up buying later, so it is not always so bad 2023-05-03T22:09:32 < josuah> where I store the parts ends-up being a tiny supermarket, with "the next exciting thing" already there for when I have time for it 2023-05-03T22:11:01 < josuah> fenugrec: what are you going to pad the next order with now? :O 2023-05-03T22:16:30 < fenugrec> josuah, haven't decided yet. I keep a list for non-urgent stuff for padding purposes, but ofc that list is now empty 2023-05-03T22:17:26 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-03T22:24:08 < PaulFertser> fenugrec: btw, did you manage to do what you wanted with that odd CPU? 2023-05-03T22:24:46 < qyx> catphish: it works 2023-05-03T22:24:56 < qyx> unless you are on F1 2023-05-03T22:25:32 < catphish> qyx: thanks, i'm on G4, it seems like i could configure the UART then only assign the RX pin in the PORT periphera 2023-05-03T22:25:34 < qyx> just don't configure the TX pin 2023-05-03T22:25:36 < fenugrec> hi PaulFertser, no, it was starting to look like a multiple-TAP thing that I would have to implement... possibly partially documented (e.g. https://github.com/xcore/sc_jtag/blob/master/module_xs1_su_debug/src/jtag_xs1_su.xc ) but I may just buy the vendor's jtag hardware for further poking 2023-05-03T22:25:44 * josuah is happy he does not need to work with STM32CubeMX for now... 2023-05-03T22:26:10 < catphish> i wouldn't say i need to, but it's a really handy way to choose pins 2023-05-03T22:26:16 < zyp> fenugrec, what's this about? 2023-05-03T22:27:05 < zyp> xmos? 2023-05-03T22:28:08 < fenugrec> yea xmos; Paul was just gettin back to me after helping solve some issues (partly caused by lack of knowledge of oocd and low-level jtag details) , I 2023-05-03T22:29:10 < PaulFertser> Thank you fenugrec for reporting, I hope we made OpenOCD a little bit better, and probably spared the confusion for someone else. 2023-05-03T22:29:22 < zyp> hmm, xs1 is EOL 2023-05-03T22:29:27 < PaulFertser> (not that it actually helps with xmos alas) 2023-05-03T22:31:40 < fenugrec> xs2 grew out of xs1, I'm assuming they didn't rewrite their jtag stack from scratch 2023-05-03T22:32:13 < zyp> yeah, was just wondering if it's worthwhile to pull up my old xmos kit :) 2023-05-03T22:32:16 < fenugrec> PaulFertser, no indeed, even with that code, it would still be a piece of work to implement enough logic in oocd to be usable 2023-05-03T22:32:41 < fenugrec> aaah, zyp if you had an XTAG then yeah, otherwise it'll be padding for my next DK order P )) 2023-05-03T22:33:13 < zyp> I've got a startKIT somewhere 2023-05-03T22:39:00 -!- drzacek [~drzacek@2a01:3d8:44a:0:a90d:f5e8:f36a:8671] has joined ##stm32 2023-05-03T22:56:05 < fenugrec> did you do anything with it ? it's an unusual architecture, and they had that special 'xC' custom language for it 2023-05-03T22:56:14 < fenugrec> which they are now dropping for xs2/xs3 apparently 2023-05-03T22:57:40 < zyp> nope, I think I played with some example code once and then never touched it again :) 2023-05-03T22:58:18 < fenugrec> heh 2023-05-03T22:58:34 < fenugrec> think it takes some commitment to really benefit from the multi-multi core 2023-05-03T23:19:17 < zyp> a suitable problem too 2023-05-03T23:19:56 < fenugrec> heh yes 2023-05-03T23:20:37 < zyp> from what I've seen, a typical xmos project runs all the computation on one or two cores and uses the rest just for bitbanging protocols 2023-05-03T23:20:55 < zyp> I'd rather take a regular mcu with decent peripherals over that :) 2023-05-03T23:20:55 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-03T23:21:50 < zyp> or a fpga if you need to do a bunch of custom protocol handling 2023-05-03T23:22:01 < fenugrec> it does sound like the oldschool parallax 'propeller'. I think they have a few clocks and stuff to help shift bits in and out but... yeah bitbanging *everything* ? no thanks 2023-05-03T23:22:52 < zyp> I wish there were more mcu/fpga hybrids 2023-05-03T23:23:05 < fenugrec> agreed 2023-05-03T23:23:36 < fenugrec> don't like the alternative of "oh well just softcore your mpu onto this huge expensive-ass fpga that you still need to add external flash + ram for anything serious" 2023-05-03T23:23:38 < zyp> the quicklogic is kinda cute, but the fabric is fairly small and it seems like in practice you just end up using it to do usb 2023-05-03T23:24:06 < fenugrec> didn't cypress have some psoc that were almost fpga's too 2023-05-03T23:24:26 < zyp> and then there's smartfusion, which seems more decent, but kinda inaccessible 2023-05-03T23:50:20 < qyx> aren't greenpak almost fpgas too? 2023-05-03T23:53:09 < zyp> not really, and they have orders of magnitude less logic resources than even the smallest fpgas 2023-05-03T23:53:34 < zyp> but there's the announced forgefpga, which is a proper fpga in the greenpak ecosystem 2023-05-03T23:53:41 < fenugrec> oh so renesas bought dialog aka greenpak 2023-05-03T23:54:26 < zyp> yeah, it's kinda annoying, I'm not sure how I'm supposed to order more reels of preprogrammed devices now 2023-05-03T23:54:37 < karlp> dialog didn't really hold them long at all. 2023-05-03T23:55:01 < zyp> dialog had a nice webui where you just uploaded the chip config 2023-05-03T23:55:03 < karlp> oh, duh, I forgot, dialog was _aquired_ they didnt' sell greenpak 2023-05-03T23:55:26 < zyp> renesas is like «contact your local customer representative» 2023-05-03T23:55:39 < zyp> who the fuck is that, even 2023-05-03T23:55:51 < fenugrec> renesas certainly trying hard in the PLD market 2023-05-03T23:56:39 < fenugrec> at least the dropped the ill-conceived name of their old forums "RenesasRulz" 2023-05-03T23:56:45 < zyp> it kinda seems like they've prepared for having a webui to order configured parts 2023-05-03T23:56:57 < zyp> so I hope they manage to work it out before I need more reels --- Day changed to touko 04 2023 2023-05-04T00:03:13 < qyx> https://paste.jvnv.net/view/d2iK2 2023-05-04T00:03:16 < qyx> thank you gcc 2023-05-04T00:04:06 < nomorekaki> what did you do? 2023-05-04T00:04:27 < qyx> git clone libopencm3, make lib/stm32/l4 lib/stm32/g4 2023-05-04T00:04:42 < qyx> arm-none-eabi-gcc (GNU Toolchain for the Arm Architecture 11.2-2022.02 (arm-11.14)) 11.2.1 20220111 2023-05-04T00:05:29 < qyx> yeah g4 fails 2023-05-04T00:06:30 < qyx> but but why 2023-05-04T00:06:37 < zyp> it's FPU related, I've seen it before, it's why I'm still using gcc10 2023-05-04T00:07:12 < qyx> downloading gcc10 now 2023-05-04T00:07:56 < zyp> IIRC it's built assuming you've got some fancy modern x86 extension or something 2023-05-04T00:08:12 < zyp> hence illegal instruction 2023-05-04T00:08:25 < qyx> oh may be the case 2023-05-04T00:08:40 < qyx> I am on 2023-05-04T00:08:42 < qyx> model name : Intel(R) Core(TM) i3 CPU U 380 @ 1.33GHz 2023-05-04T00:08:55 < qyx> I guess it is at least 10y old 2023-05-04T00:09:26 < fenugrec> pray you don't need to compile gcc 2023-05-04T00:09:35 < fenugrec> *won't 2023-05-04T00:09:52 < zyp> intel says Q4'10, so yeah 2023-05-04T00:09:58 < fenugrec> on a 1.3GHz core i3, that would probably take a week, if you even have enough RAM 2023-05-04T00:10:08 < zyp> mine is from Q2'12, so slightly newer 2023-05-04T00:12:05 < fenugrec> recently found out my 2008 workshop craptop can't run kicad anymore - missing some openGL calls of some sort 2023-05-04T00:14:06 -!- qyx [~qyx@84.245.120.149] has quit [Ping timeout: 268 seconds] 2023-05-04T00:19:56 -!- Miyu is now known as hackkitten 2023-05-04T00:22:13 -!- qyx [~qyx@84.245.120.72] has joined ##stm32 2023-05-04T00:22:24 < qyx> meh those interwebs 2023-05-04T00:22:39 < qyx> fenugrec: I am keeping it because it is a 11" thinkpad 2023-05-04T00:22:50 < qyx> upgraded to 8G RAM and 128G SSD 2023-05-04T00:24:08 -!- drzacek [~drzacek@2a01:3d8:44a:0:a90d:f5e8:f36a:8671] has quit [Read error: Connection reset by peer] 2023-05-04T00:24:08 < fenugrec> nice 2023-05-04T00:30:04 < qyx> I really need to fix ci/cd for this thing 2023-05-04T00:30:14 < qyx> after a year or so I forgot how to properly compile it 2023-05-04T00:30:39 < zyp> sounds like a shit build system 2023-05-04T00:30:53 < qyx> kconfiglib + scons 2023-05-04T00:31:16 < qyx> I would say a shitty implementation 2023-05-04T00:31:27 < qyx> (c) qyx 2023-05-04T00:34:34 < zyp> I'm putting my rpc stuff to use 2023-05-04T00:35:50 < zyp> https://paste.jvnv.net/view/B8jAz 2023-05-04T00:36:29 < zyp> this stuff, done decently, would have tons of reuse potential 2023-05-04T00:36:45 -!- Thorn [~Thorn@user/thorn] has quit [Quit: Copywight 2016 Elmer Fudd. All wights wesewved.] 2023-05-04T00:51:49 < qyx> why my kconfiglib lacks menuconfig/genconfig and friends 2023-05-04T00:54:39 < qyx> https://paste.jvnv.net/view/B3Roo 2023-05-04T00:54:42 < qyx> this is new to me too 2023-05-04T01:57:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-04T03:15:13 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-04T03:22:30 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-04T03:25:58 -!- CatCow [~wtf_over@98.246.223.133] has quit [Client Quit] 2023-05-04T03:30:08 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-04T03:40:41 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 268 seconds] 2023-05-04T04:01:03 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-04T04:40:10 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 260 seconds] 2023-05-04T04:44:53 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-04T04:56:01 -!- srk [~sorki@user/srk] has quit [Remote host closed the connection] 2023-05-04T04:56:20 -!- srk [~sorki@user/srk] has joined ##stm32 2023-05-04T04:59:37 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 268 seconds] 2023-05-04T05:02:38 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-04T05:13:34 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-04T05:13:48 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 250 seconds] 2023-05-04T05:22:23 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-04T05:51:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-04T07:59:30 -!- phryk [~totallyno@user/phryk] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-05-04T08:00:21 -!- phryk [~totallyno@user/phryk] has joined ##stm32 2023-05-04T08:15:02 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-04T08:57:07 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-04T09:54:39 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-04T09:55:30 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-04T10:49:19 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-04T11:25:48 < jbo> how's everybody doing? 2023-05-04T11:27:32 < qyx> nah 2023-05-04T11:38:53 < BrainDamage> it's 10 am and I already wish for the day to be over 2023-05-04T12:14:00 < qyx> what's cool today as a travis replacement? 2023-05-04T12:21:20 < PaulFertser> Jenkins? 2023-05-04T12:23:17 < qyx> hosted I mean 2023-05-04T12:23:28 < qyx> gitlab CI sounds relevant 2023-05-04T12:25:19 < PaulFertser> Self-hosted or cloud-hosted? 2023-05-04T12:26:33 < qyx> cloud hosted 2023-05-04T12:30:00 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-04T12:32:41 < karlp> gcc 12 keeps giving fantastic warnings I have not yet figured out a way to fix in locm3 anyway, fuck progress :) 2023-05-04T12:33:01 < qyx> those rwx things? 2023-05-04T12:38:30 < karlp> yeah 2023-05-04T12:39:51 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-04T13:13:18 < karlp> power shit is weird. I'm skimming https://www.st.com/en/evaluation-tools/evlvipgan65pd.html to learn a bit, and there's so many bits that just ... I don't get :) 2023-05-04T13:19:38 < zyp> agreed 2023-05-04T13:32:13 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-04T13:47:44 < karlp> st's going to run out of letters for parts soon, stm32n6 now. 2023-05-04T13:48:29 < zyp> «AI» 2023-05-04T13:52:38 < zyp> > The side-by-side demonstration showed the STM32N6 handled 75x more frames than the STM32H7 while running at a max frequency less than 2x that of the STM32H7. 2023-05-04T13:52:54 < zyp> they're talking about a 480MHz H7 2023-05-04T13:53:42 < zyp> which implies «running at a frequency less than 960MHz»… 2023-05-04T14:01:40 < jpa-> ST really loves to name their accelerators "art" 2023-05-04T14:02:30 < zyp> haha, yeah 2023-05-04T14:03:00 < jpa-> but at least there is a point to STM32N family then, it's not just "low cost low power high performance" 2023-05-04T14:03:11 < zyp> indeed 2023-05-04T14:03:27 < zyp> I saw speculations of it having m55 or m85 2023-05-04T14:03:45 < jpa-> will be interesting to see the documentation on the neural network accelerator 2023-05-04T14:30:32 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4dd0:dd90:4bfe:ddaf] has quit [Ping timeout: 246 seconds] 2023-05-04T14:34:41 < karlp> apparnertly I don't have any usb3 a-C cables. 2023-05-04T14:35:08 < karlp> I have one that has a "usb3 blue" a port, but this nvme case is still only enumerating at 480M :| 2023-05-04T14:38:34 < zyp> the thickness should make it fairly obvious if it got SS lanes or not 2023-05-04T14:40:16 < karlp> yeah, that was my sad experience with C-C cables too. 2023-05-04T14:40:25 < karlp> guess I need to find another one of them at some point 2023-05-04T14:43:35 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-04T14:45:27 < zyp> CC-cables have more conductors than A-C cables, so they make it even more obvious :) 2023-05-04T14:45:59 < karlp> I wonder if I'd be better off getting a hub with some C ports :) 2023-05-04T14:46:13 < zyp> are there any decent ones yet? 2023-05-04T14:48:37 < karlp> no idea. 2023-05-04T14:48:59 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-04T14:51:13 < karlp> I'm sure many of the ones sold as docks would, but they're mostly going to have C on the UFP as well.. 2023-05-04T14:51:33 < zyp> you can plug A-C cables in those :) 2023-05-04T14:51:53 < zyp> I've used my usb-c dock with a usb2 A-C cable several times 2023-05-04T14:52:29 < zyp> mainly because it has a microsd slot and was conveniently available when I needed to write a card 2023-05-04T14:52:49 < jpa-> measured the cables nearby: USB3 C-C: 4.2 mm, USB2 A-B: 4.6 mm, USB2 A-C: 4.4 mm, USB3 A-C: 4.1 mm, USB3 A-C: 4.0 mm 2023-05-04T14:52:49 < zyp> and I also have a bunch of usb2 A-C cables conveniently available 2023-05-04T14:52:57 < jpa-> seems pretty random 2023-05-04T14:53:32 < zyp> hmm, let me see if I can find some calipers 2023-05-04T14:55:38 < zyp> usb3 C-C: 5.0mm, usb3 A-C: 4.9mm, usb2 A-C: 3.9mm 2023-05-04T14:56:00 < zyp> usb3 A-B: 5.5mm 2023-05-04T14:56:12 < jpa-> that's thick 2023-05-04T14:56:57 < karlp> zyp: sure, but I'd still need a A-C cable that had SS lines :) 2023-05-04T14:59:05 < karlp> for me, C-C (SS) are ~4.9mm, and C-C (USB2) are 3.3, 3.5 and 4.0. 2023-05-04T15:00:21 < jpa-> i started to doubt my USB3 C-C cable, but at least my gopro shows up as "new SuperSpeed USB device" with it :) 2023-05-04T15:00:57 < karlp> my A-C usb2 are only 3.5mm or so too. 2023-05-04T15:08:06 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-04T15:08:34 < zyp> I think the A-C cables I've got at home are also thinner than the ones I've got here 2023-05-04T15:08:38 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-04T15:16:34 < karlp> ah joy, building old software trees with newer scons and having py2 / py3 bytes/strings shits all over again 2023-05-04T15:18:56 < zyp> better than having scons stuck on py2 forever 2023-05-04T15:19:14 < karlp> yeah, one day... 2023-05-04T15:19:17 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-04T15:19:28 < karlp> but I have to edit old tagged code to build it, which is ... unpleasant. 2023-05-04T15:23:26 < zyp> less pleasant than spinning up a container with an older distro image that you could build it in? :) 2023-05-04T15:38:18 < qyx> thats comparing bad and even worse 2023-05-04T15:38:25 < qyx> there should be no old software! 2023-05-04T15:39:41 < c10ud> or, VirtualBox VMs 2023-05-04T15:40:05 < c10ud> can you containerize Windows? (honestly don't know) 2023-05-04T15:59:40 < mawk> I tried to set up stm32cubeide on latest ubuntu, of course it doesn't work, it doesn't even start 2023-05-04T15:59:44 < mawk> so I tried the flatpak version which is old but it works, although it's not very practical 2023-05-04T16:00:07 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Read error: Connection reset by peer] 2023-05-04T16:00:49 < mawk> then I vaguely toyed with x11-docker or whatever the name is, to run programs in docker with x11 forwarding 2023-05-04T16:01:36 < mawk> I got xeyes running but I was too lazy to get the proper command for the full ide 2023-05-04T16:01:44 < mawk> so then I made my own debian docker image with stm32cubeide and X11 forwarding, and USB device forwarding, and sharing the filesystem, and now it kinda works 2023-05-04T16:01:46 < mawk> it randomly freezes without writing anything to the log 2023-05-04T16:01:48 < mawk> maybe it's because of wayland 2023-05-04T16:32:40 -!- Guest3638 [~n0toosem]@2001:470:69fc:105::1:d27a] has quit [Quit: Bridge terminating on SIGTERM] 2023-05-04T16:34:48 < jbo> SMPS question: how does a proper wire wound coil compare to a ferrite beat? I see some designs using ferrite beads. 2023-05-04T16:34:59 < karlp> for what? 2023-05-04T16:35:10 < jbo> for a buck converter inductor 2023-05-04T16:35:32 < karlp> a ferrite bead or just an SMD inductor? 2023-05-04T16:35:46 < karlp> they're not... entirely the same thing. 2023-05-04T16:35:54 < karlp> choice of q freq and all that... 2023-05-04T16:36:18 < jbo> indeed, that was my though too 2023-05-04T16:36:51 -!- n0toose[m] [~n0toosem]@2001:470:69fc:105::1:d27a] has joined ##stm32 2023-05-04T16:37:14 -!- n0toose[m] is now known as Guest2463 2023-05-04T17:35:35 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-04T18:09:22 -!- kraiskil [~kraiskil@mob-194-230-161-105.cgn.sunrise.net] has joined ##stm32 2023-05-04T18:35:48 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-04T18:51:18 < qyx> ferrite beads are not for smps, they are often valued in ohm@100MHz attenuation 2023-05-04T18:52:18 < qyx> and inductors can be multilayer too, lookig similarly to ferrite beads 2023-05-04T18:52:25 < qyx> they are fine for smps 2023-05-04T18:52:36 < qyx> many reference designs use them 2023-05-04T19:16:43 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-04T19:19:11 < jpa-> just buy ferrites that are rated for low frequency attenuation 2023-05-04T19:36:17 < jpa-> ah, ferrites for the inductor, yeah, that doesn't make sense 2023-05-04T19:36:22 < jpa-> ferrites are designed to be lossy 2023-05-04T19:36:31 < jpa-> i use ferrites with SMPS as output filter 2023-05-04T19:49:39 < qyx> yeah 2023-05-04T20:05:25 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-04T20:46:48 -!- kraiskil [~kraiskil@mob-194-230-161-105.cgn.sunrise.net] has quit [Ping timeout: 240 seconds] 2023-05-04T21:13:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-04T21:33:28 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-04T21:45:01 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7802-713a-7d2e-5c85.fixed6.kpn.net] has joined ##stm32 2023-05-04T22:02:36 -!- drzacek_ [~drzacek@2a01:3d8:453:7c00:3c08:5e87:729a:2374] has joined ##stm32 2023-05-04T22:04:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7802-713a-7d2e-5c85.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-04T22:05:15 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-04T22:05:30 < Laurence_b> lolll hyperloop sjw autist is going rage mode because dark elves got b& 2023-05-04T22:11:43 < specing> what 2023-05-04T22:11:51 < specing> this isnt 4chan, english please 2023-05-04T22:19:17 < jpa-> "Laughing out loud like lunatic. My colleague in hyperloop project reacted emotionally to an actor with dark skin getting a role playing an elf." 2023-05-04T22:23:32 < Laurence_b> nope 2023-05-04T22:23:46 < Laurence_b> dark elves are evil elves in larping games 2023-05-04T22:24:07 < Laurence_b> but because dark==evil, larp federation b& them for waciscm 2023-05-04T22:24:41 < zyp> I like jpa-'s interpretation better 2023-05-04T22:26:35 < qyx> lol 2023-05-04T22:45:02 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-04T22:45:06 -!- kaki is now known as nomorekaki 2023-05-04T22:53:42 < Laurence_b> https://nitter.cz/pic/orig/enc/bWVkaWEvRnVqVGVGdVdZQUVSQ2UtLmpwZw== 2023-05-04T23:15:53 < qyx> https://bin.jvnv.net/file/diPo2/Screenshot_2023-05-04_22-15-11.png 2023-05-04T23:15:56 < qyx> are they serious 2023-05-04T23:16:30 < qyx> I mean, *serious*? 2023-05-04T23:17:05 < qyx> how dare they call that a I2C protocol 2023-05-04T23:18:59 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-04T23:20:51 < Steffanx> Lol 2023-05-04T23:22:16 < qyx> lol the same for SPI 2023-05-04T23:22:27 < qyx> you cannot output clock on SCK when the CS is high 2023-05-04T23:23:09 < qyx> they recommend using a logic buffer to gate the clock depending on the CS pin state 2023-05-04T23:24:19 < josuah> they hate bus for some reason 2023-05-04T23:24:44 < josuah> I wonder how a single gate was too much cost for them to add in an ASIC 2023-05-04T23:25:03 < josuah> maybe they did not like the VL in VLSI :) 2023-05-04T23:26:00 < qyx> that's insane 2023-05-04T23:26:08 -!- Laurence_b [~Laurence_@138.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-04T23:26:19 < qyx> in my design it is sharing SPI with a NOR flash 2023-05-04T23:31:24 < qyx> is nobody using that shit 2023-05-04T23:31:45 < qyx> it is a rev. B part&datasheet and there are so many obvious errors 2023-05-04T23:43:17 < fenugrec> ahhaha SCK not allowed with CS high ? wtf is that 2023-05-04T23:44:04 < zyp> qyx, lol, what 2023-05-04T23:44:51 < fenugrec> unless this is some super fancy high-Z ADC that can't tolerate the extra noise 2023-05-04T23:45:42 < zyp> qyx, had to check adxl350 datasheet to make sure, luckily it doesn't do that bullshit 2023-05-04T23:48:23 < qyx> fenugrec: it is a super fancy 50 eur low noise accelerometer 2023-05-04T23:54:13 < josuah> they'd better call that "serial interface" rather than "SPI" or "I2C" to avoid frustration 2023-05-04T23:54:36 < josuah> a big red flag telling "Hey! Do not buy that part, it got crappy I/O protocol!" yeah maybe not... --- Day changed pe touko 05 2023 2023-05-05T00:00:02 < qyx> eeschema --help 2023-05-05T00:00:03 < qyx> 22:59:39: Error: Unable to initialize GTK+, is DISPLAY set properly? 2023-05-05T00:00:39 < qyx> sometimes I want to go back in time ~20 years and decide again on my future profession 2023-05-05T00:26:27 -!- drzacek_ [~drzacek@2a01:3d8:453:7c00:3c08:5e87:729a:2374] has quit [Read error: Connection reset by peer] 2023-05-05T00:34:27 < nomorekaki> have you used simavr 2023-05-05T00:34:29 < nomorekaki> ? 2023-05-05T00:51:27 < Steffanx> Back in some AVR past a little. 2023-05-05T00:55:19 < fenugrec> qyx, 50E, indeed fancy. Could've afforded that extra gate... 2023-05-05T01:09:17 < qyx> but it is all for today and next 4 days 2023-05-05T01:09:41 < nomorekaki> movie Steff 2023-05-05T01:09:59 < qyx> I am not at my workplace and I forgot to populate a resistor network connecting SPI to that ADXL 2023-05-05T01:12:29 < karlp> heh, cute little idea: https://www.elecrow.com/eurorack-stripboard.html 2023-05-05T01:57:37 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-05T01:58:06 -!- CatCow [~wtf_over@98.246.223.133] has quit [Client Quit] 2023-05-05T02:01:17 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-05T02:56:58 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-05T02:58:48 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-05T02:59:11 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 246 seconds] 2023-05-05T03:11:05 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-05T03:12:24 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-05T03:27:26 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-05T03:35:36 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-05T05:00:34 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 276 seconds] 2023-05-05T05:59:11 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-05T06:16:54 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-05T07:12:06 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-05T07:44:23 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-05T08:19:55 -!- rkta [~rkta@user/rkta] has joined ##stm32 2023-05-05T08:56:43 -!- Ad0 [~Ad0@93.124.245.194] has quit [Ping timeout: 260 seconds] 2023-05-05T09:02:01 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-05T09:03:18 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-05T09:23:50 < jpa-> ADXL355 is maybe such a niche product that they didn't have money for a silicon respin after an intern messed up the bus interface :) 2023-05-05T09:50:35 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-05T09:50:35 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-05T09:50:35 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-05T10:05:58 < Steffanx> Was it you jpa- ? 🤔 2023-05-05T10:10:14 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-67-cfb0-f3cf-8c27.fixed6.kpn.net] has joined ##stm32 2023-05-05T10:12:43 < jpa-> no comment 2023-05-05T10:14:14 < qyx> at least they offer adxl354 without the digital part 2023-05-05T10:14:45 < qyx> so I have more opportunities to fail with filters, amps and ADC --- Log closed pe touko 05 10:16:28 2023 --- Log opened pe touko 05 10:16:40 2023 2023-05-05T10:16:40 -!- jpa- [jpa@hilla.kapsi.fi] has joined ##stm32 2023-05-05T10:16:40 -!- Irssi: ##stm32: Total of 91 nicks [0 ops, 0 halfops, 0 voices, 91 normal] 2023-05-05T10:17:02 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-67-cfb0-f3cf-8c27.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-05T10:17:10 -!- Irssi: Join to ##stm32 was synced in 39 secs 2023-05-05T11:19:30 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:687a:e174:2443:5dec] has joined ##stm32 2023-05-05T11:25:49 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:687a:e174:2443:5dec] has quit [Quit: Leaving] 2023-05-05T11:26:03 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 260 seconds] 2023-05-05T11:28:41 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:2514:ed12:c542:27d3] has joined ##stm32 2023-05-05T11:45:31 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:2514:ed12:c542:27d3] has quit [Quit: Leaving] 2023-05-05T11:53:30 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-05T12:09:27 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-05-05T12:10:43 -!- Thorn [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-05T12:10:43 -!- Thorn [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Changing host] 2023-05-05T12:10:43 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-05T13:07:36 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:6cc5:603:c568:fd1f] has joined ##stm32 2023-05-05T13:39:40 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-05T14:18:04 < karlp> meh, coffee press knob has broken again. thought "huh, a job for 3d printing" 2023-05-05T14:18:16 < karlp> except, 3€ part, plus minimum 10€ shipping. 2023-05-05T14:18:27 < karlp> from experience, the local couple of places were not worth dealing with again. 2023-05-05T14:18:42 < karlp> I can buy the complete coffee press fromikea again for 13€ 2023-05-05T14:35:41 < jpa-> and have it break again soon :) 2023-05-05T14:36:25 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-05T14:37:01 < jpa-> stick the end of the rod to your local volcano crater, lift out and you have a nice obsidian knob 2023-05-05T14:37:08 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-05T14:41:33 < qyx> lold 2023-05-05T14:55:10 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-05-05T14:57:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5ddf-dd3d-3729-a956.fixed6.kpn.net] has joined ##stm32 2023-05-05T15:01:54 < englishman> the canadian way: buy the new ikea one, swap the handle and return it 2023-05-05T15:08:05 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5ddf-dd3d-3729-a956.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-05-05T15:10:02 < karlp> yeah, the downside is having to drive to ikea :) 2023-05-05T15:10:22 < karlp> also, dipping in lava doesn't really work very well. I've tried that. 2023-05-05T15:10:27 < karlp> you really need a scoop to get a sample. 2023-05-05T15:10:56 < karlp> I stuck a metal poker in, to try and get a nice blob on the end, but it just comes back out like a baking pin, "lava's done!" 2023-05-05T15:11:15 < karlp> also, we don't have any righ tnow :| 2023-05-05T15:11:26 < qyx> did it die? 2023-05-05T15:11:36 < karlp> yeah, ages ago. 2023-05-05T15:11:48 < karlp> it stopped, we got another spurt nearby that lasted about 6 weeks. 2023-05-05T15:12:38 < karlp> we were getting some threats down the road a bit yesterday, but meh, I'll get afraid of that when it starts, not before. 2023-05-05T15:13:33 < karlp> I rummaged in the toolbox a bit more and di this: https://nc.beeroclock.net/s/TqogzeJxb4x6wGX 2023-05-05T15:14:00 < karlp> the wife had been keeping the old broken knob on the coutner and using it to push the stem down, so this should pass her tests I guess. 2023-05-05T15:15:46 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-05T15:21:14 < mawk> who's the SIM card pro here 2023-05-05T15:21:35 < mawk> why is there an application called "ARF" with registration ID = A000000063 on my SIM card 2023-05-05T15:21:43 < mawk> that ID is registered to the RSA company 2023-05-05T15:21:49 < mawk> according to https://www.eftlab.com/knowledge-base/complete-list-of-registered-application-provider-identifiers-rid 2023-05-05T15:22:00 < mawk> is it the NSA backdoor???? 2023-05-05T15:52:05 < mawk> apparently it's a PKCS#15 application 2023-05-05T15:52:12 < mawk> that can be used for certificate business 2023-05-05T15:52:27 < mawk> weird that it's on a SIM card like this 2023-05-05T16:10:17 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-05T16:10:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5ddf-dd3d-3729-a956.fixed6.kpn.net] has joined ##stm32 2023-05-05T16:11:13 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-05T16:13:31 < rajkosto> is there a i2c current monitor and load switch chip ? only need like 2A support for 5V/12V loads 2023-05-05T16:25:20 < jpa-> rajkosto: maybe TPS2480? needs external shunt and fet 2023-05-05T16:27:49 < rajkosto> Vin (min) (V) 9 2023-05-05T16:28:27 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5ddf-dd3d-3729-a956.fixed6.kpn.net] has quit [Ping timeout: 260 seconds] 2023-05-05T16:28:31 < rajkosto> it might be cheaper to make it with a stm32, fet, and amp separately lol 2023-05-05T16:29:36 < jpa-> how accurate sensing do you need? 2023-05-05T16:29:50 < rajkosto> not very 2023-05-05T16:30:04 < rajkosto> the power off and power on latch is more important 2023-05-05T16:30:32 < jpa-> some i2c ADCs have extra GPIO that could drive a normal load switch 2023-05-05T16:31:25 < jpa-> INA209 and similar 2023-05-05T16:31:33 < rajkosto> the power needs to be on by default 2023-05-05T16:31:50 < jpa-> so add a pull-up 2023-05-05T16:32:36 < rajkosto> is that enough to drive the fet 2023-05-05T16:33:20 < jpa-> typically no, you'd use a load switch chip 2023-05-05T16:40:31 < rajkosto> always amplify the output of the gpio/pullup then 2023-05-05T16:56:48 < mawk> I'm trying to select the 3G USIM application but the sim card just says "invalid parameter" and nothing else 2023-05-05T16:56:54 < mawk> I think my CLA byte is wrong 2023-05-05T16:57:03 < mawk> I used the GSM CLA byte but this is a 3G thing 2023-05-05T16:57:08 < mawk> but I have no idea what to use 2023-05-05T16:57:12 < mawk> and it's very hard to google 2023-05-05T16:57:25 < mawk> I'm tempted to bruteforce it 2023-05-05T16:59:05 < mawk> I have working code to list the applications on the sim card, and then I'm issuing a SELECT command, using the application ID I got, but the card answers with "invalid parameter" crap 2023-05-05T17:05:31 < mawk> CLA appears to be 00 for 3G 2023-05-05T17:05:35 < mawk> but I tried that already 2023-05-05T17:05:38 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-05T17:10:16 < mawk> yessssssssssss it's 0-0 2023-05-05T17:10:23 < mawk> very good 2023-05-05T17:10:42 < mawk> now I can access the 3G part of the SIM card 2023-05-05T17:10:53 < mawk> I wonder if I can mix GSM and 3G commands 2023-05-05T17:13:01 < mawk> yeah it's not possible 2023-05-05T17:13:08 < mawk> that's why it didn't work before 2023-05-05T17:13:10 < mawk> sneaky 2023-05-05T17:13:29 < mawk> I have to reset the card and only use 3G commands to be able to access the 3G part 2023-05-05T17:13:54 < mawk> and of course the commands have vastly different return values, for GSM it's a simple bitfield but for 3G it's a bunch of BER-TLV encoded crap 2023-05-05T17:19:18 < Steffanx> Playing with sim cards at new job already Mr mawk? 2023-05-05T17:19:34 < mawk> yes 2023-05-05T17:20:03 < mawk> they use a spanish operator that ships cards with a PLMN list that has some dutch, UK, germoney operators, and a spain home operator 2023-05-05T17:20:08 < mawk> as well as pretty much all of latin america 2023-05-05T17:20:28 < mawk> but that means that outside these countries the modem will take ages to register as it's going through the list first 2023-05-05T17:22:17 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-05T17:23:08 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-05T17:27:05 < karlp> "ages" is like minutes right? and it's one off? 2023-05-05T17:27:30 < karlp> I mean, yeah, it's nice to have htem delivered nicely, but having to prep cards all the time for destinations is tedious too? 2023-05-05T17:29:34 < mawk> you can't prep the cards, the list gets overwritten at boot 2023-05-05T17:29:48 < mawk> what I will do is modify the device firmware to clear the list at every boot 2023-05-05T17:29:58 < mawk> yeah ages is something like 20-30 minutes 2023-05-05T17:30:07 < mawk> which is annoying during production tests it makes them fail 2023-05-05T17:31:03 < karlp> oh, I didn't think it would take that long, yeah, that's horrible. 2023-05-05T17:31:19 < mawk> in theory you can ask the operator to stop pushing this list and make the sim card "homeless" or "international" or "non-steered", and some providers do that like https://onomondo.com/product/global-iot-sim/ 2023-05-05T17:31:35 < ventYl> internet of trash 2023-05-05T17:31:42 < mawk> but getting Vodafone to do that for us has proven impossible 2023-05-05T17:32:38 < mawk> the list exists solely for cost reduction, to make the device roam on friendly networks with which the operator has good cheap roaming agreements 2023-05-05T17:33:25 < mawk> if the list is empty the device just connects to the highest power operator available; and if that fails it gets added to the forbidden PLMN list and the next one is tried 2023-05-05T17:34:00 < ventYl> are you developing automotive telematics mawk? 2023-05-05T17:34:10 < mawk> no ventYl 2023-05-05T17:34:15 < ventYl> what a shame 2023-05-05T17:35:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-05T17:38:01 < ventYl> they somehow stopped vacuuming developer market 2023-05-05T17:41:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-05T17:41:42 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-05T17:42:17 < mawk> by doing this I realized that SIM cards can be used as PKCS#15 secret device things 2023-05-05T17:42:24 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-05T17:42:35 < mawk> I don't know what a NFC-enabled SIM card has additionally though 2023-05-05T17:42:44 < mawk> the kind that is required for paying with your smartphone 2023-05-05T17:42:52 < mawk> I should look at the list of applications on one of then 2023-05-05T17:47:30 < mawk> to do stuff really properly to not disturb modem operations I should open a logical channel on the SIM and use that to do my PLMN magic and not disturb other commands 2023-05-05T17:47:33 < mawk> but it's probably hard to do 2023-05-05T17:48:16 < mawk> also depending on if the modem already talked to the SIM or not, and if it was talked to as 2G or 3G, then my commands might not work 2023-05-05T17:48:20 < mawk> why is it so complicated 2023-05-05T17:49:47 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:6cc5:603:c568:fd1f] has quit [Ping timeout: 248 seconds] 2023-05-05T17:50:13 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:80bb:8cab:f5df:8bfe] has joined ##stm32 2023-05-05T18:02:17 < mawk> everything works on my ubuntu laptop now except the webcam 2023-05-05T18:02:28 < mawk> it's not usb it's a fancy MIPI interface webcam 2023-05-05T18:02:44 < mawk> with drivers that seem hard to find 2023-05-05T18:39:28 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-05T18:49:17 < Steffanx> Since when a self respected lunixer uses Ubuntu mawk? 2023-05-05T18:49:37 < mawk> it was too annoying to set up debians 2023-05-05T18:49:42 < mawk> literally nothing was working 2023-05-05T19:01:49 < qyx> you don't know how to debian 2023-05-05T19:03:25 < jpa-> mawk has self respect? where can i get some too? 2023-05-05T19:03:55 < mawk> I've been debianning for even more time than I've been a drug addict 2023-05-05T19:04:00 < mawk> this laptop is just too nee 2023-05-05T19:04:02 < mawk> new 2023-05-05T19:04:10 < mawk> omg qwerty is messing me up 2023-05-05T19:04:17 < mawk> I should've asked for azerty 2023-05-05T19:04:31 < mawk> of course jpa- 2023-05-05T19:04:49 < mawk> I have a perfectly good opinion of myself 2023-05-05T19:06:04 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-05T19:07:59 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 264 seconds] 2023-05-05T19:08:31 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-05-05T19:23:33 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-05T19:35:35 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Ping timeout: 256 seconds] 2023-05-05T19:46:02 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-48f9-5aee-d0e3-af47.fixed6.kpn.net] has joined ##stm32 2023-05-05T19:59:29 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-48f9-5aee-d0e3-af47.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-05T20:09:33 < josuah> "azerty" -> French spotted! 2023-05-05T20:09:39 < josuah> <- in Brittany 2023-05-05T20:09:44 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 268 seconds] 2023-05-05T20:15:19 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-05T20:15:19 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-05T20:15:19 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-05T21:00:04 < Steffanx> It is known, josuah 2023-05-05T21:19:48 < qyx> what do stm32 pros think about this approach? https://paste.jvnv.net/view/5hicv 2023-05-05T21:20:53 < fenugrec> I like enums yes 2023-05-05T21:21:39 < fenugrec> I usually don't typedef though. 2023-05-05T21:26:36 < qyx> oh yes I don't either 2023-05-05T21:27:02 < qyx> I meant the enum/define combination 2023-05-05T21:28:59 < fenugrec> yea looks sane, I never liked packed bitfields, and your defines are named so that IDE autocomplete will list them along with the reg name 2023-05-05T21:52:47 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-05T22:07:46 < qyx> is the ADI even competent, another one https://bin.jvnv.net/file/ETswa/Screenshot_2023-05-05_21-07-05.png 2023-05-05T22:08:34 < qyx> I am starting to think they are joking 2023-05-05T22:12:57 < jpa-> so they made a revision of the part and still didn't fix i2c? 2023-05-05T22:13:53 < qyx> yes 2023-05-05T22:16:53 < mawk> josuah: https://youtu.be/RUWwIs9rBKo 2023-05-05T22:19:52 < josuah> Steffanx: that is just my "cocorico" knee-jerk reaction, may you ignore it 2023-05-05T22:19:54 < josuah> mawk: nice! :D 2023-05-05T22:22:10 < Steffanx> Ah a true frog, josuah 2023-05-05T23:15:02 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-05T23:15:06 -!- kaki is now known as nomorekaki 2023-05-05T23:38:47 < Steffanx> Movie nomorekaki 2023-05-05T23:39:07 < nomorekaki> ok 2023-05-05T23:39:21 < nomorekaki> gib me a minute 2023-05-05T23:40:43 < nomorekaki> did you watch Le Chant du loup when I told? 2023-05-05T23:43:21 < nomorekaki> Black Crab 2023-05-05T23:46:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:80bb:8cab:f5df:8bfe] has quit [Ping timeout: 240 seconds] 2023-05-05T23:46:10 < nomorekaki> Gigli 2023-05-05T23:49:07 < nomorekaki> Don't look up, American made 2023-05-05T23:49:37 < qyx> musiks nomorekaki 2023-05-05T23:49:50 < nomorekaki> The Brother Grimsby or anything from Sacha 2023-05-05T23:51:33 < nomorekaki> https://www.youtube.com/watch?v=FJmAGSTchtM qyx 2023-05-05T23:52:34 < nomorekaki> War Dogs 2023-05-05T23:53:24 -!- MangyDog [~Mange@82-69-39-176.dsl.in-addr.zen.co.uk] has joined ##stm32 2023-05-05T23:54:30 < nomorekaki> Steffanx: did you filter those with imdb rating? 2023-05-05T23:55:02 < Steffanx> I didn't do anything yet 2023-05-05T23:55:54 < nomorekaki> Do Revenge 2023-05-05T23:56:49 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 256 seconds] 2023-05-05T23:59:23 < nomorekaki> Ford vs. Ferrari --- Day changed la touko 06 2023 2023-05-06T00:01:29 < ColdKeyboard> Anyone have handy snippets to cycle the value like: min->max->min stop 2023-05-06T00:05:03 < nomorekaki> for(inttype i = 0; i <=sizeof( ) ; i++){ 2023-05-06T00:05:04 < nomorekaki>  if( i< sizeof()){ j = i } 2023-05-06T00:05:04 < nomorekaki>  else{j = 0} 2023-05-06T00:09:25 < nomorekaki> Steffanx: Alien(1979), The Thing(1982), Life(2017) some space monsters for you 2023-05-06T00:10:15 < nomorekaki> Anything from Kubrick 2023-05-06T00:17:58 < nomorekaki> Lapland Odyssey 2023-05-06T00:19:08 -!- qyx [~qyx@84.245.120.72] has quit [Ping timeout: 240 seconds] 2023-05-06T00:21:03 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Ping timeout (120 seconds)] 2023-05-06T00:21:20 -!- qyx [~qyx@84.245.121.44] has joined ##stm32 2023-05-06T00:21:50 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-06T00:21:50 -!- kaki is now known as nomorekaki 2023-05-06T00:22:54 < nomorekaki> Steffanx: choose or ask for more 2023-05-06T00:23:32 < Steffanx> Lol. It's actually too late to start a movie now 2023-05-06T00:24:26 < nomorekaki> I didn't say about watching it 2023-05-06T00:24:32 < nomorekaki> but choosing 2023-05-06T00:24:36 < qyx> time to play some nordic musiks 2023-05-06T00:24:49 < qyx> instead I am reading a fifo 2023-05-06T00:24:57 < nomorekaki> do both 2023-05-06T00:35:00 < nomorekaki> Steffanx: no sleep now 2023-05-06T00:36:07 < nomorekaki> you need to match the effort by processing information I gave you 2023-05-06T00:36:31 < Steffanx> Why not? Should I stay up and play night patrol? 2023-05-06T00:37:06 < nomorekaki> not necessary 2023-05-06T00:46:37 < nomorekaki> I'm getting feeling Steff didn't need a movie at all 2023-05-06T00:47:43 < nomorekaki>  ( ˘ ^˘ )=3 2023-05-06T01:43:22 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 276 seconds] 2023-05-06T01:46:11 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-06T01:47:19 < fenugrec> I thought dutch just smoked cigarettes and raced bikes in 100km/h winds for amusement, not watch movies 2023-05-06T01:50:11 < nomorekaki> probs 2023-05-06T01:57:26 < qyx> some epics https://m.youtube.com/watch?v=xMEdqx3MdZA&pp=ygUVYm9ub2JvIGxpdmUgYW1hdGVyZGFt 2023-05-06T02:02:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-06T02:12:03 < nomorekaki> bonobo 2023-05-06T02:29:03 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-06T02:42:28 -!- MangyDog [~Mange@82-69-39-176.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 240 seconds] 2023-05-06T03:14:34 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-06T03:17:08 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-06T04:15:23 < ColdKeyboard> Is there a standard name for function for mapping RGB value to LED RGB value? I assume you need some linear to log conversion? 2023-05-06T04:23:32 < fenugrec> look at gamma curves for a start 2023-05-06T04:25:13 < fenugrec> and for proper color gradient effects you may have to translate from (s)RGB to Lab, LUV or some other perceptual space. Usually overkill and quite a deep rabbit hole 2023-05-06T04:26:25 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-06T04:28:07 < fenugrec> ColdKeyboard, search on hackaday there was one pretty good article on LED color management 2023-05-06T05:39:39 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 256 seconds] 2023-05-06T05:43:48 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-06T05:51:44 -!- Suspect [~rod@pa49-197-49-90.pa.qld.optusnet.com.au] has joined ##stm32 2023-05-06T05:52:16 -!- Suspect [~rod@pa49-197-49-90.pa.qld.optusnet.com.au] has quit [Remote host closed the connection] 2023-05-06T05:56:45 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-06T07:04:05 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Quit: Leaving] 2023-05-06T07:43:09 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-06T07:43:09 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-06T07:43:09 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-06T07:45:26 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-06T07:59:16 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-06T10:24:57 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f1ce-f884-364a-370c.fixed6.kpn.net] has joined ##stm32 2023-05-06T10:25:32 < Steffanx> nomorekaki you were correct :P 2023-05-06T11:40:42 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f1ce-f884-364a-370c.fixed6.kpn.net] has quit [Ping timeout: 250 seconds] 2023-05-06T12:27:05 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 256 seconds] 2023-05-06T12:41:42 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-05-06T13:36:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e1a7-936f-2585-939c.fixed6.kpn.net] has joined ##stm32 2023-05-06T13:37:18 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-06T13:42:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e1a7-936f-2585-939c.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-06T13:58:09 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-06T13:58:31 -!- ventYl [~ventyl@bband-dyn252.95-103-60.t-com.sk] has quit [Ping timeout: 240 seconds] 2023-05-06T14:25:09 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-06T14:28:42 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-06T14:48:24 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-06T14:48:34 < Laurence_b> muh kang 2023-05-06T14:48:39 < Laurence_b> this is cringe 2023-05-06T14:53:52 < nomorekaki> sup 2023-05-06T14:54:18 < Laurence_b> apparently you get locked up for protesting the monarchy now 2023-05-06T14:54:25 < Laurence_b> make britain 1600 again 2023-05-06T14:54:53 < nomorekaki> charles at it now? 2023-05-06T14:54:56 < Laurence_b> yeah 2023-05-06T14:55:20 < nomorekaki> people have forgot what monarchy is about 2023-05-06T15:01:16 < nomorekaki> you dont have anything to worry about Laurence_b? 2023-05-06T15:01:30 < nomorekaki> right? 2023-05-06T15:01:44 < Laurence_b> I think I'm currently outside of the wrongthink arrest zone 2023-05-06T15:03:30 < Laurence_b> kek aandrew robe carrying boy 2023-05-06T15:03:37 < Laurence_b> wtf autocorrect 2023-05-06T15:04:31 < Laurence_b>  "carry my robe, bitch boy!" 2023-05-06T15:08:14 < nomorekaki> quickly you must become transecual 2023-05-06T15:09:25 < nomorekaki> and other things 2023-05-06T15:12:45 < nomorekaki> non-stick coating ensures they don't come after you first 2023-05-06T15:26:35 < Laurence_b> lol crowd is all filming on smartphones 2023-05-06T15:26:59 < Laurence_b> they dont seem to realise they could just find better footage later on internets if they want to watch again 2023-05-06T15:31:34 < nomorekaki> you haven't seen crowd behaivour latelly? 2023-05-06T15:31:38 < Laurence_b> the carriage looks cheap and tacky 2023-05-06T15:31:50 < Laurence_b> yeah filming everything has been standard for years 2023-05-06T15:49:29 < Steffanx> seems you are interested enough to actually watch this shit Laurence_b 2023-05-06T15:52:32 < nomorekaki> he is secretly a big fan 2023-05-06T15:58:48 < Steffanx> yeah a true brit 2023-05-06T15:59:16 < nomorekaki> so are you steff 2023-05-06T16:03:36 < specing> Laurence_b: smart phones for dumb people 2023-05-06T16:06:23 < Laurence_b> someone should put some suspension dampers on the carriage 2023-05-06T16:06:34 < Laurence_b> oh wait it hasnt been updated since 1700, fail 2023-05-06T16:06:55 < Laurence_b> the "B tier celebs" Victorian carriage looks way more pro 2023-05-06T16:08:25 < Steffanx> since when im a true brit nomorekaki ?!?!?! 2023-05-06T16:08:55 < nomorekaki> idk about that 2023-05-06T16:09:00 < Steffanx> me neither 2023-05-06T16:16:35 < Laurence_b> wow this is cringe 2023-05-06T16:16:56 < Laurence_b> >we have policing by consent, look how few police officers there are 2023-05-06T16:17:17 < Laurence_b> >literally police in balaclavas with machine guns every 2m along all the roads 2023-05-06T16:38:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f04b-5ff5-e300-2700.fixed6.kpn.net] has joined ##stm32 2023-05-06T17:05:48 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f04b-5ff5-e300-2700.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-06T17:06:15 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-06T17:20:36 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-06T17:24:23 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Ping timeout: 245 seconds] 2023-05-06T18:16:45 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-06T18:27:21 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-06T18:32:11 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-05-06T18:46:08 -!- sugarbeet [~barbas@81.4.123.134] has quit [Ping timeout: 248 seconds] 2023-05-06T18:54:28 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-05-06T20:08:06 < qyx> so I placed two orders at Aisler, on the same day, within the same hour, with the same process 2023-05-06T20:08:34 < qyx> one was shipped 2023-05-03, the other one is still not shipped 2023-05-06T20:09:07 < qyx> as usual, the missing one is the one I need earlier 2023-05-06T20:13:44 < mawk> lol 2023-05-06T20:14:27 < mawk> maybe they need a special machine or process for the other one 2023-05-06T20:14:50 < mawk> but you said that no 2023-05-06T20:22:53 -!- mlaga97 [~quassel@user/mlaga97] has quit [Remote host closed the connection] 2023-05-06T20:24:03 -!- mlaga97 [~quassel@user/mlaga97] has joined ##stm32 2023-05-06T20:25:41 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 268 seconds] 2023-05-06T20:27:58 < karlp> and as usual, they promised they'd ship together? no shopping cart yet? morons. 2023-05-06T20:41:28 < qyx> no shopping cart 2023-05-06T20:45:30 < qyx> cortex-m85, i am starting to hate them 2023-05-06T20:48:56 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-05-06T21:08:53 < Steffanx> Why? 2023-05-06T21:09:24 < zyp> what m85 do you have that's in the wild already? 2023-05-06T21:10:56 < qyx> it is becoming too complex and if ARM really plans to change their licensig model, I am quite hesitant to even look into it 2023-05-06T21:11:51 < zyp> look into what? are you designing your own chip? 2023-05-06T21:14:30 < zyp> at a glance, m85 mostly looks to be to m55 what m7 is to m4 2023-05-06T21:15:59 < qyx> into it = what features does it offer, m55 too 2023-05-06T21:16:06 < qyx> I am frozen at m7 now 2023-05-06T21:16:29 < qyx> I haven't done any m23/m33 design yet 2023-05-06T21:18:49 < zyp> from what I've seen so far, m33 is mostly just a m4 with trustzone (and trustzone is even optional) 2023-05-06T21:20:00 < zyp> that's what all the cool kids are putting in their mcus now 2023-05-06T21:20:25 < zyp> e.g. nrf91, nrf53, stm32l5/u5/h5 2023-05-06T21:21:59 < zyp> hmm, m55 and m85 are both comparable to m7 2023-05-06T21:22:19 < zyp> m55 is a bit slower than m7 and m85 is a bit faster 2023-05-06T21:22:23 < qyx> u5 I am planning to use soo 2023-05-06T21:22:25 < qyx> n 2023-05-06T21:23:03 < zyp> from my understanding, all the stm32 with trustzone have an enable bit for it in the option bytes that defaults to off 2023-05-06T21:23:20 < zyp> so without that, you can just treat it like an m4 2023-05-06T21:24:01 < zyp> https://documentation-service.arm.com/static/6267de1c7e121f01fd22d677 2023-05-06T21:24:07 < zyp> good overview 2023-05-06T21:49:46 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 276 seconds] 2023-05-06T21:51:24 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 268 seconds] 2023-05-06T22:06:45 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-06T22:11:45 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 268 seconds] 2023-05-06T22:13:22 -!- drzacek [~drzacek@2a01:3d8:345:7c00:1d31:29f3:7857:da59] has joined ##stm32 2023-05-06T22:24:07 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-06T22:30:01 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 2023-05-06T22:44:51 -!- drzacek [~drzacek@2a01:3d8:345:7c00:1d31:29f3:7857:da59] has quit [Quit: Leaving] 2023-05-06T22:45:49 < nomorekaki> does avr execute 2 part instructions without interrupt? 2023-05-06T22:47:00 < nomorekaki> and interrupt restores all the registers it uses 2023-05-06T22:48:17 < nomorekaki> is there any other reason to use atomic block than 2 part register copy? or otherwise when you don't want interrupts for timing purposes? 2023-05-06T22:50:08 < nomorekaki> 2 cycle instructions* 2023-05-06T22:51:48 < nomorekaki> it seems to be the case 2023-05-06T22:52:01 < nomorekaki> at some point I just started to add atomic everywhere 2023-05-06T22:56:00 < nomorekaki> to "protect registers" 2023-05-06T22:58:18 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-06T23:32:00 -!- Suspect [~rod@211.30.78.14] has joined ##stm32 2023-05-06T23:38:29 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] --- Day changed su touko 07 2023 2023-05-07T00:15:58 < nomorekaki> chats killed 2023-05-07T00:32:47 < Steffanx> AVR did it 2023-05-07T00:50:14 < specing> nomorekaki: wasn't there an AVR channel? 2023-05-07T00:50:39 < nomorekaki> got it figured out 2023-05-07T00:56:48 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Ping timeout: 248 seconds] 2023-05-07T00:59:19 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-05-07T01:00:26 < qyx> TIL foldable lattice tower or how is that thing called properly 2023-05-07T01:00:40 < qyx> a millitary one but not telescopic 2023-05-07T01:13:25 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-07T02:06:40 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Quit: Bye] 2023-05-07T02:07:10 -!- Netsplit *.net <-> *.split quits: ds2, ColdKeyboard, oz4ga, dobson, fenugrec, qyx, jmcgnh, duude__ 2023-05-07T02:07:10 -!- Suspect [~rod@211.30.78.14] has quit [Quit: Leaving] 2023-05-07T02:07:36 -!- Netsplit over, joins: oz4ga 2023-05-07T02:07:58 -!- Netsplit over, joins: fenugrec 2023-05-07T02:08:24 -!- Netsplit over, joins: dobson 2023-05-07T02:09:18 -!- Netsplit over, joins: duude__, ColdKeyboard 2023-05-07T02:12:26 -!- qyx [~qyx@84.245.121.44] has joined ##stm32 2023-05-07T02:17:54 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-05-07T02:18:01 < englishman> ##avr used to be huge maybe it’s still around 2023-05-07T02:24:25 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2023-05-07T02:56:39 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-07T02:56:39 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-07T02:56:39 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-07T04:18:14 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-07T04:23:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 250 seconds] 2023-05-07T04:33:16 < karlp> nomorekaki: thanks for the stellardrone, nice little detour 2023-05-07T04:58:41 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-07T05:04:48 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-07T05:05:43 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-07T07:01:24 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-07T07:17:38 -!- fengdaolong [~fengdaolo@111.48.159.214] has joined ##stm32 2023-05-07T07:20:38 -!- fengdaolong [~fengdaolo@111.48.159.214] has quit [Client Quit] 2023-05-07T07:27:52 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-07T07:30:10 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-07T07:43:59 < jadew> some google answers are so fucked up... 2023-05-07T07:44:17 < jadew> if you ask how to dress to the opera it tells you however you want and gives you this picture: https://cdn.opera.org.au/2021/01/19160407/last-night-eg3-750x500-1.png 2023-05-07T07:44:53 < jadew> in which you can clearly see that the guy dressed as a kindergartener is severely underdressed compared to the people in the background 2023-05-07T07:45:10 < jadew> "dress like this for a memorable experience" 2023-05-07T07:51:54 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-07T10:05:46 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-07T10:08:53 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-07T10:41:21 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-05-07T10:44:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-07T10:50:24 -!- ventYl [~ventyl@adsl-dyn244.91-127-122.t-com.sk] has joined ##stm32 2023-05-07T10:57:41 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-07T11:13:45 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-07T11:19:59 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-07T11:52:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-05-07T12:55:17 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-07T12:57:58 -!- ventYl_ [~ventyl@bband-dyn121.95-103-97.t-com.sk] has joined ##stm32 2023-05-07T12:58:05 -!- ventYl [~ventyl@adsl-dyn244.91-127-122.t-com.sk] has quit [Ping timeout: 240 seconds] 2023-05-07T13:20:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-2157-7e05-7cac-4b30.fixed6.kpn.net] has joined ##stm32 2023-05-07T14:32:48 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-07T14:50:37 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-07T15:27:15 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-07T15:56:47 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-07T16:25:49 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-07T16:28:23 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 250 seconds] 2023-05-07T16:30:18 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-07T16:30:26 < Laurence_b> there is some retarded sheeet in the street, the absolute state 2023-05-07T16:30:41 < Laurence_b> >proclaim ur loyalty to teh kang 2023-05-07T16:34:07 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-2157-7e05-7cac-4b30.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-05-07T16:49:06 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-584b-e922-aa0d-579e.fixed6.kpn.net] has joined ##stm32 2023-05-07T16:51:59 < nomorekaki> do python assing operation return the value? 2023-05-07T16:52:10 < nomorekaki> like in C 2023-05-07T16:52:40 < nomorekaki> if var = func(): 2023-05-07T16:55:44 < nomorekaki> apparently not 2023-05-07T17:03:29 < zyp> you can use := if you want that 2023-05-07T17:04:05 < zyp> regular = can't be used in an expression, to avoid bugs due to mistyping == 2023-05-07T17:13:41 < nomorekaki> ah 2023-05-07T17:14:16 < nomorekaki> what is it called? 2023-05-07T17:15:23 -!- kraiskil [~kraiskil@mob-194-230-161-60.cgn.sunrise.net] has joined ##stm32 2023-05-07T17:22:12 < nomorekaki> decode_output = += '0x%02X' % self.frame_data_msb 2023-05-07T17:22:22 < nomorekaki> () or {} or []? 2023-05-07T17:24:57 < nomorekaki> none of them 2023-05-07T17:28:54 < nomorekaki> ah 2023-05-07T17:29:02 < nomorekaki> I had a typo 2023-05-07T17:29:18 < nomorekaki> there is double assign 2023-05-07T17:32:47 < nomorekaki> I thought python gave me trouble 2023-05-07T17:32:58 < nomorekaki> but it never happens 2023-05-07T17:34:52 < Steffanx> im glad we could help you out, nomorekaki 2023-05-07T17:36:28 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Ping timeout: 245 seconds] 2023-05-07T17:56:59 -!- kraiskil [~kraiskil@mob-194-230-161-60.cgn.sunrise.net] has quit [Ping timeout: 268 seconds] 2023-05-07T18:06:10 -!- catphish [~catphish@user/catphish] has quit [Read error: Connection reset by peer] 2023-05-07T18:06:16 -!- catphish_ [~catphish@user/catphish] has joined ##stm32 2023-05-07T18:11:09 < zyp> bikeshedding time: I want to do a bootloader solution where the image is received by regular application and stashed in a spare area of the flash, and then after reset, a bootloader runs, checks if there's a new image, and writes it over the application area of the flash 2023-05-07T18:11:50 < zyp> i.e. poor man's version of a dual bank bootloader 2023-05-07T18:13:02 < zyp> so, the bikeshedding part: how do I check whether there's a new image, and how do I encode the necessary metadata? 2023-05-07T18:13:47 < zyp> security is not a concern, so I need neither encryption nor cryptographic signing 2023-05-07T18:18:44 < zyp> I figure as a minimum, the image needs length+checksum 2023-05-07T18:19:49 < zyp> then the check could be as simple as checking if length != 0xffffffff, then double checking that checksum is correct, and then after bootloading, erase the page that contains the header 2023-05-07T18:53:22 < zyp> karlp, I added per-target linker script generation: https://paste.jvnv.net/view/x1QaH 2023-05-07T18:53:43 < zyp> first step towards being able to determine all that shit automatically 2023-05-07T18:55:46 < zyp> eventually I want to be able to just tell it I want 8k for bootloader, rest for application, and then it looks at the chip spec and automatically works out what goes where 2023-05-07T19:01:52 < jpa-> compile for position independent code and you can just jump to the other location 2023-05-07T19:02:21 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-07T19:02:30 < zyp> have you done that in practice? 2023-05-07T19:04:56 < zyp> doesn't PIC typically just bundle a bunch of metadata of where pointers have to be updated to relocate the app? kinda like dynamic linking 2023-05-07T19:05:56 < zyp> since you can't just rewrite flash, it means you'd have to resolve that when you're receiving the new image 2023-05-07T19:14:07 < zyp> anyway, I figure something like this should do it: https://paste.jvnv.net/view/oyGay 2023-05-07T19:14:40 < zyp> s/first page of image/image header/ 2023-05-07T19:14:40 -!- [_] is now known as [itchyjunk] 2023-05-07T19:19:31 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-584b-e922-aa0d-579e.fixed6.kpn.net] has quit [Ping timeout: 256 seconds] 2023-05-07T19:20:09 < qyx> zyp: I am using a cbor-encoded firmware header,in the past I was using the same but not called cbor, it was a generic tag-length-value 2023-05-07T19:20:54 < qyx> as the fir ware scratchpad area I am using an external nor flash but nothing prevents doing the same using the internal flash 2023-05-07T19:21:33 < qyx> and as per the metadata, I was using a dedicated bootloader configuration file on the flash (spiffs) 2023-05-07T19:21:58 < qyx> or, in another bootloader, I am using backup registers 2023-05-07T19:22:32 < zyp> I'm going for simplicity in this case 2023-05-07T19:22:52 < qyx> and the erasing part, I was not erasing anything 2023-05-07T19:23:25 < qyx> I had a config option saying which version of the image I want to have 2023-05-07T19:24:01 < qyx> so if they differ, update 2023-05-07T19:25:45 < qyx> regarding PIC and .gotand things, for the purpose of dual app image booting a specific type of PIC is needed without any metadata 2023-05-07T19:25:56 < qyx> only the .text needs to be position independent 2023-05-07T19:26:08 < qyx> the rest is constant offset 2023-05-07T19:26:29 < qyx> I was playing with it in the past but did not succeed 2023-05-07T19:27:27 < qyx> oh and vtor 2023-05-07T19:27:29 < zyp> https://paste.jvnv.net/view/M1Uqr 2023-05-07T19:27:47 < zyp> I guess something like this should do 2023-05-07T19:29:59 < zyp> I like the crc variants that gives a result of zero or all ones when you just calculate a crc that includes the checksum, figure I'll use one of those 2023-05-07T19:30:18 < zyp> so just checksum at end, then length at beginning 2023-05-07T19:34:18 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-07T19:34:42 < qyx> too simple 2023-05-07T19:35:57 < zyp> I think it should be good enough for what I'm doing 2023-05-07T19:38:31 < zyp> the reason I'm even bothering with a bootloader is because this is for the management mcus on the testrack stuff, and it'd be too tedious to manually have to update each of them when I make a change 2023-05-07T19:41:09 < zyp> and the reason I'm doing an «offline» bootloader is because I don't want duplicate protocol handling, and I don't really need the redundancy/ability to recover from a bad firmware 2023-05-07T19:46:50 < zyp> as for the protocol, I'll be using protobuf rpc for it 2023-05-07T19:47:10 < zyp> including protobuf rpc over protobuf rpc :) 2023-05-07T20:07:03 < qyx> do you have your own lib or using nanopb? 2023-05-07T20:07:39 < qyx> does protonium do serdes too? 2023-05-07T20:09:48 -!- ventYl [~ventyl@bband-dyn121.95-103-97.t-com.sk] has joined ##stm32 2023-05-07T20:12:04 < nomorekaki> recommend CSV plotters 2023-05-07T20:12:08 < nomorekaki> datplot? 2023-05-07T20:13:28 < nomorekaki> it needs to be quite versatile 2023-05-07T20:15:01 -!- Netsplit *.net <-> *.split quits: ventYl_ 2023-05-07T20:21:48 < zyp> qyx, protonium is intended to be framework agnostic, so it doesn't provide any transports itself, but is designed to be able to plug into any frame transport, whether sync or async 2023-05-07T20:23:57 < zyp> I'm planning to add laks-based building blocks to laks 2023-05-07T20:28:06 < zyp> the transport API is pretty simple, you have to call dispatcher.handle() with the request message, and you have to provide send_response() / send_error() to handle the response 2023-05-07T20:28:39 < zyp> https://paste.jvnv.net/view/YFStW 2023-05-07T20:31:06 < zyp> whatever your service call handlers are returning is passed to send_response() and whatever send_response() is returning is passed back up through dispatcher.handle() so you're free to use async futures if you want, or simply do everything in a blocking fashion if that fits your framework better 2023-05-07T20:33:39 < zyp> and similar on the host/python side: https://paste.jvnv.net/view/gygh9 2023-05-07T20:34:17 < zyp> on the python side, a transport is just something implementing call() taking a buffer and returning a buffer 2023-05-07T20:35:27 < zyp> if call() is async then so will each service method be, otherwise everything is plain sync 2023-05-07T20:48:51 < zyp> speaking of RPC; next bikeshedding question is how a generic bootloader RPC service should look 2023-05-07T20:52:37 < zyp> generic in the sense that I'd like it to be suitable for multiple bootloader styles; both this offline kind of writing to a scratch memory, dual bank ping-pong, or talking directly to the bootloader that writes the application area directly 2023-05-07T20:55:35 < zyp> it should also be image format agnostic, i.e. just providing a way to supply an update image 2023-05-07T20:58:55 < zyp> I like the prepare/send_chunk/finalize sequence of commands, and there should probably also be a reset command, that optionally takes a reset target for where «reset to bootloader» and «reset to application» makes sense (or reset to a specific bank) 2023-05-07T20:59:40 < zyp> and probably a status command that returns what the current version is, and what mode it's currently in (for when it has modes) 2023-05-07T21:00:47 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-05-07T21:23:28 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-07T22:22:00 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 260 seconds] 2023-05-07T22:43:50 < qyx> zyp: I decided not to go this way, I have interfaces/rpc for filesystem operations, flash access, block device access 2023-05-07T22:44:14 < qyx> I am preparing a generic configuration access interface 2023-05-07T22:44:30 < qyx> so the bootloader just implements what's appropriate 2023-05-07T22:57:11 < zyp> okay, things appears to work: https://paste.jvnv.net/view/isp38 2023-05-07T22:58:09 < zyp> flash is written 64b at a time, so I made the image header two words 2023-05-07T22:58:36 < ventYl> zyp: for talking remotely to MCU, I simply used automotive ISO 14229-4 a.k.a. UDS 2023-05-07T22:58:56 < ventYl> it is binary garbage, but on the other hand, it is simple enough, that you can write 1kB bootloader, which understands it 2023-05-07T23:07:55 < qyx> yeah but zyp is modern enough to use c++ with async on embedded 2023-05-07T23:08:25 < qyx> that means automotive stuff is probably at leas two decades old for him 2023-05-07T23:18:22 < zyp> I'm probably gonna run protonium over ISO-TP over CAN at some point 2023-05-07T23:25:52 < qyx> I replaced iso-tp with a simpler approach ventYl doesn't like 2023-05-07T23:26:08 < qyx> encoding fragmentation data as a part of the ID 2023-05-07T23:46:10 < catphish_> musics: absolutely addicted to cheesy EDM and happy hardcore right now https://www.youtube.com/watch?v=uJUZWnpiunw 2023-05-07T23:59:00 < karlp> fuckin silabs doesn't let you change your account email address. --- Day changed ma touko 08 2023 2023-05-08T00:03:33 < catphish_> karlp: i found most things don't 2023-05-08T00:04:18 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-08T00:04:28 < catphish_> after having my own company for 15 years and now not, i have several such accounts that can't transfer to my personal email 2023-05-08T00:04:43 < karlp> It's the vast minority that don't allow it. 2023-05-08T00:04:56 < zyp> that's why I never use my work email for anything not strictly work related 2023-05-08T00:05:06 < catphish_> maybe "most things" is an exaggeration 2023-05-08T00:05:17 < qyx> most things for me too 2023-05-08T00:05:32 < qyx> I mean, they use my email as login 2023-05-08T00:05:33 < catphish_> but enough to be annoying 2023-05-08T00:05:41 < karlp> yeah, some of these things _needed_ "work" emails, but I was hoping to migrate the email in the back now for some of them 2023-05-08T00:06:05 < catphish_> the "work" email thing seems like nonsense 2023-05-08T00:06:09 < zyp> my private email is my work email for my side business :) 2023-05-08T00:06:32 < catphish_> i mean, if i'm plotting a startup i'm not going to have a "work" email yet 2023-05-08T00:06:42 < qyx> try to explain it to a $company on Interwebs 2023-05-08T00:07:39 < catphish_> maybe i'm in the minority, but if i want to build a product startup, i will not bother to name my company, buy domains, set up corporate email, until i at least have a basic prototype, for which i need datasheets :) 2023-05-08T00:07:55 < catphish_> the idea that people woud do things in a different order seems absurd 2023-05-08T00:08:06 < zyp> I think it's been eight years now since I registered my company, still don't see a need to have a separate email account for it 2023-05-08T00:08:28 < zyp> catphish_, I'm past that point, I've got a product on the market 2023-05-08T00:08:54 < catphish_> i reaise they would probably rather do business with larger more extablished companies, but having a non-gmail address is hardly proof of that 2023-05-08T00:09:22 < qyx> catphish_: you are doing it wrong 2023-05-08T00:09:45 < qyx> haven't you read any startup tutorials? 2023-05-08T00:09:49 < catphish_> i'm probably doing something wrong, i have been sitting on my ass for 2 years now with no products to speak of 2023-05-08T00:11:32 < zyp> my little side business is apparently now a «Valued Supplier» to one of the big semiconductor corps 2023-05-08T00:12:02 < catphish_> are people writing too much code? i spent the last 2 weeks designing a low cost STM32G4 board to run my favourite flight conteol software, had to throw the whole thing away in the end because they require 512KB of flash, "fuck" 2023-05-08T00:12:08 < zyp> they ordered a bunch of orbtraces last year, very corporate procedures 2023-05-08T00:12:45 < catphish_> i probably should have checked before i started, good lesson learned 2023-05-08T00:12:57 < zyp> but apparently they were happy with them, because they emailed me a week or two ago with a RFQ for more 2023-05-08T00:14:17 < catphish_> on the plus side, i got to practice doing to slightly more dense PCB layout than i'm usually comfortable with https://i.imgur.com/Jes9Bn6.png 2023-05-08T00:15:02 < qyx> 1. register domain 2. find investors 3. use some money to do a marketing web 4. wait for more money 2023-05-08T00:15:05 < qyx> ... 2023-05-08T00:15:09 < qyx> 46. start working on a prototype 2023-05-08T00:15:18 < catphish_> qyx: it's funny because it's true 2023-05-08T00:15:25 < zyp> heh 2023-05-08T00:15:34 < qyx> and in the end 2023-05-08T00:15:48 < catphish_> ...it doesn't even matter 2023-05-08T00:15:53 < qyx> 90. after 5 rounds of investments realise the product is no longer feasible to manufacture 2023-05-08T00:16:06 < catphish_> lol 2023-05-08T00:16:42 < zyp> for me it's more like 1. I need this tool, 2. design tool, 3. maybe other people also need this, let's make a bunch and sell it 2023-05-08T00:16:59 < qyx> yeah but your approach is not money driven 2023-05-08T00:17:09 < catphish_> zyp: that's 100% how i used to work 2023-05-08T00:17:42 < qyx> me too and it is starting to work but not as much as I would like it to 2023-05-08T00:17:54 < catphish_> zyp: it's annoying, the more you're doing, the more good ideas you have for products, and have no time to make them 2023-05-08T00:18:20 < catphish_> but now i'm sitting around doing nothing, i have no problems to solve, so no product ideas 2023-05-08T00:18:25 < qyx> I have about 30 products in progress now 2023-05-08T00:18:35 -!- Miyu [~hackkitte@2a00:6020:5090:5700::35e] has joined ##stm32 2023-05-08T00:18:47 < catphish_> qyx: that's pretty much why i lost my sanity and quit completely 2023-05-08T00:18:49 < qyx> and it gives me headaches 2023-05-08T00:19:20 < qyx> I am not about to lose my sanity again, I did that 3 times in the past 2023-05-08T00:19:28 -!- hackkitten [~hackkitte@94.31.98.136] has quit [Ping timeout: 240 seconds] 2023-05-08T00:19:36 < qyx> every single time it was at least 6 months of nothing 2023-05-08T00:20:04 < catphish_> i've been doing nothing (except building toys for myself) since september 2021 2023-05-08T00:21:14 < catphish_> this month i'm getting good at flying multirotors, basically a leech on society for now 2023-05-08T00:24:23 -!- qyx [~qyx@84.245.121.44] has quit [Ping timeout: 256 seconds] 2023-05-08T00:26:11 -!- qyx [~qyx@84.245.120.224] has joined ##stm32 2023-05-08T00:27:46 -!- Miyu [~hackkitte@2a00:6020:5090:5700::35e] has quit [Read error: Connection reset by peer] 2023-05-08T00:28:11 -!- hackkitten [~hackkitte@94.31.98.136] has joined ##stm32 2023-05-08T00:36:17 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 256 seconds] 2023-05-08T01:15:46 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-08T01:20:23 < zyp> https://bin.jvnv.net/file/zrggI.mp4 2023-05-08T01:32:24 < sauce> burnout gang 2023-05-08T01:47:02 < Mangy_Dog> py uploading firmware to stm? 2023-05-08T01:47:07 < Mangy_Dog> on the fly 2023-05-08T01:51:57 < zyp> through a protobuf rpc over usb, yes 2023-05-08T01:53:18 < zyp> not really all that exciting in itself, if this was the end goal it could have been served just as well with e.g. DFU 2023-05-08T01:54:20 < josuah> I think I recognize that carrier board... 2023-05-08T01:54:26 < zyp> you do :) 2023-05-08T01:55:25 < zyp> the whole point of this exercise is that I can use the same RPC to flash both this carrier board over USB, and all the other carrier boards over I2C, just by replacing the transport under the RPC layer 2023-05-08T01:56:00 < zyp> effectively giving me a unified solution for the entire rack 2023-05-08T01:58:17 < josuah> time to get scalable I guess! 2023-05-08T01:58:57 < zyp> well, I've already got five target carriers, plus this 2023-05-08T01:59:12 < zyp> manually updating firmware across six boards wouldn't be much fun 2023-05-08T02:01:00 < zyp> I'm also planning to run a common firmware across all of them (and also the backplane when that gets a management mcu) 2023-05-08T02:02:58 < zyp> should mainly be a matter of checking if the microcontroller has usb before starting the usb task :) 2023-05-08T02:03:22 < josuah> I was about to ask that! 2023-05-08T02:04:16 < josuah> That is where using MCUs is fun to me: split a design in several identical parts, and use the same firmware on each part: conquer and divide 2023-05-08T02:04:32 < josuah> the exact opposite of Tesla it seems: group for cost-saving 2023-05-08T02:04:32 < zyp> the microcontrollers are g0b1 vs g071 and hooked up with mostly compatible footprints 2023-05-08T02:04:52 < zyp> and I'm already compiling the code so it doesn't use more ram than the g071 has 2023-05-08T02:05:57 < zyp> so the only other difference I really need to account for is the fact that it doesn't have USB and the related HSI48, so attempting to start HSI48 and waiting for it will never succeed 2023-05-08T03:31:06 -!- qyx [~qyx@84.245.120.224] has quit [Ping timeout: 268 seconds] 2023-05-08T03:32:51 -!- qyx [~qyx@84.245.120.49] has joined ##stm32 2023-05-08T04:08:05 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-08T04:28:10 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 250 seconds] 2023-05-08T04:30:07 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-08T04:41:30 -!- rajkosto [~rajkosto@178-221-110-83.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 2023-05-08T04:57:56 -!- rajkosto [~rajkosto@178.220.170.39] has joined ##stm32 2023-05-08T05:23:41 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 265 seconds] 2023-05-08T06:05:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-08T06:25:35 -!- ventYl [~ventyl@bband-dyn121.95-103-97.t-com.sk] has quit [Ping timeout: 250 seconds] 2023-05-08T07:30:22 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-08T07:33:15 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-08T08:04:41 < jpa-> zyp: i have done position independent code on STM32, but only for fragments and not for full firmware; PC-relative stuff works very well, but vector table would be annoying 2023-05-08T08:40:34 -!- rajkosto [~rajkosto@178.220.170.39] has quit [Read error: Connection reset by peer] 2023-05-08T09:31:39 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 260 seconds] 2023-05-08T09:35:46 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-08T09:35:46 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-08T09:35:46 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-08T09:53:11 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-08T10:20:54 -!- ventYl [~ventyl@bband-dyn121.95-103-97.t-com.sk] has joined ##stm32 2023-05-08T10:21:17 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-08T10:58:50 < qyx> jpa-: for code fragments == plugins? 2023-05-08T10:59:01 < qyx> did you handle .data/bss too? 2023-05-08T10:59:19 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-88fd-b17b-13cd-9716.fixed6.kpn.net] has joined ##stm32 2023-05-08T11:05:58 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-88fd-b17b-13cd-9716.fixed6.kpn.net] has quit [Ping timeout: 250 seconds] 2023-05-08T11:22:11 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-08T11:22:11 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-08T11:22:11 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-08T11:43:51 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-08T11:44:56 -!- IanW [~IceChat9@arcanum.force9.co.uk] has joined ##stm32 2023-05-08T11:48:00 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 250 seconds] 2023-05-08T11:50:13 < jpa-> qyx: actually a second stage bootloader stub, but yeah, basically a function that gets loaded to RAM somewhere and jumped to 2023-05-08T11:50:29 < jpa-> and no, stack only 2023-05-08T12:06:39 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c5f5:7556:404e:e5d1] has joined ##stm32 2023-05-08T12:25:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-08T12:26:46 < zyp> yeah, PC relative functions seems easy enough, but doing a full PIC firmware seems unfeasible without either spending effort on rewriting it on the fly while flashing, or moving stuff like the vector table to ram so it can be generated at runtime 2023-05-08T12:28:22 < zyp> at around ten years ago, a coworker at the place I worked at a time made a solution based on a simplified variant on the first 2023-05-08T12:31:05 < zyp> instead of building the code as PIC, he linked it twice for different offsets, did a binary diff and packed them together organized into common, only A and only B segments 2023-05-08T12:31:32 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-08T12:31:47 < zyp> and then the flashing code skipped either A or B segments depending on where it was written 2023-05-08T12:32:45 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5321))] 2023-05-08T12:32:50 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-08T12:40:18 -!- Suspect [~rod@211.30.163.139] has joined ##stm32 2023-05-08T12:42:48 < ventYl> that's also the conclusion I came to 2023-05-08T12:43:02 < ventYl> PIC is almost useless, because you have to move everything 2023-05-08T12:43:21 -!- IanW [~IceChat9@arcanum.force9.co.uk] has quit [Quit: Bye] 2023-05-08T12:54:16 -!- Suspect [~rod@211.30.163.139] has quit [Quit: Leaving] 2023-05-08T13:31:19 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-c1ee-7e54-5fa8-f2ee.fixed6.kpn.net] has joined ##stm32 2023-05-08T13:33:59 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 256 seconds] 2023-05-08T13:33:59 -!- martinmoene1 is now known as martinmoene 2023-05-08T13:36:02 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-08T13:38:59 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Ping timeout: 260 seconds] 2023-05-08T13:51:01 < karlp> zyp: the linker section overrides looks nice, but I'd still like to be able to call selectmcu more than once... 2023-05-08T13:51:25 < karlp> I want to do a "miniblink" sort of thing for laks, like this: https://github.com/libopencm3/libopencm3-miniblink/ 2023-05-08T13:55:10 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-08T13:55:34 -!- kaki is now known as Guest1093 2023-05-08T13:55:44 -!- Guest1093 is now known as nomorekaki 2023-05-08T13:58:46 < ventYl> montekaki 2023-05-08T14:06:14 < zyp> karlp, absolutely 2023-05-08T14:06:52 < zyp> it should be possible already, unless I broke it 2023-05-08T14:09:54 < zyp> the problem is that by default, it's building the object files right next to the sources instead of having a separate build dir, and that's not possible when you need to build the same targets with different build options 2023-05-08T14:10:43 < zyp> and I did a proof of concept in 2012 that's using scons' variant dir stuff to make a separate build dir per target: https://cgit.jvnv.net/laks_demo/tree/?h=multivariant 2023-05-08T14:11:32 < zyp> but I haven't tested if any of the changes in laks v2 has broken it 2023-05-08T14:12:44 < zyp> or more specificly, I haven't tested whether it handles include paths correctly wrt. the header generation that laks v2 does 2023-05-08T14:14:05 < zyp> eventually I'd like to switch to having an explicit build dir by default 2023-05-08T14:14:27 < ventYl> you are developing laks since 2012? 2023-05-08T14:14:44 < ventYl> ok, then my three-years-long lapse with creepy RTOS is not overdue yet 2023-05-08T14:15:00 < zyp> yes: https://cgit.jvnv.net/laks/commit/?id=e586c17 2023-05-08T14:15:28 < zyp> and at the time it was a fork of reusable code from the project using it 2023-05-08T14:16:32 < ventYl> qyx will once hopefully buy HW to run my creepy OS on 2023-05-08T14:16:34 < zyp> it's not a very actively developed project, I mostly add stuff to it as I need it 2023-05-08T14:18:52 < karlp> yeah, i think I may have actually copied your 2012 demo into a work project where I needed variants. 2023-05-08T14:19:19 < karlp> I've done absolutely zero embedded anything at all in the last month though, so not exactly a rush project ;) 2023-05-08T14:19:30 < nomorekaki> excel is the bestest CSV plotter 2023-05-08T14:19:34 < zyp> at some point I might stop using scons 2023-05-08T14:20:40 < karlp> as long as it's not autotools, it's all good. 2023-05-08T14:21:32 < zyp> last I checked, there still haven't been any attempts at C++20 modules support in scons, and pretty much the main thing I'm using scons for now is the traditional include dependency scanning 2023-05-08T14:22:53 < zyp> so if I have to write my own code to handle C++20 module dependencies, I might as well go fully custom, since I'm already doing custom handling for a lot of other stuff 2023-05-08T14:31:55 < nomorekaki> is there electric machine pros 2023-05-08T14:32:14 < nomorekaki> https://drive.google.com/file/d/1wmPJ_UUV_iZvZzAzVMd6ouKZUGIZpLw-/view?usp=sharing car alternator 2023-05-08T14:34:09 < nomorekaki> I have made assumption of register that is for writing voltage request and tried to guess 2 other registers I think are read values relating to field 2023-05-08T14:37:34 < ventYl> zyp: BTW as per my knowledge, unless you do some dirty hacks with raw makefiles, almost no buildsystem supports multiple build variants with different options in the same build 2023-05-08T14:37:55 < ventYl> greenhills gbuild does, but it is just something a tad bit smarter than a batch file 2023-05-08T14:39:43 < nomorekaki> would alternator measure current or voltage of field coil ventYl? 2023-05-08T14:40:07 < ventYl> mine does neither 2023-05-08T14:41:08 < ventYl> dunno and I already told you, that a guy who worked for BMW told me you have to pour gasoline on it and set it to fire 2023-05-08T14:41:20 < nomorekaki> :) 2023-05-08T14:41:37 < nomorekaki> I think it has self ignite feature so I don't need to 2023-05-08T14:44:01 < ventYl> standard regulators have alternator output voltage -> field coil voltage loopback IIRC. I'd guess that they tried to keep it as similar as possible. But who knows. 2023-05-08T14:45:52 < nomorekaki> ah 2023-05-08T14:46:13 < nomorekaki> maybe I'm looking voltage after all 2023-05-08T14:48:09 < ventYl> I'd say, that requesting some specific voltage would make the overall design more simple 2023-05-08T15:15:30 < zyp> ventYl, what's your definition of «same build»? 2023-05-08T15:25:31 < jpa-> platformio supports multiple variants pretty nicely, but of course it rebuilds every file for each variant (no way around it if you have different compiler options) 2023-05-08T15:27:54 < zyp> I figure you could hash it 2023-05-08T15:30:55 < zyp> I mean, you could do a hash of everything going into a build step and use that to name the output 2023-05-08T15:32:53 < ventYl> zyp: like, let's say that you are using the same source code in same project on multiple places with different build settings 2023-05-08T15:32:57 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-08T15:33:13 < ventYl> as unlikely it may sound, $automotive_company had this issue 2023-05-08T15:33:24 < zyp> ventYl, yes, it's a common thing to want to do 2023-05-08T15:34:04 < ventYl> I have never came across such requirement before or after 2023-05-08T15:34:27 < ventYl> And that particular project was 4-ECU tightly coupled cluster 2023-05-08T15:34:55 < ventYl> since then, the only similar need was to build the same code for different target 2023-05-08T15:35:07 < ventYl> everything else can be dealt-by using static libraries 2023-05-08T15:41:04 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-08T15:49:56 -!- Thorn [~Thorn@user/thorn] has quit [Quit: For Sale: Parachute. Only used once, never opened, small stain.] 2023-05-08T16:19:55 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-08T16:24:16 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-08T16:40:20 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c5f5:7556:404e:e5d1] has quit [Ping timeout: 246 seconds] 2023-05-08T16:41:13 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:9d87:8be0:3391:3a7c] has joined ##stm32 2023-05-08T17:16:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ee-7e54-5fa8-f2ee.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-08T17:24:30 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-08T17:35:13 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ee-7e54-5fa8-f2ee.fixed6.kpn.net] has joined ##stm32 2023-05-08T17:57:49 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ee-7e54-5fa8-f2ee.fixed6.kpn.net] has quit [Ping timeout: 256 seconds] 2023-05-08T18:47:28 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 2023-05-08T19:06:38 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-08T19:06:42 -!- kaki is now known as nomorekaki 2023-05-08T19:06:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ee-7e54-5fa8-f2ee.fixed6.kpn.net] has joined ##stm32 2023-05-08T19:10:43 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Client Quit] 2023-05-08T19:14:00 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-08T19:14:06 -!- kaki is now known as nomorekaki 2023-05-08T19:14:15 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Client Quit] 2023-05-08T19:30:34 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in] 2023-05-08T19:45:14 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-08T19:45:14 -!- kaki is now known as nomorekaki 2023-05-08T19:58:06 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c1ee-7e54-5fa8-f2ee.fixed6.kpn.net] has quit [Ping timeout: 250 seconds] 2023-05-08T20:14:40 < karlp> heh, one of the payment processors with great rates got back to me, (I hd been suspicous they had no signup form anyway) 2023-05-08T20:14:43 < karlp> "Thus we have a minimum requirement of 5 million € in processed volume per year through our platform. " 2023-05-08T20:21:13 < qyx> lol 2023-05-08T20:43:11 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 260 seconds] 2023-05-08T20:55:55 < zyp> karlp, what rates are you looking at? for small stuff you're not gonna find anything cheaper than a couple percent of the sales 2023-05-08T21:08:01 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-08T21:16:09 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has joined ##stm32 2023-05-08T21:16:54 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has quit [Remote host closed the connection] 2023-05-08T21:19:17 -!- drzacek [~drzacek@2a01:3d8:34d:da00:459b:2724:3bc0:4560] has joined ##stm32 2023-05-08T21:26:17 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has joined ##stm32 2023-05-08T21:27:34 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has quit [Remote host closed the connection] 2023-05-08T21:27:59 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has joined ##stm32 2023-05-08T21:28:39 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has quit [Client Quit] 2023-05-08T21:28:59 -!- skz81 [~skz81@vps-68d3ea17.vps.ovh.net] has joined ##stm32 2023-05-08T21:36:00 -!- drzacek [~drzacek@2a01:3d8:34d:da00:459b:2724:3bc0:4560] has quit [Quit: Leaving] 2023-05-08T21:54:32 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-08T22:11:25 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-08T22:51:17 -!- drkow [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-08T22:52:18 -!- kow__ [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-08T22:55:08 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-08T22:55:25 -!- drkow [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-08T22:56:49 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-08T22:58:49 -!- catphish_ is now known as catphish 2023-05-08T23:02:04 -!- kaki [~kaki@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-08T23:02:15 -!- kaki is now known as nomorekaki 2023-05-08T23:02:32 < nomorekaki> early 2023-05-08T23:03:05 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-08T23:09:22 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-08T23:09:27 < karlp> yeah, it's almost always about 2.9% for basic stuff, but the international ones give me way more for my 2.9% than the local guys. 2023-05-08T23:09:39 < Laurence_b> keekkk https://ichef.bbci.co.uk/news/976/cpsprodpb/14B61/production/_129633848_9c22ef61f4a6698f9e5f0222abb2a7eafea09d04.jpg.webp 2023-05-08T23:09:48 < karlp> the local guys want monthly fees and setup fees as well, and extra fees for payment links, or pos, or anything else. 2023-05-08T23:09:50 < Laurence_b> 50% of britbong religions are larps 2023-05-08T23:10:14 < Laurence_b> >they couldnt find a Hindu larper 2023-05-08T23:10:20 < karlp> lots of companies just don't even support iceland. I spoke to a friend, and he said he just gave up and offers paypal. 2023-05-08T23:11:45 < karlp> other goal of course was processors that are already integrated into the shopping car systems, which.... none of the local incumbents are... 2023-05-08T23:11:59 < karlp> unless I count using shopify, which... I don't 2023-05-08T23:18:34 < nomorekaki> Laurence_b: hypertrain news? 2023-05-08T23:18:49 < Laurence_b> everyone is on holiday for the kang stuff 2023-05-08T23:21:08 < nomorekaki> kang? 2023-05-08T23:23:28 < ventYl> inauguration of the bug 2023-05-08T23:38:06 < nomorekaki> how many days 2023-05-08T23:39:42 < Steffanx> 20.3 2023-05-08T23:40:27 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:9d87:8be0:3391:3a7c] has quit [Remote host closed the connection] 2023-05-08T23:54:32 < qyx> NOOOO --- Day changed ti touko 09 2023 2023-05-09T00:06:44 < Steffanx> Agreed 2023-05-09T00:12:30 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-09T00:14:10 -!- karlp [karlp@palmtreev6.beeroclock.net] has quit [Quit: WeeChat 3.5] 2023-05-09T00:14:10 -!- englishman [englishman@user/englishman] has quit [Quit: englishman] 2023-05-09T00:15:08 -!- karlp [karlp@palmtreev6.beeroclock.net] has joined ##stm32 2023-05-09T00:24:20 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-09T00:45:11 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 264 seconds] 2023-05-09T00:46:48 -!- nomorekaki [~kaki@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-09T01:07:20 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 268 seconds] 2023-05-09T01:23:36 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-09T01:52:02 -!- rajkosto [~rajkosto@178.220.170.39] has joined ##stm32 2023-05-09T02:35:32 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-09T02:36:11 -!- c10ud [~c10ud@user/c10ud] has quit [Ping timeout: 248 seconds] 2023-05-09T02:46:00 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 268 seconds] 2023-05-09T03:36:29 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-09T04:05:50 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 260 seconds] 2023-05-09T04:16:01 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 240 seconds] 2023-05-09T04:29:19 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-09T04:30:45 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-05-09T04:34:31 -!- Suspect [~rod@211.30.163.139] has joined ##stm32 2023-05-09T04:34:43 -!- Suspect [~rod@211.30.163.139] has quit [Remote host closed the connection] 2023-05-09T05:21:16 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-09T05:31:03 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-09T05:47:00 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-09T05:49:31 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-09T05:59:08 -!- englishman [englishman@user/englishman] has joined ##stm32 2023-05-09T06:37:43 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 256 seconds] 2023-05-09T06:40:46 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-09T06:48:17 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-09T06:52:10 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-05-09T08:51:31 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-09T08:55:46 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-09T09:39:15 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 260 seconds] 2023-05-09T09:52:03 -!- rajkosto [~rajkosto@178.220.170.39] has quit [Read error: Connection reset by peer] 2023-05-09T09:55:50 -!- kow__ [~k\o\w@72.53.234.240] has quit [Read error: Connection reset by peer] 2023-05-09T09:56:15 -!- kow__ [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-09T10:45:19 < mawk> my new job has outsourced all the PCB production 2023-05-09T10:45:37 < mawk> as a result they have 1 chinese soldering iron in the office, and nothing else 2023-05-09T10:45:44 < mawk> no solder, no flux, no wires, no FTDI cables 2023-05-09T10:46:02 < mawk> I'll have to make them buy all of this 2023-05-09T10:54:52 < qyx> no, outsource firmware development too 2023-05-09T10:55:31 < qyx> you start working after they give you a complete hardware test reports, fully ported and working OS and code examples for their peripherals 2023-05-09T10:56:10 < BrainDamage> no ftdi cables seems weird even if production is somewhere else 2023-05-09T10:56:48 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-09T10:58:30 < mawk> there is a ftdi to usb on the board so they don't need ftdi cables I guess 2023-05-09T10:58:40 < mawk> but I want to talk directly to the ublox modem 2023-05-09T10:58:49 < mawk> I guess I will put some passthrough firmware on the stm32 2023-05-09T11:02:26 < BrainDamage> I've made one ridicolous optimization 2023-05-09T11:03:09 < BrainDamage> I didn't want to add a separate debug connector to a board and the lines were already partially wired to nearby surface components 2023-05-09T11:04:18 < BrainDamage> so I added a couple more 0R resistors, and lined up everything so I'd get an array of exposed metal squares on the pcb side 2023-05-09T11:04:31 < BrainDamage> and I'll use that as contact receptacle for lateral pogo pins 2023-05-09T11:04:40 < BrainDamage> the nice thing is that I can just solder pogo pins laterally on another pcb and they'll be correctly aligned for height 2023-05-09T11:10:55 < mawk> nice 2023-05-09T11:16:46 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 2023-05-09T11:22:14 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-09T11:26:01 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:397b:f5a7:8f88:2e0c] has joined ##stm32 2023-05-09T11:31:55 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-09T11:35:16 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-09T11:36:08 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-09T11:36:40 -!- duude__- is now known as duude__ 2023-05-09T12:11:39 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 248 seconds] 2023-05-09T12:44:37 < jbo> aisler finally delivered https://cloud.insane.engineer/s/Se93C4fwZArCmgs 2023-05-09T12:51:43 < Steffanx> jbo had a name change it seems 2023-05-09T12:52:09 < jbo> hah 2023-05-09T12:52:25 < jbo> nah it's a DIY for my friend so I gave him the curtesey of claiming the design 2023-05-09T12:52:34 < Steffanx> hah 2023-05-09T12:55:00 < qyx> justin barbiturate openheimer 2023-05-09T12:57:13 < jbo> lol 2023-05-09T13:00:02 < ventYl> :> 2023-05-09T13:00:26 < ventYl> hopefully the last container for demolition debris left my property 2023-05-09T13:02:43 < Steffanx> Probably not the case then. 2023-05-09T13:06:25 < jpa-> aisler now delivers in tiny panels? 2023-05-09T13:08:33 < Steffanx> That's probably tr's doing 2023-05-09T13:09:45 < qyx> it happened once to me 2023-05-09T13:09:53 < qyx> without requesting anything special 2023-05-09T13:10:05 < jpa-> i usually get just the pcb but with mousebites that look very similar 2023-05-09T13:10:25 < jpa-> i wish aisler will eventually get smooth routing like jlcpcb does 2023-05-09T13:11:41 < Steffanx> What will the PhotoRig do sir jbo ? 2023-05-09T13:12:47 < jbo> jpa-, that is an option they offer so you can easily align your stencils. I paid like 8.- EUR extra for that. 2023-05-09T13:13:17 < jbo> Steffanx, just a stupid PCB doing a USB-C PD sink to power some DSLR with USB communication, external trigger circuitry and that sort of thing. nothing special or "nice". 2023-05-09T13:13:26 < jbo> the PCB shown is 30x40mm 2023-05-09T13:13:50 < Steffanx> ok 2023-05-09T13:18:37 < Steffanx> better not blog about it them jbo :P 2023-05-09T13:19:04 < jbo> Steffanx, what do you mean? 2023-05-09T13:19:12 < Steffanx> nevermind 2023-05-09T13:43:33 < ventYl> jbo: is that stuff pure hoby, or will it be for sale too? 2023-05-09T13:43:53 < ventYl> it seems that small astrophotography motion platforms are unobtanium now 2023-05-09T14:12:07 < qyx> I am out of ideas, PA7 stuck at 1.2 V 2023-05-09T14:12:13 < qyx> PA5 and PA2 at 0.4 V 2023-05-09T14:12:20 < qyx> (L010) 2023-05-09T14:12:30 < qyx> only one board out of 6 2023-05-09T14:22:19 < Posterdati> hi 2023-05-09T14:22:45 < Posterdati> please help, has anyone programmed the cy7c68013a? Thanks! 2023-05-09T14:23:14 < Posterdati> cy7c68013a = fx2lp 2023-05-09T14:24:22 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-09T14:27:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-09T14:42:53 < qyx> I am starting to think L0 has very poor ESD protection 2023-05-09T14:43:20 < qyx> I have 3 different boards showing similar symptoms on different pins 2023-05-09T14:43:31 < qyx> (they are floating somewhere in the middle) 2023-05-09T14:55:02 < jbo> whoop whoop https://cloud.insane.engineer/s/5sLA4dcPcJL8wLz 2023-05-09T14:55:20 < jbo> ventYl, this is pure hobby for now with the idea of potentially putting it up for sale. 2023-05-09T14:55:28 < jbo> ventYl, interesting. my friend told me to do an astro thingy :D 2023-05-09T14:55:36 < jbo> ventYl, but we have NO idea how well it would sell 2023-05-09T14:57:21 < ventYl> jbo: well, the market is not *that* large 2023-05-09T14:57:40 < jbo> exactly 2023-05-09T14:57:57 < ventYl> and ideally, you have to do a lot of mechanics, if you want it to be generally acceptable and not being cloned by chineese in matter of hours 2023-05-09T14:58:15 < ventYl> which gets expensive 2023-05-09T15:00:13 < ventYl> like, this mini platform I wanted to buy costs somewhere around 500E. it can boil down to extremely simple electronics and battery management, but you have to have sturdy body and quite precise mechanics and the drive. 2023-05-09T15:08:08 -!- benishor [~benishor@scene.ro] has quit [Quit: tah tah!] 2023-05-09T15:15:25 -!- benishor [~benishor@scene.ro] has joined ##stm32 2023-05-09T15:43:49 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-09T15:51:37 < qyx> fixed, me dum 2023-05-09T15:51:53 < zyp> explain 2023-05-09T15:53:06 < qyx> https://bin.jvnv.net/file/pjaZT/Screenshot_2023-05-09_14-52-48.png 2023-05-09T15:53:17 < qyx> diodes populated the wrong way :P 2023-05-09T15:54:13 < qyx> I don't understand why they didn't catch fire 2023-05-09T15:54:48 < qyx> maybe not all were wrong, I just hotaired them all away and it works now 2023-05-09T15:55:27 < zyp> ah 2023-05-09T15:56:14 < qyx> so it was a premature conclusion 2023-05-09T17:15:46 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-09T17:16:27 -!- MangyDog [~Mange@82-69-39-176.dsl.in-addr.zen.co.uk] has joined ##stm32 2023-05-09T17:17:59 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 260 seconds] 2023-05-09T17:20:14 -!- MangyDog [~Mange@82-69-39-176.dsl.in-addr.zen.co.uk] has quit [Remote host closed the connection] 2023-05-09T17:23:18 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-09T17:23:21 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-09T17:27:45 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-09T17:29:25 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-09T17:38:33 < aandrew> qyx: schematic looks correct, no? 2023-05-09T17:39:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:397b:f5a7:8f88:2e0c] has quit [Ping timeout: 260 seconds] 2023-05-09T17:40:13 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:69a8:adc6:7c84:ed25] has joined ##stm32 2023-05-09T17:44:29 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 268 seconds] 2023-05-09T17:53:57 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-09T18:07:44 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 2023-05-09T18:10:56 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 248 seconds] 2023-05-09T18:40:20 < mawk> my SIM card analysis code is evolving into a full fledged SIM manipulation library 2023-05-09T18:40:22 < mawk> https://plmn.tiiny.site/ 2023-05-09T18:40:24 < mawk> look at this beauty 2023-05-09T18:40:40 < mawk> it supports both GSM and 3G/4G/5G modes 2023-05-09T18:43:18 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-09T19:12:46 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-09T19:20:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:69a8:adc6:7c84:ed25] has quit [Ping timeout: 240 seconds] 2023-05-09T19:20:36 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3499:bc3d:7165:4253] has joined ##stm32 2023-05-09T19:28:43 < mawk> some company needs to pay me for it 2023-05-09T19:29:26 < mawk> I'll add a nice REPL thing for it to look more like a regular filesystem 2023-05-09T19:42:53 < mawk> if you want to use it just plug in any smart card reader and put a SIM in it 2023-05-09T19:43:07 < mawk> and install pcscd 2023-05-09T19:43:28 < mawk> and pyscard 2023-05-09T19:44:01 < mawk> and download this as mcc-mnc.txt https://gist.github.com/willyaranda/11376151 2023-05-09T19:44:17 < mawk> many US operators are missing for some reason but I don't care about filthy americans 2023-05-09T19:54:30 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-09T20:02:53 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-09T20:04:57 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-09T20:11:28 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 248 seconds] 2023-05-09T20:15:34 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 268 seconds] 2023-05-09T20:32:46 < nomorekaki> what kind atomic macro you use for code that is intended to be multiplatform? 2023-05-09T20:34:58 < nomorekaki> have this type of thing? 2023-05-09T20:34:59 < nomorekaki> #ifndef NAME_ATOMIC 2023-05-09T20:34:59 < nomorekaki> #error 2023-05-09T20:35:00 < nomorekaki> #endif 2023-05-09T20:35:22 < nomorekaki> then tell to implementation to define NAME_ATOMIC 2023-05-09T20:35:30 < nomorekaki> and use NAME_ATOMIC in the code? 2023-05-09T20:35:31 < josuah> nomorekaki: what do you mean by "atomic"? 2023-05-09T20:35:46 < jpa-> stdatomic.h? 2023-05-09T20:35:54 < josuah> maybe you want to know when uint32_t t = t + 1; is going to be atomic? 2023-05-09T20:36:25 < nomorekaki> no 2023-05-09T20:36:41 < nomorekaki> jpa-: I need to check that 2023-05-09T20:37:40 < nomorekaki> josuah: cli() sei() pair that is added by macro 2023-05-09T20:38:36 < zyp> nuclear.h 2023-05-09T20:38:41 < jpa-> ah, so you mean critical sections and not atomic variables? 2023-05-09T20:38:42 < josuah> gotcha! thanks 2023-05-09T20:38:53 < nomorekaki> critical sections hmm 2023-05-09T20:39:03 < mawk> yes you can do #ifndef #error #endif if you want 2023-05-09T20:40:17 < nomorekaki> hmm critical section talks about mutexes and threads an stuff 2023-05-09T20:41:22 < jpa-> critical section is generic term when you want to stop some other code executing on the same cpu in between 2023-05-09T20:42:06 < nomorekaki> ah 2023-05-09T20:42:12 < jpa-> atomic access allows other code to execute, as long as it doesn't do an operation on the atomic variable - if it does, you retry until that doesn't happen 2023-05-09T20:42:35 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-09T20:44:24 < jpa-> general way if you are making a portable library for embedded stuff would be to have a header "mylibrary_config.h" that defines all this, and is modified to suit the platform; the default one can have #ifdef __arm__ etc. to work on most common ones 2023-05-09T20:44:56 < jpa-> it's rare that interrupt enable/disable is the *only* platform-specific thing 2023-05-09T20:58:06 < josuah> if it is expected to be portable code, I would go with some "#define ENTER_CRITICAL_SECTION" in some "xxxx_config.h" 2023-05-09T20:58:26 < josuah> and same for all other non-portable bits, that way, "ports" file could be defined 2023-05-09T20:58:59 < josuah> like "xxxx_config_arm.h", "xxxx_config_riscv.h", "xxxx_config_x86.h", "xxxx_config_avr.h"... 2023-05-09T21:00:10 < jpa-> XXXX_ENTER_CRITICAL_SECTION etc. to avoid naming conflicts 2023-05-09T21:00:48 < josuah> ^ *claps* 2023-05-09T21:35:59 < karlp> lol, bought two different bt adapters from ali to put into a test sytem, both have the same chipset, and it's a "supported but unsupported" part. yay. 2023-05-09T21:36:14 < karlp> linux happily thinks it's generic, has the usb ids, but then just... doens't work with it. yay 2023-05-09T21:39:48 < zyp> I picked up a wifi card for my work computer just so I can use bleak with it 2023-05-09T21:40:00 < zyp> arrived the other day, haven't found time to install it yet 2023-05-09T21:42:15 < PaulFertser> karlp: some bt adapters are just fake, A001 something or whatever :( 2023-05-09T21:42:24 < PaulFertser> You can get full refund for that of course. 2023-05-09T21:43:33 < PaulFertser> 0a12:0001 fake csr 2023-05-09T21:43:58 < PaulFertser> You can always tell them apart from the real chips as they're full speed and the real chip is high speed iirc. 2023-05-09T21:46:42 < PaulFertser> And the one I got didn't work with BLE anyhow, even though it advertised support for it. Pure garbage. 2023-05-09T21:58:08 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-09T22:11:55 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-09T22:36:57 < zyp> jpa-, rpc over i2c: https://media.discordapp.net/attachments/813547772337979442/1105575822967984140/10.png 2023-05-09T22:38:36 < zyp> it's stretching the clock when it's getting a read while the call is still ongoing, and then the read is split in two to grab length first, and then data 2023-05-09T22:39:21 < zyp> and with the transport up and running, the bootloader solution that I tested on usb before now works over i2c too :) 2023-05-09T22:53:07 < Steffanx> jpa- is probably busy watching Eurovision 2023-05-09T22:53:17 < qyx> heh 2023-05-09T22:54:05 < zyp> that's no excuse, I wrote the i2c transport while watching eurovision 2023-05-09T22:55:27 < zyp> that's probably how I ended up doing all the write handling in the read function: https://paste.jvnv.net/view/71bTO 2023-05-09T23:09:20 < josuah> zyp: should this be updatd then? https://github.com/karlp/zypsnips/blob/master/zyp-i2c-slave.c 2023-05-09T23:09:23 < josuah> :P 2023-05-09T23:09:47 < zyp> no, that's a bitbanged slave 2023-05-09T23:10:27 < josuah> roger that 2023-05-09T23:10:48 < zyp> that's something I wrote for somebody else like ten years ago 2023-05-09T23:11:24 < zyp> they needed slave code capable of replying to multiple addrs, which the I2C peripheral available at the time didn't support 2023-05-09T23:11:37 < zyp> this I2C peripheral should support that though 2023-05-09T23:12:11 < zyp> the old I2C peripheral in stm32f1 and friends was awful to work with 2023-05-09T23:12:22 < zyp> this new one works great 2023-05-09T23:16:28 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-09T23:34:15 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-05-09T23:36:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-09T23:39:13 < josuah> thank you for the few bits of context 2023-05-09T23:46:47 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 256 seconds] 2023-05-09T23:46:59 < karlp> PaulFertser: no, this is a real one, I think it's just a bit new, and the linux support got added in.... well, probably by following "kernel" rules, 2023-05-09T23:47:10 < karlp> but I'm not entirely convinced it's correct, it might have been based on early silicon 2023-05-09T23:47:14 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-09T23:47:35 < karlp> zyp: a dual wifi+bt card you mean? or did you mean bt card? 2023-05-09T23:49:57 < karlp> PaulFertser: too new really maybe... https://marc.info/?l=linux-bluetooth&w=2&r=1&s=ats2851&q=b 2023-05-09T23:50:19 < zyp> karlp, a wifi card that's supposed to do bt too, yes 2023-05-09T23:50:21 < karlp> I just wanted a supported btle dongle with a somehwat more reasonable antenna 2023-05-09T23:50:46 < zyp> I mean, on rpi, it's the wifi module that does bt, and that works with bleak 2023-05-09T23:50:55 < zyp> so I assume that goes for other wifi modules with bt too 2023-05-09T23:51:00 < karlp> lol 2023-05-09T23:51:06 < zyp> :D 2023-05-09T23:51:11 < karlp> would that it were that simple :) 2023-05-09T23:53:26 < karlp> this guys sums it up nicely, https://medium.com/codex/bluetooth-5-on-linux-overview-of-kernel-supported-dongles-and-chipsets-c6f2b632b236 "Getting USB dongles that work with Bluetooth higher than 5.0 is a hit-and-miss, and I have tested a variety of different devices from eBay and AliExpress." 2023-05-09T23:53:29 < karlp> "a bit"... 2023-05-09T23:53:36 < karlp> perhaps a bit of an understatement htough 2023-05-09T23:56:13 < zyp> I got some intel m.2 card 2023-05-09T23:56:26 < zyp> not sure exactly which, I got a coworker to order it for me 2023-05-09T23:58:44 < karlp> hopefully you got one that isn't cnvio and offloads to the intel only cpu ;) --- Day changed ke touko 10 2023 2023-05-10T00:00:35 < zyp> well, it's probably going into a cnvio slot 2023-05-10T00:01:15 < karlp> well, if that works for you sure :) 2023-05-10T00:01:19 < zyp> it's a HP workstation, coworker looked up what the HP wifi option was and picked something that should be compatible, looks like ax211 2023-05-10T00:01:30 < karlp> convenient having those options 2023-05-10T00:01:35 < karlp> looks like I'm hitting this: https://www.spinics.net/lists/linux-bluetooth/msg103785.html 2023-05-10T00:01:41 < karlp> fuck rebuilding shit 2023-05-10T00:01:43 < karlp> meh 2023-05-10T00:04:58 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 268 seconds] 2023-05-10T00:04:59 < karlp> might work with kernel 6.3? not with my current 6.2 2023-05-10T00:05:40 < qyx> 6.what 2023-05-10T00:05:56 < qyx> Linux qyx4 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 2023-05-10T00:06:18 < karlp> well, you clearly wont have a working bt5.3 dongle then ;) 2023-05-10T00:07:38 < zyp> hmm, looks like ax211 support came in 5.14 2023-05-10T00:07:54 < zyp> good thing debian 12 comes in a month :) 2023-05-10T00:10:27 < zyp> that also means I don't need to be in a hurry to install it 2023-05-10T00:12:44 < qyx> ducks, my new accel has noise of 56 LSB 2023-05-10T00:12:52 < qyx> it js 20 bit, FS is +- 2g 2023-05-10T00:13:44 < qyx> does that mean the noise is (56/2^20)*4 g? 2023-05-10T00:17:57 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 256 seconds] 2023-05-10T01:25:02 < nomorekaki> you need RLG 2023-05-10T01:44:35 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-10T02:28:35 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3499:bc3d:7165:4253] has quit [Ping timeout: 246 seconds] 2023-05-10T03:06:36 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-10T03:10:51 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 248 seconds] 2023-05-10T03:33:45 -!- qyx [~qyx@84.245.120.49] has quit [Ping timeout: 240 seconds] 2023-05-10T03:36:02 -!- qyx [~qyx@84.245.120.21] has joined ##stm32 2023-05-10T04:52:15 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-10T05:13:01 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-10T05:32:41 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-10T05:33:13 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-10T05:50:39 -!- rajkosto [~rajkosto@178.220.99.239] has joined ##stm32 2023-05-10T05:54:46 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-05-10T06:46:29 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-05-10T06:50:52 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 265 seconds] 2023-05-10T07:32:48 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-10T09:27:53 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-10T09:37:38 -!- benishor [~benishor@scene.ro] has quit [Quit: tah tah!] 2023-05-10T09:38:18 -!- benishor [~benishor@scene.ro] has joined ##stm32 2023-05-10T10:00:55 -!- Guest2463 [~n0toosem]@2001:470:69fc:105::1:d27a] has quit [Quit: Bridge terminating on SIGTERM] 2023-05-10T10:15:17 < zyp> karlp, ah, the card I got is an ax201, apparently supported since 5.2 2023-05-10T10:22:54 -!- rajkosto [~rajkosto@178.220.99.239] has quit [Read error: Connection reset by peer] 2023-05-10T10:26:51 < qyx> that adxl355 is super precise so far 2023-05-10T10:27:07 < qyx> almost no significant temperature drift 2023-05-10T10:32:08 < mawk> I brought my soldering shits with me to work 2023-05-10T10:32:11 < mawk> since they have nothing 2023-05-10T10:32:35 < mawk> I brought my smelliest flux 2023-05-10T10:40:02 < Steffanx> And you did order a new one? 2023-05-10T10:57:09 < qyx> jpa-: what parameters & ld script did you use to compile those functions (stack only) to binary blobs? 2023-05-10T10:57:27 < qyx> if it is not a protected IP and strong secret 2023-05-10T10:58:06 < ventYl> qyx: what those functions? 2023-05-10T10:58:59 < PaulFertser> mawk: ask them to buy pinecil v2 just to see if it's an cool. With short tips. Some people say BLE support in it allows you to enjoy big real time display right there on your smartphone/tablet/PC while soldering. Also, nice to have a small iron that you can power from a regular battery bank, so it's really portable. It costs them nothing so why not. 2023-05-10T10:59:22 < ventYl> ah v2 2023-05-10T10:59:34 < ventYl> I wondered if my pinecil has BLE 2023-05-10T11:01:10 < qyx> ventYl: he mentioded he did PIC/PIE without .data/.bss (stack only) for code fragments, so basically a function(s) 2023-05-10T11:01:16 < qyx> runtime loadable 2023-05-10T11:01:45 < qyx> I tried multiple times and always failed 2023-05-10T11:02:01 < qyx> most probably because I did not understand all details 2023-05-10T11:04:31 < ventYl> qyx: but that's always PC-relative, isn't it? 2023-05-10T11:08:34 < qyx> hm 2023-05-10T11:08:45 < qyx> is it? 2023-05-10T11:09:20 < jpa-> yeah, looks like i'm not even passing -fPIC, just have __attribute__((section(".btldr_ramfunc"), noinline, externally_visible)) on the function and then in linker script define symbols to get start and end of it, and then int ramfunc_size = &_ebtldr_ramfunc - &_sbtldr_ramfunc; 2023-05-10T11:10:10 < ventYl> Branch instructions contain a signed 2's complement 24 bit offset. This is shifted left two bits, sign extended to 32 bits, and added to the PC. The instruction can therefore specify a branch of +/- 32Mbytes." 2023-05-10T11:10:11 < jpa-> and proceed to copy that over like it is just bunch of data and jump to it with ramfunc_ptr_t ramfunc = (ramfunc_ptr_t) ((uint8_t*)&ramfunc_buf + 1); bool status = ramfunc(first_page, pagecount, dest_address, data, datalen, reboot_after); 2023-05-10T11:10:48 < qyx> ventYl: yeah but what about accessing .rodata, etc. 2023-05-10T11:11:18 < jpa-> literals are PC-relative, but yeah, any globally shared data (read-only or not) would need something more 2023-05-10T11:11:19 < ventYl> qyx: .rodata is the same as .data/.bss, 2023-05-10T11:11:40 < ventYl> and literals are appended after the code of function and addressed PC-relative 2023-05-10T11:12:30 < qyx> it is not the same, because in a common use case, you have .rodata after the .text, so the offset is constant 2023-05-10T11:12:50 < qyx> but when doing .data/.bss, you allocate it in SRAM and the position is not known prior to loading 2023-05-10T11:13:38 < qyx> but .data/.bss can be solved using .got and stuff which is not that simple as "oh I am not even passing -fPIC" 2023-05-10T11:14:03 < qyx> it definitely needs *something* and the hard part is/was that all those sections need a bit different handling 2023-05-10T11:14:04 < ventYl> .got is not that trivial apparently 2023-05-10T11:14:40 < ventYl> I wanted to make ELF loader for Cortex-M as part of my creepy RTOS 2023-05-10T11:15:01 < qyx> I will support you with a github star 2023-05-10T11:15:05 < ventYl> it would have worked if it was like one base pointer everything references to, but it isn't 2023-05-10T11:15:08 < qyx> I need one too 2023-05-10T11:16:18 < ventYl> well, with creepy RTOS RPC mechanism, you actually don't need one. mostly 2023-05-10T11:16:39 < ventYl> you can build code as-is and obtain "instance" at runtime 2023-05-10T11:17:35 < jpa-> hmm yeah, if you e.g. have strings in the function, it will probably break with .rodata 2023-05-10T11:23:11 < jpa-> -fpie is apparently supposed to take care of that, making .rodata access relative to PC with the same offset it was at the link time 2023-05-10T11:23:24 < jpa-> and that probably works for .data too if you load to ram 2023-05-10T11:23:37 < ventYl> yeah, but you have to load everything as a monolith 2023-05-10T11:24:18 < ventYl> yet still usable for some cases 2023-05-10T11:25:50 < qyx> yep 2023-05-10T11:26:00 < qyx> except having part of the system as XIP plugins in the flash 2023-05-10T11:40:46 -!- n0toose[m] [~n0toosem]@2001:470:69fc:105::1:d27a] has joined ##stm32 2023-05-10T11:41:10 -!- n0toose[m] is now known as Guest2916 2023-05-10T11:57:36 < mawk> if you load everything to RAM you can just fill in relocs 2023-05-10T11:57:50 < mawk> instead of having a PLT or GOT 2023-05-10T11:58:00 < mawk> in your magic elf loader ventYl 2023-05-10T12:00:30 < mawk> build your "executable" as a single .o using the -r option of your linker 2023-05-10T12:00:42 < mawk> and load the .o at boot filling all the relocs 2023-05-10T12:00:50 < mawk> there are many different relocs but only a few are usually necessary 2023-05-10T12:10:47 < ventYl> I wanted to avoid doing runtime linking 2023-05-10T12:11:27 < ventYl> if I had to do that, I would probably opt for PE .exe rather than ELF 2023-05-10T12:12:59 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-10T15:22:19 < jpa-> huh, github got new code view with working search 2023-05-10T15:23:05 < jpa-> now you can click on symbol and find other files with it 2023-05-10T15:23:54 < ventYl> i bet it is broken for anything autosar-based 2023-05-10T16:14:02 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-10T16:16:59 < Steffanx> ventYl and his love for autosar :) 2023-05-10T16:18:00 < ventYl> I wouldn't call it love 2023-05-10T16:18:13 < ventYl> more like PTSD-inducing hate 2023-05-10T16:27:40 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-10T16:48:42 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-10T17:23:25 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-10T17:39:16 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-10T17:43:12 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-10T17:51:48 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c173:9865:c243:ae27] has joined ##stm32 2023-05-10T17:54:58 < mawk> woooo I got my direct modem connection setup working 2023-05-10T17:55:06 < mawk> but I don't know why 2023-05-10T17:55:11 < mawk> it suddenly started working 2023-05-10T17:55:26 -!- Thorn [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-10T17:55:26 -!- Thorn [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Changing host] 2023-05-10T17:55:26 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-10T17:55:29 < mawk> I lost 2h because they swapped "RXD" and "TXD" in the datasheet 2023-05-10T17:55:54 < mawk> normally with ublox devices the pins are named according to the application processor point of view, so RXD is the TX of the modem and vice versa 2023-05-10T17:56:02 < mawk> so I connected RXD to the RX of my FTDI and so on 2023-05-10T17:56:15 < mawk> but they renamed ublox's RXD to TXD in the datasheet for some reason 2023-05-10T18:29:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c173:9865:c243:ae27] has quit [Ping timeout: 256 seconds] 2023-05-10T18:30:26 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:45dd:9ece:dcc2:5bbd] has joined ##stm32 2023-05-10T18:41:38 -!- MangyDog [~Mange@82-69-39-176.dsl.in-addr.zen.co.uk] has joined ##stm32 2023-05-10T18:44:01 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-10T18:57:01 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:45dd:9ece:dcc2:5bbd] has quit [Ping timeout: 240 seconds] 2023-05-10T18:57:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c580:8cd:f88:9730] has joined ##stm32 2023-05-10T19:03:59 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-10T19:14:35 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 264 seconds] 2023-05-10T19:22:23 -!- MangyDog [~Mange@82-69-39-176.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 264 seconds] 2023-05-10T19:23:08 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-10T19:27:11 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-10T19:38:34 < mawk> I tried deleting the PLMN list entries in the ubloks module and it works 2023-05-10T19:38:42 < mawk> it stops trying to connect to the entries in the list 2023-05-10T19:38:58 < mawk> the command should work with any ublox modem if someone is interested 2023-05-10T19:42:01 < mawk> https://bpa.st/HQWJE 2023-05-10T19:42:04 < mawk> this is for a list with 16 entriews 2023-05-10T19:42:30 < mawk> it's not really possible as far as I can tell to know how many entries there are in the list apart from just discovering it by reading the list 2023-05-10T19:42:50 < mawk> there is a status command you can use but ublox truncates the response to 56 bytes so you can't see the size in the response 2023-05-10T19:43:06 < mawk> very stupid 2023-05-10T19:43:39 < mawk> you can work around it using an offset when you read or write records, but not when querying the status of a file (which gives you its size) 2023-05-10T19:44:48 < mawk> you can read the list with AT+CRSM=176,28512,0,${50*n},50 2023-05-10T19:44:53 < mawk> with n = 0, 1, ,,, 2023-05-10T19:44:56 < mawk> until it gives an error 2023-05-10T19:45:03 < mawk> and then you know what size is the list 2023-05-10T19:48:17 < mawk> ooooooo no I found a way to get the size 2023-05-10T19:48:33 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-10T19:48:39 < mawk> you do AT+CRSM=192,28512, and the response is a BER-TLV encoded data 2023-05-10T19:49:03 < mawk> under tag 0x62 you have the FCP data, which is also encoded in TLV 2023-05-10T19:49:15 < mawk> and inside the 0x80 tag of the FCP you have the file size, encoded in big endian 2023-05-10T19:49:24 < mawk> 80 bytes in my case for a list with 16 entries 2023-05-10T19:50:52 < mawk> here is my reference implementation of the TLV parser: https://bpa.st/2STJM 2023-05-10T20:05:05 < zyp> ok 2023-05-10T20:08:50 < zyp> are you new to python? 2023-05-10T20:09:03 < mawk> no 2023-05-10T20:09:21 < zyp> doesn't read very pythonic 2023-05-10T20:09:36 < mawk> well it's parsing of binary data 2023-05-10T20:09:51 < mawk> it's not really possible to use a pythonic for loop 2023-05-10T20:10:08 < mawk> there is an index that can jump ahead some variable amount of bytes 2023-05-10T20:11:40 < mawk> if it was just skipping 1 or 2 bytes everytime I could use an iterator and call next() on it, but it can jump up to 127 bytes here 2023-05-10T20:11:48 < zyp> ah 2023-05-10T20:11:57 < zyp> that's what I usually do 2023-05-10T20:12:22 < zyp> anyway, I also don't understand the stuff you're doing for decoding multibyte length 2023-05-10T20:12:33 < zyp> looks like you're picking the wrong bytes 2023-05-10T20:12:58 < zyp> oh, wait, no, I see now 2023-05-10T20:13:26 < zyp> how does decode_be() look? 2023-05-10T20:13:31 < mawk> if the first byte of the length doesn't have its 8th bit on, then that's just the length; but if the 8th bit is on then the length byte (with the 8th bit removed) is actually the length of the length 2023-05-10T20:13:46 < mawk> def decode_be(data): 2023-05-10T20:13:47 < mawk> return reduce(lambda x, y: 10*x+y, data, 0) 2023-05-10T20:14:05 < zyp> what 2023-05-10T20:14:22 < zyp> ???? 2023-05-10T20:14:24 < qyx> reinventing varints probably 2023-05-10T20:14:26 < mawk> uuh no that's the BCD decoder 2023-05-10T20:14:29 < zyp> yeah 2023-05-10T20:14:41 < mawk> with a 256 instead 2023-05-10T20:14:48 < zyp> mawk, that's dumb 2023-05-10T20:14:59 < zyp> just do int.from_bytes(x, 'big') 2023-05-10T20:15:22 < mawk> o 2023-05-10T20:15:29 < mawk> I didn't know that existed 2023-05-10T20:15:44 < zyp> there's also a corresponding to_bytes() you can call on int instances 2023-05-10T20:15:50 < zyp> takes bytes and endianness 2023-05-10T20:15:54 < mawk> nice 2023-05-10T20:16:12 < mawk> they also sometimes use a weird big-endian BCD for some numbers like the IMSI and ICCID 2023-05-10T20:16:20 < mawk> but it's big-endian inside the byte 2023-05-10T20:16:42 < mawk> like '4212' (in hex) is the number 2421 2023-05-10T20:18:22 < mawk> with the special case fX which represents the number X 2023-05-10T20:18:31 < mawk> for an odd amount of digits 2023-05-10T20:19:10 < mawk> and they also map the A B C D E F hex digits to other special characters, like A is * or B is # 2023-05-10T20:19:26 < mawk> well not F, which represents nothing 2023-05-10T20:26:25 -!- kow__ [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-10T20:36:42 < mawk> look the full code of my PLMN querier/parser zyp https://bpa.st/OYDMV7QZS56AQSQ3JKOHUWBI6I 2023-05-10T20:36:45 < mawk> in all its pythonic glory 2023-05-10T20:36:59 < mawk> I even use @dataclass 2023-05-10T20:47:59 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-10T20:54:48 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-10T20:54:48 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-10T20:54:48 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-10T20:57:49 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Read error: Connection reset by peer] 2023-05-10T20:59:00 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-05-10T21:53:17 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 265 seconds] 2023-05-10T21:56:01 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-10T22:27:01 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c580:8cd:f88:9730] has quit [Ping timeout: 240 seconds] 2023-05-10T22:27:25 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:85c1:fb0d:b09a:88de] has joined ##stm32 2023-05-10T22:47:52 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 265 seconds] 2023-05-10T23:57:29 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 --- Day changed to touko 11 2023 2023-05-11T00:07:29 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has joined ##stm32 2023-05-11T00:07:46 < nomorekaki> early 2023-05-11T00:32:47 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-11T00:43:44 < Steffanx> Night 2023-05-11T01:41:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-11T01:41:58 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-11T01:47:08 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 246 seconds] 2023-05-11T01:51:31 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [] 2023-05-11T02:33:02 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-11T03:37:42 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-11T04:19:31 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 240 seconds] 2023-05-11T04:21:08 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-11T04:25:36 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-11T04:27:35 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-11T04:43:01 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-11T05:03:08 -!- nomorekaki [~nomorekak@178-55-211-28.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-11T05:34:00 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-11T05:46:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-11T06:07:00 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-11T06:29:31 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-11T06:35:06 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-11T07:12:31 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:85c1:fb0d:b09a:88de] has quit [Ping timeout: 240 seconds] 2023-05-11T07:33:57 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-11T07:38:50 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-05-11T07:45:17 -!- Streake_ [~Streaker@user/streaker] has joined ##stm32 2023-05-11T07:46:31 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-11T08:13:36 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5323))] 2023-05-11T08:13:41 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-11T08:30:23 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-11T08:36:36 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-05-11T08:44:35 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-11T09:57:20 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-11T09:57:20 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-11T09:57:20 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-11T10:34:06 < mawk> for modems what is the difference between AT&K and AT\Q 2023-05-11T10:34:14 < mawk> both seem to do the same thing, flow control 2023-05-11T10:47:18 < jpa-> https://en.wikipedia.org/wiki/Hayes_AT_command_set says "These continued to share the basic command structure and syntax, but added any number of new commands using some sort of prefix character – & for Hayes and USR, and \ for Microcom, for instance." 2023-05-11T10:47:30 < jpa-> so two manufacturers invented different commands for same thing 2023-05-11T10:50:48 -!- m5zs7k [aquares@web10.mydevil.net] has quit [Ping timeout: 240 seconds] 2023-05-11T10:52:09 < zyp> and then everybody had to start supporting each other's commands? 2023-05-11T10:53:59 < jpa-> yeah 2023-05-11T10:55:25 -!- m5zs7k [aquares@web10.mydevil.net] has joined ##stm32 2023-05-11T11:03:28 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-11T11:22:10 < zyp> when I worked at STE, I think we had a whole department called «AT» 2023-05-11T11:22:58 < zyp> thankfully I didn't have much to do with it, I mostly worked on the layer below 2023-05-11T11:26:47 < jpa-> i love how USB4 has AT commands passed over UART.. too bad they have nothing to do with what we used to call AT commands 2023-05-11T11:27:44 < zyp> what 2023-05-11T11:28:01 -!- Streake_ [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-11T11:28:04 < zyp> USB4 has what? 2023-05-11T11:29:40 < jpa-> USB4 has 1Mbps UART for negotiating.. something 2023-05-11T11:30:35 < jpa-> https://jpa.kapsi.fi/stuff/pix/usb4_at_commands.png 2023-05-11T11:30:51 < qyx> usb4 should have been 85 GHz UWB 2023-05-11T11:32:47 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-11T11:34:01 < jpa-> https://jpa.kapsi.fi/stuff/pix/usb4_at_commands_2.png they don't say it directly, but looks like classic UART communication to me :) 2023-05-11T11:35:04 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-11T11:38:29 < qyx> heh 2023-05-11T12:03:59 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-11T12:06:06 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-11T12:16:54 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-34f2-b295-8848-1111.fixed6.kpn.net] has joined ##stm32 2023-05-11T12:17:31 -!- alan_o [~alan_o@172-7-159-77.lightspeed.dybhfl.sbcglobal.net] has quit [Ping timeout: 240 seconds] 2023-05-11T12:18:13 -!- alan_o [~alan_o@2600:1700:1902:210f:9477:b9a5:7a07:9b1d] has joined ##stm32 2023-05-11T12:32:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-34f2-b295-8848-1111.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-05-11T12:47:49 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-69b9-273a-8ff6-62e1.fixed6.kpn.net] has joined ##stm32 2023-05-11T13:02:06 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-69b9-273a-8ff6-62e1.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-05-11T13:02:51 < Steffanx> Seems they need qyx in finland too. They cant do bridges either. 2023-05-11T13:03:47 < jpa-> https://images.cdn.yle.fi/image/upload/w_1920,h_1440,ar_1.3333333333333333,dpr_1,c_fill/q_auto:eco,f_auto,fl_lossy/v1683792053/39-1111919645ca0857a71c looks like high quality bridge to me 2023-05-11T13:04:02 < qyx> what happened? 2023-05-11T13:04:24 < qyx> did that.. thing fell down? 2023-05-11T13:04:24 < jpa-> the platform fell down from a temporary bridge 2023-05-11T13:05:27 < jpa-> https://is.mediadelivery.fi/img/1920/4b25f917e2f0ab19ab83c0a455167896.jpg would be interesting to know how it was attached in the first place 2023-05-11T13:07:03 < qyx> I don't get it, the whole thing on the left of the left picture fell down? 2023-05-11T13:07:08 < qyx> with the lamp? 2023-05-11T13:07:13 < jpa-> those are all "after" photos 2023-05-11T13:07:40 < jpa-> in the right side photo, between the green side boards, there should be a walkway 2023-05-11T13:07:49 < jpa-> except the walkway is now 5 meters below and in pieces 2023-05-11T13:09:03 < qyx> including those people on the right? 2023-05-11T13:09:25 < qyx> https://www.helsinkitimes.fi/finland/finland-news/domestic/23541-walking-bridge-collapses-in-tapiola-injured-schoolchildren-taken-to-four-hospitals.html 2023-05-11T13:09:33 < jpa-> yeah, a group of 40 school children was walking over it, 25 fell 2023-05-11T13:11:09 < jpa-> https://images.cdn.yle.fi/image/upload/w_1200,h_1157,ar_1.0371669004207573,dpr_1,c_fill/q_auto:eco,f_auto,fl_lossy/v1683796607/39-1112007645cb2428c437 i guess those metal pieces on the ground were somehow attached to the side pipes and plywood on top - maybe someone forgot to tighten some screws? 2023-05-11T13:12:02 < qyx> they say 2 meters down, that's not 2 meters 2023-05-11T13:12:18 < qyx> in another article they are saying 5 meters 2023-05-11T13:14:09 < jpa-> https://www.openstreetmap.org/changeset/135967609 "Bridge missing for now" 2023-05-11T13:14:53 < jpa-> "was:bridge = yes" fortunately osm has a tag for this 2023-05-11T13:14:54 < qyx> in the last picture you sent it looks like the bottom was attached to the sides with nails or what 2023-05-11T13:15:38 < jpa-> in the earlier photo https://is.mediadelivery.fi/img/1920/4b25f917e2f0ab19ab83c0a455167896.jpg on right side you can see plywood sheets and some narrower metal pieces, i would assume the metal pieces were supposed to hold up the plywood 2023-05-11T13:17:38 < ventYl> plywood outdoors? 2023-05-11T13:17:54 < ventYl> not very suitable material, not even for a temporary structure 2023-05-11T13:18:22 < jpa-> it even has a roof, plywood gets used for such purposes all the time 2023-05-11T13:18:41 < qyx> plywood is used most of the time 2023-05-11T13:18:43 < jpa-> not structural, just to fill in any gaps so that sand doesn't fall on people going below 2023-05-11T13:19:06 < qyx> on such temporary constructions, even here 2023-05-11T13:26:24 < ventYl> ah, not a structural part. as the picture doesn't provide much clue on what was originally where, I thought, there was plywood used as a structural part 2023-05-11T13:28:51 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dcb6-c8bf-b698-21eb.fixed6.kpn.net] has joined ##stm32 2023-05-11T13:29:01 < jpa-> yeah, plywood could be used structurally also but definitely not like that 2023-05-11T13:30:49 < jpa-> https://www.structuralguide.com/wp-content/uploads/2020/10/Component-of-truss-bridge-1.png all pieces can be found in photos, but attachment between floor beams and side beams has failed 2023-05-11T13:35:50 < qyx> I hope they were not just laid on the main beams 2023-05-11T13:35:56 < mawk> I made a DIY devkit of the ublox modem by taking one of the device's main board, holding the stm32 in reset, enable the supply for the modem, and connect my FTDI modified for 1.8V to the 1.8V UART pins 2023-05-11T13:36:08 < mawk> and it mostly works, but when I look at the board the UART starts glitching 2023-05-11T13:36:16 < mawk> or if I breathe near it 2023-05-11T13:36:17 < jpa-> qyx: i wouldn't be surprised if there was some attachment piece that someone forgot to install or tighten the bolts on 2023-05-11T13:36:42 < mawk> I think it might be due to the fact there's a level shifter used for 1.8 <=> 3.3 translation, and the 3.3V side is floating? maybe 2023-05-11T13:36:51 < mawk> but there are testpads only on the 1.8V side 2023-05-11T13:37:46 < jpa-> cut traces and put series resistors 2023-05-11T13:40:10 < mawk> right 2023-05-11T14:15:11 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-11T14:22:00 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-11T14:22:36 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b955:85b9:83b0:d63] has joined ##stm32 2023-05-11T14:36:27 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-11T14:37:11 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-11T14:39:05 -!- CatCow [~wtf_over@98.246.223.133] has quit [Client Quit] 2023-05-11T15:04:51 < mawk> the series resistor didn't help jpa- 2023-05-11T15:05:07 < mawk> or maybe I didn't put it in the right place 2023-05-11T15:05:16 < mawk> I guess I'll just shut off the level shifter and that's it 2023-05-11T15:15:05 -!- drzacek [~drzacek@2a01:3d8:490:c400:2c6e:8f14:5ce6:80e9] has joined ##stm32 2023-05-11T15:21:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b955:85b9:83b0:d63] has quit [Ping timeout: 240 seconds] 2023-05-11T15:24:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dcb6-c8bf-b698-21eb.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-11T15:44:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dcb6-c8bf-b698-21eb.fixed6.kpn.net] has joined ##stm32 2023-05-11T16:06:38 < jpa-> orbtrace level shifter is fun, it lets me see the CPU cry when it is losing power http://paste.dy.fi/zbX/plain 2023-05-11T16:16:51 < zyp> nice 2023-05-11T16:18:08 < zyp> it's rated down to 1.2V signalling 2023-05-11T16:18:59 < zyp> it's a 74AVC, the pin compatible 74AXC goes down to 0.65V :) 2023-05-11T16:21:41 < jpa-> RP2040 is rated only down to 1.6V when using internal LDO 2023-05-11T16:42:51 -!- Thorn [~Thorn@user/thorn] has quit [Quit: Easy as 3.14159265358979323846...] 2023-05-11T17:20:32 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-dcb6-c8bf-b698-21eb.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-11T17:43:14 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-11T18:25:31 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-11T19:12:42 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-11T20:05:11 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-11T20:22:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-11T20:26:53 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-11T21:01:01 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-357f-903-f5cb-a83c.fixed6.kpn.net] has joined ##stm32 2023-05-11T21:04:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-11T22:05:31 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-11T22:18:11 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 256 seconds] 2023-05-11T22:30:13 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-11T22:47:30 -!- drzacek [~drzacek@2a01:3d8:490:c400:2c6e:8f14:5ce6:80e9] has quit [Quit: Leaving] 2023-05-11T23:06:49 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 --- Day changed pe touko 12 2023 2023-05-12T00:27:47 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-357f-903-f5cb-a83c.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-12T01:06:12 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-12T01:20:43 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-12T01:40:27 < machinehum> Do you have to add a resistor in series with the gate when using a gate driver 2023-05-12T01:40:41 < machinehum> To reduce the current to whatever the output current of the driver is 2023-05-12T01:41:14 < machinehum> IR4426 has a resistor on "typical connection" but it's not really mentioned 2023-05-12T01:51:06 < nomorekaki> usually 2023-05-12T01:51:19 < nomorekaki> it's for dampening something 2023-05-12T01:51:25 < nomorekaki> 10ohm very typical 2023-05-12T01:51:56 < nomorekaki> I think it's for fet ringing dampening 2023-05-12T01:53:07 < nomorekaki> 10ohms sound very little resistance but given the current and short timespan it's effective 2023-05-12T01:54:21 < nomorekaki> you probs need to calculate it from gate capacitance, gate driver current etc. 2023-05-12T01:55:42 < nomorekaki> I bet every PMIC datasheet has some formula for that 2023-05-12T02:16:55 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-12T02:26:15 -!- Alexer [~alexer@alexer.net] has quit [Ping timeout: 260 seconds] 2023-05-12T02:26:29 -!- Alexer [~alexer@alexer.net] has joined ##stm32 2023-05-12T02:46:13 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 256 seconds] 2023-05-12T03:39:05 -!- qyx [~qyx@84.245.120.21] has quit [Ping timeout: 240 seconds] 2023-05-12T03:41:10 -!- qyx [~qyx@84.245.121.225] has joined ##stm32 2023-05-12T04:33:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-12T04:43:50 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-12T04:46:50 < aandrew> machinehum: it's usually there to protect whatever is driving the gate since it can be fairly capacitive and thus draw a LOT of current when it switches states 2023-05-12T04:47:04 < aandrew> a small resistor can also help eliminate ringing 2023-05-12T05:07:34 < machinehum> Cool 2023-05-12T05:07:46 < machinehum> Yeah sounds reasonable, I just 0R it now 2023-05-12T05:50:59 < ColdKeyboard> Can you use F411 with the internal 16MHz HSI ?? 2023-05-12T05:51:33 < ColdKeyboard> The cube is complaining that PLL Source Mux should have HSE as input instead of HSI... but why is HSI then even an option? 2023-05-12T06:09:44 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-12T07:32:01 < ColdKeyboard> Ok, it says it does not support crystalless USB... 2023-05-12T07:32:50 < ColdKeyboard> But if I have 24MHz HSE crystal and it's failing at HAL_RCC_OscConfig... does that mean crystal is not soldered properly or something? 2023-05-12T08:13:04 < jpa-> tha HAL function names are useless for debugging, you need to figure out what register it is polling on and what bit it is waiting for, and also provide the register values that have been set 2023-05-12T08:13:16 < jpa-> but yes, crystal not being soldered properly would usually hang somewhere there 2023-05-12T08:13:22 < jpa-> as would e.g. invalid PLL configs 2023-05-12T08:15:34 < jpa-> refman says you can clock the STM32F411 PLL from HSI also 2023-05-12T08:16:26 < jpa-> but yeah, it doesn't have the clock recovery system for crystalless USB, so doing that would be hacky at best 2023-05-12T08:24:38 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-12T08:32:40 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-05-12T08:37:56 < ColdKeyboard> Thanks jpa-, it looks like it was a dead crystal 2023-05-12T08:38:06 < ColdKeyboard> Replaced it with a new one and it's working now 2023-05-12T08:38:21 < ColdKeyboard> now off to figuring out why the USB is not enumerating properly :) 2023-05-12T08:55:25 < ColdKeyboard> Do I need to have a pull-up on D+ or something like that? 2023-05-12T08:55:57 < ColdKeyboard> I think the black pill board does not have anything, it's straight up connection to the micro trough 10R resistors 2023-05-12T09:01:03 < qyx> I wouldn't consider black pill a reference design 2023-05-12T09:01:36 < qyx> and I don't remember seeing 10R resistors on USB anywhere 2023-05-12T09:11:59 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-12T09:40:36 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-12T09:41:43 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-12T09:57:31 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-12T09:59:17 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has quit [Quit: Leaving] 2023-05-12T10:10:25 -!- dobson [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-05-12T10:11:00 < jpa-> ColdKeyboard: as per ref man, STM32F411 OTG USB has integrated pull-up & impedance matching 2023-05-12T10:11:30 < jpa-> you need to enable the pull-up though, but you'll know from dmesg what is the problem - if there is some messages when you plug it in, the pull-up is working 2023-05-12T10:36:49 < mawk> how good an idea is it to send commands to the sim card while the connection is active 2023-05-12T10:37:13 < mawk> there's no locking AT command as far as I can tell 2023-05-12T10:37:24 < mawk> maybe I have to open a dedicated logical channel with the card 2023-05-12T10:37:44 < Steffanx> It's a great idea mawk 2023-05-12T10:37:53 < mawk> thanks 2023-05-12T10:38:43 < mawk> the issue is that I have to send three commands, SELECT then GET RESPONSE to know the size and then READ BINARY 2023-05-12T10:38:57 < mawk> if the modem sends other commands in the meantime it's bad 2023-05-12T10:39:16 < Steffanx> Then your code sucks 😝 2023-05-12T10:39:29 < mawk> it's the modem that sucks 2023-05-12T10:39:35 < qyx> you are not being supportive Steffanx 2023-05-12T10:39:38 < mawk> ublox shit 2023-05-12T10:40:53 < Steffanx> Haha qyx. I'm just curious if there's someone here who knows more about sim cards than mawk knows about it 2023-05-12T10:40:54 < jpa-> if it fails in a detectable way, just retry 2023-05-12T10:41:43 < Steffanx> Googling for answers to help mawk doesn't count as "more knowledge" 2023-05-12T10:41:56 < jpa-> why? 2023-05-12T10:42:20 < mawk> the response to READ BINARY doesn't include the file identifier, so the modem could select something else just before the command and then I'd read a random file instead of my precious EFPLMNwACT file 2023-05-12T10:42:54 < mawk> I should try airplane mode 2023-05-12T10:42:55 < qyx> do you need to maintain the connection? 2023-05-12T10:43:09 < qyx> can't you do this AT something FUNC=4 or whatever 2023-05-12T10:43:19 < qyx> although that shuts down the radio only, not modem-sim comms 2023-05-12T10:43:27 < mawk> I can cut it and reestablish it later 2023-05-12T10:43:29 < mawk> yeah 2023-05-12T10:43:45 < mawk> but hopefully the modem doesn't talk with the sim when the radio is off 2023-05-12T10:43:56 < mawk> but it's not documented if it's the case or not 2023-05-12T10:44:25 < Steffanx> Time to ask Richard. 2023-05-12T10:44:30 < qyx> are you sure 2023-05-12T10:45:04 < qyx> unrelated, is 360x30 mm PCB too big? 2023-05-12T10:45:06 < jpa-> AT+CRSM says it does some locking for selecting the file and retrieving it 2023-05-12T10:45:39 < mawk> yeah jpa- I was using this command before and it mostly works 2023-05-12T10:45:50 < mawk> but it truncates the response to 56 bytes on ublox modem 2023-05-12T10:45:57 < mawk> very stupid 2023-05-12T10:46:06 < Steffanx> It's not about size but how you use it, qyx. 2023-05-12T10:46:11 < jpa-> get first 56 bytes with it and then you know if your longer response is the correct file :) 2023-05-12T10:46:19 < mawk> some commands allow an offset to read further, but not all 2023-05-12T10:46:29 < mawk> right 2023-05-12T10:46:33 < mawk> yeah 2023-05-12T10:48:35 < mawk> Steffanx https://youtu.be/QKtXDa85Hfs 2023-05-12T10:49:00 < mawk> it's a french marine song about hunting englishmen 2023-05-12T10:49:15 < mawk> the united ideal of continental Europe 2023-05-12T10:49:31 < Steffanx> Do your new colleagues enjoy your french music? 2023-05-12T10:49:44 < mawk> there's no boombox in the office 2023-05-12T10:51:24 < Steffanx> Ah too bad 2023-05-12T10:54:09 < mawk> at the end of the song the whole crew commits suicide because the ship is sinking because a fatass fell from the lookout and made a hole in the hull 2023-05-12T11:05:03 < Steffanx> Time to listen to dutch music mawk https://www.youtube.com/watch?v=tzwFJkF77UQ 2023-05-12T11:06:37 < ventYl> I am looking forward for this week's YT feed :) 2023-05-12T11:09:31 < Steffanx> let me temper your expectations with this beauty ventYl: https://www.youtube.com/watch?v=7b5BY1IAfwY 2023-05-12T11:11:02 < ventYl> FFS 2023-05-12T11:11:23 < ventYl> hindish accent + the one and only autosar architecture diagram 2023-05-12T11:19:27 < Steffanx> haha 2023-05-12T11:19:57 < ventYl> we don't need no Euro 7, automotive industry will bury itself 2023-05-12T11:26:10 < mawk> >Subscribe for more!! 2023-05-12T11:26:15 -!- dima_ is now known as dima 2023-05-12T11:36:21 < Steffanx> Did you even listen to the dutch song mr mawk ? 2023-05-12T11:37:08 < mawk> not yet wait 2023-05-12T11:38:14 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c098:44e8:ae27:c6c2] has joined ##stm32 2023-05-12T13:12:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c098:44e8:ae27:c6c2] has quit [Ping timeout: 240 seconds] 2023-05-12T13:12:32 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:20c1:db05:c439:8647] has joined ##stm32 2023-05-12T13:15:39 < karlp> what do we think about these new "interactive" datasheets? https://www.nexperia.com/interactive-datasheet?id=BUK9M12-60E 2023-05-12T13:15:56 < karlp> I kinda like the sliders, but I also kinda really like being able to have the file locally for whatever I want down the road... 2023-05-12T13:16:34 < karlp> also, having to use the sliders to see max/min at all seems like a bit of a step backwards... 2023-05-12T13:17:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:20c1:db05:c439:8647] has quit [Ping timeout: 240 seconds] 2023-05-12T13:18:12 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b88f:646e:af77:4c9c] has joined ##stm32 2023-05-12T13:31:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c429-42c6-238c-8cb4.fixed6.kpn.net] has joined ##stm32 2023-05-12T13:36:48 -!- specing [~specing@user/specing] has quit [Ping timeout: 248 seconds] 2023-05-12T13:38:08 -!- specing [~specing@user/specing] has joined ##stm32 2023-05-12T13:45:50 < jpa-> karlp: yeah, it's fine as long as they keep the PDFs 2023-05-12T13:46:29 < jpa-> and i agree that it is silly to have the min/max columns when they are empty 2023-05-12T13:53:50 < BrainDamage> pdf support running js, no reason not to put them inside the pdf 2023-05-12T13:54:36 < jpa-> ewww 2023-05-12T13:55:49 < jpa-> does anything except acrobat reader run that? 2023-05-12T14:00:10 < Steffanx> Why would you want to use another reader? 2023-05-12T14:09:25 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-12T14:15:02 < PaulFertser> The trolling level on this channel has really deteriorated since dongs left. Not the same ##stm32 I knew and loved! 2023-05-12T14:21:27 < Steffanx> awh 2023-05-12T14:27:56 < Steffanx> Not sure why he went Telegram only 2023-05-12T14:28:09 < Steffanx> Got bored trolling irc i guess 2023-05-12T14:36:58 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-12T15:09:32 < jbo> luckily we still have a bit of blaxer left 2023-05-12T15:09:37 < jbo> blaxter* 2023-05-12T15:13:00 < PaulFertser> He is not nearly that interactive. 2023-05-12T15:13:03 < Steffanx> Yes we are very lucky. 2023-05-12T15:13:23 < jbo> :D 2023-05-12T15:13:47 < jbo> so I guess UPS won't show up today anymore 2023-05-12T15:14:03 < Steffanx> its still early 2023-05-12T15:14:55 < jbo> they sent a notification yesterday evening that $PCBs will be delivered today but the tracking still doesn't show that it's actually "out for delivery" 2023-05-12T15:14:57 < jbo> fuckers :< 2023-05-12T15:15:26 < Steffanx> ohno, will you be ok? 2023-05-12T15:16:06 < jbo> yes. 2023-05-12T15:16:10 < jbo> you seem to be quite in the mood today? :D 2023-05-12T15:16:21 < Steffanx> What mood? 2023-05-12T15:16:29 < jbo> idk, maybe it's just being dutch :p 2023-05-12T15:17:10 < Steffanx> idk. Ask your gf if she is "in the mood" 2023-05-12T15:18:02 < jbo> she's currently not 2023-05-12T15:21:19 < Steffanx> Play her a nice dutch song jbo https://www.youtube.com/watch?v=1yOlTSO_TPQ 2023-05-12T15:22:14 < Steffanx> Alright back to work, before i get accused of not being helpful 2023-05-12T15:23:27 < qyx> wat Steffanx you are ircing in da work? 2023-05-12T15:23:46 < jbo> worse - when he visited he told my friend about irc 2023-05-12T15:23:52 < jbo> my life has not been the same since. 2023-05-12T15:23:55 < Steffanx> Working from home atm 2023-05-12T15:24:05 < Steffanx> Why did you invite someone from IRC in your house in the first place 2023-05-12T15:24:15 < Steffanx> Also you were happy to talk about it at the time. 2023-05-12T15:24:32 < qyx> I also did 2023-05-12T15:24:34 < jbo> well after you mentioned it & explained what it was there was little I could do 2023-05-12T15:24:35 < qyx> it was fine 2023-05-12T15:25:06 < Steffanx> he seemed fine with it jbo. 2023-05-12T15:25:31 < qyx> I finally fixed my matlabs 2023-05-12T15:25:40 < qyx> there was a little typo 2023-05-12T15:25:46 < Steffanx> jbo You're still here, so you survived it as well 2023-05-12T15:26:03 < jbo> Steffanx, after not having been here for 3 years you mean? 2023-05-12T15:26:18 < Steffanx> That's because someone went work-a-holic. 2023-05-12T15:26:24 < Steffanx> but as mr paul mentioned a lot has changed as well. 2023-05-12T15:27:21 < jbo> Paul's special military operation certainly changed stuff. 2023-05-12T15:27:37 < Steffanx> im 110% sure mr paul is not happy about it 2023-05-12T15:27:46 < jbo> I know :( 2023-05-12T15:29:03 < qyx> https://bin.jvnv.net/file/E3HAA/Screenshot_2023-05-12_14-26-54.png 2023-05-12T15:29:05 < qyx> nah, tamed 2023-05-12T15:29:05 -!- specing [~specing@user/specing] has quit [Ping timeout: 240 seconds] 2023-05-12T15:29:47 < jbo> did you let your kid connect the dots? :D 2023-05-12T15:29:59 -!- specing [~specing@user/specing] has joined ##stm32 2023-05-12T15:35:20 < PaulFertser> I'm "involved" in another military operation now. 2023-05-12T15:35:32 < Steffanx> uh what PaulFertser ? 2023-05-12T15:36:50 < qyx> are you in armenia 2023-05-12T15:37:09 < jbo> propbably planning his next invasion 2023-05-12T15:37:13 < jbo> lock your doors 2023-05-12T15:37:21 < jbo> :D 2023-05-12T15:37:39 < PaulFertser> Steffanx: Islamic Jihad vs. IDF 2023-05-12T15:38:13 < Steffanx> but how are you "involved" in that? 2023-05-12T15:38:50 < PaulFertser> Steffanx: hearing sirens, Irone Dome launches and stuff. 2023-05-12T15:39:17 < Steffanx> I missed something? You're not longer in russialand? 2023-05-12T15:39:32 < PaulFertser> Yep 2023-05-12T15:40:14 < Steffanx> Oh since when? Did i miss it or wasnt it public knowledge? 2023-05-12T15:42:09 < PaulFertser> Half a year. I never really announced. 2023-05-12T15:43:04 < Steffanx> Interesting choice though. Isreal. 2023-05-12T15:43:09 < Steffanx> *israel 2023-05-12T15:43:35 < jpa-> are you sure paul is on israel side of the border? :) 2023-05-12T15:43:48 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b88f:646e:af77:4c9c] has quit [Ping timeout: 240 seconds] 2023-05-12T15:43:51 < jbo> you never know with the russians which side of the border they're on, right? 2023-05-12T15:43:55 < jbo> jpa- can relate 2023-05-12T15:44:06 < jpa-> or even where they think the border is ;) 2023-05-12T15:44:10 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-12T15:44:11 < qyx> I guess the israeli side is using israel anti missile system 2023-05-12T15:44:18 < qyx> not the other one 2023-05-12T15:44:33 < jbo> if people could just sit down and chill that would be great 2023-05-12T15:44:38 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:cd56:f0a0:7212:7d2d] has joined ##stm32 2023-05-12T15:45:06 < qyx> so, putting ADXL355 in the freezer 2023-05-12T15:46:35 < PaulFertser> Steffanx: kinda obvious choice for someone who is "a son of a jew" according to "Halakha"... 2023-05-12T15:47:03 < Steffanx> oh yeah perhaps it makes more sense in that case. 2023-05-12T15:54:45 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-12T15:58:27 < Steffanx> Anyway, good to hear you made it out of the country :) 2023-05-12T16:01:26 < BrainDamage> it's quite interesting, all the people I know from the internet fled russia 2023-05-12T16:01:45 < BrainDamage> ( with good reason ) 2023-05-12T16:09:49 < PaulFertser> So at least now I can tell something more real (than the dongs' stories) about the "jewland". 2023-05-12T16:09:59 < PaulFertser> Feel free to ask specific questions. 2023-05-12T16:11:14 < PaulFertser> Yeah, russia isn't getting away from the crimes they made. Too bad I still have many relatives and friends there... can only hope for a reasonably safe "transition period" for them after the real troubles inside the country start... 2023-05-12T16:19:22 < PaulFertser> jbo: there're way too many forces in the world that really want all the Palestinians to be not chill at all, the more they suffer, the more edge those forces get. In the current attack they have already killed 3 childs and 1 adult with their own shells and missiles falling on their own heads before even leaving the Gaza strip... 2023-05-12T16:21:17 < PaulFertser> jbo: a parliament member from Jordan was recently detained after trying to smuggle more than 200 guns and many kilos of gold to Gaza. Not food, not medicine. Guns for terrorism and gold to pay the family members of terrorists. 2023-05-12T16:21:47 < karlp> still ants trying to sting the feet of the giants crushing them... 2023-05-12T16:21:49 < PaulFertser> During the pandemic Israel was providing all of them with free vaccines. 2023-05-12T16:22:48 < PaulFertser> BTW, according to IDF sources Hamas hasn't really joined the current attack. 2023-05-12T16:23:17 < PaulFertser> Probably they're more than happy to see islamic jihad members getting killed with israeli hands. 2023-05-12T16:24:16 < PaulFertser> Such a fucking mess. Some people just can't really live in peace... fighting over some bullshit. 2023-05-12T16:27:54 < PaulFertser> Just few weeks ago 15k palestinians were legally crossing the Gaza border daily to earn money in Israel. That's some very reasonable income by Gaza standards. So some people there are willing to live peacefully side-by-side, to do honest work and to get honest rewards. But that's not what many other actors really want. 2023-05-12T16:28:41 < specing> PaulFertser: what's your opinion on the settlements? 2023-05-12T16:30:01 < PaulFertser> specing: I do not like them, and there're really way too many religious fanatics running them afaik. This adds to the tension. 2023-05-12T16:31:08 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Ping timeout: 240 seconds] 2023-05-12T16:33:10 < PaulFertser> specing: that said, I'm not sure the lifes of Gaza people improved after deoccupation in 2005, so go figure... 2023-05-12T16:34:57 < PaulFertser> specing: and why Egypt and Jordan doesn't build a purifying water station for Gaza? I have an impression they do not really care about the people there. 2023-05-12T16:35:44 < specing> isn't Jordan bankrupt? No idea about Egypt 2023-05-12T16:36:24 < specing> But anyways, why would *anyone* invest anything into Gaza when there's a high risk of their shit being bombed to hell, either accidentally or as collateral damage? 2023-05-12T16:37:06 < specing> and, last I heard, Gaza didn't have enough power to even run the hospitals, let alone anything as energy intensive as desalination 2023-05-12T16:37:33 < PaulFertser> specing: so Jordan can give guns but not something useful for civil life?.. 2023-05-12T16:42:09 < specing> PaulFertser: do they not? I see a lot of news items about Jordan supplying humanitarian aid 2023-05-12T16:43:33 < PaulFertser> specing: in 2005 the terrorists (or whomever there) destroyed the greenhouses that israelis left for them. 2023-05-12T16:44:10 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has joined ##stm32 2023-05-12T16:44:13 < PaulFertser> specing: humanitarian aid isn't helping to build a workable society unfortunately. You need to give people the way to fish rather than the fish itself. 2023-05-12T16:45:31 < PaulFertser> The water station can be built in Egypt with a pipe to supply water to Gaza. Then it wouldn't be bombed for sure. 2023-05-12T16:48:14 < jbo> I'd vote for just not bombing stuff in general. 2023-05-12T16:53:15 < PaulFertser> jbo: sure thing, and IDF wouldn't be bombing anything if Gaza terrorists wouldn't be making their terrorism. The Islamic Jihad high-profile members were targetted _after_ more than a 100 missiles were launched on Israel towns about a week ago. They were told so many times, stop firing rockets, but they do it again and again... So naturally the IDF has to destroy the launch sites and to kill the 2023-05-12T16:53:22 < PaulFertser> people who coordinate the launches. What other meaningful options are there? 2023-05-12T16:54:52 < specing> I don't know, imagine Russia succeeded in displacing all of Ukraine into a tiny area near Romania and now you have PaulFertser arguing that Romania should stop supplying guns and instead build a desalination station in Romania to feed water to that pocked of millions of ukrainians... dunno.. 2023-05-12T16:55:11 < specing> pocked/pocket 2023-05-12T16:58:44 < PaulFertser> specing: in an improbably horrible case like that Romania should really care more about people and less about using them as terrorists in a futile attempt to fight russia. 2023-05-12T16:59:52 < PaulFertser> So indeed in my book they should give them citizenship/work visas and help with the infrastructure rather than supplying guns for the never-ending meaningless war. 2023-05-12T17:00:01 < specing> And do remember whose terrorism started that ordeal. Hint: it wasn't the arabs 2023-05-12T17:01:19 < PaulFertser> Most of the initial terrorism was targetting the British. 2023-05-12T17:01:34 < specing> PaulFertser: on that part I agree, this is the actual world order. The powerful get their way 2023-05-12T17:02:01 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c429-42c6-238c-8cb4.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-12T17:04:14 < PaulFertser> Somehow terror acts were made against the British but the first war was started by the arabs... 2023-05-12T17:07:41 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Read error: Connection reset by peer] 2023-05-12T17:08:25 < specing> they probably saw the writing on the wall, just couldn't fully commit (afaik they did not attack all at once?) to solving the problem. Particularly because at that time the jewish population was already through one genocide 2023-05-12T17:09:29 < specing> s/Particularly/probably/ 2023-05-12T17:09:45 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 265 seconds] 2023-05-12T17:10:43 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-12T17:10:43 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-12T17:10:43 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-12T17:16:45 < PaulFertser> Arabic countries have plenty of land already. Why do not they just accept that Israel can have some (quite humble compared to all of them) too, and prosper from friendly economic relations instead of fighting? I have an impression the true reason is that way too many people there are motivated by racism and hatred. 2023-05-12T17:17:36 < specing> LOl 2023-05-12T17:18:37 < jbo> quite the thing to hear from a russian tbh 2023-05-12T17:18:41 < specing> imagine you lived in a house where several generations of your ancestors lived, and then some armed thugs come and tell you: look, there's plenty of land in Egypt and Syria already, why don't you go live there? 2023-05-12T17:19:29 < PaulFertser> You want the west bank, have it: https://en.wikipedia.org/wiki/Jordanian_annexation_of_the_West_Bank . But Jordan didn't want to really have it. 2023-05-12T17:20:46 < PaulFertser> specing: that's not exactly how it was happening. Jewish communities were _buying_ land during the British mandate and before that under the Turkish rule. 2023-05-12T17:21:38 < specing> jbo: Israel's leadership has same lebensraum goals as Russia's, just different methodology 2023-05-12T17:22:15 < specing> PaulFertser: land on which people already lived? 2023-05-12T17:22:26 < PaulFertser> specing: no, nearby land. 2023-05-12T17:22:45 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-12T17:22:54 < specing> like, front yard and back yard? 2023-05-12T17:23:29 < PaulFertser> specing: no, like a part of a desert that nobody used for anything. Officially buying from local authorities. 2023-05-12T17:24:26 < specing> then where did the millions of displaced come from? 2023-05-12T17:24:32 < PaulFertser> Some communities tracing their history to those times do not even accept Israel state authority today, and claim independence or being part of Palestine or whatever. 2023-05-12T17:26:21 < PaulFertser> specing: in reality it was less than a million afaik. During the first Israeli-Arab war many local palestinians fled their homes to avoid "getting in the way" of arabic armies, that was an essential factor to displacement. 2023-05-12T17:26:21 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 268 seconds] 2023-05-12T17:29:11 < PaulFertser> Also, " the Arab population was disrupted by general conditions of insecurity. Up to 100,000 Arabs from the urban upper and middle classes in Haifa, Jaffa and Jerusalem, or Jewish-dominated areas, evacuated abroad or to Arab centres to the east." 2023-05-12T17:31:03 < PaulFertser> There's currently 21 % of arabs in Israel, and they have a party in parliament, all the rights etc. 2023-05-12T17:31:15 < karlp> I propose giving nuclear weapons to iran, turkey and egypt. bring back MAD properly. 2023-05-12T17:31:35 < karlp> stop this line in the sand where everyone who did it in the past gets to be a nuclear power, and no-one new ever. 2023-05-12T17:32:25 < karlp> also, fucking hell, apple hw is fuckign weird. 2023-05-12T17:32:33 < specing> karlp:+1! 2023-05-12T17:32:41 < karlp> manual says "you can also use rechargable batteries" 2023-05-12T17:32:52 < karlp> put in some freshly charged batteries, 1.3V on each 2023-05-12T17:32:58 < karlp> mouse doesn't even turn on. 2023-05-12T17:33:07 < karlp> only worked when I gave it brand new alkalines. 2023-05-12T17:33:14 < karlp> stupid thing doesn't even have a wheel! 2023-05-12T17:33:28 < specing> PaulFertser: 21% israeli citizens, not including the millions of arabs on occupied lands? Who have voting rights denied because that would make Israel arab majority and that's a big no-no? 2023-05-12T17:39:22 < PaulFertser> specing: do you call the Palestinian Authority occupants? 2023-05-12T17:40:03 < specing> PaulFertser: I don't know much about them 2023-05-12T17:40:37 < PaulFertser> specing: well, the Palestine land has indpendent government and votings and whatever they want. Pretty much autonomous. 2023-05-12T17:48:47 < ventYl> damn, I spent 4+ hours reviving bike carbs 2023-05-12T17:53:55 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-12T18:27:40 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-05-12T18:34:23 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-12T18:47:38 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:cd56:f0a0:7212:7d2d] has quit [Ping timeout: 246 seconds] 2023-05-12T19:13:09 < jpa-> https://www.grandforksherald.com/news/minnesota/man-found-dead-at-digi-key-in-thief-river-falls-murder-investigation-ongoing angry customer? 2023-05-12T19:15:49 < Mangy_Dog> wwhhaaaa? 2023-05-12T19:17:42 < Mangy_Dog> who ever said electronics was boring 2023-05-12T19:36:57 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-12T19:42:11 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Read error: Connection reset by peer] 2023-05-12T19:45:24 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-12T20:10:20 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-12T20:54:02 < mawk> using raw commands with logical channels worked jpa- 2023-05-12T20:54:23 < mawk> when doing raw commands ublox stops trying to be helpful and it's not truncated to 56 bytes anymore as an added bonus 2023-05-12T20:55:22 < mawk> so you need to open a logical channel with the application ID of the 3GPP USIM, ie A0000000871002 2023-05-12T20:55:52 < mawk> and then the modem won't be able to mess your file selection 2023-05-12T20:56:10 < mawk> unless it's a non-shared file, then you get an error code and you can retry later 2023-05-12T20:56:44 < mawk> and if it's a shared cyclic EF (basically a circular buffer) you should be careful about where the pointer head is 2023-05-12T20:57:06 < mawk> unless it's a shared file* 2023-05-12T20:57:19 < mawk> no nvm, non-shared 2023-05-12T20:57:27 < mawk> if it's shared it can be concurrently opened of course 2023-05-12T20:57:49 < mawk> the set of commands should work on any modem 2023-05-12T20:57:56 < mawk> if someone has the same roaming problems as us 2023-05-12T20:58:13 < mawk> send me a gram of dope and I give you the code with full commercial license 2023-05-12T20:58:48 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-51b3-c5b7-b8af-a6d0.fixed6.kpn.net] has joined ##stm32 2023-05-12T21:03:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-51b3-c5b7-b8af-a6d0.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-12T21:24:18 < ventYl> motherfucking intel wifi fucked itself up again 2023-05-12T21:25:20 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5b4-cd1-6638-f4de.fixed6.kpn.net] has joined ##stm32 2023-05-12T21:29:59 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-12T21:30:41 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has quit [Ping timeout: 250 seconds] 2023-05-12T21:39:10 < ventYl> fucking piece of shit. if I enable bluetooth, then speed of wifi is degraded somewhere into year 2004 2023-05-12T21:57:36 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 248 seconds] 2023-05-12T22:30:25 < Steffanx> language ventYl . 2023-05-12T22:56:56 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-12T22:56:59 < Laurence_b> lulwut 2023-05-12T22:57:01 < Laurence_b> https://nitter.cz/pic/orig/enc/bWVkaWEvRnY4T2oyVVd3QUEyZG02LmpwZw== 2023-05-12T22:57:03 < Laurence_b> not sure if real 2023-05-12T22:57:54 < Laurence_b> truly epic lulz 2023-05-12T22:57:56 < Laurence_b> https://nitter.cz/pic/enc/bWVkaWEvRnY3dnpUSVdZQW9wRVk1LnBuZz9uYW1lPXNtYWxsJmZvcm1hdD13ZWJw 2023-05-12T23:19:32 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-12T23:32:21 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-05-12T23:59:59 -!- specing [~specing@user/specing] has quit [Ping timeout: 240 seconds] --- Day changed la touko 13 2023 2023-05-13T00:01:06 -!- specing [~specing@user/specing] has joined ##stm32 2023-05-13T00:22:41 -!- Suspect [~rod@pa49-197-236-7.pa.qld.optusnet.com.au] has joined ##stm32 2023-05-13T00:30:01 -!- Suspect [~rod@pa49-197-236-7.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-05-13T01:40:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-5b4-cd1-6638-f4de.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-13T01:59:39 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-13T02:36:09 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-13T02:45:11 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-13T02:57:26 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-13T03:36:26 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-13T03:40:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 240 seconds] 2023-05-13T03:42:22 < ColdKeyboard> When I "cold" boot STM32F411, it starts with user code/app. 2023-05-13T03:42:39 < ColdKeyboard> But when I program it with JLink, it shows up as the STM32 Bootloader instead of running user app... 2023-05-13T03:43:14 < ColdKeyboard> I have the pull-down on the Boot0 and PB2. Does this sound normal? 2023-05-13T04:05:15 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-13T04:09:24 -!- [_] is now known as [itchyjunk] 2023-05-13T04:39:51 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has quit [Read error: Connection reset by peer] 2023-05-13T04:40:34 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-05-13T05:58:11 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-13T08:11:46 -!- Streake_ [~Streaker@user/streaker] has joined ##stm32 2023-05-13T08:19:45 -!- Streake_ is now known as Streaker 2023-05-13T08:33:22 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-13T10:28:34 < jpa-> ColdKeyboard: no, it does not - sounds like jlink is failing to reset the CPU after reprogramming 2023-05-13T10:30:19 < jpa-> ColdKeyboard: i have had similar problems when my boot0 pin had a soldering problem which caused it to be unconnected - capacitive coupling affected what mode it booted into 2023-05-13T10:32:27 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-13T12:29:11 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 246 seconds] 2023-05-13T12:32:46 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5321))] 2023-05-13T12:32:51 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-13T13:01:26 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-78aa-18ec-8380-34b4.fixed6.kpn.net] has joined ##stm32 2023-05-13T14:31:04 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 265 seconds] 2023-05-13T14:48:11 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-13T15:06:58 -!- kraiskil [~kraiskil@mob-194-230-148-217.cgn.sunrise.net] has joined ##stm32 2023-05-13T15:35:50 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-78aa-18ec-8380-34b4.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-13T16:21:14 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-13T16:25:04 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-49b6-dd6e-560f-524c.fixed6.kpn.net] has joined ##stm32 2023-05-13T16:26:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-49b6-dd6e-560f-524c.fixed6.kpn.net] has quit [Client Quit] 2023-05-13T16:33:12 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-44a-e17d-f9a4-95c3.fixed6.kpn.net] has joined ##stm32 2023-05-13T16:48:31 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-13T16:56:48 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-44a-e17d-f9a4-95c3.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-13T17:04:44 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [] 2023-05-13T17:15:23 -!- kraiskil [~kraiskil@mob-194-230-148-217.cgn.sunrise.net] has quit [Ping timeout: 256 seconds] 2023-05-13T18:02:43 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-13T18:25:34 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-44a-e17d-f9a4-95c3.fixed6.kpn.net] has joined ##stm32 2023-05-13T18:33:55 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-13T18:49:08 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-44a-e17d-f9a4-95c3.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-13T19:00:13 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-13T19:30:50 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 268 seconds] 2023-05-13T20:23:46 < ColdKeyboard> Thanks jpa-, I added lines in the .jlink file to manually hold the reset for 100ms and then release it and it seems to be working fine since 2023-05-13T20:24:08 < ColdKeyboard> Btw, does anyone know what is the PN or how to search for this SATA power connector -> https://i.imgur.com/53Lt3LS.png 2023-05-13T20:25:15 < jpa-> http://connectorbook.com/identification.html?m=NN may help 2023-05-13T20:26:42 < ColdKeyboard> Oh pretty sweet website! Thanks! 2023-05-13T20:27:41 < jpa-> though its "find by term" doesn't find much sata stuff at all 2023-05-13T20:29:57 < ColdKeyboard> Yeah it does not have SATA unfortunately 2023-05-13T20:30:24 < jpa-> is it SMD or through hole? 2023-05-13T20:32:11 < ColdKeyboard> Looks like it's SMD 2023-05-13T20:32:26 < jpa-> so do you need exactly that connector or just any sata power connector? 2023-05-13T20:32:53 < ColdKeyboard> Just the SATA power connector that goes on the device side (like HDD) 2023-05-13T20:33:10 < ColdKeyboard> Molex site is messed up and not showing any results to any query so that's not helping :) 2023-05-13T20:33:24 < ColdKeyboard> But don't need the data part, just the power 2023-05-13T20:33:49 < ColdKeyboard> jpa- If you go to https://tools.molex.com/molex/products/family/serial_ata_connectors_and_cable_assemblies and click on Host Receptacles, does it work or it returns no results find error? 2023-05-13T20:34:19 < jpa-> error 2023-05-13T20:34:55 < ColdKeyboard> Ok, so it's something with their site 2023-05-13T20:45:14 < jpa-> https://www.smp-tech.com/_interconnect/sata_connectors.shtm has through-hole ones at bottom of page, but not found at any distributors 2023-05-13T20:47:55 < jpa-> the combined power + data are easy to find 2023-05-13T20:50:16 < jpa-> https://www.aliexpress.com/item/1005004151346757.html and through hole is available on aliexpress 2023-05-13T20:51:37 < jpa-> you could also just have the contacts on PCB edge and get a 3D printed shroud 2023-05-13T20:52:22 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-13T20:54:16 < jpa-> https://www.aliexpress.com/item/1005002363051383.html and here in SMD model 2023-05-13T20:58:01 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-13T21:12:31 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-13T21:39:01 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-13T21:52:22 -!- kraiskil [~kraiskil@mob-194-230-148-217.cgn.sunrise.net] has joined ##stm32 2023-05-13T22:04:31 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-13T22:12:25 -!- kraiskil [~kraiskil@mob-194-230-148-217.cgn.sunrise.net] has quit [Ping timeout: 240 seconds] 2023-05-13T22:14:47 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:f816:93e1:5133:85e2] has joined ##stm32 2023-05-13T22:14:47 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:f816:93e1:5133:85e2] has quit [Changing host] 2023-05-13T22:14:47 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-13T22:26:21 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-13T23:26:18 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Quit: martinmoene] --- Day changed su touko 14 2023 2023-05-14T00:04:55 < ColdKeyboard> Thanks jpa- I just ordered few of them to have as a backup 2023-05-14T00:05:16 < ColdKeyboard> I still need to find PN that I can give to the fab house if I want them to assemble few boards for me. 2023-05-14T00:05:30 < ColdKeyboard> Or if I want to have an actual datasheet for the part 2023-05-14T00:13:00 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 265 seconds] 2023-05-14T00:32:17 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 246 seconds] 2023-05-14T00:35:13 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 2023-05-14T00:37:07 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-05-14T01:06:54 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c435-7104-ebb5-4e60.fixed6.kpn.net] has joined ##stm32 2023-05-14T01:13:47 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-14T01:21:09 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c435-7104-ebb5-4e60.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-14T01:24:04 < nomorekaki> hello EV fans 2023-05-14T01:26:17 < qyx> I have a diesel 2023-05-14T01:26:39 < nomorekaki> (non automotive) 2023-05-14T01:37:46 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-14T01:43:14 < nomorekaki> very high quality EV this year I think 2023-05-14T02:13:05 < qyx> https://twitter.com/bvernoux/status/1218888759212756994 2023-05-14T02:13:06 < qyx> whats that 2023-05-14T02:14:31 < nomorekaki> modular RF pieces 2023-05-14T02:14:42 < nomorekaki> SMA chaining 2023-05-14T02:14:55 < nomorekaki> show this to jadew 2023-05-14T03:12:59 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-14T03:23:07 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-14T03:44:35 -!- qyx [~qyx@84.245.121.225] has quit [Ping timeout: 264 seconds] 2023-05-14T03:46:15 -!- qyx [~qyx@84.245.120.86] has joined ##stm32 2023-05-14T04:54:16 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-05-14T05:30:36 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-14T05:44:17 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-14T05:44:17 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-14T05:44:17 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-14T07:46:23 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 264 seconds] 2023-05-14T08:27:58 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-14T08:44:36 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-14T08:44:36 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-14T08:44:36 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-14T10:45:28 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-14T10:52:16 < BrainDamage> that existed since few decades, just not in form of a coherent collection 2023-05-14T10:53:50 < benishor> it's actually quite cute 2023-05-14T10:58:58 < BrainDamage> looking at the modules in that pic, several of them aren't gen pourpose 2023-05-14T11:00:30 < BrainDamage> as in, they work only on a specific frequency 2023-05-14T11:00:46 < BrainDamage> the wilkinson power splitters are narrow band 2023-05-14T11:01:14 < BrainDamage> the open/shorted stubs 2023-05-14T11:01:45 < BrainDamage> and the delay line 2023-05-14T11:02:11 < BrainDamage> in fact the only gen pourpose things in that pic would be dc block and the low pass filters 2023-05-14T11:12:14 -!- fdarling [~forest@h96-61-112-106.mtjltn.dedicated.static.tds.net] has quit [Quit: Leaving] 2023-05-14T11:42:43 -!- Sadale [~Sadale@user/sadale] has quit [Quit: tawa pona!] 2023-05-14T11:43:02 -!- Sadale [~Sadale@user/sadale] has joined ##stm32 2023-05-14T11:43:38 < Steffanx> Lol nomorekaki I just saw a short compilation and I'm glad I didn't watch it. 2023-05-14T12:00:39 < nomorekaki> bs 2023-05-14T12:01:38 < nomorekaki> stepan, you lie 2023-05-14T12:08:11 < Steffanx> No. 2023-05-14T12:15:47 < Steffanx> sorry nomorekaki. I forgot EV is about the act not the quality of the singing/song. 2023-05-14T12:22:18 < nomorekaki> steff is broken 2023-05-14T12:25:22 < nomorekaki> when did you become such EV professional jury instead of EV enjoyer? 2023-05-14T12:25:52 < nomorekaki> anyways bbl> 2023-05-14T12:26:07 < Steffanx> I never enjoyed it :) 2023-05-14T12:28:05 < Steffanx> Maybe part of the problem is the drama her in dutchland. There is ALWAYS drama when it comes to the selection of the dutch act 2023-05-14T12:37:31 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-14T12:58:21 < ventYl> wtf, people are really watching it? 2023-05-14T13:55:15 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 256 seconds] 2023-05-14T14:38:23 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-14T15:05:21 < jadew> qyx, it's a series of experiments 2023-05-14T15:05:45 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-14T15:06:16 < jadew> someone is designing something, and they made the various RF components on these boards so they can see how well they're working 2023-05-14T15:07:31 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-14T15:12:02 < jadew> they're using reusable connectors (not SMA), probably 2.4 mm ones 2023-05-14T15:12:23 < jadew> quite expensive, I have a couple of those 2023-05-14T15:12:57 < jadew> think mine are 2.92 tho 2023-05-14T15:16:12 < zyp> jpa-, I've finally started poking a bit at linuxcnc; I think the route I want to go is writing a simple hal driver that talks raw ethernet to a chain of fpga cards 2023-05-14T15:17:42 < jpa-> sounds reasonable, i think hostmot2 with ethernet cards does similar with good success 2023-05-14T15:18:28 < jpa-> if you want PID control on linuxcnc side, you may need some latency reduction effort; but if PID control is on FPGA card, 1ms latency is fine 2023-05-14T15:18:50 < zyp> I figure I could do a simple but efficient protocol with only two messages; a scan message that runs through the chain and each device then appends its metadata to it, and a data exchange message that each device rewrites, kinda ethercat style 2023-05-14T15:19:30 < zyp> metadata could be a list of hal pins with name, type and offset in data message 2023-05-14T15:19:40 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-14T15:20:29 < jadew> qyx, also, I think they missed several calibration boards 2023-05-14T15:20:39 < zyp> should let me do a very generic driver on the linuxcnc side since all the pins could be detected dynamically 2023-05-14T15:21:42 < jadew> the splitters would require separate calibration since they have the bent lines, possibly different calibration for each bend direction 2023-05-14T15:21:45 < zyp> and yeah, I looked at both the hostmot2 driver and a couple of other things yesterday 2023-05-14T15:23:10 < zyp> there's this project, that puts the hostmot2 blocks into the litex framework: https://github.com/sensille/litehm2/ 2023-05-14T15:23:26 < oz4ga> Guys can you advice me on a strange USB problem I'm facing with a F072CB based board? It's a nanoVNA antenna, transmission line & filter analysator. Maybe it also makes coffey? I haven't figured out yet. DFUupdate of FW works fine using dfuutil on linux and ST's Dfusedemo on windows. The board is supposed to provide a Virtual Serial Port to allow me to retrive data from the device, but when I plug the device in in "application mode" ie. non dfu mode, I get 2023-05-14T15:23:26 < oz4ga> the error that the device didn't respond to the configuration address. Is this an indication of faulty circuitry? It baffels me that dfu works but VCP doesn't 2023-05-14T15:23:38 < zyp> in theory it should be portable to ecp5 without too much effort assuming I could get the toolchain to eat vhdl 2023-05-14T15:24:11 < zyp> but I'm gonna want to do stuff that hostmot2 doesn't support as well 2023-05-14T15:26:04 < jpa-> oz4ga: do you have a logic analyzer or oscilloscope that does at least 48Msps on two channels? 2023-05-14T15:26:51 < jpa-> you could probe the USB bus to see if it is actually doing anything.. maybe the firmware just fails to do usb for whatever reason 2023-05-14T15:27:20 < jpa-> "failed to accept address" errors come as soon as the USB bus pull-up resistor is working 2023-05-14T15:27:47 < zyp> and then there's this project, which also builds on litex and is for ecp5: https://github.com/Peter-van-Tol/LiteX-CNC/ 2023-05-14T15:28:29 < oz4ga> jpa-: I have a dual chan schope that does 60MHz, so yes. I also have a saleae analyser, A clone of the old 16 chan, I haven't used i for a very long time, so I don't know how fast it is, but my scope does 60MHz 2023-05-14T15:28:41 < zyp> but it's using etherbone as a transport, which I don't think is very efficient, and it still requires host side support for the various blocks you put in the fpga 2023-05-14T15:29:25 < jpa-> oz4ga: the 16 chan clone probably goes to 100Msps on 2 channels, so should work fine too; pulseview has USB decoder that i've used to debug stuff like this 2023-05-14T15:30:04 < zyp> oz4ga, I'd say it's an indication of fauly firmware 2023-05-14T15:30:08 < qyx> jadew: the idea sounds great if it works 2023-05-14T15:31:23 < zyp> depending on the host stack, set address is usually the first or second command issued to a new device, so that it doesn't respond to set address might simply mean that the host sees the pullup on the D+ line, but the device doesn't respond to anything past that 2023-05-14T15:31:32 < oz4ga> zyp: I wouldn't be surprised. It's a prime chinesium ripoff 2023-05-14T15:31:36 < jadew> qyx, it does, that's how RF stuff needs to be made, otherwise you can't know where the problem is 2023-05-14T15:31:47 < oz4ga> oh firmware 2023-05-14T15:32:00 < jadew> there are only a bunch of components there, a DC block, a LPF and a splitter/combiner 2023-05-14T15:32:46 < oz4ga> zyp: the FW is very well tested, but the actual board could easily be a ripoff plus sone mods, that would facilitate production 2023-05-14T15:32:49 < zyp> hardware is likely good, f072 got all the PHY bits internally, so if the bootloader works, there's no hardware reason why the application also shouldn't 2023-05-14T15:32:50 < jadew> actually multiple LPFs 2023-05-14T15:33:27 < jadew> and several versions of the splitter/combiner I think (probably to see which one does better), for future revisions 2023-05-14T15:34:05 < jpa-> one thing that might make a difference is if the application firmware runs at different clock settings than bootloader 2023-05-14T15:34:24 < zyp> ah, yeah 2023-05-14T15:34:34 < zyp> bootloader certainly runs from HSI48 2023-05-14T15:34:38 < zyp> application might expect HSE 2023-05-14T15:35:15 < oz4ga> zyp: exactly my thoughts. why in shamus butthead shouldn't it work if 1) the circuit is the same and 2) bootloader is running 2023-05-14T15:35:40 < oz4ga> fsck'ed again but Ali :D 2023-05-14T15:36:20 < jpa-> nanovna schematic brings HSE from SI5351A clock generator 2023-05-14T15:36:45 < jpa-> SI5351A has had severe availability problems at least, so would not be surprised if defective chip 2023-05-14T15:37:31 < jpa-> oz4ga: which version of the nanovna firmware are you trying to use? (link?) 2023-05-14T15:38:05 < jpa-> https://github.com/ttrftech/NanoVNA/blob/d02db797a7032822137882f8f8a6c4ec21f064cd/mcuconf.h#L49 this one appears to run on HSI even though the external clock is made available 2023-05-14T15:38:43 < oz4ga> https://github.com/DiSlord/NanoVNA-D <-- supposed to be the lates and greatest 2023-05-14T15:39:59 < jpa-> looks to be HSI there also for the F072 build, HSE for F303 build 2023-05-14T15:40:13 < jpa-> i assume you have verified which hw you actually have? 2023-05-14T15:40:35 < oz4ga> ttrftech is the original. This a nonavna-h the hugens model. I flashed several FW. They all behaves the same way. I cloned DiSlord repo last night, builed and flashed. same thing. 2023-05-14T15:40:57 < jpa-> but that, you actually have F072 on the pcb and not F303? 2023-05-14T15:41:50 < oz4ga> jpa- yes I have then hugens nanovna-h FW rev. 3.6, so I know which chip it running on. I opened it it IS a F072 2023-05-14T15:41:56 < jpa-> good 2023-05-14T15:42:33 < oz4ga> the FW also have a status screen telling me which HW it running on 2023-05-14T15:44:21 < jpa-> that screen actually reports what the FW was built for 2023-05-14T15:44:54 < oz4ga> *ROFL* I have been browsing the groups.io group. I just found a posting by mr. hugens him self. "I've discovered some bad clones" picture of 2 clone. one is labed "Bad Clone", the other "Worse Clone" 2023-05-14T15:45:13 < oz4ga> guess which one I have *ROFL* 2023-05-14T15:45:50 < jpa-> theoretically if they've cheaped out on decoupling or similar, it could cause USB to stop working once the TFT is enabled 2023-05-14T15:47:24 < oz4ga> TFT is enabled in dfu mode 2023-05-14T15:47:47 < oz4ga> it writes to the TFT "I'm now in dfu mode" 2023-05-14T15:47:56 < jpa-> ok, then not that either 2023-05-14T15:48:11 < jpa-> (probably, you can of course scope +3.3V rail to be sure) 2023-05-14T15:51:42 < oz4ga> *LOL* the producer has an alternative idea about how shielding is supposed to work. The circuit is shielded, but the there is cupper line in the open from the shielded box to the sma connector. 2023-05-14T15:52:42 < oz4ga> this goes for both ports. Brilliant .... NOT !!!! 2023-05-14T15:53:30 < qyx> it is usually done that way? 2023-05-14T15:57:05 < oz4ga> qyx: in this case it's a catastrophe. you wat the shield to go all the way to the body of the sma connector. the second connector is the reciever end. You use that when measuring through a device. now the receiver get the signal directy from the transmitter across the borard plust the signal that has been through the DUT (device under test) 2023-05-14T15:58:13 < oz4ga> that is NOT desirable ... to say the least 2023-05-14T16:01:04 < oz4ga> my my "worse clone" at least there is also an UART output, where I can solder 3 pins and connect to a ttl rs232 breakout board, so not a complete loss. 2023-05-14T17:40:47 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-14T18:14:51 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f1a6-197c-a240-ed4a.fixed6.kpn.net] has joined ##stm32 2023-05-14T20:03:08 -!- Luggi09498284764 [~lux@ip5b4231bc.dynamic.kabel-deutschland.de] has joined ##stm32 2023-05-14T20:04:33 < jpa-> zyp: how crazy am I to directly connect SWD pins on SBU1/SBU2 on USB-C? 2023-05-14T20:05:00 < jpa-> at least i know i'll be annoyed in having to plug it correct way around 2023-05-14T20:17:48 -!- dreamcat4 [uid157427@id-157427.hampstead.irccloud.com] has quit [Quit: Connection closed for inactivity] 2023-05-14T20:24:47 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-14T20:27:47 < zyp> I don't remember what the spec says about safe levels 2023-05-14T20:29:01 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-14T20:29:04 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f1a6-197c-a240-ed4a.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-14T20:30:02 < zyp> if you're doing a usb2 device, most of the time nothing hooks up to SBU anyway, that'll only happen when somebody are using a usb3 C-C cable 2023-05-14T20:30:27 < zyp> and most of the time people aren't using those for usb2 devices :p 2023-05-14T20:38:15 < jpa-> :) 2023-05-14T20:45:33 < zyp> hrm, sometimes halfassed macos support is more annoying than no support at all 2023-05-14T20:49:16 < zyp> I dug out the profishark so I can do decent captures of the ethernet stuff I'm about to experiment with, but I can't get profishark manager to work on macos anywhere 2023-05-14T20:50:13 < zyp> on hackintosh it's complaining the macos version I'm running is too old, and on macbook, it's complaining the kernel driver can't be loaded, presumably because I'm running too new a macos 2023-05-14T20:52:11 < zyp> changelog mentions nothing of when os version support is added or removed, or even release dates, and they don't seem to provide older versions for download anyway 2023-05-14T21:01:42 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-14T21:12:51 < qyx> wasn't there that thing preventing loadih user kernel modules in the recent macos update? 2023-05-14T21:12:59 < qyx> it broke that tunnelblick thing too 2023-05-14T21:15:32 < BrainDamage> might interest you: https://github.com/sickcodes/Docker-OSX 2023-05-14T22:10:10 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c07a-4918-aa3c-3d0d.fixed6.kpn.net] has joined ##stm32 2023-05-14T23:30:14 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-14T23:35:37 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-14T23:35:40 < Laurence_b> shartica intensifies https://nitter.cz/pic/enc/bWVkaWEvRnNqWUdsOVdJQUFLczZ0LmpwZz9uYW1lPXNtYWxsJmZvcm1hdD13ZWJw 2023-05-14T23:56:31 < oz4ga> ⚡🪓💣☠🗡@ hantek.com 2023-05-14T23:59:01 < oz4ga> I had to reinstall my scope software, but some of their supportsite has been down all evening. Got it running again and at least the Vdd rail isn't dropping when I connect the nanoVNA to USB --- Day changed ma touko 15 2023 2023-05-15T00:00:59 < oz4ga> Does any such thing as an adapter you can mount on top or clip onto a LQPF48 to access the pins w.o. soldering exist ? 2023-05-15T00:02:40 < zyp> didn't find any with a quick google search 2023-05-15T00:03:13 < zyp> but if there's specific pins you're interested in, sensepeek probes should work 2023-05-15T00:03:21 < ventYl> there were some in late '80s and early '90s, I've seen them in 486 PC motherboards 2023-05-15T00:03:34 < ventYl> ah, mount on top 2023-05-15T00:03:40 < ventYl> didn't say anything 2023-05-15T00:03:44 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-15T00:03:57 < zyp> yeah, sockets for loose qfp chips you can get 2023-05-15T00:04:13 < zyp> although the ones you've seen on motherboards are likely PLCC sockets 2023-05-15T00:05:17 < zyp> bios used to be stored on PLCC flash chips long into 2000s too 2023-05-15T00:06:24 < qyx> plcc44, I love it 2023-05-15T00:06:31 < qyx> 68hc11 <3 2023-05-15T00:13:56 < oz4ga> I think I'll get my self some sort magnifying glass first. I'm to old for this. Hopefully the magnifying glass can help me solder on a run of thin wire to the pins. I just want to see the USB signals on PA11 and PA12 2023-05-15T00:22:21 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-15T00:27:38 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-15T01:00:41 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:65fa:cefa:2b56:6014] has joined ##stm32 2023-05-15T01:00:41 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:65fa:cefa:2b56:6014] has quit [Changing host] 2023-05-15T01:00:41 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-15T01:15:54 < mawk> y no test points 2023-05-15T01:24:49 < Steffanx> Mawk: Did you know Thursday is probably a no work day for you 2023-05-15T01:26:10 < Steffanx> And 10 days after it again 2023-05-15T01:32:19 < zyp> oz4ga, easier to just chop up a cable in that case 2023-05-15T01:38:00 < oz4ga> zyp: yep. some UTP cable is going to die 2023-05-15T01:47:20 < zyp> no, I meant USB 2023-05-15T01:47:54 < zyp> why measure at PA11/PA12 when you can measure at the cable instead 2023-05-15T01:48:54 < zyp> although I suspect you're not gonna find anything interesting there anyway 2023-05-15T01:50:05 < zyp> are you able to connect a debugger? I figure a better bet would be to peek at the USB and RCC registers when it's misbehaving 2023-05-15T01:51:47 < oz4ga> I need the USB cable to function. My problem occure when it's pluged in, thts why I want to measure on the cpu 2023-05-15T01:52:46 < zyp> yeah, I understand that, I just figure it's the same signal anyway, so measuring at the chip pin or in the middle of the cable isn't gonna make a difference 2023-05-15T01:52:47 < oz4ga> The VCP fails to enumerate. 2023-05-15T01:53:20 < zyp> yeah, but the bootloader enumerates 2023-05-15T01:53:25 < oz4ga> yes 2023-05-15T01:54:10 < zyp> so it's unlikely to be a signal problem 2023-05-15T01:55:29 < oz4ga> aaagh. I don't like to butcher a USB-C cable. Is there a standard for which colour wire in the cable, that is cassying the d+ and the d- signe. Crist I have no iedea of what I'm doing 2023-05-15T01:55:38 < zyp> if you scope the signals, what you're likely to see is the SETUP packet for the set address request going out, but no response from the mcu 2023-05-15T01:55:47 < zyp> typically d+ is green and d- is white 2023-05-15T01:55:49 < oz4ga> atm I just want to see whats happening 2023-05-15T01:56:00 < oz4ga> oh kewl. thanks 2023-05-15T01:56:22 < zyp> likely the issue is that nothing is happening 2023-05-15T01:56:50 < oz4ga> what? 2023-05-15T01:57:00 < zyp> (in response to the host request) 2023-05-15T01:57:06 < oz4ga> not that I don't understand what you wrote 2023-05-15T01:58:30 < zyp> the error message you're getting on the host is the same you'd get if you hooked up nothing but a 1.5k pullup on D+ 2023-05-15T01:58:34 < oz4ga> I was hoping to see the signal locking up in some way or starting to send SOS :D 2023-05-15T01:59:04 < zyp> unlikely :) 2023-05-15T02:00:57 < oz4ga> why don't i just smack it to pices on an anvil with a huge hammer why crying die die die ? 2023-05-15T02:01:09 < zyp> the weird part is that you have «known working» hardware, in the sense that the bootloader works, and you also say you have known working firmware 2023-05-15T02:02:01 < oz4ga> so it's not the worse clone but the worst clone aka crap del a crap 2023-05-15T02:02:04 < zyp> which suggests that there might be some compatibility issue, but it's hard to imagine what, if the clock config is correct 2023-05-15T02:03:54 < oz4ga> it must be correct otherwise it wouldn't work at all. it's a well known and tested FW. it works on other F072s 2023-05-15T02:04:23 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-15T02:04:39 < oz4ga> or this is a fake partially functional F072 ? 2023-05-15T02:05:50 < oz4ga> I can measure antennas with this device and I get sound results, so it's only the USB part that is problematic 2023-05-15T02:10:10 < oz4ga> The clocks tree in a F072 is so simple. Everything run directly on HSI @ 48MHz 2023-05-15T02:11:00 < zyp> are you sure? 2023-05-15T02:11:04 < oz4ga> erm the HSI48 not hsi , but still extremly simple 2023-05-15T02:11:21 < oz4ga> give it a spin in cubemx 2023-05-15T02:11:57 < oz4ga> it have 2 hsi oscilators on @ 8MHz and one @48 2023-05-15T02:12:00 < zyp> HSI16 and HSI48 are separate, I haven't used F0 much, but on other parts, HSI48 typically can't clock the system, just particular blocks like USB 2023-05-15T02:12:13 < zyp> oh, is it HSI8 in F0? 2023-05-15T02:12:38 < oz4ga> yes 2023-05-15T02:12:54 < oz4ga> at least this one. I haen't done much F0 either 2023-05-15T02:13:33 < zyp> hmm, yeah, there's HSI8, HSI14 and HSI48 2023-05-15T02:13:35 < oz4ga> it's turtles / hsi48 all the way down 2023-05-15T02:13:47 < zyp> and HSI48 can feed SYSCLK 2023-05-15T02:13:47 < zyp> ok 2023-05-15T02:13:57 < oz4ga> ja 2023-05-15T02:14:56 < oz4ga> takes quite some talent to fsck that up 2023-05-15T02:18:35 < oz4ga> this is actuallyu quite impressive how much the original designer edy555 has gotten out of that M0 in only 64K of flash. The TFT is ofcause off loaded through the processor in the display board, but otherwise ! It has chibiOs, complex math, fft, function folding and what not 2023-05-15T02:20:38 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-15T02:21:00 < oz4ga> and lots of curve drawing and a quite complex menu system. So sad this instans is such a crock of shit 2023-05-15T02:32:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-c07a-4918-aa3c-3d0d.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-15T03:03:11 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 264 seconds] 2023-05-15T03:13:44 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-15T04:52:55 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-15T04:53:14 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-15T04:53:59 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-15T04:54:38 -!- duude__- is now known as duude__ 2023-05-15T04:55:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 240 seconds] 2023-05-15T05:00:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-15T05:24:13 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-15T05:41:01 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-15T05:41:29 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-15T07:02:53 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-15T07:56:46 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-15T09:04:31 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-15T09:30:45 -!- CygniX_ [~CygniX@2a01:8740:1:727:4e:80:7f:2d] has joined ##stm32 2023-05-15T09:31:05 -!- octorian [octo@2600:3c00::f03c:91ff:fe93:a61c] has quit [Ping timeout: 260 seconds] 2023-05-15T09:31:05 -!- mid-kid [~mid-kid@2a01:7c8:aac8:1e8:5054:ff:fe5e:cd48] has quit [Ping timeout: 260 seconds] 2023-05-15T09:31:31 -!- octorian_ [octo@2600:3c00::f03c:91ff:fe93:a61c] has joined ##stm32 2023-05-15T09:31:40 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 260 seconds] 2023-05-15T09:31:40 -!- CygniX [~CygniX@user/CygniX] has quit [Ping timeout: 260 seconds] 2023-05-15T09:32:21 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-15T09:32:33 -!- mid-kid [~mid-kid@2a01:7c8:aac8:1e8:5054:ff:fe5e:cd48] has joined ##stm32 2023-05-15T09:50:44 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-15T10:00:35 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-15T10:00:35 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-15T10:00:35 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-15T10:10:31 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-15T10:56:05 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 256 seconds] 2023-05-15T11:37:27 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-15T11:45:04 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-15T12:12:17 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c0fb:3118:8146:55b] has joined ##stm32 2023-05-15T12:37:10 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 250 seconds] 2023-05-15T13:37:05 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-15T13:38:28 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-15T14:13:23 < mawk> I broke my LTE modem 2023-05-15T14:13:29 < mawk> by playing with usb_modeswitch 2023-05-15T14:13:35 < mawk> it is some ZTE shit 2023-05-15T14:13:42 < mawk> now it doesn't show up as USB anymore 2023-05-15T14:14:24 < ventYl> did it magically turn into USB stick? 2023-05-15T14:15:05 < mawk> to fix it I need to be able to access its UART somehow and enter AT+ZCDRUN=8+AT+ZCDRUN=F 2023-05-15T14:15:12 < mawk> no it turned into USB nothing ventYl 2023-05-15T14:15:21 < mawk> the usb interface is shut odff 2023-05-15T14:15:22 < mawk> off 2023-05-15T14:15:49 < mawk> I found a pinout for it: http://vve.su/files/misc/MF823/MF823_pads1.jpg 2023-05-15T14:15:53 < mawk> there's JTAG and UART 2023-05-15T14:15:55 < ventYl> tell them to buy you another, this one is crap 2023-05-15T14:16:03 < mawk> it's my personal modme 2023-05-15T14:16:28 < mawk> of course the UART pads are extremely tiny 2023-05-15T14:16:35 < mawk> I can't solder to that 2023-05-15T14:16:49 < mawk> I need a PCBite 2023-05-15T14:22:20 < mawk> I'll ask $werk to buy one 2023-05-15T14:27:12 < Steffanx> Eleshop.nl mawk 2023-05-15T14:27:25 < Steffanx> Have them order a soldering iron too 2023-05-15T14:30:53 < mawk> I found one somewhere 2023-05-15T14:31:02 < mawk> with some plumbing flux 2023-05-15T14:43:06 < ventYl> plumbing flux <3 2023-05-15T14:43:14 < ventYl> IIRC I have used it to solder electronics once 2023-05-15T14:46:40 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c0fb:3118:8146:55b] has quit [Ping timeout: 248 seconds] 2023-05-15T14:47:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:ec58:2c6f:bffc:1be7] has joined ##stm32 2023-05-15T14:53:45 < BrainDamage> make sure to deep breathe it 2023-05-15T15:00:36 < ventYl> hm, that github feature of finding all other references is actually quite useful 2023-05-15T15:00:43 < ventYl> many times it works better than one in vscode 2023-05-15T15:30:28 < PaulFertser> mawk: really too tiny or you kidding? 2023-05-15T15:31:15 < mawk> it's really too tiny 2023-05-15T15:31:22 < mawk> the other pads are too close 2023-05-15T15:31:26 < mawk> and there's a ground pad close too 2023-05-15T15:31:47 < mawk> but I was able to revert the modem into normal mode using magic AT commands 2023-05-15T15:31:53 < mawk> from another computer 2023-05-15T15:34:08 < mawk> I don't know why my current computer didn't see it at all 2023-05-15T15:36:02 < PaulFertser> Funky 2023-05-15T15:51:11 < mawk> the only information about what I wanted to achieve is in some russian forum written in arabic 2023-05-15T15:51:37 < mawk> I want to make it go from RNDIS mode to CDC ethernet mode 2023-05-15T15:56:48 < PaulFertser> mawk: hm, I remember some popular LTE sticks need to be reflashed for that. Like one firmware is called "s" for stick and another "h" (for RNDIS+routing+web interface). 2023-05-15T15:56:55 < PaulFertser> But that was huawei. 2023-05-15T15:57:08 < PaulFertser> mawk: if you know where to read on 4pda I can translate for you. 2023-05-15T15:57:38 < mawk> the current firmware can do AT commands, qualcomm direct passthrough, or RNDIS + web host 2023-05-15T15:57:53 < mawk> and also CDC-ether but I have no idea how to enable it 2023-05-15T15:58:03 < mawk> the web says "usb_modeswitch will do it automatically" but no it doesn't 2023-05-15T15:58:10 < mawk> and there is nothing about my model in the usb_modeswitch files 2023-05-15T15:58:40 < mawk> thanks 2023-05-15T16:02:07 < PaulFertser> mawk: what makes you thiink MF823 supports CDC Ether? 2023-05-15T16:02:17 < mawk> https://wiki.archlinux.org/title/ZTE_MF_823_(Megafon_M100-3)_4G_Modem 2023-05-15T16:02:25 < mawk> they list usb PID 1405 as being the CDC-ether mode 2023-05-15T16:02:29 < mawk> but they don't say how to enable it 2023-05-15T16:02:33 < mawk> only "usb_modeswitch will do it" 2023-05-15T16:02:55 < mawk> probably it's an argument to the AT+ZCDRUN command, but I tried AT+ZCDRUN=? to list the possible parameters and it replied nothing 2023-05-15T16:04:45 < PaulFertser> mawk: https://www.tbdproductions.com.au/telstra4gzte823/ related? 2023-05-15T16:05:36 < mawk> kinda 2023-05-15T16:05:42 < mawk> I think I have a slightly different model 2023-05-15T16:05:45 < mawk> opkg isn't installed on mine 2023-05-15T16:05:49 < mawk> but it should be the same idea 2023-05-15T16:06:24 < mawk> they say I need to install some kernel modules 2023-05-15T16:06:29 < mawk> I could try that 2023-05-15T16:06:32 < mawk> thanks 2023-05-15T16:08:05 < PaulFertser> mawk: this page implies that if you have the regular usb mass storage support Linux module and cdc ether then the modem is going to somehow be automatically choosing 1405 PID and mode... 2023-05-15T16:09:22 < mawk> the modem itself chooses what it wants 2023-05-15T16:09:27 < PaulFertser> mawk: https://lore.kernel.org/lkml/1468844691-8222-1-git-send-email-kristian.evensen@gmail.com/ wow 2023-05-15T16:09:29 < mawk> so I'm not sure what they're saying on the page 2023-05-15T16:10:19 < mawk> how does that even work, "OS fingerprinting" 2023-05-15T16:10:24 < mawk> the USB device doesn't know what OS I'm running 2023-05-15T16:10:40 < mawk> it just shows up as 19d2:1403 by itself 2023-05-15T16:11:26 < qyx> os fingerprinting means it does know 2023-05-15T16:11:42 < PaulFertser> mawk: it knows what endpoints the kernel drivers are trying to use. 2023-05-15T16:11:46 < qyx> it is probably the same as network os fingerprnting 2023-05-15T16:14:41 < mawk> well it doesn't know my mac address or anything when it's first setting up the USB interface 2023-05-15T16:14:50 < mawk> I could plug it into a wall wart and it would do the same 2023-05-15T16:15:48 < mawk> the usb device sends its descriptors before my computer even tries to talk with it 2023-05-15T16:16:02 < mawk> otherwise I would see a bunch of resets in dmesg and the usb PID changing 2023-05-15T16:16:20 < mawk> I just see this: https://bpa.st/37GDA 2023-05-15T16:16:38 < mawk> idProduct=1403 means it's already in RNDIS mode 2023-05-15T16:17:08 < PaulFertser> mawk: but probably if you do not load rndis driver it would reset 2023-05-15T16:17:22 < mawk> maybe yes, I could try to blacklist it 2023-05-15T16:19:21 < PaulFertser> mawk: also, hidden URL from https://kristrev.github.io/2016/07/21/making-the-zte-mf910-play-nice for testing 2023-05-15T16:21:18 < mawk> ah nice 2023-05-15T16:21:25 < mawk> maybe there is the same kind of thing for my model 2023-05-15T16:21:32 < mawk> I know I can use that to set it to AT command mode already 2023-05-15T16:23:41 < mawk> it said "success" 2023-05-15T16:23:47 < mawk> ooooo 2023-05-15T16:23:48 < mawk> it worked 2023-05-15T16:23:55 < mawk> thanks PaulFertser 2023-05-15T16:24:02 < PaulFertser> mawk: the API? 2023-05-15T16:24:05 < mawk> there's maybe a way to make it persistent 2023-05-15T16:24:06 < mawk> yeah 2023-05-15T16:24:10 < mawk> I did http://192.168.0.1/goform/goform_set_cmd_process?goformId=USB_MODE_SWITCH&usb_mode=5 2023-05-15T16:24:10 < PaulFertser> mawk: cool 2023-05-15T16:24:17 < PaulFertser> mawk: probably blacklisting rndis will work too. 2023-05-15T16:24:34 < mawk> I tried that but then it would just load the CD-ROM thing and not show up as CDC-ether 2023-05-15T16:24:54 < PaulFertser> mawk: fwiw, I was just looking through the results for "mf823 1405" 2023-05-15T16:25:10 < PaulFertser> mawk: and probably then you can "eject" the cdrom and it'd reset in cdc. 2023-05-15T16:25:20 < mawk> when you eject the cdrom it just stops responding 2023-05-15T16:25:36 < mawk> with usb_modeswitch -K 2023-05-15T16:26:41 < mawk> I have root access to the thing 2023-05-15T16:26:52 < mawk> if I can find out what this URL is doing internally I can add it to /etc/init.d 2023-05-15T16:27:00 < mawk> it's some weird modified android with scripts commented in chinese 2023-05-15T16:29:17 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:ec58:2c6f:bffc:1be7] has quit [Ping timeout: 256 seconds] 2023-05-15T16:29:28 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:a5af:21d0:6d55:247c] has joined ##stm32 2023-05-15T16:30:56 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-15T16:40:33 < PaulFertser> mawk: I wonder if you tried both "eject" and that custom ZTE command. 2023-05-15T16:41:04 < mawk> which one? 2023-05-15T16:41:35 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 264 seconds] 2023-05-15T16:41:38 < mawk> I did echo 5 > /sys/devices/virtual/android_usb/android0/usb_mode and it enabled CDC_ACM mode 2023-05-15T16:41:46 < mawk> but it didn't reload the router 2023-05-15T16:41:50 < mawk> so that's half the equation 2023-05-15T16:43:06 < PaulFertser> usb modeswitch data has some custom command for some other zte mf* modems. 2023-05-15T16:44:26 < mawk> yeah I tried the big bytestring as well 2023-05-15T16:46:14 < PaulFertser> Odd stuff everybody mentions mf823 does that "fingerprinting" and switches automatically. 2023-05-15T16:50:42 < PaulFertser> mawk: probably it does the silly autodetecting with default AT+ZCDRUN and you're in custom mode already. 2023-05-15T16:52:04 < mawk> yeah 2023-05-15T16:52:21 < PaulFertser> btw, what did the weird "rndis module is inherently insecure, throw it out" story ended up with? Some CVE appeared eventually? 2023-05-15T16:58:57 < mawk> good question 2023-05-15T16:59:04 < mawk> I found a way to enable way more modes than are listed online 2023-05-15T16:59:15 < mawk> I found the qmi_wwan mode 2023-05-15T16:59:18 < mawk> some qualcomm thing 2023-05-15T16:59:26 < mawk> I also found a qualcomm modem passthrough mode 2023-05-15T16:59:46 < mawk> I'm afraid to see what happens if I set it to CDC-ethernet at boot 2023-05-15T16:59:54 < mawk> if I can't recover it I wil have to use the uart or something 2023-05-15T17:01:11 < PaulFertser> mawk: qmi might be reasonably sane 2023-05-15T17:01:15 < mawk> I tried mode 9002 (qualcomm serial), 9026 (qualcomm WWAN modem), 9025 (RNDIS) 2023-05-15T17:01:27 < mawk> yeah but then I have to make the modem set up the qmi interface on the other side 2023-05-15T17:01:30 < mawk> and I have no idea how 2023-05-15T17:01:49 < PaulFertser> OpenWrt has uqmi and integration in netifd. 2023-05-15T17:01:56 < PaulFertser> Or ModemManager 2023-05-15T17:02:28 < mawk> 9024 is RNDIS as well 2023-05-15T17:02:32 < mawk> yeah 2023-05-15T17:02:43 < mawk> but I mean I have to disconnect the modem first, because it's constantly talking to the modem already 2023-05-15T17:02:48 < mawk> it would conflict with what the computer is doing 2023-05-15T17:03:31 < mawk> 9022 is QMI as well 2023-05-15T17:03:36 < mawk> why are there so many duplicates 2023-05-15T17:04:31 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 2023-05-15T17:05:01 < mawk> I was able to get an IP address on the QMI interface 2023-05-15T17:05:08 < mawk> but no outside world connection 2023-05-15T17:05:12 < mawk> probably the modem is messing it up 2023-05-15T17:05:20 < mawk> ooo no it works now 2023-05-15T17:05:33 < mawk> still sounds very sketchy 2023-05-15T17:05:41 < mawk> I would have to kill all the zte crap first 2023-05-15T17:05:50 < mawk> also I set it up in "GSM" mode, I don't know if it has LTE speeds 2023-05-15T17:08:09 < mawk> I'm now connected to IRC through the QMI interface 2023-05-15T17:08:27 < mawk> pretty cool 2023-05-15T17:08:29 < mawk> but pretty slow 2023-05-15T17:08:39 < mawk> I added an antenna to the modem, now it's better 2023-05-15T17:09:12 < mawk> 40Mbps download 2023-05-15T17:10:36 < mawk> pretty weird that I get a 192.168.0.0/24 ip address on the wwan mode though 2023-05-15T17:10:44 < mawk> that's not a CGNAT address 2023-05-15T17:11:42 < mawk> yeah it's still the modem doing router crap 2023-05-15T17:11:46 < mawk> it's living on 192.168.0.2 2023-05-15T17:20:13 < karlp> fwiw, uqmi never worked for me, I onyl got things working with modem manager... 2023-05-15T17:20:40 < karlp> different modem of course 2023-05-15T17:21:52 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 265 seconds] 2023-05-15T17:35:29 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-15T17:37:08 < mawk> yeah I'm using modemmanager 2023-05-15T17:37:10 < mawk> it knew of my french APN already so it was easy to setup 2023-05-15T17:37:18 < mawk> maybe I can make the modification persistent at boot; apparently there is a symlink I can change to make the default configuration be QMI 2023-05-15T17:39:04 < mawk> I killed all the useless ZTE process and the connection is still up 2023-05-15T17:39:28 < mawk> so I think I can just remove the ZTE stuff in /etc/init.d and then enable QMI by default 2023-05-15T17:39:49 < mawk> if it fails I will have to wait until I find a PCBite to fix it 2023-05-15T17:46:23 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 264 seconds] 2023-05-15T17:48:41 < mawk> ooooooooooooo now I found how to connect directly to my carrier and bypass the modem 2023-05-15T17:48:49 < mawk> by stopping "netmgrd" 2023-05-15T17:48:55 < mawk> but then I lose the telnet interface to the modem 2023-05-15T18:07:48 -!- octorian_ is now known as octorian 2023-05-15T18:09:01 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-15T18:12:21 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-15T18:53:36 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:a5af:21d0:6d55:247c] has quit [Ping timeout: 248 seconds] 2023-05-15T18:53:51 < mawk> https://hackaday.com/2023/05/15/zippy-plastic-welding/ 2023-05-15T18:53:58 < mawk> does it sound like a good idea 2023-05-15T18:54:33 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:983b:1cde:7411:be40] has joined ##stm32 2023-05-15T19:12:07 -!- dreamcat4 [uid157427@id-157427.hampstead.irccloud.com] has joined ##stm32 2023-05-15T19:23:45 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:983b:1cde:7411:be40] has quit [Quit: Leaving] 2023-05-15T19:29:26 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Ping timeout: 268 seconds] 2023-05-15T19:30:42 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has quit [Excess Flood] 2023-05-15T19:38:00 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-05-15T19:51:23 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-05-15T20:03:24 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-15T20:28:46 -!- noarb [~noarb@user/noarb] has joined ##stm32 2023-05-15T20:53:39 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-15T21:00:45 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has joined ##stm32 2023-05-15T21:07:58 < boddax> 18 times regenerating response from GPT ''Guys Pay There'' if you want answers 2023-05-15T21:21:42 < Steffanx> ok 2023-05-15T21:38:53 < qyx> ok 2023-05-15T21:43:12 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-15T22:03:04 < machinehum> ok 2023-05-15T22:03:29 < boddax> ok 2023-05-15T22:04:37 -!- drzacek [~drzacek@2a01:3d8:4b2:7900:5415:7c89:7746:e641] has joined ##stm32 2023-05-15T22:05:31 < boddax> cooking strufflol? 2023-05-15T22:10:28 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-15T22:37:05 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-15T22:39:22 -!- sugarbeet [~barbas@81.4.123.134] has quit [Ping timeout: 268 seconds] 2023-05-15T22:44:05 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-15T22:49:13 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-05-15T23:10:17 -!- drzacek [~drzacek@2a01:3d8:4b2:7900:5415:7c89:7746:e641] has quit [Quit: Leaving] 2023-05-15T23:36:44 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-15T23:36:47 < Laurence_b> extremely based https://nitter.cz/pic/enc/bWVkaWEvRnZ2WExJNGFFQVlIVzRRLmpwZz9uYW1lPXNtYWxsJmZvcm1hdD13ZWJw 2023-05-15T23:37:32 < mawk> lol 2023-05-15T23:41:24 < Laurence_b> sjws went full roosh V 2023-05-15T23:43:17 < Laurence_b> how do I strain relieve a cable inside a flexible conduit gland? 2023-05-15T23:43:53 < Laurence_b> https://www.cef.co.uk/catalogue/products/27898-25mm-fixed-external-thread-fitting-sold-in-1-s 2023-05-15T23:44:03 < Laurence_b> these things dont strain relieve the cable 2023-05-15T23:44:33 < specing> ..gland? Are you building a robo-spider? 2023-05-15T23:44:51 < zyp> what do you need strain relief for when the cable is in a conduit? 2023-05-15T23:45:55 < Laurence_b> zyp: because the conduit will be flexing, and the cable is heavy 2023-05-15T23:46:10 < Laurence_b> 120mm^2 18.3mm OD cable in M25 conduit 2023-05-15T23:46:34 < Laurence_b> I'm not convinced tbh, but hyperboss wants strain relief... --- Day changed ti touko 16 2023 2023-05-16T00:05:39 < mawk> I found how to force CDC-ether at boot PaulFertser , not in a very safe way but it works lol 2023-05-16T00:05:54 < mawk> running this after everything is already initialized: pkill -SIGKILL zte && echo 5 > /sys/class/android_usb/android0/usb_mode && /etc/rcS-zte 2023-05-16T00:06:10 < mawk> maybe I could insert the usb mode 5 somewhere before the zte initialization happen 2023-05-16T00:06:13 < mawk> but if I fail I can't recover it 2023-05-16T00:20:23 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-16T00:28:31 -!- lemmi [~lemmi@user/lemmi] has quit [Ping timeout: 240 seconds] 2023-05-16T00:30:40 -!- lemmi_ [~lemmi@2001:bc8:1828:10a::1] has joined ##stm32 2023-05-16T00:31:34 -!- drkow [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-16T00:34:31 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-16T00:36:29 < mawk> wow I have ADB access now 2023-05-16T00:36:40 < mawk> and I can get a shell 2023-05-16T00:38:53 < mawk> the LED stays red, since a ZTE process was managing it 2023-05-16T00:49:43 < PaulFertser> mawk: I was welding plastic with hot air gun for soldering and 3D printer filament. 2023-05-16T00:51:23 < PaulFertser> mawk: so I was making a groove with a file and then was pushing the filament inside the groove with the right temperature blowing. Of course the plastics needed to be compatible and also it required some training. But it was good enough for my motor bike, the weld lasted. 2023-05-16T00:53:41 -!- alan_o [~alan_o@2600:1700:1902:210f:9477:b9a5:7a07:9b1d] has quit [Remote host closed the connection] 2023-05-16T00:53:59 -!- alan_o [~alan_o@2600:1700:1902:210f:22a9:73f7:2f7a:950a] has joined ##stm32 2023-05-16T00:56:40 < PaulFertser> I thought the zip ties are usually some "nylon" and typical car parts are from ABS or PP. 2023-05-16T01:01:33 < mawk> right 2023-05-16T01:01:54 < mawk> I disabled every ZTE crap in /etc/rc5.d on the modem and now it boots with only the QMI interface 2023-05-16T01:01:54 < mawk> wonderful 2023-05-16T01:02:08 < mawk> and I still have access to the ADB interface if something goes wrong and I want to revert 2023-05-16T01:02:13 < mawk> the only thing now is that the LED stays red 2023-05-16T01:02:18 < mawk> but I can add a script to make it green or blue 2023-05-16T01:02:40 < qyx> adb? is there android running on the modem? 2023-05-16T01:05:33 < mawk> yes it's a bastardized version of android 2023-05-16T01:08:25 < mawk> now I see this in the KDE network manager: https://serveur.io/ksnip-tmp-20230516000815859.png 2023-05-16T01:08:28 < mawk> beautiful 2023-05-16T01:12:02 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 250 seconds] 2023-05-16T01:13:11 < mawk> I should document my findings somewhere 2023-05-16T01:24:27 < mawk> wow and I can even send SMSes from the commandline 2023-05-16T01:41:59 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-16T01:46:48 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-16T01:51:09 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 268 seconds] 2023-05-16T01:59:17 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-16T02:04:06 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-16T02:29:46 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-16T02:32:00 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-16T03:47:28 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 248 seconds] 2023-05-16T03:48:23 -!- qyx [~qyx@84.245.120.86] has quit [Ping timeout: 240 seconds] 2023-05-16T03:49:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-16T03:50:41 -!- qyx [~qyx@84.245.120.70] has joined ##stm32 2023-05-16T03:51:44 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-16T05:23:31 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-16T06:07:35 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-16T08:04:39 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-16T08:50:45 -!- lemmi_ [~lemmi@2001:bc8:1828:10a::1] has quit [Quit: WeeChat 3.8] 2023-05-16T08:50:54 -!- lemmi [~lemmi@user/lemmi] has joined ##stm32 2023-05-16T09:11:29 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-16T09:18:18 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-16T10:33:41 < PaulFertser> mawk: good work indeed! Would be nice to have it available to the others. 2023-05-16T10:42:57 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Ping timeout: 256 seconds] 2023-05-16T10:43:05 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4850-1837-e388-fc1a.fixed6.kpn.net] has joined ##stm32 2023-05-16T10:44:05 < Steffanx> Write it in french mawk :) 2023-05-16T10:45:09 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-95d2-1649-d05f-ac50.fixed6.kpn.net] has joined ##stm32 2023-05-16T10:47:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4850-1837-e388-fc1a.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-16T10:47:35 -!- martinmoene1 is now known as martinmoene 2023-05-16T10:56:15 < ventYl> PaulFertser: that kind of plastic welds works. weld is the stronger the more pressure you apply, which is not always an option. and many car parts may be from EPDM, which technically is rubber, not plastic. 2023-05-16T10:57:35 < ventYl> for some reason, the shitty intel bluetooth seems to be causing power management issues 2023-05-16T10:58:06 < ventYl> after I resurrected it, video and audio stopped working after displays were shut down for power saving 2023-05-16T10:58:11 < ventYl> both in linux and windows 2023-05-16T10:58:25 < ventYl> now that I disabled it entirely, powersaving works just fine 2023-05-16T11:09:35 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-16T11:13:18 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-16T11:19:36 -!- Suspect [~rod@pa49-182-172-152.pa.qld.optusnet.com.au] has joined ##stm32 2023-05-16T11:27:37 -!- Suspect [~rod@pa49-182-172-152.pa.qld.optusnet.com.au] has quit [Quit: Leaving] 2023-05-16T11:30:12 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-16T12:05:14 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has joined ##stm32 2023-05-16T12:05:52 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-16T12:18:28 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-16T12:34:31 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-16T12:46:59 < nomorekaki> is preprocessor find-replace at all context aware? 2023-05-16T12:48:05 < nomorekaki> if I have macro define name and another macro define name that is exact match to part of first macro define name 2023-05-16T12:53:05 < PaulFertser> nomorekaki: they won't clash 2023-05-16T12:54:21 < PaulFertser> nomorekaki: https://en.cppreference.com/w/cpp/preprocessor/replace 2023-05-16T12:57:50 < nomorekaki> so they don't clash not because looking for exact match delimited by non-accepted characters but because it keeps track of used macro names? 2023-05-16T12:58:38 < zyp> macro substitutions doesn't do partial matches 2023-05-16T12:59:01 < zyp> e.g. #define FOO BAR is not going to touch anything named FOO_X 2023-05-16T12:59:22 < zyp> if you want to do that, you need to do something like FOO ## X 2023-05-16T12:59:34 < zyp> FOO ## _X rather 2023-05-16T13:00:44 < PaulFertser> nomorekaki: because it's executed at https://en.cppreference.com/w/cpp/language/translation_phases#Phase_4 and check the previous phase too see what "identifier" is. 2023-05-16T13:00:45 < jpa-> it will affect FOO.X though, and FOO-X, because they are separate tokens on language level 2023-05-16T13:00:49 < mawk> and if that macro is an argument to a macro, you need to make it nested to force evaluation again 2023-05-16T13:01:02 < mawk> because macros are only evaluated to 1 level for each macro call 2023-05-16T13:01:33 < mawk> #define BAR(...) _BAR(__VA_ARGS_) and now _BAR can handle 2 levels of nested macros 2023-05-16T13:01:50 < mawk> __VA_ARGS__* 2023-05-16T13:02:46 < PaulFertser> With modern C++ one shouldn't need all that fuckery though? 2023-05-16T13:03:27 < mawk> if you still use macros yes you need it 2023-05-16T13:03:33 < mawk> they didn't change the cpp with C++ 2023-05-16T13:04:00 < mawk> it's still a standalone pass in the compilation which doesn't care about which language it is 2023-05-16T13:04:14 < mawk> it knows a few things like line number and file name, but nothing about the language itself 2023-05-16T13:04:56 < mawk> you can call the cpp independently with gcc -E or g++ -E 2023-05-16T13:05:02 < zyp> point is, with modern C++ you don't need macros much 2023-05-16T13:05:16 < mawk> yeah 2023-05-16T13:05:19 < mawk> hopefully 2023-05-16T13:06:58 < PaulFertser> mawk: probably just publish the results of your research in a separate github repo as a README? That should be visible enough. 2023-05-16T13:07:13 < mawk> yeah that might be enough 2023-05-16T13:07:30 < mawk> I'll also edit the archlinux wiki since that was the primary source I found about this modem and the different modes 2023-05-16T13:07:40 < PaulFertser> Cool 2023-05-16T13:08:18 < PaulFertser> The way you found is way more reliable and the end result is much nicer. 2023-05-16T13:11:04 < mawk> I also found a way to (probably) keep CDC-ethernet enabled at boot but I didn't test it 2023-05-16T13:11:08 < mawk> because I don't want to brick the modem 2023-05-16T13:11:13 < mawk> since it will probably disable ADB when I try it 2023-05-16T13:11:26 < mawk> when I get a PCBite and access to the UART I'll try that 2023-05-16T13:12:29 < mawk> it's a shame none of this crap is documented 2023-05-16T13:12:41 < mawk> it's all QUALCOMM CONFIDENTIAL written all over the scripts inside the modem 2023-05-16T13:12:48 < mawk> and none of the commands answer to --help 2023-05-16T13:13:04 < mawk> I got a bit of info using strings on the executables but not that much 2023-05-16T13:13:18 < mawk> they are all controlled through a unix socket and I would need some serious reverse engineering to figure out the format 2023-05-16T13:13:44 < PaulFertser> qyx: there's a reasonably full and documented example of a "modern modem firmware" https://github.com/the-modem-distro/pinephone_modem_sdk 2023-05-16T15:02:43 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-16T16:04:48 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-16T16:37:25 < zyp> karlp, CNVi indeed: 2023-05-16T16:37:26 < zyp> 00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi 2023-05-16T16:37:26 < zyp> Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz 2023-05-16T16:38:16 < zyp> at first glance, it seems to work perfectly well with bleak: 2023-05-16T16:38:17 < zyp> >>> await bleak.BleakScanner.discover() 2023-05-16T16:38:18 < zyp> [BLEDevice(FF:DF:CB:EA:47:76, SunSense524), BLEDevice(CE:53:75:CD:9F:11, SunSense523), BLEDevice(C2:A2:13:DD:0A:43, EVE BLE tester), BLEDevice(FC:45:C3:EB:F1:DD, FC-45-C3-EB-F1-DD), BLEDevice(7D:95:3E:FE:5B:25, 7D-95-3E-FE-5B-25), BLEDevice(F4:4C:B4:CC:4E:C2, SunSense524), BLEDevice(40:BE:F2:40:4A:10, 40-BE-F2-40-4A-10), BLEDevice(E7:95:F4:EB:80:B8, CBM Predict), BLEDevice(DC:C1:A5:55:6E:87, SunSense445), 2023-05-16T16:38:24 < zyp> BLEDevice(EF:4F:8E:B6:BE:E9, SunSense523), BLEDevice(DE:E6:EA:20:7B:2A, SunSense521), BLEDevice(E2:C7:0E:6F:C5:E3, SunSense523), BLEDevice(D4:8D:32:E3:1A:50, D4-8D-32-E3-1A-50)] 2023-05-16T17:01:48 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-16T17:06:01 < karlp> perfectly reasonable if you have hardware thatr works with it :) 2023-05-16T17:09:09 < zyp> yeah, also I think I read that in some computers the wifi slot is CNVi *only*, not arbitrary PCIe cards 2023-05-16T17:09:55 < zyp> I think that's what my coworker was worried about when he recommended picking the exact model that the vendor would offer 2023-05-16T17:16:27 < karlp> yeah, heard of storie slike that. 2023-05-16T18:57:25 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-05-16T19:20:01 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-16T19:41:25 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-16T19:55:14 -!- machinehum [~machinehu@2604:3d08:937f:cf00::7d54] has joined ##stm32 2023-05-16T19:56:22 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-16T20:00:01 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-16T20:06:12 < jpa-> https://jpa.kapsi.fi/stuff/pix/kicad_autocomplete.png sometimes this is not very smart.. 2023-05-16T20:25:51 < aandrew> looks like it's hugging the existing copper 2023-05-16T20:39:02 < jbo> uhm... so I have a custom board with a PFC8523 RTC. Probing the open-drain IRQ pin shows that a 32.786 kHz square wave 2023-05-16T20:39:18 < jbo> dafuq 2023-05-16T20:40:22 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-16T20:40:52 < zyp> schematic says int1/clkout 2023-05-16T20:40:53 < jbo> aye, that pin is labeled INT1/CLKOUT so I guess it needs some configuring :D 2023-05-16T20:49:18 < aandrew> jbo: not joking, I think that's a feature unless it's configured otherwise 2023-05-16T20:49:31 < aandrew> I've heard of that before 2023-05-16T20:50:02 < aandrew> INT1# can also function as a CLKOUT 2023-05-16T20:50:15 < jbo> yeah, not sure why it does so by default tho. 2023-05-16T20:50:30 < jbo> but maybe that is just what linux does, no idea. 2023-05-16T20:50:40 < aandrew> yep 2023-05-16T20:50:40 < aandrew> After reset, the following mode is entered: 2023-05-16T20:50:40 < aandrew> • 32.768 kHz CLKOUT active 2023-05-16T20:51:05 < aandrew> that's the safe way to do things, maybe you're driving something with that and can't configure it out of reset 2023-05-16T20:51:21 < jbo> actually, I take that argument. 2023-05-16T21:20:22 -!- Ecco2 [~Ecco2@2600:1700:e78:4890:f180:86f:e3a1:8855] has joined ##stm32 2023-05-16T21:20:25 < Ecco2> Hi! 2023-05-16T21:23:00 < Ecco2> I'm witnessing (random) hangs when disabling the FMC on an F7. Specifically, setting FMCEN to 0 in FMC_BCR1 just hangs the CPU. Do you have any idea of what might be causing this? 2023-05-16T21:24:35 < jpa-> is anything accessing the FMC memory mapped area? 2023-05-16T21:25:01 < Ecco2> The FMC is used to drive an LCD panel 2023-05-16T21:25:29 < Ecco2> The MPU is set to "device" mode, so there should be no prefetch (?). And we don't do any DMA. 2023-05-16T21:26:01 < Ecco2> So, normally, nothing is accessing the FMC memory mapped area. But I agree with your intuition, that's probably what's happening anyway. 2023-05-16T21:26:34 < jpa-> i don't see FMCEN bit in that register 2023-05-16T21:28:09 < Ecco2> Oh, sorry, it's on an H7. H725 more specifically. 2023-05-16T21:29:15 < Ecco2> https://i.imgur.com/qZoYnLr.png 2023-05-16T21:29:16 < jpa-> does it hang if you only disable the memory bank (via MBKEN)? 2023-05-16T21:29:44 < Ecco2> Good question. I don't have the board with me. I'll try! What would either outcome mean? 2023-05-16T21:29:52 < jpa-> disabling MBKEN is documented to cleanly return bus error, FMCEN doesn't say what happens 2023-05-16T21:29:53 -!- Ecco2 [~Ecco2@2600:1700:e78:4890:f180:86f:e3a1:8855] has quit [Quit: Client closed] 2023-05-16T21:30:09 -!- Ecco2 [~Ecco2@2600:1700:e78:4890:f180:86f:e3a1:8855] has joined ##stm32 2023-05-16T21:30:09 < Ecco2> Oh, ok 2023-05-16T21:30:15 < jpa-> F7 doesn't have FMCEN so apparently a new addition, not sure of purpose 2023-05-16T21:30:30 < Ecco2> Oh, interesting 2023-05-16T21:30:38 < Ecco2> And also, this is sort of an Heisenbug: sometimes just adding a "nop" will make the bug disappear. 2023-05-16T21:30:52 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-16T21:31:11 < zyp> I think you're on the right track, probably the issue is that it hangs waiting for a bus request that never completes 2023-05-16T21:35:10 < jpa-> if the same function where you disable FMCEN does any access to the mapped memory area, throwing a __sync_synchronize(); there may be a good idea, just to make sure any accesses are not reordered 2023-05-16T21:37:37 < jpa-> verifying the MPU region once more is a good idea also, to make sure it doesn't do any write caching that could try to write back later 2023-05-16T21:37:54 -!- drzacek [~drzacek@2a01:3d8:4bb:cd00:a482:6c9:36b3:aa9f] has joined ##stm32 2023-05-16T21:38:47 < jpa-> though i guess the TFT access would fail pretty obviously if caching was enabled 2023-05-16T21:43:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-95d2-1649-d05f-ac50.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-16T21:48:43 -!- Ecco2 [~Ecco2@2600:1700:e78:4890:f180:86f:e3a1:8855] has quit [Quit: Client closed] 2023-05-16T21:49:57 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-16T21:57:09 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has joined ##stm32 2023-05-16T22:03:31 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 2023-05-16T22:18:36 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-16T23:06:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-645b-ea49-dad3-4a6c.fixed6.kpn.net] has joined ##stm32 2023-05-16T23:07:58 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-b800-f417-9798-b40d.fixed6.kpn.net] has joined ##stm32 2023-05-16T23:11:39 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-645b-ea49-dad3-4a6c.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-16T23:12:37 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-b800-f417-9798-b40d.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-16T23:18:22 -!- martinmoene [~Thunderbi@2a02:a45a:96ba:1:8c80:97ee:6d2a:71ae] has joined ##stm32 2023-05-16T23:27:25 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-16T23:27:37 < nomorekaki> enums or macros? 2023-05-16T23:28:27 < nomorekaki> new school or old school? 2023-05-16T23:32:09 < nomorekaki> https://downloads.ti.com/docs/esd/SPRUI04/size-of-enum-types-spru1876797.html 2023-05-16T23:33:02 < nomorekaki> yeah that answers that 2023-05-16T23:33:06 < nomorekaki> old school it 2023-05-16T23:33:35 < nomorekaki> in embedded use 2023-05-16T23:33:43 < nomorekaki> when using C 2023-05-16T23:34:08 < nomorekaki> when using C++ answer is actually enum because you can set the underlying type 2023-05-16T23:35:15 < qyx> what 2023-05-16T23:36:07 < qyx> when is a smaller type going to help with enums? 2023-05-16T23:36:16 < qyx> aawh 2023-05-16T23:36:46 < qyx> I am not touching macros anymore unless there is a good reason 2023-05-16T23:37:40 < nomorekaki> my c++ library has one for atomic block 2023-05-16T23:37:47 < nomorekaki> everything else is template 2023-05-16T23:38:15 < nomorekaki> and there is plenty of template I'm still figuring that out 2023-05-16T23:39:47 < nomorekaki> I could possibly remove even that one macro if I tried but as it needs to compile with limited standard library I don't want to find out 2023-05-16T23:49:57 < nomorekaki> yet --- Day changed ke touko 17 2023 2023-05-17T00:07:21 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-17T00:22:00 -!- drzacek [~drzacek@2a01:3d8:4bb:cd00:a482:6c9:36b3:aa9f] has quit [Quit: Leaving] 2023-05-17T01:23:25 < ventYl> -fshortenums makes the trick 2023-05-17T01:37:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-17T01:57:01 -!- martinmoene [~Thunderbi@2a02:a45a:96ba:1:8c80:97ee:6d2a:71ae] has quit [Ping timeout: 240 seconds] 2023-05-17T02:16:23 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-17T03:19:05 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-17T03:20:50 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-17T04:16:08 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 2023-05-17T04:29:44 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-17T04:53:48 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-17T05:00:20 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-05-17T05:16:33 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-17T05:20:48 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-17T05:43:54 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-17T07:26:23 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-17T07:38:07 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-17T08:05:06 -!- Kerr_ [~quassel@2601:602:ce80:ac20::d4e6] has joined ##stm32 2023-05-17T08:25:01 -!- Kerr_ [~quassel@2601:602:ce80:ac20::d4e6] has quit [Ping timeout: 240 seconds] 2023-05-17T09:03:23 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 248 seconds] 2023-05-17T09:18:38 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-17T09:25:23 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-05-17T09:30:23 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 240 seconds] 2023-05-17T09:33:57 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-17T09:46:29 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-17T10:30:37 < mawk> did any of you had to update the firmware of their ubloks modems in the field? 2023-05-17T10:30:44 < mawk> with FOAT 2023-05-17T10:31:00 < mawk> sending the firmware through the AT port with xmodem framing 2023-05-17T11:15:11 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 250 seconds] 2023-05-17T12:25:23 < karlp> there's qfirehose, 2023-05-17T12:26:01 < karlp> I suspect it's not actualyl quectel restricted, and is actually qualcomm, but... 2023-05-17T12:37:19 < mawk> https://www.u-blox.com/sites/default/files/ublox-CellularModules-FirmwareUpdate_ApplicationNote_%28UBX-13001845%29.pdf 2023-05-17T12:37:25 < mawk> this is their manual on how to update 2023-05-17T12:37:32 < mawk> there's even a lunix section 2023-05-17T12:38:06 < mawk> I followed it to the letter, sending AT+UFWUPD=0,115200, then waiting for the character C to arrive and start sx to send the file with xmodem framing 2023-05-17T12:38:20 < mawk> the sending works correctly, ie each packet is correctly ACK'd by the module 2023-05-17T12:38:37 < mawk> but it doesn't send EOT character at the end, just nothing happens 2023-05-17T12:39:09 < mawk> the docs says (for SARA-G3) that the command will answer at the baudrate chosen for the update either OK or ERROR${n} 2023-05-17T12:39:17 < mawk> but it does neither 2023-05-17T12:39:30 < mawk> I will have to ask Richard 2023-05-17T12:40:13 < mawk> I tried it at 921600 bauds and it was reasonably fast to upload, still no answer at the end 2023-05-17T12:40:35 < mawk> and then I tried at 115200 bauds which took ages since the update file is like a few MiB, and no answer at the end 2023-05-17T12:40:48 < mawk> this will be a nightmare to implement in our firmware 2023-05-17T12:41:13 < mawk> there's also the EasyFlash tool to update the firmware through the auxiliary UART, but it's a different protocol that isn't documented 2023-05-17T12:41:20 < mawk> and the aux UART isn't routed to our mcu 2023-05-17T12:41:58 < mawk> with easyflash it's possible to downgrade firmware if ublox provided the rollback file 2023-05-17T12:45:23 < karlp> do you actually need to update firmware? 2023-05-17T12:45:41 < karlp> ah,we routed the aux uart "just in case" 2023-05-17T13:35:38 < mawk> yeah, the old firmware has their SSL stack not compatible anymore with modern web servers 2023-05-17T13:35:46 < mawk> it can't do https anymore 2023-05-17T13:36:01 < mawk> unless you do some weird shit like faking the date being before 2018 or something 2023-05-17T13:36:33 < mawk> if you have the aux uart you can use it for tracing karlp 2023-05-17T13:36:45 < karlp> lol, yeah, I was just trying to use an old laptop that only has tls1.0 support, 2023-05-17T13:36:46 < mawk> then you get a binary blob that ublox can analyze with their super secret tool 2023-05-17T13:36:54 < karlp> cant sign into any websites, because it can't even open them. 2023-05-17T13:36:55 < mawk> but I have the tool now 2023-05-17T13:36:59 < karlp> hooray, "secure" 2023-05-17T13:37:00 < mawk> it might accidentally leak online 2023-05-17T13:37:03 < mawk> lol yeah 2023-05-17T13:48:50 * qyx wishing to install original mozilla with tls 1.0 support 2023-05-17T13:49:12 < qyx> I guess we now have it as an appimage 2023-05-17T14:07:21 < jbo> sup o/ 2023-05-17T14:09:59 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-17T14:10:19 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-17T14:22:33 < karlp> ez-pd PMG1-B1 looks kinda neat 2023-05-17T14:23:24 < karlp> doesn't even turn up in the MCU section of mouser :) 2023-05-17T14:24:03 < jpa-> "battery-powered applications like power tools, electric shavers, and portable blenders" 2023-05-17T14:24:16 < jpa-> i wonder who chose those three categories as examples 2023-05-17T15:54:15 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-17T16:15:17 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f427:65bd:c31e:c834] has joined ##stm32 2023-05-17T16:18:54 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-17T16:43:16 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-17T16:44:48 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f427:65bd:c31e:c834] has quit [Ping timeout: 240 seconds] 2023-05-17T16:45:23 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b5ba:62fb:cf15:cff0] has joined ##stm32 2023-05-17T17:01:50 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-17T17:02:29 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 246 seconds] 2023-05-17T17:05:36 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-17T17:06:28 -!- duude__- [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-17T17:21:24 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-17T17:55:59 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 264 seconds] 2023-05-17T18:07:56 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b5ba:62fb:cf15:cff0] has quit [Ping timeout: 246 seconds] 2023-05-17T18:08:56 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c8d9:b5ec:6993:f3bd] has joined ##stm32 2023-05-17T18:13:49 < mawk> I've been converting my PLMN magic from AT+CSRM commands to direct AT+CSIM commands 2023-05-17T18:13:51 < mawk> because ublox does some weird shit trying to be helpful with CSRM 2023-05-17T18:14:13 -!- ventYl [~ventyl@bband-dyn121.95-103-97.t-com.sk] has quit [Ping timeout: 250 seconds] 2023-05-17T18:14:25 < mawk> so now it should also work for any model 2023-05-17T18:14:36 < mawk> modem 2023-05-17T18:16:39 < mawk> ideally you type the commands when the connection isn't active but just in case it's done in a dedicated logical channel 2023-05-17T18:17:04 < mawk> which is closed at the end 2023-05-17T18:17:52 < mawk> I also added a command to add operators to the forbidden list 2023-05-17T18:18:09 < mawk> I put T-Mobile in it to prepare for when they shut down the 2G 2023-05-17T18:20:11 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:c8d9:b5ec:6993:f3bd] has quit [Quit: Leaving] 2023-05-17T18:24:58 < mawk> do you have 2G devices still karlp ? 2023-05-17T18:26:16 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has joined ##stm32 2023-05-17T18:31:05 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-17T18:50:30 < karlp> lol no 2023-05-17T18:58:41 < qyx> I have some m66fa or how were they called 2023-05-17T18:58:45 < qyx> quacktels 2023-05-17T18:59:22 < qyx> long live 2g 2023-05-17T18:59:24 < qyx> I wish you 2023-05-17T19:37:07 < catphish> how insane would it be to want to use the same pin for BOOT0 and a serial RX? 2023-05-17T19:38:31 < qyx> a bit, boot0 must be low to boot from flash and usart rx idles at high 2023-05-17T19:39:06 < qyx> so you will probably need a weak pulldown and an internal pullup maybe? 2023-05-17T19:40:28 < catphish> i fear the only way this will work is to disconnect the UART with an external switch by default, and connect it later 2023-05-17T19:40:47 < catphish> else the external uart is going to pull that pin high all the time 2023-05-17T19:42:11 < catphish> maybe i can do without that uart 2023-05-17T19:47:00 < PaulFertser> mawk: I still use my Openmoko Freerunner occassionally. It doesn't support EDGE even. 2023-05-17T19:49:26 < mawk> just GPRS? 2023-05-17T19:50:11 < PaulFertser> mawk: yep, I need it only to receive a message via SMS 2023-05-17T19:51:15 < PaulFertser> mawk: 2G-only is not a problem in IL because ultra-orthodox crowd are very vocal about not disabling it, heh. 2023-05-17T20:22:25 < zyp> catphish, maybe you can do without boot0 2023-05-17T20:33:01 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-17T20:35:14 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-17T20:40:37 < catphish> zyp: actually i decided to do without SWD instead 2023-05-17T20:41:29 < catphish> since i only ever use SWD for programming, and usb programming is more useful in this case 2023-05-17T20:46:24 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-17T20:51:41 < catphish> more accurately, i can put a switch on BOOT0, and double up a UART with SWD, that way it can be used as SWD if nothing's connected to that serial port 2023-05-17T21:33:13 < Steffanx> time to pick a mcu with more pins 2023-05-17T21:33:29 < Steffanx> only using swd for programming? No debugging? 2023-05-17T22:02:36 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-05-17T22:09:31 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has quit [Ping timeout: 240 seconds] 2023-05-17T22:13:23 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-17T22:20:26 < catphish> Steffanx: i've never debugged compiled code 2023-05-17T22:21:27 < Steffanx> printf debugging all day? 2023-05-17T22:22:15 < zyp> catphish writes perfectly bug free code right away, no need to waste time debugging it when there's no bugs 2023-05-17T22:22:52 < catphish> printf may be involved sometimes :) 2023-05-17T22:24:53 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-17T22:24:59 < nomorekaki> hello early 2023-05-17T22:25:20 < catphish> in any case, on of the UARTS can double as SWD, once debugging is finished, it can go back to being a UART 2023-05-17T22:26:19 < aandrew> hm 2023-05-17T22:26:35 < Steffanx> have a song nomorekaki: https://www.youtube.com/watch?v=T2Gx57k3CyM 2023-05-17T22:26:50 < nomorekaki> is it cha cha cha? 2023-05-17T22:26:55 < Steffanx> ofcourse not 2023-05-17T22:27:01 < nomorekaki> I only want cha cha chaa 2023-05-17T22:27:15 < nomorekaki> okay I open the link 2023-05-17T22:27:22 < Steffanx> you better dont 2023-05-17T22:27:42 < nomorekaki> wait the musics started 2023-05-17T22:27:43 < aandrew> cortex-m7, if I have a memory address (say 0x10000000 which is executable/accessible) which contains JMP 0x20000000 but 0x20000000 is set to executable but privileged only and I'm in thread mode and jump to 0x10000000, I'll get a MemManage exception 2023-05-17T22:28:00 < nomorekaki> I thought it was background musics of my mind 2023-05-17T22:28:31 < aandrew> my question is whether I will be able to see how IP got to 0x20000000; I'm trying to implement a call gate type of feature that is not present on this CPU 2023-05-17T22:29:13 < zyp> that's a precise fault, isn't it? 2023-05-17T22:29:13 < aandrew> so I want to create a jump table at 0x10000000 that the memmanage handler can look and see if the fault at 0x20000000 came from 0x10000000 2023-05-17T22:29:32 < aandrew> I'm hoping not to have to CALL 0x2000000 and look at the stack 2023-05-17T22:29:46 < nomorekaki> Steffanx: excelent musics! 2023-05-17T22:29:51 < aandrew> yes IIRC it's precise 2023-05-17T22:30:40 < aandrew> the fault registers talk about the "instruction that caused the fault" which I'm thinking will be at 0x20000000 2023-05-17T22:31:52 < zyp> hmm, I'm not sure whether the address is validated as soon as you try moving it into PC, or when it tries fetching the new PC 2023-05-17T22:32:20 < zyp> I know for stuff like INVSTATE, it'll do the former 2023-05-17T22:32:42 < zyp> but if it's a fetch restriction by the MPU, it might not detect it before it's actually attempting the fetch 2023-05-17T22:33:12 < catphish> i paid for all the pins, i'm going to use all the pins... https://i.imgur.com/pko0LdU.png 2023-05-17T22:33:17 < nomorekaki> Steffanx: have you watched the movie Dredd? Not Stallone but the reboot version 2023-05-17T22:33:36 < catphish> i really don't want to use a bigger chip 2023-05-17T22:33:43 < zyp> catphish, you're not using PC14/15? 2023-05-17T22:33:55 < Steffanx> yeah i think so. nomorekaki 2023-05-17T22:33:58 < catphish> zyp: my bad :) 2023-05-17T22:34:10 < catphish> zyp: they may actually remain spare 2023-05-17T22:34:26 < aandrew> nomorekaki: heh I did the exact same thing recently 2023-05-17T22:34:44 < nomorekaki> what thing? 2023-05-17T22:35:02 < zyp> catphish, why not move some gpio shit over there to free up some more useful pins so you don't have to share swd pins? 2023-05-17T22:35:34 < zyp> like led or the spi cs signals 2023-05-17T22:36:24 < catphish> zyp: the GPIOs were added at the end after everything else was settled, there is no combination that allows 4 x UART + SWD 2023-05-17T22:36:34 < aandrew> https://ibb.co/JRjtDcV 2023-05-17T22:36:38 < aandrew> use ALL the pins 2023-05-17T22:36:40 < Steffanx> 3x uart, 3x spi, waht are you doing catphish ? 2023-05-17T22:36:57 < aandrew> oh that was catphish not nomorekaki, sorry 2023-05-17T22:37:04 < catphish> Steffanx: multirotor flight controller 2023-05-17T22:37:32 < catphish> fucked if i know why they want to put every peripheral on its own SPI bus 2023-05-17T22:37:45 < catphish> but that's the recommended config for this software 2023-05-17T22:37:46 < Steffanx> ah, its not your board 2023-05-17T22:37:51 < Steffanx> or is it 2023-05-17T22:37:55 < catphish> it's my board, not my software 2023-05-17T22:38:09 < catphish> https://betaflight.com/ 2023-05-17T22:38:20 < catphish> designing a low cost hardware to run this 2023-05-17T22:38:36 < qyx> isn't it dongs's stolen firmware 2023-05-17T22:38:40 < qyx> or what was the story 2023-05-17T22:39:34 < catphish> anyway, it's pretty unlikely SWD will be needed, so it seems reasonable to double it up with a UART that may or may not be needed 2023-05-17T22:40:03 < catphish> the requirement is for 3xUART+3xSPI, i've crammed in a 4th UART, doubled with SWD 2023-05-17T22:40:38 < zyp> qyx, he's credited in the readme: https://github.com/betaflight/betaflight/blob/master/README.md#open-source--contributors 2023-05-17T22:40:45 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-17T22:40:48 < Laurence_b> >Princess Diana 2023-05-17T22:41:07 < Laurence_b> >crashed car because paparazi were following 2023-05-17T22:41:12 < Laurence_b> >Prince Harry 2023-05-17T22:41:20 < Laurence_b> >crashed car on purpose for press attention 2023-05-17T22:41:22 < catphish> zyp: who is he? 2023-05-17T22:41:28 < zyp> timecop 2023-05-17T22:41:41 < Steffanx> Laurence_b, is this you? https://www.dumpert.nl/?selectedId=100061538_374e7f47 2023-05-17T22:41:48 < Laurence_b> has timecop been seen? 2023-05-17T22:41:51 < specing> Laurence_b: who crashed car on purpose so they'd get a new one? 2023-05-17T22:42:12 < Steffanx> he's alive and well on telegram ##gd32 2023-05-17T22:42:16 < catphish> zyp: interesting, this thing has been forked more than any projecct i've ever seen 2023-05-17T22:42:29 < catphish> even now there are half a dozen *active* forks 2023-05-17T22:45:20 < catphish> this was the design i did a couple of weeks ago: https://i.imgur.com/Jes9Bn6.png - now abandoned because the G431 only has 128KB of flash which is no good for the bloatware :) so now redesigning with a 512KB G474 2023-05-17T22:45:45 < catphish> so far i've done not much https://i.imgur.com/M28hdlI.png 2023-05-17T22:45:57 < zyp> what's the dfn8? flash? 2023-05-17T22:46:19 < qyx> L1 is so huge 2023-05-17T22:46:39 < zyp> also that 2023-05-17T22:46:52 < qyx> do you need 15 amps? 2023-05-17T22:46:57 < catphish> L1 may be excessive, i'm not sure what the practical power supply requirement actually is 2023-05-17T22:47:06 < catphish> that's only a 2A inductor 2023-05-17T22:47:26 < zyp> that's probably an order of magnitude more than you need 2023-05-17T22:47:41 < catphish> zyp: i suspect that may be the case 2023-05-17T22:48:08 < qyx> there are wide input bucks capable of operating with 1u/2u2/4u7 in the < 1A range 2023-05-17T22:48:12 < catphish> U8 is a W25N01GVZEIG, might be nice to find a smaller one 2023-05-17T22:48:21 < qyx> 0805 multilayer inductor will do 2023-05-17T22:48:23 < qyx> 1210 maximum 2023-05-17T22:48:51 < zyp> catphish, what's it for? 2023-05-17T22:49:01 < catphish> zyp: storing logs 2023-05-17T22:49:50 < catphish> software calls it "blackbox", it basically logs all the gyro inputs, motor outputs, etc 2023-05-17T22:50:16 < catphish> i guess *any* SPI flash will work 2023-05-17T22:51:05 < catphish> i'm trying to modernize. older designs seem to use oversized components, so any opportunity to use smaller stuff would be great 2023-05-17T22:51:06 < zyp> that's a NAND flash though 2023-05-17T22:51:15 < zyp> beware the difference between NAND and NOR 2023-05-17T22:51:35 < catphish> i don't actually understand the difference, which is why i'm using that one that i know is supported 2023-05-17T22:51:43 < zyp> it's kinda analogous to the difference between SRAM and DRAM 2023-05-17T22:51:51 < catphish> ah okay 2023-05-17T22:52:04 < catphish> i'll look at the supported chips and see if they're all NAND 2023-05-17T22:52:29 < catphish> i'm not totally sure how large the power supply needs to be, the biggest draw will probably be a GPS reeceiver 2023-05-17T22:53:07 < zyp> NAND is denser than NOR, but has much higher access latency, so it's typically read in larger blocks ahead of time before you need it, like DRAM 2023-05-17T22:53:40 < catphish> so NOR would be an upgrade? 2023-05-17T22:53:51 < qyx> depends on your goal 2023-05-17T22:53:54 < zyp> good if you want lots of space and can live with the latency, but unsuitable for XIP 2023-05-17T22:54:08 < zyp> NOR would certainly be a downgrade on capacity 2023-05-17T22:54:16 < zyp> and you're using it for logs, not XIP 2023-05-17T22:54:21 < catphish> well i'll have another look at what chips other people use 2023-05-17T22:55:16 < catphish> i could probably use a bigger STM32 if i could shrink the inductor, but then again, bigger STM32 = more expensive 2023-05-17T22:59:04 < nomorekaki> catphish: what are you innovating? 2023-05-17T23:00:34 < Steffanx> Earlier this evening: Steffanx: multirotor flight controller 2023-05-17T23:00:50 < catphish> nomorekaki: multirotor flight controller 2023-05-17T23:01:40 < catphish> i'm not doing anything dramatic, just trying to make an open source board with slightly modern parts than existing boards 2023-05-17T23:01:46 < zyp> I'm innovating poor man's ethercat 2023-05-17T23:04:22 < zyp> so I've got a MAC dispatching to my protocol handler, which is further dispatching to command handlers 2023-05-17T23:05:23 < zyp> but for some reason, my command handler is not getting the «first» flag set on the first word of the command payload 2023-05-17T23:06:04 < nomorekaki> ethercat on drone? 2023-05-17T23:06:15 < zyp> no, robot arm 2023-05-17T23:06:25 < zyp> and not ethercat, just poor man's imitation 2023-05-17T23:10:19 < aandrew> yeah I don't think this'll work 2023-05-17T23:10:19 < aandrew> 1 = the processor attempted an instruction fetch from a location that does not permit execution. 2023-05-17T23:10:23 < aandrew> The PC value stacked for the exception return points to the faulting instruction. 2023-05-17T23:11:46 < aandrew> DACCVIOL would be nice but I'm not going to try to read from where I want to jump first 2023-05-17T23:11:54 < zyp> aandrew, so, what's the goal of this call gate thing anyway? 2023-05-17T23:12:38 < aandrew> I want to ensure that any code executed within the protected region came in through a known entry point 2023-05-17T23:13:00 < zyp> why not go through svc+ 2023-05-17T23:15:11 < nomorekaki> catphish: what is the aim? 2023-05-17T23:15:28 < zyp> nomorekaki, crash drones of course, that's what people do with them 2023-05-17T23:15:36 < nomorekaki> for the etherkitten 2023-05-17T23:16:03 < nomorekaki> and the arm 2023-05-17T23:18:11 < catphish> nomorekaki: the aim is just to build a low cost flight controller board 2023-05-17T23:18:30 < catphish> (one that can run betaflight firmware) 2023-05-17T23:19:45 < aandrew> well the issue is that while I can have my call table issue my SVC instructions, I can't protect my region from privileged code from just jumping into the middle of it. 2023-05-17T23:19:58 < aandrew> it's a (minor) nit, but it increases my attack surface 2023-05-17T23:20:08 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-17T23:20:23 < zyp> aandrew, into the middle of what? 2023-05-17T23:22:22 < aandrew> my protected code region 2023-05-17T23:22:41 < aandrew> I can't set up (for example) 0x0-0xffff so that the ONLY way to get into there is through a call gate 2023-05-17T23:22:59 < zyp> you mean from other privileged code? 2023-05-17T23:23:14 < aandrew> yeah 2023-05-17T23:23:36 < aandrew> if I'm already in privileged mode they could unprotect the region by reporgramming the MPU anyway 2023-05-17T23:24:29 < zyp> well, technically you could keep it MPU protected, requiring also privileged code to go through svc, and then in the svcall handler you unprotect the region, execute and reprotect before you return 2023-05-17T23:24:45 < aandrew> so I think I'm just overthinking; the H735 already forces boot to the secure bootloader, the secure bootloader verifies the application hasn't been tampered before jumping to it, so if the application is so fucked that it can be manipulated to doing bad things then that's not a technical issue 2023-05-17T23:25:00 < zyp> also, if you're using svc, you don't need a jump table, you could just have it inline the svc instruction instead 2023-05-17T23:25:19 < aandrew> zyp: but privileged code could manipulate the MPU on its own 2023-05-17T23:25:31 < zyp> yeah, that's why it's called privileged 2023-05-17T23:25:43 < zyp> if that's an issue it shouldn't be privileged 2023-05-17T23:26:27 < zyp> maybe you should consider a mcu with trustzone support if you need more privilege levels 2023-05-17T23:26:39 < aandrew> yep, not gonna happen 2023-05-17T23:26:42 < aandrew> I'm just overthinking 2023-05-17T23:26:53 < aandrew> if the main app passes sig check that should be good enough 2023-05-17T23:27:09 < zyp> there's quite a few stm32 options with cortex-m33 now 2023-05-17T23:27:17 < zyp> none as performant as h7 yet though 2023-05-17T23:27:45 < aandrew> RDP level 2, secure access enabled, bootloader verify app before jumping to it... that's plenty 2023-05-17T23:28:59 < zyp> what are you protecting anyway? at some point it doesn't matter because people are just gonna do some fault injection or whatever to get around RDP 2023-05-17T23:29:26 < aandrew> call gate would be nice but unnecessary. I could look at FreeRTOS to see just how much of it runs privileged 2023-05-17T23:29:58 < zyp> plain freertos? all of it 2023-05-17T23:30:29 < aandrew> fault injection should be mostly mitigated through clock checking and the usual power monitoring stuff 2023-05-17T23:30:38 < aandrew> H735 is pretty robust 2023-05-17T23:30:57 < zyp> I haven't looked into it 2023-05-17T23:30:59 < aandrew> all of it? wow amazing 2023-05-17T23:31:56 < aandrew> oh that's not freertos-mpu, have to see if that's worth it or not 2023-05-17T23:33:12 < qyx> I consider freertos-mpu a toy 2023-05-17T23:33:19 < qyx> I mean the MPU API is hardly usable 2023-05-17T23:34:34 < qyx> yes, it is nice and clean, practically a single function, but that would not work in real life 2023-05-17T23:34:58 < qyx> getting the actual region addresses and having them properly aligned is 5x more work than the whole MPU implementation 2023-05-17T23:35:06 < catphish> hmm, that inductor i used is 4.5A, that really might be excessive 2023-05-17T23:35:24 < qyx> so without any reasonable framework, yea, you can write "MPU supported" but actually coding anything with it would be a nightmare 2023-05-17T23:35:56 < qyx> at least imo 2023-05-17T23:37:28 < catphish> i hate designing power supplies, i never know what's acceptable and what isn't 2023-05-17T23:37:52 < qyx> that's acceptable 2023-05-17T23:40:26 < catphish> oh, i just looked again and immediately found a more sensible 10u inductor, stil 1.6A but half the size, big win 2023-05-17T23:40:48 < qyx> which switcher? 2023-05-17T23:41:20 < catphish> TPS54202 2023-05-17T23:43:06 < aandrew> yeah the MPU is stupid 2023-05-17T23:45:34 < qyx> catphish: another hints, MAX17630 with 4u7 inductor, MAX25231 too iirc 2023-05-17T23:45:42 < qyx> lower Iq too 2023-05-17T23:46:14 < catphish> Iq isn't a concern, this thing will be pulling 10A+ elsewhere in the device :) 2023-05-17T23:46:48 < catphish> but will check out those chips, the main concern will be that i want 26V+ input capability 2023-05-17T23:53:22 < catphish> kicad is really being a dick to me with this design, it's totally ignoring design constraints when routing, then only telling me after 2023-05-17T23:59:25 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b50b-64d-8617-9ebb.fixed6.kpn.net] has joined ##stm32 --- Day changed to touko 18 2023 2023-05-18T00:20:51 < nomorekaki> are you in legacy mode? 2023-05-18T00:21:48 < nomorekaki> and walk around mode 2023-05-18T00:22:03 < nomorekaki> *not in walk around mode 2023-05-18T00:22:12 < nomorekaki> ie. highlight collisions 2023-05-18T00:33:49 < nomorekaki> if you are in new mode and have walkaround mode set then maybe you have a broken nightly version. it's not totally unprecedented 2023-05-18T00:38:33 < catphish> nomorekaki: i think it's just a bug, specifically in 7.0.2 routing ignored hole clearance, i fixed it by making my via pads bigger to force tracks further from the holes 2023-05-18T00:39:01 < nomorekaki> just another day using kicad 2023-05-18T00:39:49 < nomorekaki> install different version to fix the issue - and find another 2023-05-18T00:41:57 < catphish> density improved a bit now https://i.imgur.com/D4ff5hj.png 2023-05-18T00:45:59 < zyp> why is the usb-c connector so far in? 2023-05-18T00:46:35 < catphish> i don't really know where it's suppoed to be 2023-05-18T00:47:21 < catphish> zyp: is that line supposed to be the board edge? https://i.imgur.com/fDqqsJh.png 2023-05-18T00:47:44 < zyp> I don't know, I didn't make the footprint 2023-05-18T00:47:55 < zyp> I typically move it even further out 2023-05-18T00:48:22 < zyp> see e.g. https://bin.jvnv.net/file/8mskf.JPG 2023-05-18T00:48:41 < catphish> interesting 2023-05-18T00:49:08 < catphish> this looks right https://hackaday.com/wp-content/uploads/2022/11/hadimg_usbc_conn_3.jpeg?w=400 2023-05-18T00:49:49 < zyp> it's all up to how it's gonna fit in an enclosure if it's going into one 2023-05-18T00:49:55 < zyp> if not, it doesn't really matter 2023-05-18T00:52:18 < catphish> zyp: this is what it looks like if i use the line on the footprint to line it up with the board edge, looks ideal to me https://i.imgur.com/f9synxj.png 2023-05-18T00:52:44 < catphish> plus it buys me even more board space 2023-05-18T00:54:15 < zyp> if this is going to end up pretty dense, you could design for jlcpcb 6L, it's small enough they'll make it for $2 2023-05-18T00:54:31 < zyp> capped vias included 2023-05-18T00:54:39 < zyp> hmm, I think even 8L at same price 2023-05-18T00:57:57 < catphish> i'm making it for 4 layer single sided assembly, just to minimuze cost 2023-05-18T00:58:32 < catphish> JLC 6 layer is weird, they do it super cheap, but only in teeny quantities, i don't really understand the business model there 2023-05-18T00:58:48 < zyp> yeah, just saying that at that size, 8L isn't gonna cost you more than 4L 2023-05-18T00:58:50 < catphish> they have some kind of opposite economies of scale going on 2023-05-18T00:59:12 < zyp> it's a special offer, guess it's to get people hooked on higher specs 2023-05-18T00:59:15 < qyx> small boards can be easily fit in void areas of large panels probably 2023-05-18T00:59:59 < zyp> so far I've made four 6L designs at jlc, two of those at regular price and two at $2 2023-05-18T01:17:12 < karlp> I love you kaks: 19:27:01 nomorekaki | I only want cha cha chaa 2023-05-18T01:33:33 -!- nomorekaki [~nomorekak@37-219-126-82.nat.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-18T01:34:04 < karlp> hrm, a new dredd movie you say? intersting 2023-05-18T01:34:59 < karlp> but kaks: https://www.youtube.com/watch?v=aqtu2GspT80 2023-05-18T01:37:25 < zyp> hmm, the B50612D PHYs on these FPGA boards don't have RGMII in band status enabled by default 2023-05-18T01:37:47 < zyp> apparently it's supported, but needs to be enabled through MDIO 2023-05-18T01:49:57 < zyp> MDIO is a hassle, easiest to initialize from a CPU, and if I'm putting a CPU on this, I ought to bring up a UART to talk to it… 2023-05-18T01:51:29 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b50b-64d-8617-9ebb.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-18T02:05:46 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-05-18T02:06:04 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-18T02:06:04 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-18T02:06:04 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-18T02:27:49 -!- rooferdave [~rooferdav@rrcs-24-97-76-202.nys.biz.rr.com] has joined ##stm32 2023-05-18T02:29:16 -!- rooferdave [~rooferdav@rrcs-24-97-76-202.nys.biz.rr.com] has quit [Client Quit] 2023-05-18T02:33:45 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-18T03:12:09 -!- CatCow [~wtf_over@98.246.223.133] has joined ##stm32 2023-05-18T03:53:45 -!- qyx [~qyx@84.245.120.70] has quit [Ping timeout: 240 seconds] 2023-05-18T03:55:48 -!- qyx [~qyx@84.245.121.176] has joined ##stm32 2023-05-18T04:08:00 -!- rajkosto [~rajkosto@93.87.113.208] has joined ##stm32 2023-05-18T04:11:55 -!- rajkosto [~rajkosto@93.87.113.208] has quit [Read error: Connection reset by peer] 2023-05-18T04:25:26 -!- rajkosto [~rajkosto@93-87-113-208.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-18T05:01:03 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 256 seconds] 2023-05-18T05:09:21 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-18T05:48:14 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-18T07:01:45 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-18T07:03:40 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-18T10:06:16 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has joined ##stm32 2023-05-18T10:34:01 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-18T10:38:19 -!- rajkosto [~rajkosto@93-87-113-208.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-18T10:43:43 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a850-668-6b03-c308.fixed6.kpn.net] has joined ##stm32 2023-05-18T11:18:30 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-18T11:44:35 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-18T12:08:59 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Quit: Leaving] 2023-05-18T12:08:59 -!- c10ud [~c10ud@user/c10ud] has quit [Quit: Leaving] 2023-05-18T12:09:11 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-18T12:09:11 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-18T12:09:11 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-18T12:17:53 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a850-668-6b03-c308.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-18T12:33:02 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5326))] 2023-05-18T12:33:07 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-18T13:44:23 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-18T14:05:21 -!- drzacek [~drzacek@2a01:3d8:4cc:c900:b478:222:8d41:4a0b] has joined ##stm32 2023-05-18T14:45:21 -!- Flecks [~fleck@user/fleck] has quit [Remote host closed the connection] 2023-05-18T14:49:14 -!- Fleck [~fleck@user/fleck] has joined ##stm32 2023-05-18T15:03:26 -!- drzacek [~drzacek@2a01:3d8:4cc:c900:b478:222:8d41:4a0b] has quit [Read error: Connection reset by peer] 2023-05-18T15:10:13 -!- CatCow [~wtf_over@98.246.223.133] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-05-18T16:45:25 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-18T17:23:24 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-18T17:32:42 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:c407:c1d:ea67:56c] has joined ##stm32 2023-05-18T17:32:42 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:c407:c1d:ea67:56c] has quit [Changing host] 2023-05-18T17:32:42 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-18T18:01:55 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 256 seconds] 2023-05-18T18:12:43 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 2023-05-18T19:03:11 -!- machinehum [~machinehu@2604:3d08:937f:cf00::7d54] has quit [Ping timeout: 264 seconds] 2023-05-18T19:03:36 -!- machinehum [~machinehu@2604:3d08:937f:cf00::ced1] has joined ##stm32 2023-05-18T19:32:29 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-18T19:33:31 -!- machinehum [~machinehu@2604:3d08:937f:cf00::ced1] has quit [Ping timeout: 240 seconds] 2023-05-18T19:35:55 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-18T19:49:22 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has joined ##stm32 2023-05-18T19:50:02 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Read error: Connection reset by peer] 2023-05-18T19:54:47 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-18T20:12:07 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-18T20:23:45 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 250 seconds] 2023-05-18T20:26:06 -!- kraiskil [~kraiskil@mob-194-230-161-182.cgn.sunrise.net] has joined ##stm32 2023-05-18T20:31:01 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-18T20:42:19 < mawk> I saw an add for a software SIM card 2023-05-18T20:42:50 < mawk> no SIM, no eSIM, not even secure element SIM integrated in the chipset 2023-05-18T20:42:51 < Steffanx> Dont you addblock? 2023-05-18T20:42:57 < mawk> but literally software SIM 2023-05-18T20:43:13 < mawk> it's not for funsies that the SIM resides on a secure element 2023-05-18T20:43:23 < mawk> you can read and modify all data if you have access to it 2023-05-18T20:43:40 < mawk> including the OTA key and the ADM1...N keys and everything else 2023-05-18T20:43:49 < mawk> things that the carrier doesn't want you to have 2023-05-18T20:43:56 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-18T20:44:16 < mawk> it allows to change your IMSI/ICCID, to clone the card, etc 2023-05-18T20:44:31 < mawk> I'm tempted to email them to ask how they address this issue 2023-05-18T20:44:38 < mawk> not on mobile Steffanx 2023-05-18T20:45:19 < mawk> https://onomondo.com/product/softsim/ 2023-05-18T20:45:31 < mawk> any input from my 3GPP pros 2023-05-18T20:46:10 < Steffanx> They have a ginger Henrik, so they must be good. 2023-05-18T20:46:40 < zyp> mawk, I've also been wondering a bit how it's supposed to work 2023-05-18T20:47:07 < zyp> a couple of months ago I had a look at the eSIM stuff, and there's apparently two flavors of that 2023-05-18T20:47:37 < mawk> I have a eSIM on my phone 2023-05-18T20:47:42 < zyp> one for consumer devices like phones or whatever, where the eSIM is provisioned by the user through scanning a QR code or something 2023-05-18T20:47:52 < mawk> it's a tiny chip that has the same interface as a SIM but you download the profile on it 2023-05-18T20:47:58 < mawk> and fully 3GPP compliant 2023-05-18T20:48:05 < mawk> yeah I had to scan a qrcode 2023-05-18T20:48:19 < mawk> I wonder how the profile thing works 2023-05-18T20:48:22 < mawk> and how it's secured 2023-05-18T20:48:26 < zyp> and then another flavor for IoT-devices where the eSIM is managed and provisioned through some operator 2023-05-18T20:48:45 < mawk> because instead of using the eSIM I could do something like a dummy software SIM to collect all the secrets 2023-05-18T20:49:00 < mawk> but maybe there is a protocol with public key crypto stuff to upload a profile safely 2023-05-18T20:49:09 < mawk> right zyp 2023-05-18T20:49:16 < mawk> but both are the same in the end right? 2023-05-18T20:49:23 < mawk> a profile downloaded to the eSIM IC 2023-05-18T20:52:25 < zyp> yeah, but in the latter case it's not user managed 2023-05-18T20:52:47 < mawk> right 2023-05-18T20:53:01 < mawk> how do they do the very first provisioning 2023-05-18T20:53:05 < zyp> which means that the eSIM needs to already be set up to talk to some provisioning service 2023-05-18T20:53:08 < zyp> exactly 2023-05-18T20:53:15 < mawk> can they download a profile with limited service? I don't think it's possible 2023-05-18T20:53:22 < zyp> from a device developer perspective, that's the annoying part 2023-05-18T20:53:23 < mawk> it's only for emergency calls 2023-05-18T20:53:26 < mawk> yeah 2023-05-18T20:56:43 < mawk> and there are two kinds of eSIM, one a dedicated chip on the PCB with the same electrical and application interface as a normal SIM (+ the profile download mechanism); and also the eSIM as a peripheral in a secure element of the processor or modem itself 2023-05-18T20:57:09 < mawk> some devices also use remote SIMs, because why not 2023-05-18T20:57:20 < mawk> using something called SAP to tunnel the APDUs 2023-05-18T20:57:28 < mawk> some u-blox devices support that 2023-05-18T20:57:43 < zyp> there's also plastic eSIMs 2023-05-18T20:57:53 < mawk> but I guess it needs a separate connection to the SIM server, because it's the same priming problem 2023-05-18T20:58:05 < mawk> plastic eSIMs? why 2023-05-18T20:58:11 < zyp> from my understanding, eSIM refers to the ability to be provisioned, not the form factor 2023-05-18T20:58:22 < mawk> ah really? I see 2023-05-18T20:58:31 < zyp> so you can put a plastic eSIM in a regular slot and provision it the same way as a soldered eSIM 2023-05-18T20:58:37 < mawk> yeah 2023-05-18T20:59:03 < mawk> I'd like to take a look at this profile download thing 2023-05-18T20:59:06 < mawk> it might be interesting 2023-05-18T20:59:38 < mawk> it's either very undocumented and security by obscurity, or it uses clever crypto to hide the secrets even though the thing can be MITM'd 2023-05-18T20:59:44 < mawk> I really hope it's the second option 2023-05-18T20:59:50 < Steffanx> Sounds like mawk's next project is implementing a (e)sim inside a stm32 :) 2023-05-18T21:00:07 < zyp> here's one of the documents I've read through before: https://www.gsma.com/esim/wp-content/uploads/2018/12/esim-whitepaper.pdf 2023-05-18T21:00:09 < mawk> but then what happens when you fake a SIM in software like onomondo is doing 2023-05-18T21:00:18 < mawk> maybe Steffanx 2023-05-18T21:00:24 < Steffanx> not maybe. 2023-05-18T21:00:33 < mawk> thanks zyp 2023-05-18T21:03:39 < zyp> mawk, so, my question is; what do I do if I'm an iot device developer and I want to solder an eSIM to a board without tying it to a specific operator? 2023-05-18T21:04:25 < mawk> the eSIM can work with any operator 2023-05-18T21:04:31 < mawk> it's not locked 2023-05-18T21:04:45 < zyp> yeah, but read about the «M2M Solution» 2023-05-18T21:04:53 < zyp> what do 2023-05-18T21:05:16 < zyp> where do I get eSIMs from, and how do I provision them? 2023-05-18T21:06:20 < mawk> they seem to say it's deprecated? why do they use the past tense 2023-05-18T21:06:45 < mawk> I don't know where you can get eSIMs but I'd assume on digikey or whatever 2023-05-18T21:07:04 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-05-18T21:07:09 < mawk> for provisioning you'd pop them into a SIM reader and send the right APDU with the profile given by the carrier 2023-05-18T21:07:17 < mawk> or do that in your own firmware if you can 2023-05-18T21:08:17 < mawk> if that provisioning procedure is officially documented (and I think it is) it shouldn't be too hard to implement in your firmware 2023-05-18T21:08:33 < mawk> and even if you don't have direct access to the SIM, but only your modem 2023-05-18T21:08:48 < mawk> you can probably use AT+CSIM commands to send the data if you can do it fractionally 2023-05-18T21:09:08 < zyp> I'm using nrf9160, there should be commands for sim card management 2023-05-18T21:09:24 < mawk> (or use a dedicated logical channel to not interfere with the modem's discussion with the SIM) 2023-05-18T21:09:39 < mawk> yeah AT+CSIM is direct SIM access 2023-05-18T21:10:03 < mawk> AT+CSRM is restricted access, ie to read or write files easily, modem handles locking and selection for you 2023-05-18T21:10:33 < mawk> (but ublox has a quirk where it reads at most 56 bytes with CSRM so you have to issue it multiple times with an offset) 2023-05-18T21:11:13 < mawk> and there's AT+CCHO to open a logical channel to talk to an application on the SIM (typically the 3G USIM application), and so on 2023-05-18T21:11:27 < mawk> maybe they're not all there, but at least AT+CSIM should 2023-05-18T21:13:36 < mawk> the profile should be a few KiB, so you can make it fit in your own firmware I guess 2023-05-18T21:13:44 < mawk> and provision the SIM at first boot 2023-05-18T21:16:14 < mawk> I'd use a logical channel to do it just to be sure, so AT+CCHO to get a session ID, then AT+CGLA=... to send the commands 2023-05-18T21:16:47 < mawk> if you only have AT+CSIM you can do it as well, open the channel and then the first byte of the APDU will be your channel number 2023-05-18T21:18:03 < mawk> like AT+CSIM=10,"01b0000050" to send the command "READ BINARY of 80 bytes on channel 1" 2023-05-18T21:18:59 < zyp> did you read the pdf I linked? 2023-05-18T21:19:20 < mawk> not entirely, I'm on mobile 2023-05-18T21:19:25 < mawk> but I looked at the m2m section 2023-05-18T21:19:46 < zyp> let's discuss further after you've had time to read everything then :) 2023-05-18T21:22:36 < mawk> I did 2023-05-18T21:23:43 < mawk> so to install the profile you need to help the SIM communicate with the SM-DP and SM-SR servers 2023-05-18T21:24:04 < mawk> could even be by sms apparently 2023-05-18T21:25:01 < mawk> but whichever way you have to do this, in the end you will have to talk to the SIM card to relay back and forth messages 2023-05-18T21:25:17 < mawk> and that is either with a direct connection to the SIM, or with AT+CSIM 2023-05-18T21:25:35 < mawk> or with the modem itself if it supports eSIM provisioning 2023-05-18T21:27:02 < mawk> you have to be the relay of the SIM, sending to the network the messages the SIM wants to send, and vice versa 2023-05-18T21:27:21 < mawk> usually the modem handles it, but if it doesn't know about eSIMs you have to do it yourself 2023-05-18T21:28:40 < zyp> isn't that what BIP is for? 2023-05-18T21:29:17 < mawk> yeah 2023-05-18T21:29:40 < mawk> if it's not supported by the modem you will have to do it yourself 2023-05-18T21:29:53 < mawk> and I'm not even sure it's possible through CSIM but maybe 2023-05-18T21:30:10 < zyp> the way I understand it, the eSIM will use BIP, which will be handled by the modem, to talk to the provisioning servers 2023-05-18T21:30:16 < mawk> most likely using SMS will be easier, if you can't access the SIM directly 2023-05-18T21:30:21 < mawk> yeah 2023-05-18T21:30:34 < mawk> but the modem has to support it 2023-05-18T21:30:53 < mawk> if it doesn't you need the DIY solution 2023-05-18T21:31:24 < zyp> «A device without a Profile loaded and enabled may use a number of alternative methods to 2023-05-18T21:31:27 < zyp> download a Profile. These include using a special purpose ‘Provisioning Profile’ to connect to a 2023-05-18T21:31:30 < zyp> cellular network for both Consumer and M2M solutions, or for the Consumer solution only there is 2023-05-18T21:31:33 < zyp> also the additional options of using a non-cellular network (e.g. Wi-Fi) or a primary device with its 2023-05-18T21:31:36 < zyp> own cellular connection.» 2023-05-18T21:31:46 < zyp> that sounds to me like a M2M eSIM needs to come with a «provisioning profile» 2023-05-18T21:31:53 < mawk> yeah 2023-05-18T21:32:16 < mawk> but that's like for very large volumes I suppose 2023-05-18T21:32:27 < zyp> which gets us back to the question of where I get that from 2023-05-18T21:32:28 < mawk> if you get blank eSIMs from digikey it won't be like that 2023-05-18T21:33:02 < zyp> my impression is that you can buy preprovisioned eSIM chips directly from various operators 2023-05-18T21:33:50 < mawk> that defeats a bit the purpose of eSIM but yeah that's also possible 2023-05-18T21:35:55 < mawk> for the provisioning profile thing you'd need to source the eSIMs from a place that has a contract with a carrier to provide these special profiles 2023-05-18T21:36:10 < mawk> or the carrier itself 2023-05-18T21:36:21 < zyp> yeah 2023-05-18T21:36:54 < zyp> and I wonder how helpful a carrier will be with changing to a different carrier if they're running the SM-DP/SM-SR themselves 2023-05-18T21:37:14 < mawk> yeah 2023-05-18T21:37:28 < mawk> that I don't know 2023-05-18T21:38:00 < mawk> I'd hope you can use the old profile to do all the handshaking with the new DP/SR servers, and commit it all at the end 2023-05-18T21:38:23 < mawk> I could try with my phone which has a eSIM 2023-05-18T21:38:38 < mawk> it didn't come preprovisioned of course, I had to provision it using wifi 2023-05-18T21:39:40 < mawk> but so if you can't get a eSIM with provisioning profile then you need to be the BIP relay if the modem doesn't do it 2023-05-18T21:40:28 < mawk> probably possible through AT+CSIM commands but probably finicky too; if I had to do it I'd try the SMS way 2023-05-18T21:41:40 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has joined ##stm32 2023-05-18T21:41:56 < nomorekaki> love you too karlp 2023-05-18T21:42:00 < Steffanx> cha cha cha 2023-05-18T21:42:03 < mawk> because it's easy to relay SMSes to the card, it doesn't care if you have network 2023-05-18T21:42:21 < mawk> and the modem probably has AT commands for it too 2023-05-18T21:42:23 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 268 seconds] 2023-05-18T21:43:07 < mawk> are you going to try to have eSIMs zyp ? 2023-05-18T21:43:58 < zyp> idk, I haven't been too deeply involved into what which projects will use 2023-05-18T21:44:49 < zyp> I think our nrf91 reusable design includes both a MFF2 footprint and a 4FF socket 2023-05-18T21:45:46 < zyp> actually, I think the project I did the testsuite for only has the MFF2, no socket 2023-05-18T21:46:19 < zyp> not entirely sure where they got the esims for for that project, suspect they got a reel directly from telenor 2023-05-18T21:47:45 < qyx> whats the point of esims if you have to get them from a operator? 2023-05-18T21:48:30 < zyp> the point of MFF2 is that it's a mechanically better solution when it's going into a product that's going to be potted into an enclosure 2023-05-18T21:51:53 < karlp> and then esim to glory instead of users switching fucking cards 2023-05-18T21:52:07 < karlp> it's all great, but yeah, the chicken/egg day 1 scenario gts confusing 2023-05-18T21:53:07 < zyp> here's one of the things I've been involved in: https://findmy.no/ 2023-05-18T21:53:39 < zyp> they're potted, so there wouldn't be a way to change a sockeded sim card anyway 2023-05-18T21:55:05 < qyx> anyway, death to conventional mobile networks 2023-05-18T21:55:19 < qyx> they should be coreless with a simple provisionig mechanism 2023-05-18T21:55:32 < qyx> if the operator wants to provide voice, volte 2023-05-18T21:55:46 < qyx> but then they lose all their bsns 2023-05-18T22:09:15 < mawk> qyx you don't have to 2023-05-18T22:09:19 < mawk> you can have blank ones 2023-05-18T22:09:28 < mawk> in smartphones they're usually blank 2023-05-18T22:09:35 < mawk> and you need to dl a profile 2023-05-18T22:11:38 < mawk> and you can change the profile also 2023-05-18T22:11:40 < mawk> that's one advantage over normal ones 2023-05-18T22:11:42 < mawk> and smaller footprint 2023-05-18T22:13:25 -!- kraiskil [~kraiskil@mob-194-230-161-182.cgn.sunrise.net] has quit [Ping timeout: 240 seconds] 2023-05-18T22:17:47 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-18T23:10:13 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-18T23:38:55 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9159-25b7-39fe-269b.fixed6.kpn.net] has joined ##stm32 2023-05-18T23:50:13 < Laurence_b> https://download.monin.net/f.php?h=3XZKDQKn&p=1 --- Day changed pe touko 19 2023 2023-05-19T00:20:02 < machinehum> Do you need a termination resitor for this guy? FSUSB42MUX 2023-05-19T00:21:03 < machinehum> I don't know if for USB you always need one 2023-05-19T00:21:34 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-19T00:28:16 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 268 seconds] 2023-05-19T00:47:10 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-19T01:13:27 < catphish> almost finished flight controller design: https://i.imgur.com/xOr2MxS.png https://github.com/catphish/openuav/blob/master/openuav.pdf 2023-05-19T01:13:44 < catphish> any feedback on dumb design choices approciated as always 2023-05-19T01:16:14 < qyx> too much free space 2023-05-19T01:16:53 < qyx> and no USB esd protection 2023-05-19T01:18:51 < catphish> good call on ESD protection 2023-05-19T01:19:29 < catphish> on that subject, should i be putting something on exposed UARTS designed for connecting external peripherals, or it STM32's protection pretty adequate? 2023-05-19T01:21:33 < qyx> I am always putting external TVS and series resistors for UART-style things 2023-05-19T01:21:38 < qyx> for USB there are dedicated ICs 2023-05-19T01:22:59 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-19T01:23:50 < catphish> i'll have a look, i do have board space for a few such passives 2023-05-19T01:24:07 < catphish> thanks 2023-05-19T01:26:51 < catphish> my fix list looks like: 1) buffering buzzer 2) USB ESD protecton 3) possible protection on UART pins 4) I2C pullups 2023-05-19T01:28:04 < qyx> yeah and I2C protection of some sort if it is exposed on a connector 2023-05-19T01:28:22 < qyx> and on a quadcopter, I would consider some sort of filtering on an open-drain bus 2023-05-19T01:28:32 < qyx> too much high current wires nearby 2023-05-19T01:37:19 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-9159-25b7-39fe-269b.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-19T01:58:06 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 265 seconds] 2023-05-19T02:18:35 < mawk> PaulFertser: adb is broken :'( 2023-05-19T02:18:39 < mawk> I haz no shell anymore 2023-05-19T02:18:43 < mawk> I don't know why 2023-05-19T02:18:55 < mawk> List of devices attached 2023-05-19T02:18:57 < mawk> MF8230ZTED000000CP261718YWU0XI5OM9A4_35162H2B&&&&&&&&&&&&&&&&&&0 offline 2023-05-19T02:19:05 < mawk> this is what ADB says, and the thing never comes back online 2023-05-19T02:19:09 < mawk> it's maybe a driver issue 2023-05-19T02:58:44 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-19T04:00:28 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-19T04:28:02 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-19T05:09:48 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-19T05:36:39 -!- t4nk_freenode [~Go@user/t4nk] has quit [Remote host closed the connection] 2023-05-19T05:38:22 -!- t4nk_freenode [~Go@user/t4nk] has joined ##stm32 2023-05-19T05:55:37 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-19T06:26:33 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-19T07:33:18 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-19T07:41:28 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-19T08:12:04 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-05-19T08:32:57 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-19T09:02:41 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-19T09:02:41 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-19T09:02:41 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-19T09:03:50 -!- LFSveteran [~LFSvetera@keymaker.msrv.nl] has quit [Ping timeout: 246 seconds] 2023-05-19T09:14:42 < PaulFertser> mawk: damn 2023-05-19T09:21:01 -!- Thorn [~Thorn@user/thorn] has quit [Quit: Few women admit their age. Few men act theirs.] 2023-05-19T09:22:28 < PaulFertser> mawk: so UART it is? 2023-05-19T09:41:19 < mawk> yeah, I have to use pcbite for it 2023-05-19T10:59:45 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-19T11:16:55 -!- LFSveteran [~LFSvetera@keymaker.msrv.nl] has joined ##stm32 2023-05-19T11:35:46 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4044-f815-c5cf-4a29.fixed6.kpn.net] has joined ##stm32 2023-05-19T11:55:01 -!- rajkosto [~rajkosto@93-87-113-208.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-19T12:00:06 -!- Guest2916 [~n0toosem]@2001:470:69fc:105::1:d27a] has quit [Remote host closed the connection] 2023-05-19T12:12:53 < PaulFertser> mawk: what is the distance between those two UART testpads? 2023-05-19T12:13:19 < mawk> less than a mm 2023-05-19T12:16:56 < PaulFertser> stm32 lqfp pins have like 0.5mm pitch but I know one can hand solder wires to two adjucent pins without any trickery. 2023-05-19T12:20:26 -!- Thorn [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-19T12:20:26 -!- Thorn [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Changing host] 2023-05-19T12:20:26 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-19T12:29:24 < BrainDamage> mawk: if you have a root shell, you might be able to load usb otg gadget in the kernel, and add a secondary function to the usb exporting adb over uart 2023-05-19T12:29:36 < mawk> I lost the root shell 2023-05-19T12:29:41 < mawk> adb was my only way to get the shell 2023-05-19T12:30:08 < mawk> PaulFertser there's maybe 0.2 or 0.3 mm between the uart pins and a ground pad 2023-05-19T12:30:14 < mawk> my iron tip isn't small enough 2023-05-19T12:31:29 < PaulFertser> mawk: https://paulfertser.info/files/useless_buzzfix/ ;) 2023-05-19T12:32:19 < PaulFertser> (the caps are 0603 iirc) 2023-05-19T12:35:02 < mawk> nice 2023-05-19T12:35:13 < mawk> PaulFertser https://i.imgur.com/ERbrrDj.jpeg 2023-05-19T12:35:15 < mawk> SIM card for scale 2023-05-19T12:35:21 < mawk> the uart pads are the two tiny ones 2023-05-19T12:35:24 < rajkosto> PaulFertser, you using a self signed cvertificate for your website ? 2023-05-19T12:35:42 < mawk> yes 2023-05-19T12:36:02 < mawk> or maybe not 2023-05-19T12:36:13 < mawk> it's just expired 2023-05-19T12:36:16 < mawk> issuer is http://www.cacert.org/ 2023-05-19T12:36:16 < rajkosto> uses something called RootCA i dunno if he's just missing the middleman certs in the chain his server presents or what 2023-05-19T12:36:22 < rajkosto> i get a SEC_UNKNOWN_ISSUER warning 2023-05-19T12:36:23 < PaulFertser> rajkosto: it's cacert 2023-05-19T12:36:47 < mawk> their own certificate is invalid 2023-05-19T12:37:05 < mawk> or not in the store at least 2023-05-19T12:37:06 < PaulFertser> rajkosto: because I do not like LE because they decided to focus on the things they think were important and I think that's not enough. 2023-05-19T12:37:25 < rajkosto> so the solution is to have everyone have to add an exception for your domain to access it ? 2023-05-19T12:37:35 < mawk> it's an exception for all cacert certificates 2023-05-19T12:38:05 < PaulFertser> mawk: tbh, it doesn't seem to be too fine for a quick manual soldering job to me. If you have thin wires and flux. 2023-05-19T12:38:53 < PaulFertser> rajkosto: you can access via plain http if you prefer. 2023-05-19T12:39:20 < mawk> I have flux, but not thin wires 2023-05-19T12:40:14 < BrainDamage> mawk: get a pair of pogo pins and solder them to a perfboard, this way you'll have plenty of area to solder on and it's just the gap between that has to be adjusted 2023-05-19T12:40:26 < BrainDamage> and you can adjust the spacing by bending them slightly 2023-05-19T12:40:28 < mawk> I showed the pinout some time ago here, can someone grep in their logs? I can't find it again on googlw 2023-05-19T12:40:37 < PaulFertser> I like enameled wire from transformers. 2023-05-19T12:40:39 < mawk> yeah that might work too BrainDamage 2023-05-19T12:41:15 < PaulFertser> mawk: http://vve.su/files/misc/MF823/MF823_pads1.jpg 2023-05-19T12:41:21 < mawk> thanks 2023-05-19T12:41:34 < mawk> I will try the PBL thing first 2023-05-19T12:42:38 < BrainDamage> and you can hold the assembly with a third hand tool 2023-05-19T12:43:06 < mawk> yeah 2023-05-19T12:43:21 < PaulFertser> (I had sane soldering irons back then, just wanted to prove that the particular job was possible with a ridiculously big one with fat tip (of course I filed it kinda sharp)) 2023-05-19T12:48:08 < mawk> I was able to put it into some kind of download mode 2023-05-19T12:48:09 < mawk> but no shell 2023-05-19T12:48:18 < mawk> Bus 001 Device 011: ID 19d2:0076 ZTE WCDMA Technologies MSM QHSUSB_DLOAD 2023-05-19T12:48:29 < mawk> I think it's some qualcomm shits 2023-05-19T12:48:36 < mawk> it popped up a /dev/ttyUSB1 device 2023-05-19T12:49:09 < mawk> the option driver recognized it as GSM port and made the tty 2023-05-19T12:49:13 < mawk> but it's probably wrong 2023-05-19T12:51:11 < mawk> apparently I can use that https://qpsttool.com/ 2023-05-19T12:51:19 < mawk> but I think it's for flashing the radio and won't help me here 2023-05-19T12:51:28 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 248 seconds] 2023-05-19T12:56:17 < mawk> I also have a JTAG interface 2023-05-19T12:56:21 < mawk> but good luck getting a shell with that 2023-05-19T12:57:05 < PaulFertser> mawk: renewed expired cert, thank you 2023-05-19T12:58:31 < mawk> so the qualcomm download thing was a bit useless 2023-05-19T12:58:50 < mawk> and the adb is still blinking on and off even on a different computer 2023-05-19T13:05:56 < mawk> I found a guide on how to use this download interface for recovery PaulFertser 2023-05-19T13:06:01 < mawk> but it's in russian (probably_) 2023-05-19T13:06:02 < mawk> http://vve.su/files/misc/MF823/MF823_Bee_flash_guide.doc 2023-05-19T13:06:13 < mawk> so I think I can recover this thing, I just need a windows VM 2023-05-19T13:06:25 < mawk> I found a lunix tool to do it but I don't want to try to brick it 2023-05-19T13:10:58 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-19T13:11:49 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-19T13:26:51 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4044-f815-c5cf-4a29.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-19T14:14:08 < Steffanx> Did BrainDamage get wet feet? 2023-05-19T14:22:02 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-19T14:22:05 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-19T14:30:37 < PaulFertser> Steffanx: I'm not sure that's a question appropriate even for his channel. 2023-05-19T14:30:43 < PaulFertser> s/his/this/ 2023-05-19T14:33:02 < Steffanx> Depends on how you interpret my question PaulFertser 2023-05-19T14:33:04 < PaulFertser> Hm, Thorn moved to Portugal? 2023-05-19T14:33:45 < PaulFertser> Steffanx: I can not see any compassion in it 2023-05-19T14:34:09 < Steffanx> Yes PaulFertser. 2023-05-19T14:34:44 < Steffanx> In Italy there are some issues with water.. and water can get your feet wet. ;) 2023-05-19T14:36:16 < PaulFertser> Steffanx: and also can get you killed, and some died already, and many lost their homes and property, and that happened just hours ago, so it feels like a wrong way to have jokes about the situation right now. 2023-05-19T14:39:41 < Steffanx> I dont like making it more sad than it already is. 2023-05-19T14:42:27 < Steffanx> Im not sure ##stm32 is the place for compassion and warmth. 2023-05-19T14:42:58 < PaulFertser> That's understandable. But inappropriate jokes might add to the sadness when done wrong. Imagine BrainDamage spending the night under heavy rain in a boat, trying to help to save people, emotionally and physically drained, and then you come and ask if he got feet wet. That might feel ok, but might not too. 2023-05-19T14:43:38 < Steffanx> Perhaps, it still more than any other person asked so far. 2023-05-19T14:44:15 < PaulFertser> Yet ##stm32 isn't /b/ 2023-05-19T14:45:33 < Steffanx> Also I usually don't assume the worst. 2023-05-19T14:51:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4044-f815-c5cf-4a29.fixed6.kpn.net] has joined ##stm32 2023-05-19T14:53:16 < Steffanx> We'll see how much he hates me when he shows up PaulFertser. 2023-05-19T14:53:34 < Steffanx> Then we'll see if i have to make an apology or not. 2023-05-19T14:55:04 < Steffanx> Im surprised you missed dongs. If someone is not about "warmth and compassion" (in public) it is mr Dongs. 2023-05-19T14:57:30 < PaulFertser> Steffanx: I tend to forget bad things 2023-05-19T15:10:39 -!- rajkosto [~rajkosto@93-87-113-208.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-19T15:21:40 < Steffanx> Heh ok PaulFertser . better forget i was a bad/mean guy fast then :) 2023-05-19T15:30:13 < PaulFertser> I likely will. 2023-05-19T15:46:47 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-19T16:55:39 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-4044-f815-c5cf-4a29.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-19T17:11:35 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 268 seconds] 2023-05-19T17:22:28 -!- oz4ga [~tim@hator.sunsite.lv] has quit [Remote host closed the connection] 2023-05-19T17:23:07 -!- oz4ga [~tim@hator.sunsite.lv] has joined ##stm32 2023-05-19T18:07:01 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-19T18:42:41 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-19T19:25:00 < qyx> Steffanx: parents got flooded 2y ago in a village where water was never an issue 2023-05-19T19:25:10 < qyx> but this year itlooks okish so far 2023-05-19T19:25:24 < qyx> we should get used to that 2023-05-19T19:27:12 < specing> yup 2023-05-19T19:29:11 < qyx> slightly related, always open spaghetti sauce covered by hand or whatever, it is not feeling good to have it in your eyes 2023-05-19T19:30:58 < Steffanx> always wear safety glasses. 2023-05-19T19:32:59 < BrainDamage> I'm quite far from the damage, fortunately 2023-05-19T19:34:44 < BrainDamage> I've been pretty close to a flood tho, a while ago, I've even had some friends involved 2023-05-19T19:37:35 < BrainDamage> I have a video of a car being dragged along a road turned into a river 2023-05-19T19:40:02 < specing> was it a scubaru? 2023-05-19T19:40:46 < Steffanx> Im not allowed to laugh about that anymore, specing :P 2023-05-19T19:41:40 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-05-19T19:43:59 < specing> why not 2023-05-19T19:53:56 < BrainDamage> https://i.imgur.com/0WZCq7m.mp4 2023-05-19T19:56:41 < BrainDamage> this was about 3km from my home 2023-05-19T19:57:09 < specing> cool 2023-05-19T19:57:51 < specing> let's pave over everything and then act surprised when the ground cannot absorb anything 2023-05-19T19:58:49 < specing> Similar thing is now happening in the east of my country: farmers cut down all the trees on steep terrain to make way for more pastures and are now calling the government to help with landslides 2023-05-19T19:59:19 < ventYl> standard 2023-05-19T19:59:28 < specing> s/pastures/animal abuse/ 2023-05-19T20:00:01 < ventYl> here we have one part of city built on top of hill which slides down every 20 years or so 2023-05-19T20:00:12 < ventYl> damage from the last landslide isn't fully covered yet 2023-05-19T20:00:21 < ventYl> and people are hapily building new houses on top of it 2023-05-19T20:01:56 < BrainDamage> and this used to be a ~20cm diameter brook https://i.imgur.com/EN58zo8.mp4 2023-05-19T20:03:58 < BrainDamage> there's not much rampant urbanization here, in fact most of that area is a national park 2023-05-19T20:05:45 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 2023-05-19T20:08:06 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-05-19T20:20:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 2023-05-19T20:40:39 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-19T20:50:56 < Steffanx> long time no see mr bitmask . Was it you who once ordered those knobs from aliexpress with custom icon thingy? 2023-05-19T20:51:21 < bitmask> hello there. yes it was me 2023-05-19T20:51:26 < Steffanx> Was it as easy as order, send design/file and receive it a few weeks later? 2023-05-19T20:51:44 < bitmask> yup 2023-05-19T20:51:56 < Steffanx> alright, must try then 2023-05-19T20:52:27 < bitmask> would you like the link to the store I used or do you have one 2023-05-19T20:52:40 < Steffanx> there are quite a few on the alie 2023-05-19T20:52:52 < bitmask> k 2023-05-19T20:53:22 < Steffanx> thanks though :) 2023-05-19T20:53:26 < bitmask> hah np 2023-05-19T20:56:52 < zyp> what knob 2023-05-19T20:56:53 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-19T20:57:21 < Steffanx> button 2023-05-19T20:57:58 < bitmask> https://imgur.com/gallery/Q99KRKk 2023-05-19T20:58:06 < bitmask> those custom lighted buttons 2023-05-19T21:01:08 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-19T21:31:41 < qyx> BrainDamage: you are from the north, aren't you? 2023-05-19T21:34:23 < BrainDamage> qyx: yes, my city is on the border with switzerland 2023-05-19T21:41:02 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-19T21:42:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-693f-2fa5-73da-e641.fixed6.kpn.net] has joined ##stm32 2023-05-19T21:48:26 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has joined ##stm32 2023-05-19T22:06:53 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-19T22:19:14 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has joined ##stm32 2023-05-19T22:19:50 < Steffanx> So BrainDamage is alright, when it comes to the water. good to hear :) 2023-05-19T22:20:40 < nomorekaki> https://www.youtube.com/watch?v=9ccNuAAAIn4 more information is better - is false? 2023-05-19T22:25:19 < Steffanx> So are you in for a game of fortnight nomorekaki ? 2023-05-19T22:25:35 < nomorekaki> wut 2023-05-19T22:25:57 < nomorekaki> isnt it fortnite? 2023-05-19T22:27:22 < jpa-> game of forthnight = spend 14 days on ##stm32 and try to retain your sanity and self-respect (if you had any to begin with) 2023-05-19T22:28:09 < Steffanx> Yeah you come up with the game we play it that long. 2023-05-19T22:28:41 < Steffanx> As long it does not involve Cha cha cha. 2023-05-19T22:30:09 < jpa-> how about tattoos? 2023-05-19T22:33:19 < Steffanx> A remake of how far is tattoo far? 2023-05-19T22:55:38 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-19T23:21:05 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-19T23:26:53 < bitmask> how do you pronounce dare in ludum dare? 2023-05-19T23:27:09 < bitmask> is it latin? 2023-05-19T23:33:17 < oz4ga> "in ludun dare" is latin 2023-05-19T23:34:10 < oz4ga> s/ludun/ludum/ 2023-05-19T23:34:19 < bitmask> Classical Latin: [ˈluːdũː ˈdarɛ], meaning 'to give a game' 2023-05-19T23:34:25 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-19T23:34:26 < bitmask> i see 2023-05-19T23:35:44 < oz4ga> put in in front and it becomes "to give into the game" 2023-05-19T23:36:26 < oz4ga> try google translate then you can hear it pronounced with italian accent :D 2023-05-19T23:37:07 < bitmask> heh i saw the pronunciation typed out, i was pronouncing it correctly 2023-05-19T23:37:09 < oz4ga> ludo == I play 2023-05-19T23:46:27 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 --- Day changed la touko 20 2023 2023-05-20T00:01:01 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-20T01:01:28 < qyx> liebe freunde, if I wanted to extend my device with some shiny bulky flash storage, namely 4x SD cards 2023-05-20T01:02:01 < qyx> and the only interface available is ethernet, what are the possibilities? (on a stm32) 2023-05-20T01:02:24 < qyx> ideally some less retarded than iscsi 2023-05-20T01:03:36 < qyx> and ideally with zero work on the linux side, which, ideally, directly sees those SD cards as block devices 2023-05-20T01:05:23 < qyx> okay, I forgot that NBD exists 2023-05-20T01:26:39 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-693f-2fa5-73da-e641.fixed6.kpn.net] has quit [Ping timeout: 256 seconds] 2023-05-20T01:28:09 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-20T01:28:12 < Laurence_b> https://www.imgbly.com/ib/yQb3Oi3b4k.png 2023-05-20T01:40:27 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-20T01:54:00 < jadew> man... jobs in the US are super well paid 2023-05-20T01:54:09 < jadew> compared to that, europe is shit 2023-05-20T02:02:55 < zyp> *some* jobs in the US are super well paid 2023-05-20T02:03:04 < zyp> other pays jack shit 2023-05-20T02:03:11 < jadew> well, the ones that would fit me 2023-05-20T02:03:28 < zyp> I'm happy to live in a country with less income inequality than the US 2023-05-20T02:03:31 < jadew> I wonder if when adjusting based on the cost of living you end up with the same crap as here 2023-05-20T02:03:43 < jadew> why do you care about the equality of others? 2023-05-20T02:04:58 < jadew> I think on our side of the pond, Finland pays the best 2023-05-20T02:05:52 < jadew> there's a job search engine powered by the EU government?... 2023-05-20T02:06:15 < jadew> anyway, you can find lots of jobs across all of the EU 2023-05-20T02:08:56 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-20T02:09:16 < zyp> why shouldn't I care? 2023-05-20T02:10:55 < jadew> because the road to hell is paved with good intentions 2023-05-20T02:11:11 < zyp> if you say so 2023-05-20T02:11:26 < jadew> history says that 2023-05-20T02:11:54 < zyp> not sure what point you're trying to make 2023-05-20T02:12:15 < jadew> the point is that it's better if people care about their own interests 2023-05-20T02:12:48 < jadew> people who are successful and efficient, will create a society that is successful and efficient 2023-05-20T02:13:23 < zyp> what's your metric for successful? 2023-05-20T02:13:28 < jadew> take away their incentive to do that, and it's going to go to shit at a rate that's proportional to the magnitude of the good intentions 2023-05-20T02:13:39 < jadew> people being raised out of poverty 2023-05-20T02:13:46 < jadew> ^ that's a good metric 2023-05-20T02:16:41 < zyp> explain then how more inequality means less poverty 2023-05-20T02:16:51 < zyp> because my understanding is that it's the opposite 2023-05-20T02:17:13 < jadew> inequality doesn't mean less poverty, but equality does mean more poverty 2023-05-20T02:18:05 < jadew> inequality is a natural occurrence of a free society, but as long as more people are doing better than they would if they were equal, to me it doesn't matter that someone is super rich, and I'm just average 2023-05-20T02:19:27 < jadew> in other words, I would rather be just average and have a comfy life, than live in a society where everyone is miserable 2023-05-20T02:19:47 < jadew> (but equal) 2023-05-20T02:22:40 < zyp> I've never talked about equality as an absolute, and I don't have the impression that norway has more poverty and misery than the us either, so I'm not sure what you're backing your claims on 2023-05-20T02:22:56 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-20T02:24:03 < jadew> your country is rich not because you're equal, but because you're resource rich and the government is not corrupt 2023-05-20T02:25:12 < jadew> it's a poor example, it's like saying: look at that rich kid, he never did anything in his life, but he's still rich 2023-05-20T02:26:32 < jadew> there's obviously communism as a case study for equality 2023-05-20T02:27:04 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-20T02:27:51 < jadew> and tbh, on the human nature 2023-05-20T02:28:26 < jadew> if I'm going to be paid the same or only 10% than someone who has invested 20 years of his life into mastering something, then I'd be an idiot to do the same 2023-05-20T02:28:45 < jadew> *10% more 2023-05-20T02:30:31 < zyp> the fuck are you gonna spend your life doing then? mastering arguing on the internet? 2023-05-20T02:31:11 < jadew> maybe! or watch tv, or ride my bike, or read, or play with the kids, etc 2023-05-20T02:31:27 < jadew> or do something else that I enjoy and that might not actually be productive 2023-05-20T02:32:45 < jadew> me and you, we'd probably still be doing geeky and productive shit 2023-05-20T02:32:49 < zyp> the way I see it, all sorts of jobs are required, and as such should pay a living wage 2023-05-20T02:32:50 < jadew> but the majority wouldn't 2023-05-20T02:33:22 < jadew> that's true, but some jobs are more required than others and require more sacrifice 2023-05-20T02:34:06 < zyp> there's plenty of people that work harder and sacrifice more than me, yet earn less 2023-05-20T02:34:17 < jadew> who's going to want to dive in shit to unclog the pipe, when he can be a lift operator and press a button all day long for a similar wage? 2023-05-20T02:34:46 < jadew> zyp, that's how you see it because you don't realize the sacrifice you made, because you actually enjoyed it 2023-05-20T02:35:06 < jadew> if you take a regular person and ask them to become you, they're going to kill themselves 2023-05-20T02:35:38 < jadew> who the fuck would want to learn about all those registers and stupid peripherals and... what? 2023-05-20T02:36:47 < zyp> that's not what people are paying me for though, can't say I've done much stm32 for a living 2023-05-20T02:37:18 < jadew> I bet there are lots of transferable skills 2023-05-20T02:38:18 < jadew> let's consider that someone would make the sacrifice, because there's a need for people like you 2023-05-20T02:38:32 < jadew> should that person still earn a similar wage to someone operating a cash register? 2023-05-20T02:39:43 < jadew> the answer to that is: "it depends on the demand" :D 2023-05-20T02:40:25 < zyp> more supply rather, I think the demand for people to operate cash registers are a lot higher than the demand for people like me :p 2023-05-20T02:40:52 < jadew> heh, true, both supply and demand 2023-05-20T02:41:44 < zyp> still, I would like the people operating cash registers to still earn a living wage so they also can live reasonably comfy lives 2023-05-20T02:41:52 < jadew> I would like that too 2023-05-20T02:43:49 < jadew> but I wouldn't do anything about it, if it meant stealing value from others 2023-05-20T03:52:25 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-20T03:52:40 < jadew> man... sometimes I want to answer to those scams emails so bad... 2023-05-20T03:52:45 < jadew> *scam 2023-05-20T03:53:26 < jadew> I just got contacted by an 18 yo chick that inherited 8 million euro and needs to come live with me 2023-05-20T03:54:56 < jadew> oh, and she's going to put that money in my account, because she can't access it :( 2023-05-20T03:56:28 < jadew> I think these idiots would make more money if they played the card with just the 18 yo chick that needed a sugar daddy 2023-05-20T03:57:29 < jadew> "I need $300 to bribe the officials in my city, so I can get the required paperwork so I can leave" 2023-05-20T03:59:05 -!- qyx [~qyx@84.245.121.176] has quit [Ping timeout: 256 seconds] 2023-05-20T04:00:52 -!- qyx [~qyx@84.245.121.204] has joined ##stm32 2023-05-20T04:11:47 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-05-20T04:12:07 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 256 seconds] 2023-05-20T04:12:10 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-20T04:29:15 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-20T04:45:10 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-05-20T06:20:49 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-20T06:54:21 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-20T07:20:20 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 265 seconds] 2023-05-20T07:48:54 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has joined ##stm32 2023-05-20T08:21:10 -!- martinmoene [~Thunderbi@77-173-84-114.fixed.kpn.net] has quit [Ping timeout: 268 seconds] 2023-05-20T09:16:36 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-20T09:39:18 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-20T10:14:00 -!- specing_ [~specing@user/specing] has joined ##stm32 2023-05-20T10:14:00 -!- specing [~specing@user/specing] has quit [Killed (NickServ (GHOST command used by specing_))] 2023-05-20T10:15:43 -!- specing_ is now known as specing 2023-05-20T13:07:08 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-20T13:30:12 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-20T14:33:28 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-20T14:34:56 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-20T14:50:53 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-20T15:13:14 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-20T15:13:17 < Laurence_b> https://www.tomshardware.com/news/raspberry-pi-ceo-eben-upton-discusses-stock-updates-industry-prioritization 2023-05-20T15:13:24 < Laurence_b> loll imagine not having any pis 2023-05-20T15:13:46 < Laurence_b> hyperloop company go through ~1k pis a month, no stock issues 2023-05-20T15:19:40 < Laurence_b> seems industrial customers just get all the stock they want with no issues 2023-05-20T15:29:27 < specing> 1k? How.. 2023-05-20T15:57:20 < Laurence_b> industrial customer 2023-05-20T15:57:37 < Laurence_b> I should steal some from the stock bin, stock control here is useless 2023-05-20T16:04:08 < Laurence_b> https://hardware.slashdot.org/story/23/05/19/218215/raspberry-pi-ceo-eben-upton-discusses-stock-updates-industry-prioritization# 2023-05-20T16:04:11 < Laurence_b> truth 2023-05-20T16:31:55 < b-rex> Laurence_b: lotta folks don't know rpi has all these industrial customers with custom socs that are ordered by the thousands 2023-05-20T16:33:15 < Steffanx> but what the hell does Laurence_b's hyperloop corp need 1k/month for? 2023-05-20T16:36:07 < Laurence_b> Steffanx: other division does railway signalling and telemetry kit 2023-05-20T16:36:37 < Laurence_b> also Metro systems and stuff 2023-05-20T16:37:08 < Steffanx> Oh it's more than just a Hyperloop corp 2023-05-20T16:40:23 < Laurence_b> yeah hyperloop is a side project for megacorp 2023-05-20T16:41:01 < Laurence_b> e.g. aiui there is a pi inside literally every equipment cabinet on Stockholm metro 2023-05-20T16:41:11 < Laurence_b> wait.... thats a source of free pis 2023-05-20T17:47:43 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Ping timeout: 245 seconds] 2023-05-20T18:00:31 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-20T18:14:35 -!- martinmoene [~Thunderbi@2a02:a45a:96ba:1:9450:deda:420c:18c4] has joined ##stm32 2023-05-20T18:52:43 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-20T19:34:34 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-20T19:42:18 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-20T19:42:18 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-20T19:42:18 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-20T19:49:54 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 250 seconds] 2023-05-20T20:01:31 -!- martinmoene [~Thunderbi@2a02:a45a:96ba:1:9450:deda:420c:18c4] has quit [Ping timeout: 240 seconds] 2023-05-20T20:46:37 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 256 seconds] 2023-05-20T21:19:00 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b9a8-4dd7-ee9d-df3a.fixed6.kpn.net] has joined ##stm32 2023-05-20T21:42:53 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-20T22:17:21 -!- bitmask [~bitmask@static-98-111-123-22.hrbgpa.fios.verizon.net] has joined ##stm32 2023-05-20T23:22:19 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-20T23:23:12 -!- ferdna [~ferdna@user/ferdna] has quit [Remote host closed the connection] 2023-05-20T23:23:36 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-20T23:27:18 -!- bitmask [~bitmask@static-98-111-123-22.hrbgpa.fios.verizon.net] has quit [Quit: Textual IRC Client: www.textualapp.com] --- Day changed su touko 21 2023 2023-05-21T00:02:32 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 250 seconds] 2023-05-21T01:08:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b9a8-4dd7-ee9d-df3a.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-21T01:35:35 -!- Sadale [~Sadale@user/sadale] has quit [Ping timeout: 264 seconds] 2023-05-21T01:42:29 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b9a8-4dd7-ee9d-df3a.fixed6.kpn.net] has joined ##stm32 2023-05-21T02:49:48 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-21T02:59:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-b9a8-4dd7-ee9d-df3a.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-21T04:33:48 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Quit: ZNC 1.8.2 - https://znc.in] 2023-05-21T04:45:48 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-21T04:48:50 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-21T06:20:59 -!- Sadale [~Sadale@user/sadale] has joined ##stm32 2023-05-21T06:23:34 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-21T06:42:50 < ColdKeyboard> Anyone here used EMC230x fan controllers? 2023-05-21T06:52:17 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-21T07:04:17 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has quit [Ping timeout: 246 seconds] 2023-05-21T07:39:03 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-21T08:00:14 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has joined ##stm32 2023-05-21T08:00:41 < boddax> ok 2023-05-21T08:01:38 < boddax> getting Error (10297): VHDL error at vumeter.vhd(50): attempt to divide by 0 2023-05-21T08:01:38 < boddax> at line 47 https://pastebin.com/VbKd08vj help..help..help 2023-05-21T08:03:02 -!- benishor [~benishor@scene.ro] has quit [Quit: tah tah!] 2023-05-21T08:15:30 -!- benishor [~benishor@scene.ro] has joined ##stm32 2023-05-21T08:49:52 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-21T09:22:38 < jpa-> boddax: try to do the calculation with integers instead of unsigneds 2023-05-21T09:23:30 < jpa-> but in general division is not synthetizable so args should be constants 2023-05-21T09:24:34 < jpa-> the error message comes from 2**16 not fitting in 16 bits 2023-05-21T09:25:19 < jpa-> for synthetizable construct, reformat to multiplication by reciprocal in fixed point 2023-05-21T09:45:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-904c-1519-fe23-dda9.fixed6.kpn.net] has joined ##stm32 2023-05-21T10:05:35 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-21T10:11:14 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-21T10:35:47 -!- rajkosto [~rajkosto@93-87-113-208.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-21T12:29:45 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-05-21T13:10:47 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-21T13:59:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-904c-1519-fe23-dda9.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-21T14:31:03 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-904c-1519-fe23-dda9.fixed6.kpn.net] has joined ##stm32 2023-05-21T15:38:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-904c-1519-fe23-dda9.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-21T15:56:59 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-21T16:08:51 < boddax> jpa i bet you are right but cannot easily do that ..eheh , still working on what u suggest 2023-05-21T16:10:32 < boddax> 4 channels vumeter ..30 leds each bar ..signal coming from ads1115 , but lateron if ever i will complete need to mux all four ch --too many pins need actually 2023-05-21T17:04:14 -!- rajkosto [~rajkosto@93-87-113-208.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-21T17:50:47 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-21T18:15:33 < boddax> compiled using only integers 2023-05-21T18:18:08 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-21T20:20:05 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-21T20:38:31 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has quit [Ping timeout: 240 seconds] 2023-05-21T20:40:29 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has joined ##stm32 2023-05-21T20:50:05 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has quit [Ping timeout: 240 seconds] 2023-05-21T20:52:18 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has joined ##stm32 2023-05-21T20:53:11 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-21T21:11:59 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a99a-5d02-7885-23a0.fixed6.kpn.net] has joined ##stm32 2023-05-21T22:32:05 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-21T23:46:29 -!- sauce [~sauce@hollandaise.sauce.icu] has quit [] --- Day changed ma touko 22 2023 2023-05-22T00:06:51 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has joined ##stm32 2023-05-22T00:06:56 < nomorekaki> late hello 2023-05-22T00:12:58 < ventYl> ehlo 2023-05-22T00:24:53 < Steffanx> Gooday sir nomorekaki . 2023-05-22T00:25:05 < Steffanx> Did you kick the new kaki's ass yet? 2023-05-22T00:35:02 -!- sauce [~sauce@free.and.open.sauce.icu] has joined ##stm32 2023-05-22T00:36:36 -!- dima_ [~dima@kappa.ac93.org] has joined ##stm32 2023-05-22T00:37:52 -!- dima [~dima@88.97.3.175] has quit [Ping timeout: 265 seconds] 2023-05-22T01:34:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-a99a-5d02-7885-23a0.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-22T01:45:03 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-22T03:47:01 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-22T04:03:35 -!- qyx [~qyx@84.245.121.204] has quit [Ping timeout: 240 seconds] 2023-05-22T04:05:50 -!- qyx [~qyx@84.245.120.78] has joined ##stm32 2023-05-22T04:53:11 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-22T04:53:18 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-22T04:54:46 -!- duude__- is now known as duude__ 2023-05-22T04:56:08 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-22T06:43:23 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-22T07:59:27 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-22T08:19:33 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-22T08:47:18 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-22T08:49:00 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 250 seconds] 2023-05-22T09:52:43 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-22T09:52:43 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-22T09:52:43 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-22T10:11:33 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-22T11:32:39 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-22T11:47:41 -!- ventYl [~ventyl@adsl-dyn49.78-99-149.t-com.sk] has quit [Ping timeout: 246 seconds] 2023-05-22T11:49:39 -!- ventYl [~ventyl@adsl-dyn208.78-98-106.t-com.sk] has joined ##stm32 2023-05-22T12:01:41 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 246 seconds] 2023-05-22T13:49:37 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-22T14:24:55 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Read error: Connection reset by peer] 2023-05-22T14:59:37 -!- catphish [~catphish@user/catphish] has quit [Ping timeout: 256 seconds] 2023-05-22T14:59:55 -!- catphish [~catphish@user/catphish] has joined ##stm32 2023-05-22T15:23:49 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-22T15:44:09 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-22T16:20:32 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-22T16:51:32 < mawk> I had a call with Richard's colleague, Stefan 2023-05-22T16:51:33 < mawk> Steffanx 2023-05-22T16:51:42 < mawk> they'll never sleep sound 2023-05-22T16:51:49 < mawk> I'm chasing them all around Netherlands 2023-05-22T17:00:12 < Steffanx> Who's his colleague? 2023-05-22T17:16:54 < Steffanx> Ooh Stefan. Yeah the sales guy 2023-05-22T17:17:10 < Steffanx> I know him too. 2023-05-22T17:20:40 < zyp> aww, only one f 2023-05-22T17:42:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 2023-05-22T17:45:02 < Steffanx> Yeah... 2023-05-22T18:32:13 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-22T18:37:11 -!- kraiskil [~kraiskil@mob-194-230-148-197.cgn.sunrise.net] has joined ##stm32 2023-05-22T18:39:46 < mawk> I updated the firmware of my ubloks modem 2023-05-22T18:39:50 < mawk> and now it's bricked 2023-05-22T18:39:54 < mawk> amazing 2023-05-22T18:40:27 < mawk> I asked richard for an old firmware to be able to try the update process, I updated to the old firmware, then again to the new firmware, and now the modem is going crazy 2023-05-22T18:42:49 < mawk> I force upgraded the firmware over easyflash and now it's back to normal 2023-05-22T18:42:57 < mawk> so something is fishy with their firmware update over AT 2023-05-22T18:43:25 < mawk> we can't use easyflash in the field because it requires access to the AUX UART, and also the protocol isn't documented 2023-05-22T18:47:51 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-22T18:49:46 < mawk> and it takes like 10 minutes to update at 115200 bauds 2023-05-22T18:50:06 < mawk> because text based UART is still the standard for modems for some unfathomable reason 2023-05-22T18:50:26 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-22T18:59:03 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has joined ##stm32 2023-05-22T19:01:24 < mawk> now I'm trying with the very antique hyperterminal for windows 2023-05-22T19:01:32 < mawk> as that's what they show in the doc 2023-05-22T19:01:44 < mawk> but they also show using minicom which is what I tried first and that's what bricked it 2023-05-22T19:04:41 < PaulFertser> It's kinda ironic one day you dig some rather complicated stuff about SIM card internal software and another you're forced to waste time on this bullshit nonsense. 2023-05-22T19:08:44 < boddax> are you connecting to BBS mawk ? 2023-05-22T19:09:04 < mawk> PaulFertser: I have to upgrade the firmware of a lot of devices in the field because their TLS library is too old to connect to any current web server now 2023-05-22T19:09:13 < mawk> and sending client data over HTTP is not a very good look 2023-05-22T19:13:29 < PaulFertser> mawk: indeed 2023-05-22T19:15:54 < mawk> throughput: 57000 bits per second 2023-05-22T19:15:54 < mawk> wow 2023-05-22T19:19:39 -!- ds2 [~ds2@162-194-129-85.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 2023-05-22T19:20:31 < mawk> with hyperterminal it worked 2023-05-22T19:20:35 < mawk> so why not with minicom 2023-05-22T19:20:38 < mawk> weird 2023-05-22T19:20:43 < mawk> or maybe it works only half the time 2023-05-22T19:21:43 < mawk> implementing the firmware update in our own firmware will not be easy 2023-05-22T19:31:27 < Steffanx> What does it use xmodem magic or? 2023-05-22T19:34:47 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-22T19:35:17 < mawk> yes xmodem 1k 2023-05-22T19:42:54 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-22T19:46:31 < PaulFertser> mawk: probably a little bit different xmodem implementation 2023-05-22T19:47:56 < PaulFertser> You can get full communication dump from hyperterminal and then compare with what "sx" does. 2023-05-22T20:07:34 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-22T20:21:29 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 256 seconds] 2023-05-22T20:21:53 -!- kraiskil [~kraiskil@mob-194-230-148-197.cgn.sunrise.net] has quit [Ping timeout: 268 seconds] 2023-05-22T20:37:28 < mawk> yeah PaulFertser 2023-05-22T20:37:43 < mawk> but even if it was a xmodem error it shouldn't brick my modem 2023-05-22T20:37:55 < mawk> the modem should refuse the update if it's wrong, and stay in a usable state 2023-05-22T20:38:15 < PaulFertser> Indeed 2023-05-22T20:38:31 < mawk> but here it accepted the update (as evidenced by the version number in ATI9 which changed) but half my characters were getting eaten on the UART, and I couldn't change any NVM or profile setting 2023-05-22T20:38:34 < PaulFertser> That's why I called it bullshit nonsense. 2023-05-22T20:38:38 < mawk> yeah 2023-05-22T20:38:50 < mawk> if I ask Richard then maybe in 3 month I will get an answer 2023-05-22T20:38:59 < mawk> if he forwards the question to ublox 2023-05-22T20:40:01 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-22T20:42:50 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-22T21:05:53 < mawk> I tried it again with minicom/sx, this time at 921600 bauds 2023-05-22T21:05:55 < mawk> and it works better 2023-05-22T21:06:03 < mawk> now it's not bricked anymore 2023-05-22T21:06:11 < mawk> my bricking rate is now at 33% 2023-05-22T21:10:26 < mawk> at least it's possible to downgrade 2023-05-22T21:10:48 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-22T21:13:53 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-22T21:18:13 < mawk> now 25% 2023-05-22T21:18:16 < mawk> maybe I was doing something wrong 2023-05-22T21:18:22 < mawk> even at 921600 bauds it works fine 2023-05-22T21:18:39 < mawk> this baud rate switching is a bit annoying but it makes things much faster 2023-05-22T21:21:09 < mawk> 25% failure rate with 4 tries means the 95% confidence interval for the failure rate is [0%; 67%] 2023-05-22T21:21:21 < mawk> I need a few more attempts for a better statistic 2023-05-22T21:37:33 < ventYl> are you bricking the same HW again and again? 2023-05-22T21:40:53 < mawk> lol 2023-05-22T21:40:55 < mawk> yes 2023-05-22T21:41:13 < ColdKeyboard> Is there a good/reliable "library" for working with STM32G0 flash? 2023-05-22T21:41:30 < mawk> HAL isn't good enough for you? 2023-05-22T21:41:40 < mawk> you don't need much, just an erase function 2023-05-22T21:41:49 < mawk> unless you want to do mega fast page copies or something 2023-05-22T21:42:27 < ventYl> ah, bricking rate decreases 2023-05-22T21:42:32 < ventYl> I am dumb today 2023-05-22T21:42:45 < ColdKeyboard> No HAL is fine. I have to make a custom i2c and uart bootloader. And was thinking of looking at something that already does that so I don't have to spend days debugging my flash code :D 2023-05-22T21:43:02 < mawk> you can probably extract HAL's code pretty easily 2023-05-22T21:43:05 < mawk> or you can look at LL 2023-05-22T21:43:14 < mawk> but flash is already low level enough that I think HAL and LL's code will be the samne 2023-05-22T21:43:16 < mawk> -n 2023-05-22T21:43:40 < ColdKeyboard> I guess only one way to find out. I'll give it a go :) 2023-05-22T21:44:45 < ventYl> isn't HAL using LL internally? 2023-05-22T21:45:26 < BrainDamage> it's a smart brick 2023-05-22T21:45:51 < BrainDamage> oh, god, I can totally see that being a thing, a brick that would report its load weight, humidity, temperature and other things 2023-05-22T21:50:11 < Steffanx> haha excellent idea :) 2023-05-22T21:52:18 < ventYl> BrainDamage: they already do some of it. If brick falls apart, then the load is too high 2023-05-22T21:52:20 < mawk> no ventYl 2023-05-22T21:52:26 < mawk> not always 2023-05-22T21:52:47 < Steffanx> always coca cola. 2023-05-22T21:52:52 < mawk> ventYl: bricks off my roof sometimes fall apart when there is a storm 2023-05-22T21:52:59 < mawk> then an old fat man comes and put them back on the roof 2023-05-22T21:53:24 < mawk> my stingy landlord who wants to do everything himself to save geld 2023-05-22T21:53:38 < Steffanx> in 1802 they made quality bricks. 2023-05-22T21:53:47 < ventYl> I do a lot of stuff myself too 2023-05-22T21:54:02 < ventYl> mostly because other will usually fuck something up 2023-05-22T21:54:24 < ColdKeyboard> If I'm writting a bootloader, is there a bare-metal example that I can use as a starting point? Or some pointers on optimizeing the code or makefile? :) 2023-05-22T21:54:35 < zyp> what kind of bootloader? 2023-05-22T21:55:15 < mawk> you can ask cube-mx to generate the code for your chi9p 2023-05-22T21:55:20 < mawk> and copy the .ld and .s files 2023-05-22T21:55:25 < mawk> or at least look at it 2023-05-22T21:55:28 < zyp> I wrote a stm32g0 bootloader a couple of weeks ago 2023-05-22T21:55:34 < ventYl> ColdKeyboard: bootloader is basically just an ordinary application, which has different base address and when it is done, it jumps to another code 2023-05-22T21:55:35 < ColdKeyboard> Uart and I2C so two of them 2023-05-22T21:55:38 < ventYl> nothing very special 2023-05-22T21:55:57 < mawk> so you mean something that can read firmware from uart or i2c and then flash it? 2023-05-22T21:55:58 < zyp> ventYl, depends on the kind of bootloader 2023-05-22T21:56:13 < ventYl> zyp: well, if it is a flash bootloader, then it has flash routines 2023-05-22T21:56:17 < ColdKeyboard> ventYl I know. But I'm more thinking of optimizing it for space. But yes, a relatively simple app 2023-05-22T21:56:30 < mawk> write it in assembly like a real pro 2023-05-22T21:56:50 < ColdKeyboard> mawk: Yes, receive packets over I2C/USART and then flash it. 2023-05-22T21:56:53 < ventYl> ColdKeyboard: -Os -ffunction-sections -fdata-sections -Wl,-gc-sections -flto should do the trick 2023-05-22T21:57:15 < ventYl> I might have some of them mis-spelled 2023-05-22T21:57:15 < ColdKeyboard> zyp: Any chance you can share? Or at least share any pitfals/pain-points you had to address? :) 2023-05-22T21:57:20 < zyp> ColdKeyboard, are you planning to have protocol handling in the bootloader itself or in the application? 2023-05-22T21:57:38 < zyp> ColdKeyboard, absolutely, digging it out now 2023-05-22T21:58:34 < zyp> in my case, I opted not to have protocol handling in the bootloader, instead I have the application receive the new image and write it to a scratch area, and then the bootloader just checks if there's an image in the scratch area and moves it to the main application area 2023-05-22T21:59:11 < ColdKeyboard> zyp: I'm thinking bootloader should have few basic commands like receive package, verify app flash, jump to app and some basic bootloader identification 2023-05-22T21:59:24 < zyp> yeah, that's the other way to do it 2023-05-22T21:59:34 < ColdKeyboard> zyp: Unfortunately I don't think I'll have extra space to have scratch area 2023-05-22T21:59:44 < zyp> there's advantages and disadvantages of both approaches 2023-05-22T22:00:00 < ColdKeyboard> So I guess my bootloader would have to be bigger because of that 2023-05-22T22:00:01 < ventYl> ColdKeyboard: I could share bootloader code which does protocol handling, but it is an ancient piece which runs Atmel AVR 2023-05-22T22:00:22 < zyp> anyway, here's my bootloader: https://paste.jvnv.net/view/Htzrk 2023-05-22T22:00:26 < ventYl> it was under 1kB large 2023-05-22T22:00:29 < mawk> well you have to have it somewhere ColdKeyboard 2023-05-22T22:00:45 < mawk> you don't want to directly stream packets from i2c or uart to the flash 2023-05-22T22:00:49 < ventYl> and it was essentially just a special compile-time configuration of the application 2023-05-22T22:00:53 < mawk> in case the checksum doesn't match at the end 2023-05-22T22:00:58 < mawk> or in case the transfer is interrupted 2023-05-22T22:01:19 < zyp> ColdKeyboard, and here's the protocol handling in the application that writes the scratch area: https://paste.jvnv.net/view/VebJf 2023-05-22T22:01:39 < ColdKeyboard> Awesome! Thanks zyp! 2023-05-22T22:01:56 < ColdKeyboard> mawk You are right but I was thinking that in that case you just restart the firmware loading... 2023-05-22T22:02:02 < zyp> in theory it should be pretty simple to move the protocol handling into the bootloader and just write the application area directly 2023-05-22T22:02:19 < mawk> yes you can do that if you are okay with possibly having a bricked application 2023-05-22T22:02:33 < mawk> and then the transfer has to somehow complete at some point in the future for it to work again 2023-05-22T22:02:41 < mawk> but if you do it like that I'd make the bootloader immutable 2023-05-22T22:02:56 < mawk> and only update the application 2023-05-22T22:03:21 < ColdKeyboard> Oh yeah, the plan is that bootloader can not change or be updated (I assume that's what immutable means?) 2023-05-22T22:03:24 < ventYl> well, that's probably the better case, compared to the situation, that you flash image of application, which has some flaw that prevents future upload of new application version 2023-05-22T22:03:28 < mawk> yeah 2023-05-22T22:03:35 < zyp> mawk, that sounds like a good idea until you realize you've fucked up something in the bootloader and need to devise a way to upgrade it anyway 2023-05-22T22:03:39 < zyp> been there, done that 2023-05-22T22:03:42 < mawk> lol 2023-05-22T22:03:44 < mawk> yeah 2023-05-22T22:03:50 < ColdKeyboard> Lol, I'm headed there :) 2023-05-22T22:03:53 < ventYl> bootloader update application! 2023-05-22T22:03:56 < mawk> then you want to have slots to be able to recover from a bad version 2023-05-22T22:04:02 < ventYl> we had that at $automotivecompany 2023-05-22T22:04:21 < zyp> ColdKeyboard, here's one of my older bootloaders, includes USB HID protocol handling: https://cgit.jvnv.net/arcin/tree/bootloader.cpp 2023-05-22T22:04:27 < mawk> I hope it's Peugeot ventYl 2023-05-22T22:04:34 < ventYl> mawk: worse 2023-05-22T22:04:37 < Steffanx> Skoda 2023-05-22T22:04:43 < mawk> citroen? 2023-05-22T22:05:07 < ventYl> they are same shit, just with different badge 2023-05-22T22:05:13 < ventYl> worse 2023-05-22T22:05:15 < zyp> ColdKeyboard, overall I really like the flashloader pattern with initialize/write_chunk/finalize 2023-05-22T22:05:27 < mawk> chinesium car maker? 2023-05-22T22:05:29 < Steffanx> Renault it must be then. 2023-05-22T22:05:39 < mawk> I hope it's not Tesla otherwise you will have to leave from here 2023-05-22T22:05:53 < ventYl> tesla does not outsource SW development in europe. AFAIK 2023-05-22T22:05:56 < zyp> ColdKeyboard, it's simple and can be adapted to a bunch of interfaces 2023-05-22T22:06:15 < ColdKeyboard> zyp I'm thinking of making it as simple as possible. Hopefully it makes things less error prone 2023-05-22T22:06:20 < mawk> do you have slots zyp ? 2023-05-22T22:06:22 < ventYl> mawk: it was murica shit, but different than tesla 2023-05-22T22:06:34 < mawk> or you just write the whole thing from the scratch area at the end 2023-05-22T22:06:37 < ColdKeyboard> Like you have three options, send/write packet, verify and jump to app 2023-05-22T22:06:47 < zyp> mawk, no slots 2023-05-22T22:07:15 < ColdKeyboard> If my code is small enough maybe I can have bootloader and bootloader bootloader :D 2023-05-22T22:07:18 -!- Luggi09498284764 [~lux@ip5b4231bc.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer] 2023-05-22T22:07:23 < zyp> mawk, for the one with a scratch area, I'm aware of and accept the bricking risk 2023-05-22T22:07:36 < mawk> yeah 2023-05-22T22:07:58 < mawk> maybe your bootloader can enable a watchdog, and unless the application is malicious it won't disable it 2023-05-22T22:08:06 < mawk> and then you can jump back to the bootloader if the application is broken 2023-05-22T22:08:08 < mawk> and do something 2023-05-22T22:08:18 < mawk> yell over USB 2023-05-22T22:08:41 < Steffanx> unless the application is not THAT broken, but broken enough to not be able to flash new fw. 2023-05-22T22:08:56 < mawk> yeah 2023-05-22T22:09:01 < zyp> mawk, that particular bootloader is for this project: https://bin.jvnv.net/file/Uaku7.jpg 2023-05-22T22:09:09 -!- Luggi09498284764 [~lux@ip5b4231bc.dynamic.kabel-deutschland.de] has joined ##stm32 2023-05-22T22:09:18 < Steffanx> nice vu-meter :) 2023-05-22T22:09:25 < mawk> nice 2023-05-22T22:09:28 < mawk> what is it for 2023-05-22T22:09:49 < ventYl> do it like volkswagen. Implement XCP and rewrite whatever remotely 2023-05-22T22:10:02 < zyp> transport is RPC based, because I'm using the same RPC to talk to the master over USB and carrier cards over I2C, so I've got one interface to update everything 2023-05-22T22:10:30 < zyp> that's a mux rack that I'm gonna stuff a bunch of different microcontrollers into 2023-05-22T22:10:43 < zyp> for easily testing orbtrace against everything 2023-05-22T22:10:56 < mawk> so a ZypBus™ ? 2023-05-22T22:11:31 < zyp> it's muxing debug, trace, usb and some gpio between eight mcu modules on each carrier cards 2023-05-22T22:11:58 < mawk> so you wrap jtag/swd and whatever trace is? 2023-05-22T22:12:06 < mawk> with your custom protocol 2023-05-22T22:12:07 < zyp> not wrap, just mux 2023-05-22T22:12:07 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-22T22:12:12 < mawk> right 2023-05-22T22:12:29 < mawk> with a giant switch chip that connects the orbtrace to the right mcu 2023-05-22T22:12:35 < zyp> https://cdn.discordapp.com/attachments/998371828609327224/1092757264865181736/IMG_20230404_122450.jpg 2023-05-22T22:13:01 < zyp> https://cdn.discordapp.com/attachments/998371828609327224/1078851569426104400/image.png 2023-05-22T22:13:20 < mawk> nice 2023-05-22T22:13:33 < mawk> what happened with the weird hole on the first pic 2023-05-22T22:13:42 < mawk> on the top right board 2023-05-22T22:13:51 < mawk> ah it's a board on top 2023-05-22T22:14:00 < zyp> yeah 2023-05-22T22:14:43 < zyp> backplane design is not really done yet, it's just a dumb passive backplane that lets me test the carrier design 2023-05-22T22:14:45 < ColdKeyboard> Right I guess, both broken bootloader or semi-broken app would case the unit to be bricked... 2023-05-22T22:15:33 < mawk> if you select a chip with enough flash you can mitigate the problem a little bit ColdKeyboard 2023-05-22T22:15:38 < ColdKeyboard> So I have to think of a way to force the unit into bootloader if aff is half-broken :) 2023-05-22T22:15:48 < zyp> safest solution is an immutable bootloader that you've tested enough to be confident it works, that includes enough protocol handling to work even when nothing else does 2023-05-22T22:15:52 < zyp> yes 2023-05-22T22:16:02 < mawk> by using two slots for the application/bootloader, and a pre-bootloader that selects slot A or slot B depending on if the update was successful and the app isn't broken 2023-05-22T22:16:13 < ColdKeyboard> zyp That's the plan. Have the bootloader that is solid (enough) 2023-05-22T22:16:13 < mawk> and the pre-bootloader is immutable 2023-05-22T22:16:19 < mawk> so it has to be well made 2023-05-22T22:16:19 < zyp> you can use a dedicated button, or if your device includes buttons, trigger on a specific pattern being held down 2023-05-22T22:16:37 < mawk> you also have the ST bootloader over UART and sometimes USB, if you really broke everything else 2023-05-22T22:16:44 < mawk> by asserting BOOT0 2023-05-22T22:17:04 < zyp> this line checks if buttons 0 and 1, and no others are being held: https://cgit.jvnv.net/arcin/tree/bootloader.cpp#n262 2023-05-22T22:17:34 < mawk> and checks for garbage in the reset vector 2023-05-22T22:18:01 < zyp> yeah, that's mostly a convenience when initializing blank devices 2023-05-22T22:18:08 < mawk> righty 2023-05-22T22:18:10 < mawk> -y 2023-05-22T22:18:29 < zyp> I flash the bootloader first over SWD, and then I use the bootloader itself to load the application over USB 2023-05-22T22:18:31 < mawk> what instruction is 0xFFFF 2023-05-22T22:18:49 < ColdKeyboard> I guess if bootloader is solid then it's mostly figuring out to reset the device into bootloader if app is semi-broken 2023-05-22T22:18:56 < zyp> usually do the first step on a stack of boards first, and then the second step afterwards 2023-05-22T22:19:17 < zyp> and it's convenient when the bootloader just starts without a trigger then :) 2023-05-22T22:20:36 < ColdKeyboard> Bootloader would always start first no? It's just if bootloader thinks app is OK but it's half-OK and you can't jump back to bootloader from the app 2023-05-22T22:20:54 < zyp> exactly, that's when you need a force trigger 2023-05-22T22:21:02 < zyp> to force it to stay in bootloader mode 2023-05-22T22:23:01 < zyp> I got a new toy today: https://cdn.discordapp.com/attachments/813547772337979442/1110220214064390174/IMG_20230522_165812.jpg 2023-05-22T22:23:09 < mawk> 0: ffffffff ; instruction: ffffffff 2023-05-22T22:23:11 < mawk> no instructionb 2023-05-22T22:23:15 < mawk> I'm very disappointed 2023-05-22T22:23:31 < mawk> I don't know how to tell it it's thumb instructions 2023-05-22T22:23:50 < ColdKeyboard> zyp: Right, basically in bootloader check for this "flag" first and if it's set stay in bootloader regardless is app is marked as OK 2023-05-22T22:23:57 < zyp> mawk, doesn't matter, it's not failing on the execution, it doesn't even get to that step 2023-05-22T22:23:59 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-22T22:24:19 < zyp> mawk, you're fetching 0xffffffff as reset vector into pc, and that itself faults 2023-05-22T22:24:22 < ColdKeyboard> I guess I could address the double-bank issue with adding an external flash to store known good app and also use as scratch pad 2023-05-22T22:24:23 < mawk> right 2023-05-22T22:24:46 < mawk> some boards have an instruction in place of the reset vector though, and they would execute it 2023-05-22T22:24:51 < mawk> but I forgot which 2023-05-22T22:25:00 < zyp> ColdKeyboard, not really worthwhile if you have protocol handling in the bootloader itself 2023-05-22T22:25:12 < zyp> mawk, pretty much everything other than cortex-m 2023-05-22T22:27:40 < ColdKeyboard> zyp: Right now I only have the I2C/UART exposed... so maybe bootloader could wait for ~1-2sec before jumping to the app. Which would give it a window to send a cmd over I2C/UART to stay in bootloader 2023-05-22T22:28:04 < zyp> yes, that's one way to do it 2023-05-22T22:28:43 < ColdKeyboard> Like adding a button is fine for debugging but if you want to make sure this works "remotely" then maybe doing a window is not such a bad thing 2023-05-22T22:29:19 < zyp> depending on how the UART is used, you could pull the rx line up or down and trigger on it being forced the other way 2023-05-22T22:29:53 < zyp> e.g. if UART is normally unused, you could pull it down, and connecting it would drive it up while idle 2023-05-22T22:30:34 < zyp> but a delay also works, that's how both the BIOS and typical PC bootloaders works :) 2023-05-22T22:31:59 < zyp> I haven't done any of that style yet, most of what I've done have a dedicated trigger signal 2023-05-22T22:32:35 < zyp> another option is using the watchdog 2023-05-22T22:33:44 < zyp> there's a reset reason register in the microcontroller, and if you enable the watchdog before starting the firmware, it'll trigger a reset if it's not running properly 2023-05-22T22:33:58 < zyp> and then you could stay in bootloader mode if you get a watchdog reset 2023-05-22T22:35:07 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-22T22:35:14 < zyp> it all depends on what potential failure modes your application has, and how you want to deal with them 2023-05-22T22:36:14 < zyp> the hardest part is when you're doing remote upgrades of unattended devices :) 2023-05-22T22:37:11 < zyp> in which case you probably want to have multiple firmware slots, and some logic to revert to the old one if the new one doesn't work 2023-05-22T22:37:52 < ColdKeyboard> Both could work. I'm also thinking delaying the power-up by 1-2sec is not that bad and should do the trick 2023-05-22T22:38:29 < ColdKeyboard> It's not that the device is unattended but pressing buttons or having them exposed is not prefered 2023-05-22T22:38:50 < ColdKeyboard> So having it power-cycled is easy 2023-05-22T22:38:51 < zyp> in that case it's a good idea to have your bootloader output something that the other end could listen for, to know when the bootloader is ready to receive a trigger 2023-05-22T22:40:07 < ColdKeyboard> For uart that's easy. For I2C it might be just that the master "spamms" the address until bootloader responds :) 2023-05-22T22:40:10 < zyp> if the other end is a human, that's usually a string like «press x to abort boot» 2023-05-22T22:40:53 < zyp> well, for I2C (and UART too really), you could monitor the signal levels 2023-05-22T22:41:01 < zyp> they'll be low when the device is not powered 2023-05-22T22:41:14 < zyp> otherwise you're powering the device through ESD diodes 2023-05-22T22:41:25 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-22T22:45:01 < ColdKeyboard> Also, which is the easier tool to use to get how much flash final binary is taking? arm-none-eabi-readelf or size or some other? 2023-05-22T22:48:13 < mawk> you can use that yes 2023-05-22T22:48:47 < zyp> I prefer objdump -h 2023-05-22T22:49:09 < mawk> arm-none-eabi-size gives compact into 2023-05-22T22:49:11 < zyp> but as a rough number, you can add together the text and data numbers from size 2023-05-22T22:49:12 < mawk> info 2023-05-22T22:49:39 < zyp> size doesn't always classify sections correctly, so it might be misleading 2023-05-22T22:49:40 < mawk> text data rodata go in flash, data bss go in ram 2023-05-22T22:49:44 < mawk> right 2023-05-22T22:53:32 < zyp> heres how my .elf files are typically laid out: https://paste.jvnv.net/view/YkvlR, and the quickest way to calculate flash requirement is to subtract .vectors LMA from .bss LMA 2023-05-22T22:55:18 < zyp> .vectors LMA is the starting address of the flash image, and .bss LMA is effectively the end, since it's not stored in flash 2023-05-22T22:55:54 < zyp> so this firmware needs 0x6de8 flash 2023-05-22T22:57:08 < zyp> size says: 2023-05-22T22:57:08 < zyp> text data bss dec hex filename 2023-05-22T22:57:08 < zyp> 24632 3504 4400 32536 7f18 testrack.elf 2023-05-22T22:57:24 < zyp> and 24632 + 3504 == 0x6de8 2023-05-22T22:57:31 < zyp> so in this case they agree 2023-05-22T22:58:43 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-22T23:06:02 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7c4e-6998-266e-103c.fixed6.kpn.net] has joined ##stm32 2023-05-22T23:10:00 < ColdKeyboard> Thanks zyp,mawk, that helps 2023-05-22T23:10:36 < ColdKeyboard> I'm lazy and usually look at the compile summary but this is more helpful :) 2023-05-22T23:28:05 < mawk> the compile summary uses size 2023-05-22T23:28:19 < mawk> but there's also an eclipse plugin showing you ram vs flash 2023-05-22T23:35:01 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 240 seconds] 2023-05-22T23:42:49 < mawk> zyp the general Huang Ching Chong has an army of ≤1000 men, and he wants to know how many soldiers have deserted; so he lines everyone up in rows of 7, and nobody is left out; then in rows of 13 people, and 6 people are left out; and finally in rows of 13 people and 8 are left out. How many people are there? 2023-05-22T23:42:51 < mawk> they deserted to go play world of warcraft 2023-05-22T23:49:01 < Steffanx> Twice in rows of 13? 2023-05-22T23:49:26 < mawk> noooo 2023-05-22T23:49:29 < mawk> 7, 11 and 13 2023-05-22T23:49:35 < mawk> sorry 2023-05-22T23:49:59 < mawk> 0 leftover in rows of 7, 6 leftover in rows of 11, 8 leftover in rows of 13 2023-05-22T23:50:23 < mawk> n % 7 == 0, n % 11 == 6, n % 13 == 8 2023-05-22T23:50:27 < mawk> n <= 1000 2023-05-22T23:51:33 < specing> This is an impossible problem 2023-05-22T23:51:44 < specing> no chinese army can have that few men 2023-05-22T23:52:01 < specing> that's basically a small squad 2023-05-22T23:52:13 < Steffanx> The general is a boy of 10 2023-05-22T23:52:24 < Steffanx> He has a big toy army. 2023-05-22T23:56:30 < mawk> the problem is not impossible specing 2023-05-22T23:57:33 < mawk> there's a unique solution 2023-05-22T23:58:13 < specing> not with <1000, army and general 2023-05-22T23:59:38 < mawk> yes 2023-05-22T23:59:44 < mawk> there's a unique solution 2023-05-22T23:59:49 < mawk> the words don't matter --- Day changed ti touko 23 2023 2023-05-23T00:00:02 < mawk> there's no definition of army or general in the question 2023-05-23T00:00:24 < specing> sure, with CRT 2023-05-23T00:00:25 < mawk> you can replace it by Donald Trump and his prætorian guard of MAGA elites if you want 2023-05-23T00:00:59 < mawk> we don't do critical race theory here leave the leftist politics out of here 2023-05-23T00:01:05 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7c4e-6998-266e-103c.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-05-23T00:08:22 < specing> anyways the answer is 567 2023-05-23T00:11:10 < zyp> jpa-, I started sketching out the metadata that the devices will send to linuxcnc: https://paste.jvnv.net/view/x74nh 2023-05-23T00:12:07 -!- drzacek [~drzacek@2a01:3d8:4f1:1400:3d40:acb2:a8ad:9096] has joined ##stm32 2023-05-23T00:14:30 < zyp> I figure the hierarchical shit would make it easier to group signals that belong together, save on having to repeat the common name prefix for each signal 2023-05-23T00:17:27 < zyp> not sure it's a good idea to use a oneof for different signal types, idea is that different types need different parameters, but there's still gonna be common ones, so it could be more convenient to do a single superset type instead 2023-05-23T00:19:15 < BrainDamage> 567 2023-05-23T00:30:19 -!- drzacek [~drzacek@2a01:3d8:4f1:1400:3d40:acb2:a8ad:9096] has quit [Quit: Leaving] 2023-05-23T00:36:59 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-23T00:38:42 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-23T00:54:34 -!- martinmoene [~Thunderbi@2a02:a45a:96ba:1:7c4e:6998:266e:103c] has joined ##stm32 2023-05-23T01:01:18 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has joined ##stm32 2023-05-23T01:01:31 -!- martinmoene [~Thunderbi@2a02:a45a:96ba:1:7c4e:6998:266e:103c] has quit [Ping timeout: 240 seconds] 2023-05-23T01:16:18 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-902e-e21a-1ee2-9452.fixed6.kpn.net] has joined ##stm32 2023-05-23T01:21:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-902e-e21a-1ee2-9452.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-23T01:40:21 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-23T01:58:05 -!- BrainDamage [~BrainDama@user/BrainDamage] has quit [Ping timeout: 240 seconds] 2023-05-23T02:45:15 < karlp> mawk: the last bootloader I wrote worked like that, last thing it did was turn on the watchdog and boot the user app. 2023-05-23T02:54:06 < karlp> zyp: what's the jig thing you got? is that custom for orbtrace test/flash? 2023-05-23T02:56:04 < karlp> ColdKeyboard: yeah, my bootloader had a "wait ~4-5 seconds unless requested not too" so at power on, it would wait a few seconds, but a happy app could ask that to "not wait" and the bootloader clears that, so you ~always have a window of interrupting the bootloader and saying "stop here for a bit, lets do updates, not bootloops please" 2023-05-23T03:18:17 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-23T03:24:03 < zyp> karlp, generic one from aliexpress, gonna drill some holes and 3d-print some parts to hold the DUT and the pogo board 2023-05-23T03:25:45 < zyp> https://www.aliexpress.com/item/33025209592.html 2023-05-23T03:58:04 < karlp> are you meant to modify the acrylic to suit your needs? mounting things there, or what? 2023-05-23T05:18:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-23T06:33:54 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T06:34:04 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Client Quit] 2023-05-23T06:34:24 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T06:35:30 < Torando> Hello 2023-05-23T06:44:20 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Quit: Client closed] 2023-05-23T06:44:34 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T06:45:16 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Client Quit] 2023-05-23T06:45:46 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T06:46:14 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Client Quit] 2023-05-23T06:46:34 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T06:59:44 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Quit: Client closed] 2023-05-23T06:59:54 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T07:00:23 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Client Quit] 2023-05-23T07:02:53 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T07:03:00 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Client Quit] 2023-05-23T07:03:13 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T07:03:51 -!- Torando [~Torando@89-39-107-172.hosted-by-worldstream.net] has quit [Client Quit] 2023-05-23T07:21:46 -!- Torando [~Torando@2a04:4a43:553f:e439:9010:c671:7eec:9af3] has joined ##stm32 2023-05-23T07:22:07 -!- Torando [~Torando@2a04:4a43:553f:e439:9010:c671:7eec:9af3] has quit [Client Quit] 2023-05-23T07:23:18 -!- Torando [~Torando@2a04:4a43:553f:e439:9010:c671:7eec:9af3] has joined ##stm32 2023-05-23T07:23:28 -!- Torando [~Torando@2a04:4a43:553f:e439:9010:c671:7eec:9af3] has quit [Client Quit] 2023-05-23T07:25:00 -!- Torando [~Torando@2a04:4a43:553f:e439:9010:c671:7eec:9af3] has joined ##stm32 2023-05-23T07:29:57 -!- Torando [~Torando@2a04:4a43:553f:e439:9010:c671:7eec:9af3] has quit [Quit: Client closed] 2023-05-23T07:30:07 -!- Torando [~Torando@185-177-126-153.hosted-by-worldstream.net] has joined ##stm32 2023-05-23T07:58:27 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-23T08:00:31 -!- Torando [~Torando@185-177-126-153.hosted-by-worldstream.net] has quit [Quit: Client closed] 2023-05-23T08:00:53 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-23T08:45:25 -!- begriffs [~begriffs@user/begriffs] has quit [Ping timeout: 240 seconds] 2023-05-23T08:51:18 < ColdKeyboard> zyp Is there anything specific I have to do before exiting bootloader so that app doesn't crash/halt or complain about stuff? :) I know very vague and broad. Right now I have dummy bootloader that just jumps to main app after ~3sec. It jumps fine but it hangs after initializing few peripherals 2023-05-23T08:52:04 < ColdKeyboard> Also zyp do you have 3D printer? I have 3D printed similar jigs and they work really really well 2023-05-23T08:53:19 < qyx> did you set scb->vtor? 2023-05-23T09:04:46 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e048-ba72-e6ba-6954.fixed6.kpn.net] has joined ##stm32 2023-05-23T09:09:05 -!- kow__ [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-23T09:11:06 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e048-ba72-e6ba-6954.fixed6.kpn.net] has quit [Quit: martinmoene] 2023-05-23T09:11:45 -!- drkow [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-23T09:17:19 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-23T09:17:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-55e7-abb1-f5ad-fe16.fixed6.kpn.net] has joined ##stm32 2023-05-23T09:19:48 -!- kow__ [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-23T09:27:38 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-23T09:34:41 -!- drkow [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-23T09:37:05 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 256 seconds] 2023-05-23T09:40:03 < ColdKeyboard> qyx I want to say no but not sure :) 2023-05-23T09:45:42 < zyp> you should set SCB_VTOR and SP before jumping to the reset vector, check the chainload function in a couple of my examples from yesterday 2023-05-23T09:45:55 < zyp> and yeah, I have a 3d printer 2023-05-23T09:46:26 < zyp> I made this thing last year: https://bin.jvnv.net/file/imd1f.jpg 2023-05-23T09:46:31 < zyp> new jig is to replace it 2023-05-23T09:46:47 < jpa-> and if your bootloader uses a lot of peripherals, it may be easier to reset again and jump from reset handler, to have everything in power up state 2023-05-23T09:48:10 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-23T09:50:41 -!- drkow [~k\o\w@72.53.234.240] has quit [Ping timeout: 265 seconds] 2023-05-23T09:52:50 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-23T09:58:53 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-23T10:01:57 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-23T10:06:09 < qyx> TIL ip -j addr 2023-05-23T10:08:31 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Ping timeout: 240 seconds] 2023-05-23T10:08:49 < qyx> TIL ttyd 2023-05-23T10:15:30 < Steffanx> I keep forgetting jvnv is blocked at work 😭 2023-05-23T10:15:52 < Steffanx> After a moment of "why doesn't it loaaad???" 2023-05-23T10:17:20 < qyx> why is it 2023-05-23T10:18:52 < jpa-> probably because of the tectu webcam that is hosted there 2023-05-23T10:21:17 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-55e7-abb1-f5ad-fe16.fixed6.kpn.net] has quit [Ping timeout: 256 seconds] 2023-05-23T10:31:30 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-55e7-abb1-f5ad-fe16.fixed6.kpn.net] has joined ##stm32 2023-05-23T10:37:43 -!- nomorekaki [~nomorekak@176-93-114-80.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-23T10:49:26 -!- drkow [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-23T10:51:59 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-23T11:01:50 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-23T11:04:23 -!- drkow [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-23T11:08:05 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-23T11:12:53 < jbo> moin 2023-05-23T11:13:40 < jbo> tecam 2023-05-23T12:00:13 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-55e7-abb1-f5ad-fe16.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-23T12:28:32 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 248 seconds] 2023-05-23T12:49:26 < qyx> rip zyp, 3:0 2023-05-23T12:50:22 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-23T12:56:27 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-23T13:02:03 < Steffanx> Qyx: Bad things have been hosted on bin.jvnv.net in the past. Before they used some anti virus. 2023-05-23T13:07:10 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-55e7-abb1-f5ad-fe16.fixed6.kpn.net] has joined ##stm32 2023-05-23T13:09:08 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-23T13:10:03 < mawk> why can't I create an account on it 2023-05-23T13:11:35 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-55e7-abb1-f5ad-fe16.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-23T13:16:13 < Steffanx> You're mawk. 2023-05-23T13:16:35 < mawk> :( 2023-05-23T13:16:45 < zyp> Steffanx, the virus thresholds are also hard to get right 2023-05-23T13:17:47 -!- nerozero [~nerozero@87.253.63.54] has quit [Remote host closed the connection] 2023-05-23T13:18:01 < zyp> there's both false positives and false negatives, and it takes a bit of trial and error to find the right balance 2023-05-23T13:19:36 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-23T13:21:02 < zyp> qyx, is that a sports reference? 2023-05-23T13:24:26 < qyx> zyp: yeah 2023-05-23T13:25:14 < zyp> ok, I don't even have any idea which, and a glance at sports headlines tells me nothing 2023-05-23T13:27:42 < qyx> that's because you are loosing 2023-05-23T13:27:47 < qyx> ice hockey 2023-05-23T13:27:56 < zyp> oh, like a week ago? 2023-05-23T13:28:01 < qyx> now 2023-05-23T13:29:47 < zyp> oh, right, still ongoing, no final result yet 2023-05-23T13:29:56 < zyp> finally found it: https://resultater.nrk.no/ishockey/2/2023-05-23/183321 2023-05-23T13:30:17 < qyx> oh 3:1 2023-05-23T13:30:29 < zyp> yeah, you jinxed it 2023-05-23T13:47:08 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-23T13:47:58 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-23T13:50:41 < mawk> the designers at ublox should be hung, quartered and drawn 2023-05-23T13:51:33 < mawk> the core AT commands supported by the various models are wildly different 2023-05-23T13:52:25 < mawk> my SARA-G340-02S-01B supports the AT+CCHO to open a logical channel with the SIM card using a right-truncated application ID, but the SARA-G340-02S-00B wants the full application ID 2023-05-23T13:52:46 < mawk> and my SARA-R422S doesn't have the command at all despite being newer 2023-05-23T14:04:07 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-23T14:04:40 < Mangy_Dog> my py32 chips turned up :D skipped uk customs woohoo 2023-05-23T14:05:15 < Mangy_Dog> or at least it looks like lscs/lcsc what ever it is, has a uk based middle man they get shipped to and then send to me 2023-05-23T14:05:56 < Mangy_Dog> no way to do anything with them yet though, dfn/qfn and i have no pcbs to mount them to 2023-05-23T14:06:15 < Mangy_Dog> might hotwire some enamaled wire to the dfn8 and make a break out for it 2023-05-23T14:06:29 < Mangy_Dog> but that would have to be at a slightly later date 2023-05-23T14:06:34 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has joined ##stm32 2023-05-23T14:06:53 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-23T14:06:55 < Mangy_Dog> im still struggling to focus on anything after loosing dad last week 2023-05-23T14:07:02 < Mangy_Dog> heck not even last week any more 2023-05-23T14:07:06 < Mangy_Dog> a week ago last sat 2023-05-23T14:50:40 < mawk> I'm sorry to hear that 2023-05-23T15:09:34 < Mangy_Dog> thanks 2023-05-23T15:10:12 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-23T15:28:48 -!- josuah [~josuah@46.23.94.12] has quit [Quit: josuah] 2023-05-23T15:29:14 -!- josuah [~josuah@46.23.94.12] has joined ##stm32 2023-05-23T16:13:28 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-23T16:40:04 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-23T16:58:51 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-23T17:03:08 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-23T18:57:27 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-05-23T19:03:35 -!- Thorn_ [~Thorn@164.158.114.89.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 2023-05-23T19:05:53 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-23T19:17:54 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d888:b6ae:5f10:450f] has joined ##stm32 2023-05-23T19:21:55 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-23T19:34:44 -!- catphish [~catphish@user/catphish] has quit [Read error: Connection reset by peer] 2023-05-23T19:34:57 -!- catphish [~catphish@user/catphish] has joined ##stm32 2023-05-23T19:37:52 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 248 seconds] 2023-05-23T19:38:13 -!- BrainDamage [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-23T20:15:19 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-83c-3524-414d-63f2.fixed6.kpn.net] has joined ##stm32 2023-05-23T20:15:38 -!- Thorn [~Thorn@188.251.119.78] has joined ##stm32 2023-05-23T20:15:38 -!- Thorn [~Thorn@188.251.119.78] has quit [Changing host] 2023-05-23T20:15:38 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-23T20:16:14 < aandrew> can someone here rubber duck something with me? trying to figure out why this USB host isn't hosting, and the protocol analyzer (just saleae) is either showing errored frames (low speed) or nothing at all (full speed) 2023-05-23T20:16:34 < aandrew> at low speed the bit rate is 1.5Mbit, so 667ns/bit, right? 2023-05-23T20:16:45 < aandrew> and low speed SYNC is KJKJKJKK 2023-05-23T20:17:21 < aandrew> full speed is 12Mbit so 83.3ns/bit, and the SYNC is 32 bits not 8 bits but is otherwise the same: KJKJKJKJKJKJKJKJKJKJKJKJKJKJKJKK 2023-05-23T20:17:41 < aandrew> (also low speed KJ and full speed KJ is inverted respective to each toher) 2023-05-23T20:20:17 < aandrew> https://ibb.co/P6r0Tkt I mean that looks like a valid low speed packet to me, except that the bit times are wrong (160ns instead of 667ns) 2023-05-23T20:21:00 < aandrew> ~4x faster than it should be, maybe that's why the protocol analyzer is refusing to identify it 2023-05-23T20:33:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-83c-3524-414d-63f2.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-23T20:41:37 < mawk> aandrew shouldn't D+ and D- be mirror of each other? 2023-05-23T20:41:51 < mawk> what's happening near the end of your graph 2023-05-23T20:57:08 < aandrew> that is SE0, that's end of packet, it's valid 2023-05-23T20:57:49 < mawk> o 2023-05-23T21:22:43 < jpa-> D+ being initially high means FS 2023-05-23T21:23:29 < jpa-> can't you check whether you have FS or LS device? 2023-05-23T21:25:01 < jpa-> or compare trace with same device plugged to working host 2023-05-23T21:26:33 < jpa-> https://commons.m.wikimedia.org/wiki/File:USB_signal_example.svg FS sync is also just 8 bits AFAIK 2023-05-23T21:27:55 < jpa-> aandrew: so to me your trace looks like FS packet with USB phy running at 0.5x clock 2023-05-23T21:28:16 -!- quinor [08c0f10716@2604:bf00:561:2000::dad] has quit [Remote host closed the connection] 2023-05-23T21:30:12 < aandrew> ah I see the issue 2023-05-23T21:30:25 < aandrew> it is clock issue 2023-05-23T21:30:40 < aandrew> the decoders (both sigrok and saleae) fail if the bit times are wrong 2023-05-23T21:31:06 -!- quinor [08c0f10716@2604:bf00:561:2000::dad] has joined ##stm32 2023-05-23T21:31:11 < aandrew> I was able to pull it in to sigrok, export to binary to strip the sample rate, then read the raw data in and tell it it's sampled 4x slower and now it docodes 2023-05-23T21:31:31 < jpa-> it would be pretty funny if they didn't fail 2023-05-23T21:32:01 < aandrew> so now I get to figure out why the code is setting the clock wrong 2023-05-23T21:32:11 < aandrew> and it's all TI CCS bullshit so there's a lot of pointy clicky bullshit 2023-05-23T21:32:24 < aandrew> well I would have expected it to decode but with big warnings about the clock not being correct 2023-05-23T21:32:43 < ColdKeyboard> and if your bootloader uses a lot of peripherals, it may be easier to reset again and jump from reset handler, to have everything in power up state 2023-05-23T21:32:50 < aandrew> yay 2023-05-23T21:32:50 < ColdKeyboard> Do you have an example code I could look at for this? 2023-05-23T21:32:51 < aandrew> usb_packet-1: SYNC: 00000001 2023-05-23T21:32:51 < aandrew> usb_packet-1: PID: DATA0 2023-05-23T21:32:51 < aandrew> usb_packet-1: Databyte: 80 2023-05-23T21:32:54 < aandrew> usb_packet-1: Databyte: 06 2023-05-23T21:32:56 < aandrew> usb_packet-1: Databyte: 00 2023-05-23T21:32:59 < aandrew> usb_packet-1: Databyte: 01 2023-05-23T21:33:01 < aandrew> usb_packet-1: Databyte: 00 2023-05-23T21:33:04 < aandrew> usb_packet-1: Databyte: 00 2023-05-23T21:33:06 < aandrew> usb_packet-1: Databyte: 12 2023-05-23T21:33:09 < aandrew> usb_packet-1: Databyte: 00 2023-05-23T21:33:11 < aandrew> usb_packet-1: CRC16: 0xF4E0 2023-05-23T21:33:14 < aandrew> usb_packet-1: DATA0 [ 80 06 00 01 00 00 12 00 ] 2023-05-23T21:33:16 < aandrew> usb_signalling-1: EOP 2023-05-23T21:33:21 < jpa-> though i had to make a very tolerant usb deser for one client to run with ice40 internal osc that is +-50% tolerance 2023-05-23T21:33:48 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d888:b6ae:5f10:450f] has quit [Ping timeout: 240 seconds] 2023-05-23T21:36:35 < jpa-> ColdKeyboard: this is RP2040 but works the same on any arm cortex https://github.com/ZuluSCSI/ZuluSCSI-firmware/blob/main/lib/ZuluSCSI_platform_RP2040/ZuluSCSI_platform.cpp#L701 2023-05-23T21:37:44 < zyp> ColdKeyboard, my usb example I showed you yesterday does it 2023-05-23T21:52:27 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 268 seconds] 2023-05-23T21:52:40 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-83c-3524-414d-63f2.fixed6.kpn.net] has joined ##stm32 2023-05-23T22:07:34 -!- rajkosto [~rajkosto@93-87-129-23.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-23T22:14:35 < ColdKeyboard> Aaaa I see. I'll give it a go now. 2023-05-23T22:15:18 < ColdKeyboard> I had some old code that jumps from App to the bootloader and copy&pasted that. Now realizing that was a mistake :D 2023-05-23T22:18:11 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 264 seconds] 2023-05-23T22:32:27 < ColdKeyboard> zyp Thank you! I just used your `chainload` function at the end to jump to application and it works like a charm! 2023-05-23T22:57:09 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-23T23:07:40 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-23T23:21:41 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-23T23:23:48 < Laurence_b> wow RMS is cringe 2023-05-23T23:24:14 < zyp> just like you 2023-05-23T23:24:39 < Laurence_b> far moar cringe 2023-05-23T23:26:46 < Laurence_b> >still supports Biden after all the shit 2023-05-23T23:27:01 < Laurence_b> >thinks 15 minute cities are a nazi conspiracy theory 2023-05-23T23:27:18 < Laurence_b> of all people I would think he would realise number plate scanners are sus 2023-05-23T23:29:02 < specing> If we banned cars we wouldn't need plate scanners 2023-05-23T23:29:04 < Laurence_b> >supports Sanders but deosnt have anything to say about DNC bias 2023-05-23T23:29:08 < Laurence_b> lol specing 2023-05-23T23:30:52 < specing> I support infinite minute cities - don't need a car to go *anywhere* 2023-05-23T23:33:55 < specing> Laurence_b: you should know this by now as you work on hyperlols 2023-05-23T23:35:18 < specing> banning cars has huge positive effects, on climate, on pollution, on children's and elderly's freedom of movement, on making streets liveable, making people go outside more and socialise 2023-05-23T23:36:31 < specing> more people died from cars than from both world wars combined 2023-05-23T23:37:59 < specing> and that's just direct fatalities from crashes 2023-05-23T23:43:00 < specing> WHO says 1.3 million traffic fatalities per year.. that's 4-5 times more than in the first year of the full russian invasion of Ukraine 2023-05-23T23:43:18 < specing> which is supposedly the largest ground operation since world war 2 ! 2023-05-23T23:44:00 < Laurence_b> most of that is idiots in india etc 2023-05-23T23:45:43 < specing> yes, here in the west we prefer indirect deaths due to everyone polluting in a 2-tonne bubblewrap 2023-05-23T23:46:18 < specing> it's still ~200k for NA + Europe I think 2023-05-23T23:47:41 -!- nomorekaki [~nomorekak@87-93-182-208.bb.dnainternet.fi] has joined ##stm32 2023-05-23T23:52:01 < qyx> I'll make a electric-hydraulic tractor and move to the woods and meadows and start grazing sheep 2023-05-23T23:52:16 < qyx> no joke 2023-05-23T23:56:55 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] --- Day changed ke touko 24 2023 2023-05-24T00:02:00 < englishman> i was behind a lil MGB at a red light next to a dodge pickup truck yesterday. cars sure got big 2023-05-24T00:02:23 < englishman> we really should ban car crashes 2023-05-24T00:06:40 < Steffanx> Sheep are not green enough, qyx. 2023-05-24T00:25:21 -!- Suspect [~rod@211.30.151.163] has joined ##stm32 2023-05-24T00:43:03 -!- nomorekaki [~nomorekak@87-93-182-208.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-24T00:44:34 < karlp> mawk: pretty sure you're seeing weird at command differences between models because, depsite what ublox likes to brand as, they're not a silicon vendor, just a module with stickers and software vendor. 2023-05-24T00:44:46 < karlp> so there's wildly differeng radios inside. (aiui at least) 2023-05-24T00:46:11 < qyx> Steffanx: growing tomatoes then 2023-05-24T00:47:15 -!- rustyaxe [~eltaco@zoo-york.istabpeople.com] has joined ##stm32 2023-05-24T00:51:29 < karlp> fucking lost in python dependency hell. 2023-05-24T00:52:02 < karlp> esp-idf matter doesn't work on python 3.11, because _gevent_ which is used for some sort of visual debugger component is three years old. 2023-05-24T00:52:36 < karlp> and because they scripted their way to glory, even if I try and manually install a newer gevent with fixes, into their virtual env, it just ignores it as it's the "wrong" version. 2023-05-24T00:54:51 < rustyaxe> ;( 2023-05-24T00:55:04 < rustyaxe> python is quite cancerous like that 2023-05-24T00:55:28 < karlp> this is just repo bloat IMO, I have no need for these modules whatsoever, 2023-05-24T00:55:35 < karlp> they're just tryign to hold my hand on it. 2023-05-24T01:23:22 -!- Suspect [~rod@211.30.151.163] has quit [Quit: Leaving] 2023-05-24T01:25:27 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-83c-3524-414d-63f2.fixed6.kpn.net] has quit [Ping timeout: 265 seconds] 2023-05-24T01:26:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-24T01:37:37 < karlp> fucking work around one thing run into more. 2023-05-24T01:37:44 < karlp> I suspect now gcc 13 issues. lol 2023-05-24T01:42:24 < zyp> damn, I feel so outdated, I'm on python 3.9 and gcc10 2023-05-24T01:43:43 < zyp> once debian 12 releases in a few weeks, I can finally start using the match statement in python :p 2023-05-24T01:45:32 < zyp> not because I couldn't get a newer python already, but because when even debian stable starts shipping a given version of anything, that's when I begin to expect it to be available anywhere that matters 2023-05-24T01:46:08 < karlp> man, this is fucking soup, I think I've had enough for the day, this is not what I really need to be spending time on... 2023-05-24T01:48:37 < zyp> better stick to laks, we just require python2 if you go far enough back :) 2023-05-24T01:49:03 < karlp> I think I may just reach or pyenv here.... 2023-05-24T01:49:42 < zyp> I'm actually yet to have to use pyenv 2023-05-24T01:50:13 < karlp> I've had it once or twice when the dependency shit was just too bad to try and "update" and it was easiest to just have an older one... 2023-05-24T01:50:17 < karlp> I think I'm in this right now. 2023-05-24T01:50:41 < karlp> project chip, micropython and esp-idf are all moving towards it, but with various interdependencies that don't work yet ... 2023-05-24T01:50:54 < zyp> for most shit I've just been yoloing it with great success, and then there's the stuff like the fpga projects where I actually link the dependencies as submodules instead of installing them anywhere 2023-05-24T01:51:19 < karlp> yeah, so that normally works, everyone vendors in fixed pinnned versions, with submodules and everything 2023-05-24T01:51:33 < karlp> and then they forgot to include _python_ itself in their packge, and it all goes out the window :) 2023-05-24T01:51:49 < karlp> I think I'm in this right now. 2023-05-24T01:51:51 < karlp> ~I mean, check this shit out: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics 2023-05-24T01:51:53 < karlp> that... 2023-05-24T01:52:03 < zyp> that goes for more than just python though 2023-05-24T01:52:07 < karlp> oh, indeed. 2023-05-24T01:53:00 < karlp> but python being such a ssystem thing and needing modules compiled for the rightversions isn't as well setup as gcc 2023-05-24T01:53:00 < zyp> last year the orbtrace build broke when meson 1.0 released, because the version check in litex didn't parse the new major version correctly 2023-05-24T01:53:02 * karlp shrugs 2023-05-24T01:53:17 < karlp> gcc multiple versions pretty much just works 2023-05-24T01:53:25 < karlp> and compiled outputs are shareaable... 2023-05-24T01:53:37 < zyp> yeah 2023-05-24T01:54:16 < karlp> but it's ok, I got to watch multiple copies of tinyusb, each with fullllll stm32 hal, stm32 cmsis, freertos and lwip getting repeatedly recloned today, 2023-05-24T01:54:20 < karlp> it's been great! 2023-05-24T01:54:29 < karlp> very tiny, such compact. 2023-05-24T01:54:35 < zyp> :) 2023-05-24T01:54:45 < karlp> reuse the vendor hal! very fast, very easy to follow... 2023-05-24T01:55:06 < zyp> I'll stick to laks, thanks 2023-05-24T01:55:45 < karlp> hrm, fedora just has python3.10 and python3.9 as system packages. I wonder if I can try just using one of them 2023-05-24T01:56:12 < karlp> I suspect that will be _harder_ than pyenv as I'll need to tell "everythign" in matter/esp-idf to use python with a different name :) 2023-05-24T01:58:38 < karlp> heh, openwrt has an issue tracking, " List of software failing with GCC13 or new 5.15 kernel's werror or updated musl" 2023-05-24T01:58:49 < karlp> but it's just updating python to 3.11 as well, so I guess it's going to find new ones ;) 2023-05-24T02:34:24 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 248 seconds] 2023-05-24T02:56:09 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-24T02:58:47 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-24T03:00:24 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-24T04:08:53 -!- qyx [~qyx@84.245.120.78] has quit [Ping timeout: 256 seconds] 2023-05-24T04:10:49 -!- qyx [~qyx@84.245.120.101] has joined ##stm32 2023-05-24T06:59:49 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-24T07:22:26 < ColdKeyboard> zyp for some reason flash_erase is not working... I tried copying what you had 2023-05-24T07:22:27 < ColdKeyboard> FLASH->CR = (1 << 16) | (page << 3) | (1 << 1); // STRT, PNB, PER 2023-05-24T07:23:04 < ColdKeyboard> Am I using it wrong if I pass page addresses from app_start to app_end addresses? 2023-05-24T07:46:21 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-24T07:56:10 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-24T07:58:33 < jpa-> ColdKeyboard: did you check refman for the specific device you are using? there are some differences between families 2023-05-24T08:12:36 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-24T08:36:20 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-24T08:41:59 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-24T08:52:47 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-24T09:24:14 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f430-ad3d-16d7-c211.fixed6.kpn.net] has joined ##stm32 2023-05-24T09:54:11 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f430-ad3d-16d7-c211.fixed6.kpn.net] has quit [Ping timeout: 264 seconds] 2023-05-24T10:08:09 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f430-ad3d-16d7-c211.fixed6.kpn.net] has joined ##stm32 2023-05-24T10:08:28 < zyp> ColdKeyboard, you said you're using g0, right? which one? 2023-05-24T10:09:52 < zyp> I think maybe some of them have configurable page sizes, in which case you need to adjust the page number calculation for that 2023-05-24T10:48:38 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-24T11:05:30 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:69da:6edc:6b6b:b39c] has joined ##stm32 2023-05-24T11:12:16 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:69da:6edc:6b6b:b39c] has quit [Ping timeout: 248 seconds] 2023-05-24T11:12:26 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1cc8:ff3c:bc3:e1d7] has joined ##stm32 2023-05-24T11:20:59 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-24T11:20:59 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-24T11:20:59 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-24T11:28:31 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1cc8:ff3c:bc3:e1d7] has quit [Ping timeout: 240 seconds] 2023-05-24T11:41:08 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-7913-8edd-1795-2207.fixed6.kpn.net] has joined ##stm32 2023-05-24T11:42:28 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-f430-ad3d-16d7-c211.fixed6.kpn.net] has quit [Ping timeout: 240 seconds] 2023-05-24T11:42:28 -!- martinmoene1 is now known as martinmoene 2023-05-24T11:48:34 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-24T12:11:47 -!- martinmoene1 [~Thunderbi@2a02-a45a-96ba-1-e052-f4ef-d93a-f67c.fixed6.kpn.net] has joined ##stm32 2023-05-24T12:14:40 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-7913-8edd-1795-2207.fixed6.kpn.net] has quit [Ping timeout: 248 seconds] 2023-05-24T12:14:40 -!- martinmoene1 is now known as martinmoene 2023-05-24T12:18:28 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-24T12:24:55 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has joined ##stm32 2023-05-24T12:44:13 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-24T13:01:33 -!- martinmoene [~Thunderbi@2a02-a45a-96ba-1-e052-f4ef-d93a-f67c.fixed6.kpn.net] has quit [Ping timeout: 250 seconds] 2023-05-24T13:23:11 -!- Xogium [~Xogium@LuminaSensum/founder/Xogium] has joined ##stm32 2023-05-24T13:33:32 < jbo> ModemManager[367]: [modem0] couldn't query SIM slots: QMI protocol error (94): 'NotSupported' 2023-05-24T13:33:35 < jbo> hmpf :< 2023-05-24T13:34:02 < jbo> has anybody dealt with a (quectel) modem and this SIM card issue before? 2023-05-24T13:35:32 < jbo> it does detect the SIM tho (mmcli -i 0 shows all the goodies) 2023-05-24T13:38:00 -!- Xogium [~Xogium@LuminaSensum/founder/Xogium] has left ##stm32 [leaving channel] 2023-05-24T13:41:06 < zyp> I think mawk is the resident SIM expert 2023-05-24T13:41:26 < jbo> mawk, you pu? 2023-05-24T13:41:28 < jbo> up* 2023-05-24T13:42:26 < jbo> I'm just confused. mmcli shows the status as: lock: sim-pin2 but when I try to unlock the SIM with the pin I get: 2023-05-24T13:42:27 < jbo> error: couldn't send PIN code to the SIM: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: Cannot send PIN: device is not SIM-PIN locked' 2023-05-24T13:46:37 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Read error: Connection reset by peer] 2023-05-24T13:46:50 < zyp> a quick google search suggests pin2 is something other than pin1 2023-05-24T13:47:05 < zyp> https://lists.freedesktop.org/archives/modemmanager-devel/2018-January/006142.html 2023-05-24T13:48:04 < jbo> yeah, I already got that far yesterday. After all, mmcli also shows status as "registered" 2023-05-24T13:48:07 < jbo> just can't get a connection up. 2023-05-24T13:48:30 < jbo> so never having entered any PIN seems like an item to investigate. 2023-05-24T13:49:33 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-24T14:00:10 < Steffanx> Mawk: drugs. 2023-05-24T14:00:40 < zyp> if the card isn't PIN-locked, it's perfectly normal to not have to enter a PIN 2023-05-24T14:01:00 < zyp> pop the card in a phone and see if it asks you for a PIN 2023-05-24T14:01:14 < jbo> I have not yet encountered a SIM card that is not PIN locked 2023-05-24T14:01:20 < jbo> yeah, I should do that. will report back :) 2023-05-24T14:01:38 < zyp> I've got a whole stack 2023-05-24T14:01:54 < jbo> so that is a common thing? interesting 2023-05-24T14:02:12 < zyp> yeah, these are m2m sims, for iot devices 2023-05-24T14:02:39 < zyp> pretty inconvenient to require a sim on a device without a user interface 2023-05-24T14:02:42 < zyp> pin* 2023-05-24T14:03:02 < jbo> reasonable. The SIM card was delivered with a PIN & PUK tho 2023-05-24T14:03:08 < zyp> these are too 2023-05-24T14:03:14 < jbo> great info - thanks! 2023-05-24T14:14:28 < mawk> yes jbo? 2023-05-24T14:14:31 < mawk> where Steffanx 2023-05-24T14:14:51 < mawk> jbo PIN1 and PIN2 are separate 2023-05-24T14:14:52 < Steffanx> I was just triggering you to support Mr tectu, mawk ;) 2023-05-24T14:15:08 < mawk> PIN2 is usually only known by your carrier, and is used to change some spicy settings 2023-05-24T14:15:15 < mawk> there are other keys beside that 2023-05-24T14:15:36 < mawk> ADM1 is the key to change all the files that shouldn't really change, like your IMSI or the GSM encryption keys 2023-05-24T14:16:19 < mawk> in the spec PIN1 and PIN2 are actually called CHV1 and CHV2 if you want to google around 2023-05-24T14:16:25 < jbo> Steffanx, thanks! 2023-05-24T14:16:31 < jbo> mawk, also thanks for the explanation! 2023-05-24T14:16:40 < jbo> zyp, put the SIM into a phone and it indeed didn't ask for a PIN :) 2023-05-24T14:17:20 < mawk> each pin also has a recovery key, known as CHVn RECOVER in the spec, and usually known as PUK 2023-05-24T14:17:34 < mawk> that you need to enter if you entered PIN wrong enough times 2023-05-24T14:17:41 < jbo> so I just put the SIM into a phone to figure out the APN settings and android just says "internet" 2023-05-24T14:17:46 < mawk> usually 3 tries for CHVn and 10 tries for CHVn RECOVER 2023-05-24T14:17:55 < mawk> jbo you can google that usually 2023-05-24T14:18:03 < jbo> mawk, so after 10 failed PUK attempts your card is hosed? 2023-05-24T14:18:08 < mawk> yes 2023-05-24T14:18:49 < mawk> there are APNs stored on the SIM card itself also 2023-05-24T14:19:01 < mawk> you can use a modem with AT commands to read it 2023-05-24T14:19:10 < mawk> if you have the AT+CRSM command it's easy to read 2023-05-24T14:21:09 < mawk> in file 0x6F57, which is coded according to TS 23.003 (search for APN-TLV inside) 2023-05-24T14:21:09 < jbo> mawk, so these warnings from ModemManager are completely okay then? 2023-05-24T14:21:10 < jbo> ModemManager[321]: [modem0] couldn't query SIM slots: QMI protocol error (94): 'NotSupported' 2023-05-24T14:21:10 < jbo> ModemManager[321]: [modem0/sim0] couldn't load list of emergency numbers: uninitialized emergency numbers list 2023-05-24T14:21:20 < mawk> yeah that's nothing 2023-05-24T14:21:41 < mawk> for the sim slots it's maybe your modem that doesn't support it 2023-05-24T14:21:56 < mawk> since it's using QMI passthrough magic 2023-05-24T14:22:06 < mawk> what kind of modem is it? 2023-05-24T14:22:28 < mawk> I have a ZTE MF823 USB LTE modem which was RNDIS shit, I modified it to be QMI for usage with ModemManager directly 2023-05-24T14:22:39 < mawk> but I can still query the SIM statis 2023-05-24T14:22:40 < jbo> interesting 2023-05-24T14:22:41 < mawk> status 2023-05-24T14:23:03 < jbo> so now that I did a mmcli -m 0 --simple-connect="apn=internet" it finally shows status "connected" :) 2023-05-24T14:23:14 < mawk> so you found the right APN parameters? 2023-05-24T14:23:21 < mawk> usually you need APN, username, password 2023-05-24T14:23:23 < mawk> and that's it 2023-05-24T14:23:29 < jbo> just needed apn=internet lol 2023-05-24T14:23:31 < mawk> for me with Orange F it's orange orange orange 2023-05-24T14:23:43 < mawk> sometimes username or password are not even needed 2023-05-24T14:23:48 < mawk> if the APN doesn't do CHAP authentication 2023-05-24T14:24:05 < mawk> and you get an IP then? 2023-05-24T14:24:17 < mawk> probably in 10.0.0.0/8 range if they do CGNAT 2023-05-24T14:24:49 < mawk> install modemmanager GUI jbo 2023-05-24T14:24:51 < jbo> yeah, I just ran udhcpc -i wwan0 and I got both an IPv4 and an IPv6. the ipv4 is 100.124.184.x tho 2023-05-24T14:24:56 < mawk> then you can see stuff more easily 2023-05-24T14:24:59 < jbo> mawk, I have no GUI on this. just serial console. 2023-05-24T14:25:00 < mawk> and send/receive sms 2023-05-24T14:25:02 < mawk> a 2023-05-24T14:25:07 < mawk> then you can use mmcli 2023-05-24T14:25:11 < mawk> to send or receive sms 2023-05-24T14:25:14 < jbo> can't ping anything yet tho. but maybe ICMP is just blocked? 2023-05-24T14:25:22 < mawk> sometimes ICMP is blocked yes 2023-05-24T14:25:35 < mawk> do you have a 0.0.0.0/0 route? 2023-05-24T14:25:38 < mawk> type ip route 2023-05-24T14:25:47 < jbo> nice - I could do an HTTP request successfully :) 2023-05-24T14:25:55 < mawk> ah perfect then 2023-05-24T14:26:11 < jbo> thanks for all the explanations! 2023-05-24T14:26:21 < mawk> you can use mmcli to enable automatic APN activation 2023-05-24T14:26:31 < mawk> normally the modem remembers the APN profile so you won't have to type again 2023-05-24T14:26:43 < jbo> let me look into that. 2023-05-24T14:27:39 < jbo> mawk, if I may ask: what is the bearer stuff in this context tho? I understand the concept of a bearer but what is it's use in 3gpp? 2023-05-24T14:31:21 < mawk> I don't know much about the radio part of the spec 2023-05-24T14:31:34 < mawk> but I think it's how they call the data/control channels 2023-05-24T14:33:44 < jbo> aye 2023-05-24T14:33:56 < jbo> well I guess this is somewhat of a success then :) 2023-05-24T14:34:17 < jbo> a bit worried about signal quality: 50% tho :D 2023-05-24T14:34:22 < jbo> but that might just be shitty PCB design 2023-05-24T14:35:00 < mawk> you can try an external antenna 2023-05-24T14:35:06 < jbo> I have that 2023-05-24T14:35:11 < mawk> ah 2023-05-24T14:35:26 < mawk> I get usually >90% signal quality from my apartment 2023-05-24T14:35:29 < mawk> on LTE 2023-05-24T14:38:01 < mawk> and like 50Mbps speeds 2023-05-24T14:59:24 < ventYl> mawk: are you some kind of GSM/3G/LTE guru? 2023-05-24T16:03:12 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has joined ##stm32 2023-05-24T16:17:12 < qyx> jbo: how's your codec? 2023-05-24T16:52:53 < mawk> not really ventYl 2023-05-24T16:53:00 < mawk> I just read some of the specs 2023-05-24T16:53:16 < mawk> I'm trying to write a SIM management library/tool 2023-05-24T16:53:40 < mawk> to look at which networks your SIM card preferentially wants to connect to and all that 2023-05-24T16:55:47 < mawk> I just made 100€ doing data recovery 2023-05-24T16:56:53 < mawk> a colleague had a dead USB stick with extremely important files on it, and he was about to send it to a data recovery specialist for 500€ for just attempting to recover the data 2023-05-24T16:57:50 < mawk> so I opened it and reflowed the usb connector and the quartz, and after a bit of probing around with the scope it magically started working again 2023-05-24T16:57:57 < Steffanx> And what did mawk do? 2023-05-24T16:58:45 < mawk> money 2023-05-24T16:59:43 < Steffanx> Oh missed your last msg 2023-05-24T17:00:23 < mawk> there was some kind of short 2023-05-24T17:00:32 < mawk> and it suddenly went away 2023-05-24T17:00:46 < ventYl> ahh, psytrance 2023-05-24T17:00:46 < mawk> for long enough that I got time to copy the files 2023-05-24T17:03:14 < Steffanx> Did you make a copy for personal benefit too? 2023-05-24T17:03:31 < Steffanx> Yes you did 2023-05-24T17:24:45 < jbo> mawk, an LTE diversity antenna is pretty useless if the device is stationary, right? 2023-05-24T17:45:10 < zyp> why would you think that? 2023-05-24T17:47:19 < jbo> I seem to faintly recall that the diversity antenna would be most helpful in a scenario where the device is moving. but if I'd be certain I wouldn't ask ;) 2023-05-24T17:50:31 < qyx> isn't lte dual chain? 2023-05-24T17:53:59 < karlp> not cat1. 2023-05-24T17:54:10 < karlp> cat4 and up "need" dual antennas 2023-05-24T18:10:12 < karlp> winning, got a pr merged into matter on day 2 of trying to use it ... 2023-05-24T18:28:27 < jbo> qyx, codec: didn't get it running yet. still 2023-05-24T18:29:01 < jbo> still encountering: arecord: set_params:1416: Unable to install hw params 2023-05-24T18:29:09 < jbo> Recording WAVssm26o.wav' : 02 2-001a: ASoC: error at snd_soc_dai_hw_params on ssm2602-hifi: -22 2023-05-24T18:29:09 < jbo> f8050000.i2s-ssm2602-hifi: ASoC: error at __soc_pcm_hw_params on f8050000.i2s-ssm2602-hifi: -22 2023-05-24T18:30:35 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-24T18:31:08 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-24T18:31:48 < qyx> hmm 2023-05-24T18:34:59 < jbo> any ideas are welcomed :D 2023-05-24T18:39:13 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [] 2023-05-24T19:18:01 < boddax> what about clocks idea ? 2023-05-24T19:19:47 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-24T19:24:48 -!- rustyaxe [~eltaco@zoo-york.istabpeople.com] has left ##stm32 [] 2023-05-24T19:57:11 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has quit [Quit: Leaving] 2023-05-24T20:09:38 < jbo> clocks idea? 2023-05-24T20:17:41 < PaulFertser> When running arecord you can specify any -r rate. 2023-05-24T20:18:00 < PaulFertser> And you need one supported by the hardware. 2023-05-24T20:18:23 < PaulFertser> #define EINVAL 22 /* Invalid argument */ 2023-05-24T20:20:26 < PaulFertser> jbo: try https://github.com/bubbapizza/alsacap 2023-05-24T20:28:05 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-24T20:39:11 < PaulFertser> Of course you need the right format and channel count too. 2023-05-24T20:40:31 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-24T20:42:15 < PaulFertser> Or probably alsa-capabilities from https://gitlab.com/sonida/mpd-configure 2023-05-24T20:43:12 < jbo> PaulFertser, I'll have to have another look tomorrow. the codec certainly supports the rate I specified on paper. 2023-05-24T20:43:19 < jbo> thank you for the suggestion tho! 2023-05-24T20:43:26 < jbo> I'll be sure to double check that tomorrow. 2023-05-24T21:59:58 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-24T22:03:57 < catphish> ordered my G474 flight controller: https://i.imgur.com/xzj6tJ9.png 2023-05-24T22:03:57 < catphish> never did put ESD on the USB, but hopeully everything else works :) 2023-05-24T22:08:40 < qyx> you dare not float a ground pour 2023-05-24T22:33:23 < josuah> catphish: is that something you built? 2023-05-24T22:33:40 < catphish> josuah: yes 2023-05-24T22:35:23 < josuah> very glad to see a STM32G4 used as a whole controller, rather than just a tiny CAN GPIO extender attached to the a main quad-core Cortex A57 running Linux at 90% CPU ^_^' 2023-05-24T22:36:42 < josuah> what firmware will it run? a custom one? paparazzi? 2023-05-24T22:49:51 < catphish> josuah: initially i'm hoping to run betaflight 2023-05-24T22:50:22 < catphish> but i'd also like to write my own 2023-05-24T22:50:45 < josuah> oh right! so FPV! 2023-05-24T22:51:03 < josuah> or at least remotely controlled by a human 2023-05-24T22:51:16 < josuah> Would you take some analog video transmission module for it? 2023-05-24T22:51:21 < machinehum> catphish: What's U6? 2023-05-24T22:52:10 < catphish> josuah: yeah i'm doing FPV at the moment, so made sense to play with betaflight, but my own firmware would be aimed more at automated flight 2023-05-24T22:53:13 < catphish> machinehum: W25N01GVZEIG - 1Gbit SPI flash 2023-05-24T22:53:31 < machinehum> Logging or something? 2023-05-24T22:53:42 < josuah> ... and whats Ux and what's Uy, and what's Uz... :P 2023-05-24T22:54:12 < catphish> machinehum: yes, betaflight uses it to log everything for tuning, seemed like a worthwhile inclusion 2023-05-24T22:54:31 < machinehum> This is for a quadcopter? 2023-05-24T22:55:55 < catphish> machinehum: yes 2023-05-24T22:56:18 < catphish> josuah: to answer your question ;) https://github.com/catphish/openuav/blob/master/openuav.pdf 2023-05-24T23:04:01 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-24T23:15:46 < josuah> yay! thank you catphish 2023-05-24T23:16:08 < catphish> all design files are there :) 2023-05-24T23:17:10 < josuah> so... there *are* IMUs in stock somewhere after all 2023-05-24T23:20:39 < catphish> josuah: i had no problem, both IMUs i spec'd were in stock 2023-05-24T23:27:37 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-24T23:58:38 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-05-24T23:59:29 * josuah takes note of the part number and put it in its chest --- Day changed to touko 25 2023 2023-05-25T00:00:12 -!- machinehum [~machinehu@s0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-25T00:00:19 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-25T00:02:23 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-25T00:19:20 < mawk> I recovered a shell on the modem PaulFertser 2023-05-25T00:19:25 < mawk> it's a bit glitchy but it works 2023-05-25T00:22:12 < catphish> i maaged to use all but one of the STM32 pins in my design in the end :D 2023-05-25T00:23:00 < catphish> (actually, all but VREF and PC15), i have no idea what VREF is for 2023-05-25T00:23:49 < mawk> oooooooooo omg I know why adbd didn't want to start PaulFertser 2023-05-25T00:23:59 < mawk> it's because I removed all the network interfaces from the modem side 2023-05-25T00:24:02 < mawk> including loopback 2023-05-25T00:24:14 < mawk> and stupid adbd doesn't want to start if port 5037 isn't bindable 2023-05-25T00:24:59 < mawk> it's for the adc catphish 2023-05-25T00:25:36 < mawk> connect it to VDDA if you plan on using the adc 2023-05-25T00:26:31 < mawk> for VREF+ 2023-05-25T00:26:38 < mawk> if your package has VREF- that one is connected to VSSA 2023-05-25T00:30:15 < catphish> mawk: isn't there an internal VREF that's much more accurate than VDDA? 2023-05-25T00:30:46 < catphish> i don't remember ever using VREF, i'll look into it 2023-05-25T00:32:04 < catphish> if VREF+ is needed i may have made a substantial error in leaving it floating 2023-05-25T00:35:38 < catphish> i checked the datasheet, there *is* an internal reference voltage generator, it supports 2.048V, 2.5V or 2.9V 2023-05-25T00:41:28 < qyx> check operating conditions, iirc VREF+ must be VDDA to withing a few 0.1s of V 2023-05-25T00:41:32 < qyx> -g 2023-05-25T00:43:40 < zyp> power requirements are very part specific 2023-05-25T00:44:33 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-25T00:44:36 < Laurence_b> https://nitter.cz/pic/enc/bWVkaWEvRncxaFQ4SVd3Q0VrNnB5LmpwZz9uYW1lPXNtYWxsJmZvcm1hdD13ZWJw 2023-05-25T00:45:38 < zyp> hmm, looks like on g474 you don't need vdda if you're not using any of the analog blocks, that's new to me 2023-05-25T00:45:47 < zyp> most other parts won't boot if you leave out vdda 2023-05-25T00:46:53 < catphish> is VREF the max voltage of the ADC? 2023-05-25T00:47:26 < catphish> if so, i have made a small error by assuming ADC could go to VDDA, but the internal VREF is only 2.9V 2023-05-25T00:49:40 < zyp> ah, in g474, vref+ pin is bidirectional, when using the internal voltage reference, it's an output, for decoupling 2023-05-25T00:50:04 < zyp> When VDDA < 2 V VREF+ must be equal to VDDA. 2023-05-25T00:50:05 < zyp> When VDDA ≥ 2 V VREF+ must be between 2 V and VDDA 2023-05-25T00:50:28 < Laurence_b> https://nitter.cz/pic/orig/enc/bWVkaWEvRnd6Ui1QdFdZQU1yV21OLnBuZw== 2023-05-25T00:52:13 -!- fenugrec [~f@97.107.220.18] has left ##stm32 [] 2023-05-25T00:52:16 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-25T00:52:48 < catphish> zyp: yeah i left it floating without even thinking, lucky for me this is a valid configuration 2023-05-25T00:53:20 < zyp> uhh, I'm not sure I'd call floating valid 2023-05-25T00:53:27 < zyp> should have some decoupling 2023-05-25T00:53:50 * catphish reads manual 2023-05-25T00:54:42 < catphish> well it's either going to float or be bodged to VDDA 2023-05-25T00:54:56 < catphish> i prefer the former :) 2023-05-25T00:55:19 < zyp> it's right next to vdda, so I'd just bridge the pins with a bit of solder 2023-05-25T00:55:54 < catphish> oh i'll do that then 2023-05-25T00:56:06 < catphish> that suits me better because i assumed VREF==3v3 2023-05-25T00:57:05 < catphish> if i made this many errors in the pins *didn't* use, i dread to think how many mistakes i made in the pins i did use 2023-05-25T01:06:05 < mawk> catphish: there is VREFINT which uses a bandgap reference yes 2023-05-25T01:06:12 < mawk> which you can use for the internal opamps and comparators 2023-05-25T01:06:58 < zyp> not sure how reliable that is undecoupled 2023-05-25T01:07:10 < catphish> mawk: indeed, but as noted above, it's supposed to be decoupled, and it only runs at up to 2.9V 2023-05-25T01:07:48 < zyp> you've presumably decoupled vdda, so it's easiest to just piggyback on that 2023-05-25T01:08:01 < mawk> what do you mean catphish 2023-05-25T01:08:06 < mawk> it's something internal inside the package 2023-05-25T01:08:10 < mawk> you can't decouple it 2023-05-25T01:08:17 < mawk> the VREFINT 2023-05-25T01:08:19 < zyp> mawk, read the datasheet 2023-05-25T01:08:42 < catphish> mawk: vrefint is buffered then exposed externally, i think the buffered version is what's used 2023-05-25T01:08:57 < catphish> and the datasheet, while not explicit, implies that it should be decoupled 2023-05-25T01:09:07 < catphish> unless it is explicit and i missed that 2023-05-25T01:09:08 < zyp> that's how I read it too 2023-05-25T01:09:16 < mawk> what pin is that? 2023-05-25T01:09:19 < zyp> VREF+ 2023-05-25T01:09:20 < catphish> VREF+ 2023-05-25T01:09:46 < mawk> but that's something separate from VREFINT 2023-05-25T01:09:59 < catphish> not when VREFINT is enabled 2023-05-25T01:10:04 < zyp> VREFINT feeds VREFBUF which feeds VREF+ 2023-05-25T01:10:09 < catphish> ^ this 2023-05-25T01:10:54 < mawk> that doesn't seem to exist in the part I'm looking the datasheet for 2023-05-25T01:10:59 < catphish> actually... " The VREFINT is internally connected to the ADCx_IN18, x = 1,3,4,5 input channe" 2023-05-25T01:11:11 < catphish> i'm kinda confused 2023-05-25T01:11:11 < zyp> mawk, shit like this varies from part to part 2023-05-25T01:11:23 < zyp> catphish, yes, but that's a different function 2023-05-25T01:11:34 < catphish> oh okay 2023-05-25T01:11:43 < zyp> you need something to feed VREF+ in any case, either externally or VREFBUF 2023-05-25T01:12:04 < catphish> oh, VREFINT != VREFBUF 2023-05-25T01:12:30 < catphish> but in any case, the point is that you need something to feed VREF+ in any case, either externally or VREFBUF 2023-05-25T01:12:48 < zyp> you can measure the VREF voltage by measuring the VREFINT channel and reverse-calculate it, since the VREFINT voltage is known 2023-05-25T01:12:54 < catphish> i was too lazy to finish my own sentrence there 2023-05-25T01:12:58 < mawk> seems that it's for L4, L4+, L5, WL, H7, G0, G4, WBx5, U5, and the MPU stuff 2023-05-25T01:13:26 < mawk> parts with VREFBUF 2023-05-25T01:13:30 < catphish> mawk: that seems likely, i like the modern chipz 2023-05-25T01:13:34 < zyp> mawk, now you just listed all the new chips 2023-05-25T01:13:39 < mawk> lol 2023-05-25T01:14:45 < catphish> zyp: does it actally say it's supposed to be decoupled? 2023-05-25T01:15:09 < zyp> didn't see it explicitly stated, no 2023-05-25T01:15:15 < mawk> https://www.st.com/resource/en/application_note/an5690-vrefbuf-peripheral-applications-and-trimming-technique-stmicroelectronics.pdf 2023-05-25T01:15:17 < zyp> but it seems implied 2023-05-25T01:15:19 < mawk> they seem to say it explicitly here 2023-05-25T01:15:52 < catphish> mawk: ah good find 2023-05-25T01:16:02 < zyp> mawk, ah, nice 2023-05-25T01:16:13 < zyp> «For this application case the ADC reference (VREF+ pin) is internally connected to the VREFBUF output and no 2023-05-25T01:16:16 < zyp> external connection between pins is required. Only external capacitors on VREF+ pin are required.» 2023-05-25T01:17:15 < catphish> well on my prototype board i'll just bond it to VDDA 2023-05-25T01:17:29 < zyp> that's what I'd do in any case 2023-05-25T01:17:46 < zyp> unless I had a good reason to want to do otherwise 2023-05-25T01:21:19 < mawk> this modem thing is so annoying 2023-05-25T01:21:40 < mawk> it uses old style init and I can't figure out how to just have "ifconfig up lo" run at startup 2023-05-25T01:21:50 < mawk> or it does run but something else puts it back down after 2023-05-25T01:32:16 < zyp> mawk, https://www.youtube.com/watch?v=2H5uWRjFsGc 2023-05-25T01:34:01 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-25T01:44:10 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-25T02:55:40 < karlp> wow, haven't seen that in a while 2023-05-25T03:07:19 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-25T03:08:11 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-25T04:07:40 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-25T04:53:56 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-25T04:53:56 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Excess Flood] 2023-05-25T04:54:19 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-25T05:10:25 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-25T06:09:50 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-25T07:07:33 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-25T07:33:56 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has joined ##stm32 2023-05-25T07:51:17 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-25T07:55:47 -!- turnip420 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-25T07:55:51 < turnip420> hello 2023-05-25T09:53:03 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-25T09:57:28 -!- turnip420 [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Ping timeout: 240 seconds] 2023-05-25T10:50:09 -!- gnom [~alex@178.150.7.153] has joined ##stm32 2023-05-25T11:03:04 -!- kitzman [~kitzman@user/dekenevs] has quit [Quit: C-x C-c] 2023-05-25T11:04:00 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-05-25T11:27:37 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has joined ##stm32 2023-05-25T12:13:31 < mawk> I'm listening to my finnish CEO speaking 2023-05-25T12:13:59 < mawk> the accent is something 2023-05-25T12:15:01 < mawk> he sounds like the guy from "hydraulic press channel" on youtube, almost verbatim 2023-05-25T12:15:45 < jpa-> yes, that's the official finnish english accent 2023-05-25T12:16:01 < jpa-> but why is your CEO finnish? 2023-05-25T12:16:17 < jpa-> and if he is finnish, why is he speaking? 2023-05-25T12:17:29 < qyx> lol 2023-05-25T12:19:14 < mawk> because he bought my company 2023-05-25T12:19:16 < mawk> to present numbers and stuff 2023-05-25T12:23:14 < mawk> yesterday I tried to shoehorn a shitty GSM arduino shield into modemmanager to surf the web like it's 1990 again 2023-05-25T12:23:20 < mawk> modemmanager really didn't want to touch the thing, I had to write udev rules to tell it to consider my tty and tell it the baud rate and flow control 2023-05-25T12:23:26 < mawk> and since it's just a single interface, and not like a AT control interface + a PPP interface, once the GPRS session is established you can't do AT commands anymore 2023-05-25T12:23:28 < mawk> and not send SMSes 2023-05-25T12:23:30 < mawk> but it worked fine to "surf the web" 2023-05-25T12:23:32 < mawk> I was able to go on IRC with a lag of barely 1200ms 2023-05-25T12:23:59 < mawk> I got a r00t sh3ll into my LTE modem thanks to the PCBite, but even after that I wasn't able to make it run adbd at boot because the ZTE chinesed their way through the OS and destroyed the init system 2023-05-25T12:24:03 < mawk> now I have no idea how it works 2023-05-25T12:24:33 < mawk> putting a symlink to /etc/init.d/networking into /etc/rc5.d sounded like it should work but it didn't 2023-05-25T12:24:43 < mawk> even ordering it to be run last 2023-05-25T12:24:57 < mawk> so the loopback interface is not brought up and adbd doesn't want to start 2023-05-25T12:44:24 -!- gnom [~alex@178.150.7.153] has quit [Remote host closed the connection] 2023-05-25T13:04:53 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-25T13:25:10 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-25T13:30:26 < jbo> PaulFertser, I made sure to specify a supported rate and tripple checked all other parameters. still not able to arecord from an SSM2603. 2023-05-25T13:30:41 < jbo> but I am also not really confident on the DTS of this. 2023-05-25T13:36:39 < boddax> speaking of finnish +/- next july 28 i'm passing there going to NorthCape ..police is noisy about speed limits ? 2023-05-25T13:39:08 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-25T13:40:10 < qyx> do you need to go over the speed limit? 2023-05-25T13:50:34 < Steffanx> Boddax drives a true Italian Ferrari. Ofcourse he has to go over the speed limit 2023-05-25T13:52:13 < mawk> everytime I hit "build" in cubeIDE it opens a random file from the project 2023-05-25T13:52:17 < mawk> quality software 2023-05-25T13:52:57 < qyx> TIL vertical align html checkbox and label is a nontrivial task 2023-05-25T13:53:16 < mawk> alignment in html is never easy 2023-05-25T13:54:03 < Steffanx> is all you need 2023-05-25T13:54:50 < Steffanx> And table layouts. 2023-05-25T13:59:59 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-25T14:07:33 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-25T14:26:42 < karlp> holy fuck matter and project chip and connected home alliance are the least googleable terms ever 2023-05-25T14:26:51 < karlp> such horribly generic names 2023-05-25T14:30:12 < karlp> mawk: ppp lets you have extra channels, you can probabaly still send at commands that way 2023-05-25T14:30:19 < karlp> it's the big sell of ppp over slip 2023-05-25T14:30:41 < mawk> right 2023-05-25T14:46:46 < ventYl> karlp: try "torque". which is a grid filesystem. good luck 2023-05-25T14:51:37 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-25T15:01:26 < qyx> "torque very slow" 2023-05-25T15:01:48 < qyx> "matter cannot connect" 2023-05-25T15:03:32 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-25T15:03:52 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Remote host closed the connection] 2023-05-25T15:11:37 < karlp> yeah, "ignitition" and "spark" are some iot thing as well. 2023-05-25T15:11:46 < karlp> just gross. 2023-05-25T16:11:52 < boddax> Lambo Steffanx 2023-05-25T16:12:15 < boddax> thats much better 2023-05-25T16:18:09 < boddax> https://www.adnkronos.com/resources/025f-11117ce05cef-4d54fb5caa23-1000/format/big/elettra_lamborghini_fg_2807.png 2023-05-25T16:25:13 < PaulFertser> jbo: but probably it's not rate but channel count or format. 2023-05-25T16:25:32 < Steffanx> Lol meh boddax 2023-05-25T16:25:35 < PaulFertser> jbo: did you try running one of those utilities that show all the supported combinations? 2023-05-25T16:26:33 < jbo> PaulFertser, I got a bit further in the meantime. arecord is now doing something without complaining. DTS was lacking some clock information. 2023-05-25T16:26:48 < jbo> PaulFertser, I didn't use the utility you mentioned. would need to wrap it in a yocto recipe :/ 2023-05-25T16:28:26 < boddax> even Ferrari soon or later ill be china thing changing into Pellali 2023-05-25T16:29:00 < PaulFertser> jbo: oh 2023-05-25T16:29:26 < PaulFertser> jbo: I sometimes wonder if OE is really worth it and why not just use plain Debian. 2023-05-25T16:29:38 < mawk> my SIM communication code through AT commands is working perfectly 2023-05-25T16:29:43 < mawk> look at this beauty https://bpa.st/AIFKA 2023-05-25T16:29:47 < mawk> a beautiful ballet 2023-05-25T16:29:59 < mawk> it only requires the AT+CSIM command and nothing else 2023-05-25T16:30:11 < jbo> PaulFertser, I don't have enough embedded Linux experience to participate in that discussion. This target is somewhat low-spec tho. Can't even run systemd out of the box on it :D 2023-05-25T16:30:20 < mawk> and then I open a logical channel in the SIM card to be able to send commands without disturbing the modem operation 2023-05-25T16:30:26 < mawk> so it can be done even when the radio is on 2023-05-25T16:30:46 < boddax> thats a DECTerm mawk? 2023-05-25T16:31:11 < mawk> it's an ublox GSM modem 2023-05-25T16:31:32 < boddax> tought VAXstation terminal 2023-05-25T16:34:39 < mawk> it's the uart output from the mcu 2023-05-25T16:35:13 < mawk> I had to use a lot of macros to make the code bearable to read and write 2023-05-25T16:37:19 < boddax> custom chip inside the sim? 2023-05-25T16:40:41 < karlp> as is normal, yes... for like 30 years or something 2023-05-25T16:46:18 < jbo> PaulFertser, zyp I got the audio recording to work \o/ 2023-05-25T16:47:00 < PaulFertser> jbo: cool! 2023-05-25T16:57:32 < jbo> thanks for everybody's help! 2023-05-25T16:57:56 < jbo> zyp, the PCBite kit is probably one of the best investments I made lately. damn that thing is handy. 2023-05-25T16:58:12 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-25T17:10:18 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [] 2023-05-25T17:59:09 < boddax> jbo wich was the trick ? 2023-05-25T17:59:24 < mawk> my webcam magically started working again 2023-05-25T17:59:26 < mawk> very weird 2023-05-25T17:59:34 < mawk> I didn't install any new drivers 2023-05-25T18:01:35 < boddax> usb connector unstable 2023-05-25T18:06:05 < jbo> boddax, getting the DTS right :x 2023-05-25T18:06:10 < jbo> which apparently invovles a lot of guess work 2023-05-25T18:07:54 < mawk> it's a MIPI camera boddax 2023-05-25T18:08:04 < mawk> USB camera wouldn't need drivers 2023-05-25T18:08:28 < mawk> here it needs a weird experimental intel driver as well as a video4linux relay shit in userspace 2023-05-25T18:12:08 -!- boddax [~boddax@host-79-55-129-223.retail.telecomitalia.it] has quit [Ping timeout: 268 seconds] 2023-05-25T18:12:43 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-25T18:13:14 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-25T18:13:51 < ventYl> experimental intel driver sounds frightening 2023-05-25T18:36:42 < Steffanx> The hacker made it work again mawk 2023-05-25T18:41:04 < mawk> :( 2023-05-25T18:41:21 < mawk> I need some kind of C coroutine in my code 2023-05-25T18:41:34 < mawk> I should try setjmp/longjmp 2023-05-25T18:42:21 < mawk> I need to restart my code in some place after new data is available 2023-05-25T18:43:21 < mawk> since there's no rtos 2023-05-25T18:56:03 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-25T19:00:28 < ventYl> mawk: https://github.com/ventZl/arm-bare-rtos still too heavy? 2023-05-25T19:00:37 < Steffanx> Protothreads :) 2023-05-25T19:23:12 < mawk> it's for an ideological reason ventYl 2023-05-25T19:23:31 < mawk> even if it's 1 byte mister boss doesn't want preemptive scheduling 2023-05-25T19:23:39 < mawk> for some reason 2023-05-25T19:23:40 < ventYl> i can relate to the idea that freertos looks fugly 2023-05-25T20:04:00 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has quit [Ping timeout: 248 seconds] 2023-05-25T20:29:10 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-25T20:44:24 -!- Thorn [~Thorn@user/thorn] has quit [Quit: Relax, its only ONES and ZEROS!] 2023-05-25T20:44:49 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-25T20:57:40 < specing> where's lolrencer 2023-05-25T21:02:52 -!- gnom [~alex@178.150.7.153] has joined ##stm32 2023-05-25T21:03:53 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-05-25T22:00:04 < Steffanx> KIA 2023-05-25T22:03:06 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-25T22:06:53 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-25T22:09:29 < specing> someone please go and pull him out of the rpi bin 2023-05-25T22:14:05 < ventYl> mawk: BTW that piece of code does not imply preemptive scheduling. you decide what to do. you can go either preemptive, cooperative, or task-based 2023-05-25T22:14:31 < ventYl> mawk: it is mere thread switcher with no implied switching policy 2023-05-25T22:29:12 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-25T23:06:20 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-25T23:35:17 < jbo> whooop 2023-05-25T23:43:24 < jbo> zyp, I have a USB question - you up? 2023-05-25T23:45:11 < zyp> sure 2023-05-25T23:47:44 < jbo> zyp, I want to do a design for a USB-C PD source. I already did the sink side (if you recall). I am looking at some existing controllers. My main question is: I need to be able to use the USB 2.0 signals to connect to a host. Some of the source controller's I'm looking at seem to have pins for that while other's don't. USB-C PD does not use the USB 2.0 D+ and D- lines for communication, right? So I can just use tap them from the connector and use them however I like 2023-05-25T23:47:44 < jbo> completely separate to the PD part? 2023-05-25T23:49:07 < zyp> correct, the reason the controller got them is probably because it supports not only PD but also BC and maybe some proprietary charging protocols 2023-05-25T23:49:56 < zyp> if you'll be doing purely PD, data lines doesn't matter 2023-05-25T23:50:20 < jbo> zyp, awesome - thanks! What is "BC" tho? I know QuickCharge (QC) 2023-05-25T23:50:38 < zyp> QC is proprietary, BC is a USB-IF standard 2023-05-25T23:50:52 < jbo> alrighty 2023-05-25T23:51:04 < jbo> do you have any USB-C PD source part capable of 20V VBus that you can recommend? 2023-05-25T23:52:11 < zyp> I haven't used any, but my impression is that you might be underestimating the task 2023-05-25T23:52:27 < jbo> possibly - wanna elaborate? 2023-05-25T23:53:27 < zyp> PD involves voltage switching; you always start out at 5V so you can power the device enough for it to tell you what it actually wants 2023-05-25T23:54:19 < zyp> so, how do you expect this to work? how will you be powering the source controller? 2023-05-25T23:56:08 < jbo> zyp, I was looking at something like TPS25762 or TPS25772 which seems to include a DC/DC 2023-05-25T23:58:38 < jbo> zyp, seemed easy enough on paper at least. but I just started looking into it. it seems to support VBus output from 3 to 21V and has an integrated buck-boost which is presumably used for VBus 2023-05-25T23:59:01 < zyp> yeah, looks good 2023-05-25T23:59:42 < jbo> zyp, the thing about TPS25762 that threw me off is the use of USB D+ and D- lanes and the "integrated USB PHY". --- Day changed pe touko 26 2023 2023-05-26T00:00:23 < zyp> yeah, it has that, chapter 9.3.9 2023-05-26T00:01:48 < jbo> zyp, yeah. it isn't/wasn't immediately clear to me whether I can just not connect those D+ and D- lines to the TPS25762 and use them "myself" instead. 2023-05-26T00:02:02 < zyp> I'd expect that to work just fine 2023-05-26T00:02:16 < jbo> well, you have rarely been wrong so let's go with that :D 2023-05-26T00:03:11 < jbo> it did feel like the external i2c eeprom is not optional tho. 2023-05-26T00:05:10 < zyp> shame it's max 18V in, a multi port device would have benefited from a higher bus voltage for lower currents 2023-05-26T00:05:35 < jbo> jup... 2023-05-26T00:05:56 < jbo> especially given that I might do a 5-port unit :x 2023-05-26T00:06:24 < zyp> what total power are you targetting? 2023-05-26T00:07:57 < jbo> well, my downstream device only needs 27W (theoretically, practically more like 15W) and I plan to have 5 or 6 USB-C PD source ports on the same device. But given that this is a hobby/DIY thingy I wouldn't mind designing it so that a single port can actually deliver 65W so I can potentially reuse the design. 2023-05-26T00:12:16 < jbo> chapter 10.1 does kind of not show the eeprom in use. but "simplified" is usually a bit of a red flag in TI schematics :D 2023-05-26T00:13:31 < zyp> well, 65W*6 is almost 400W 2023-05-26T00:13:38 < jbo> jup 2023-05-26T00:13:49 < zyp> >20A of input power 2023-05-26T00:13:56 < jbo> jup 2023-05-26T00:14:01 < zyp> where are you getting that from? 2023-05-26T00:14:26 < jbo> either an on-board AC/DC or just an external PSU 2023-05-26T00:17:04 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-26T00:29:50 < jbo> zyp, I'll probably just do a small demo/test board with one of these and then let you know how things went (if you care) 2023-05-26T00:31:25 -!- qyx_ [~qyx@84.245.120.101] has joined ##stm32 2023-05-26T00:31:45 -!- mlaga97_ [~quassel@user/mlaga97] has joined ##stm32 2023-05-26T00:32:31 < zyp> I do :) 2023-05-26T00:32:57 < zyp> although I suspect I'd be more inclined to just find a configurable buck and let a stm32g0 do the comms 2023-05-26T00:35:22 < jbo> if you have a reasonable USB-C PD stack for me I'll gladly consider that option :p 2023-05-26T00:37:37 -!- Netsplit *.net <-> *.split quits: veverak, boB_K7IQ, PaulFertser, mlaga97, sugarbeet, kilobyte_ch, qyx, specing, HelloShitty 2023-05-26T00:41:24 < zyp> haven't written it yet, but it's on the TODO list 2023-05-26T00:41:42 < zyp> low priority because I don't have anything that needs it yet 2023-05-26T00:44:59 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-26T00:45:17 < nomorekaki> qyx_: raise sheep and do electronics? 2023-05-26T00:46:13 < nomorekaki> is it the correct word - raising sheep 2023-05-26T00:46:37 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-05-26T00:48:14 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-26T00:51:05 < jbo> sheep are neat 2023-05-26T00:51:28 < ventYl> raisins sheep 2023-05-26T00:55:20 -!- nomorekaki89 [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-26T00:55:46 < nomorekaki89> i wonder if sheeps generate much profit 2023-05-26T00:56:48 < nomorekaki89> basically you need also a shop where to sell sheep products 2023-05-26T00:57:24 < nomorekaki89> if you want better money compared to just bulk selling 2023-05-26T00:57:31 < qyx_> you don't understand me 2023-05-26T00:57:34 -!- qyx_ is now known as qyx 2023-05-26T00:58:03 < qyx> I want to live in peace for which I need much land 2023-05-26T00:58:17 < qyx> much land is very hard to keep organised and tidy 2023-05-26T00:58:32 < qyx> so I either need a john deere or a couple of sheep 2023-05-26T00:58:53 < nomorekaki89> sheep do better work and for much less money 2023-05-26T00:58:58 < qyx> which I am not decided yet 2023-05-26T00:58:58 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-26T00:59:10 < qyx> yes and they even produce fuel, deere consumes it 2023-05-26T00:59:55 < nomorekaki89> I mean if its rough terrain it can be hard to maintain with typical machinery 2023-05-26T01:00:06 < nomorekaki89> sheep don't care 2023-05-26T01:00:09 < qyx> that too 2023-05-26T01:00:29 < nomorekaki89> why not furry cows? 2023-05-26T01:00:40 < qyx> I hate cows of any kind 2023-05-26T01:00:41 < nomorekaki89> and or pigs 2023-05-26T01:01:05 < qyx> I have a cow induced trauma from the childhood 2023-05-26T01:01:32 < qyx> and it is probably reciprocal 2023-05-26T01:01:35 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-26T01:01:57 < nomorekaki89> physical? 2023-05-26T01:01:59 < qyx> every single cow I meet looks like it is about to ingest me in several pieces 2023-05-26T01:02:18 < qyx> to make CH4 of my body parts 2023-05-26T01:03:03 < nomorekaki89> ah classic 2023-05-26T01:03:31 < nomorekaki89> cow started eating your clothes and pulling? 2023-05-26T01:04:09 < qyx> no it just came too close 2023-05-26T01:04:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-26T01:04:47 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-05-26T01:04:47 -!- specing [~specing@user/specing] has joined ##stm32 2023-05-26T01:04:47 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-26T01:04:47 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2023-05-26T01:04:47 -!- sugarbeet [~barbas@81.4.123.134] has joined ##stm32 2023-05-26T01:04:53 < jbo> qyx, $gf and I want to move that direction too. but my farming experience is limited to steep terrain in the mountains 2023-05-26T01:05:01 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Max SendQ exceeded] 2023-05-26T01:05:23 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-26T01:05:36 < jbo> qyx, wtf, cows are SUPER friendly & passive creatures. but now that you mentioin it... we do have comparably a lot of tourists (mainly asian) that are actively afraid of cows. 2023-05-26T01:08:51 < nomorekaki89> cows follow you if you meet them in field or forrest 2023-05-26T01:08:58 < zyp> I met a deer while biking to work today 2023-05-26T01:09:13 < nomorekaki89> start running -> cows start running after you with ease 2023-05-26T01:09:41 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 265 seconds] 2023-05-26T01:10:15 < nomorekaki89> sometimes hikers go inside the moo fence area in the forrest and try to run from cows 2023-05-26T01:11:13 < nomorekaki89> cows are right at your heels with bells ringing 2023-05-26T01:12:44 < jbo> wouldn't trust a finnish cow tho :p 2023-05-26T01:15:10 -!- gnom [~alex@178.150.7.153] has quit [Read error: Connection reset by peer] 2023-05-26T01:15:15 < nomorekaki89> dont show fear or agression I guess 2023-05-26T01:16:17 < jbo> especially now that you're NATO 2023-05-26T01:16:54 < nomorekaki89> maybe you need to walk calmly in some direction in order cows to not fully encircle you 2023-05-26T01:17:11 < nomorekaki89> yeah 2023-05-26T01:17:29 < jbo> putler didn't send his nukes yet? 2023-05-26T01:17:41 < nomorekaki89> where here? 2023-05-26T01:19:40 < jbo> yeah, you're from .fi no? 2023-05-26T01:19:45 < nomorekaki89> yeah 2023-05-26T01:20:08 < zyp> yeah, I'm from .no, fi 2023-05-26T01:20:19 < jbo> q__q 2023-05-26T01:22:21 < nomorekaki89> jbo: northern or southern hemisphere? 2023-05-26T01:23:09 < jbo> nomorekaki89, switzerland - if that is what you'd like to know. 2023-05-26T01:23:19 < nomorekaki89> nice 2023-05-26T01:25:51 < jbo> meh 2023-05-26T01:25:57 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-26T01:27:07 < nomorekaki89> I think your cordinates might not be loaded in any ICBMs 2023-05-26T01:29:55 < jbo> well we got well over 300'000 bunkers so not really worth it anyway 2023-05-26T01:30:04 < jbo> (obviously it would still be disasterous but just pointless) 2023-05-26T01:30:39 < jbo> https://www.youtube.com/watch?v=9bPIaHg11mI 2023-05-26T01:31:57 < nomorekaki89> it might look like a mountain 2023-05-26T01:33:13 < nomorekaki89> but it's actually just a carefully masked group of cannons 2023-05-26T01:33:57 < jbo> playing defense is a whole lot easier when your terrain is literally a 300km chain of 4'000 tall mountains on both sides (and inbetween those mountains is exactly where I am stuck) 2023-05-26T01:34:07 < nomorekaki89> jbo: 4Msaunas if we compete numbers 2023-05-26T01:34:15 < nomorekaki89> 4megasaunas 2023-05-26T01:34:30 < nomorekaki89> more than cars 2023-05-26T01:34:35 < jbo> yeah, jpa- told me about that once. I have never seen the insight of a sauna 2023-05-26T01:36:54 < nomorekaki89> are swiss, funland and israel only three countries that do wide scale civil pop bomb sheltering? 2023-05-26T01:37:29 < jbo> what's funland? 2023-05-26T01:37:40 < nomorekaki89> .fi 2023-05-26T01:39:19 < nomorekaki89> have you ever lost the door lever of your bomb shelter jbo? 2023-05-26T01:41:02 < jbo> nomorekaki89, no. and everybody keeps a spare under their pillow anyway. we use it to consume breakfast too. 2023-05-26T01:41:49 < nomorekaki89> good strategy 2023-05-26T01:44:39 < nomorekaki89> put it in keychain to give it a bit weight 2023-05-26T01:46:34 < nomorekaki89> I had some maybe M16 nut in my keychain to gib it weight and substance 2023-05-26T01:46:41 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-26T01:47:22 < nomorekaki89> keys stay in the pocket pretty well with that 2023-05-26T02:03:58 -!- nomorekaki89 [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-26T02:15:19 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-26T02:36:42 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-26T02:42:01 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-26T02:52:51 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-26T03:35:35 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has joined ##stm32 2023-05-26T03:39:48 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 2023-05-26T03:40:56 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3518:d18:3e49:7556] has joined ##stm32 2023-05-26T04:13:45 -!- qyx [~qyx@84.245.120.101] has quit [Ping timeout: 240 seconds] 2023-05-26T04:15:47 -!- qyx [~qyx@84.245.121.114] has joined ##stm32 2023-05-26T05:39:10 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-26T05:47:31 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-26T06:21:08 -!- srk_ [~sorki@user/srk] has joined ##stm32 2023-05-26T06:24:07 -!- srk [~sorki@user/srk] has quit [Ping timeout: 268 seconds] 2023-05-26T06:24:07 -!- srk_ is now known as srk 2023-05-26T06:31:04 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-26T06:38:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:3518:d18:3e49:7556] has quit [Ping timeout: 248 seconds] 2023-05-26T06:38:32 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f81c:113f:35e5:fd50] has joined ##stm32 2023-05-26T07:38:28 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-26T08:04:31 -!- alan_o [~alan_o@2600:1700:1902:210f:22a9:73f7:2f7a:950a] has quit [Ping timeout: 240 seconds] 2023-05-26T08:10:30 -!- alan_o [~alan_o@172-7-159-77.lightspeed.dybhfl.sbcglobal.net] has joined ##stm32 2023-05-26T08:25:48 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-26T09:08:00 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f81c:113f:35e5:fd50] has quit [Ping timeout: 248 seconds] 2023-05-26T09:08:53 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f1a4:a620:f864:1647] has joined ##stm32 2023-05-26T09:12:31 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-26T09:19:37 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-26T09:30:48 < mawk> how does telephone number spoofing works 2023-05-26T09:40:33 < Steffanx> Jbo you can't even go into those bunkers. You have to take out our gold first 😝 2023-05-26T09:40:44 < jpa-> you get a subscription where you can send your own caller id, then you send your own caller id 2023-05-26T09:41:06 < jpa-> typically used for e.g. voip and for large buildings with their own telephone exchange 2023-05-26T09:41:55 < jpa-> sometimes you can also spoof it by faking in-band signalling, but i think with modern systems that rarely works 2023-05-26T09:44:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-26T09:45:11 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-26T10:02:43 < zyp> AIUI the reason spoofing is hard to combat is because roaming exists 2023-05-26T10:04:15 < zyp> when a call is originating from a foreign network and claiming to be from your number, there's not really any way to tell whether it's spoofed or if it's because your phone is roaming in their network 2023-05-26T10:05:36 < ventYl> well, i saw something, i'd call phone spoofing even not being in roaming 2023-05-26T10:05:54 < ventYl> moreover, i received SMS messages with spoofed sources, but this is probably trivial 2023-05-26T10:08:17 < jpa-> you don't have to be roaming yourself to receive calls from someone else who (claims to be) roaming 2023-05-26T10:09:50 < ventYl> interesting, that you can clam being roaming 2023-05-26T10:11:25 < zyp> you don't claim to be roaming, foreign network just says «hey, I've got a call from number 12345678» 2023-05-26T10:13:33 < zyp> and there's no way for other networks to check whether that's legitimate, and because roaming exists, you can't just whitelist a range of numbers that's supposed to exist in a network 2023-05-26T10:14:37 < ventYl> Hm, I guess, that support for operator-independent phone numbers makes this a bit more complicated 2023-05-26T10:15:07 < ventYl> when I moved my number from one operator to another, for some time, my number didn't exist for anyone who tried to call me from the old operator's network 2023-05-26T10:15:44 < zyp> compare to e.g. BGP peering, where AIUI it's pretty common to filter/whitelist which IP ranges you accept from a peer, at least for smaller peers 2023-05-26T10:16:27 < ventYl> phone numbers are in fact not even numbers :) 2023-05-26T10:16:45 < ventYl> I guess they are strings. This feature is simply not used to the full extent 2023-05-26T10:51:27 < mawk> because you can use * and # ? 2023-05-26T10:52:53 < mawk> in France each number is associated with a RIO number you can ask and then give to your new carrier to move the number around 2023-05-26T11:08:28 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-26T11:31:01 < ventYl> mawk: technically, you can use ASCII character set in "phone number". I see that fairly regularly with SMS messages 2023-05-26T12:07:22 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-26T12:14:25 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-26T12:18:45 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-26T12:25:55 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-26T13:04:51 < karlp> Steffanx: that was pretty savage for 7am :) 2023-05-26T13:05:37 < Steffanx> it was 8.40 am already here :P 2023-05-26T13:19:08 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-26T13:25:24 < boddax> here alredy 2024 2023-05-26T13:26:03 < jpa-> yeah, "AM" sounds like 1800s or something 2023-05-26T13:26:13 < Steffanx> Damn your Lamborghini is THAT fast boddax ? 2023-05-26T13:27:44 < boddax> too fast too spurious 2023-05-26T13:41:46 < karlp> meh, esp board is exactly the same speed writing, regardless of dio/dout/qio/qout 2023-05-26T13:42:12 < karlp> and, also, consistently 18.4 seconds flashing at 921600 baud, and 19.3 seconds at 1.5Mbaud.... 2023-05-26T13:42:19 < karlp> guess thats as good as it's getting. 2023-05-26T13:43:44 < zyp> flash speed? 2023-05-26T13:45:22 < zyp> have you checked erase sizes? from what I've seen, spi flashes tends to support multiple 2023-05-26T13:49:06 < karlp> requesting 40/80 makes no difference, flash id reported isn't listed in flashrom headers, so *shrugs* 2023-05-26T13:49:35 < karlp> not super important really, just not really used to how slow these big c++ projects are, feels like the 90s 2000s again at anotehr job 2023-05-26T14:05:13 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-26T14:23:34 < jbo> moin 2023-05-26T14:38:32 < Steffanx> Gooday sir mr jbo 2023-05-26T14:39:07 < jbo> good day to you goo, sir mr spice-stealer 2023-05-26T14:39:16 < zyp> the spice must flow 2023-05-26T14:43:54 < Steffanx> When is your birthday again jbo ? I must gift you a book about the amazing great dutch history it seems. 2023-05-26T14:44:09 < jbo> Steffanx, soon 2023-05-26T14:44:15 < jbo> Steffanx, I already got those books gifted (no joke) 2023-05-26T14:44:36 < jbo> one was even gifted to me by my girlfriend's boss who's very much a native swiss dude 2023-05-26T14:46:14 < Steffanx> When even your gf's boss gifts you such gift it means its very important 2023-05-26T14:48:16 < karlp> c++linking what, who lives like this?! 2023-05-26T14:51:48 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:f1a4:a620:f864:1647] has quit [Ping timeout: 240 seconds] 2023-05-26T14:52:24 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:6184:c25c:5d2d:38a3] has joined ##stm32 2023-05-26T16:04:00 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:6184:c25c:5d2d:38a3] has quit [Ping timeout: 248 seconds] 2023-05-26T16:15:19 < qyx> aisler accepted my RMA, it is a bug in kicad 7 2023-05-26T16:16:59 < qyx> when opening < kicad7 PCB in kicad 7, thermal spoke width is imported wrong (too thin) 2023-05-26T16:17:17 < qyx> you have to refill the PCB in kicad7 and save back 2023-05-26T16:23:13 < Steffanx> Lol qyx. 2023-05-26T16:25:04 < qyx> but, too late, jlc boards are already cleared for delivery 2023-05-26T16:25:32 < qyx> by the time they responded to my email, jlc was able to manufacture two designs and delivery them 2023-05-26T16:25:40 < qyx> *deliver 2023-05-26T16:26:41 < qyx> they are recommending me updating kikecad from 5.1.10 to something newer though 2023-05-26T16:29:46 < ventYl> well, at least they replied 2023-05-26T16:29:58 < ventYl> and apparently they were trying to find out what the problem really was 2023-05-26T16:35:05 < Steffanx> Use gerbers. Problem solved. 2023-05-26T16:41:42 < mawk> ublox SARA-R422S modem errors when you use lowercase letters in the hexadecimal 2023-05-26T16:41:53 < mawk> with a very descriptive message "ERROR" 2023-05-26T16:42:10 < mawk> it took me a while to try in uppercase, because that was way down on the list of potential reasons for the issue 2023-05-26T17:05:48 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-26T17:05:59 < Steffanx> I would bug Richard and see how long it takes he figures it out 2023-05-26T17:09:38 < qyx> hu dat richard 2023-05-26T17:15:16 < Steffanx> ublox FAE 2023-05-26T17:16:53 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-26T17:28:33 < karlp> 13:35 Use gerbers. Problem solved. 2023-05-26T17:28:36 < karlp> indeed. 2023-05-26T17:28:59 < Steffanx> I 2023-05-26T17:29:05 < karlp> didn't know you were still on 5.x though qyx! 2023-05-26T17:30:26 < Steffanx> qyx: Each time you bring this up im a little surrpised. You're quite strict usually, so im surprised you leave file generation to Aisler :P 2023-05-26T17:30:40 < Steffanx> and have joy with it all the time. 2023-05-26T17:31:07 < Steffanx> *fun 2023-05-26T17:31:08 < qyx> I just tried to be effective and leave out one step if they are making it automatically 2023-05-26T17:32:35 < qyx> I guess no fedex today 2023-05-26T17:32:54 < qyx> 1.5 of opening hours remaining 2023-05-26T17:53:13 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-26T18:24:22 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-26T18:25:42 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-26T18:41:07 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-26T18:41:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-26T18:59:40 < mawk> one of the ubloks modems is passing AT+CSIM commands to the SIM card, and fetches the response automatically; but another one doesn't and I have to issue GET RESPONSE myself 2023-05-26T19:00:04 < mawk> also one seemingly messes with the data because I have to add a dummy expected length of 0 in the commands to manage the logical channels 2023-05-26T19:00:07 < jpa-> what does the third one do? 2023-05-26T19:02:10 < mawk> who knows 2023-05-26T19:02:19 < mawk> what the twisted minds at ublox made 2023-05-26T19:05:07 < mawk> also I found a modem/sim card which doesn't accept partial application IDs, it wants the full thing which is specific to one provider 2023-05-26T19:05:23 < mawk> so I have to read it from the stupid directory on the SIM itself and add yet another layer to the plate of spaghetti 2023-05-26T19:06:08 < mawk> the ETSI doc says it has to accepted partial AIDs but apparently nobody cares about the standards 2023-05-26T19:09:20 < mawk> of course the fix of adding a dummy length on one of the modems is breaking the other modem which doesn't require it 2023-05-26T19:09:39 < mawk> the length of 00 is interpreted as 256 and the SIM card happily sends me junk from its memory: https://bpa.st/raw/QMRJ2 2023-05-26T19:09:54 < mawk> that sounds like a security vulnerability to me 2023-05-26T19:10:48 < mawk> maybe I can extract some keys from that 2023-05-26T19:11:49 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-26T19:51:08 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 2023-05-26T19:54:01 -!- [_] is now known as [itchyjunk] 2023-05-26T20:07:05 < ventYl> mawk: back when I was working on DVB-*, it was the same story. standard said something, hardware was doing something else 2023-05-26T20:09:57 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-26T20:14:19 -!- HelloShitty [~psysc0rpi@bl6-131-248.dsl.telepac.pt] has joined ##stm32 2023-05-26T20:28:06 < karlp> what wildly niche use hardware this is https://www.aliexpress.com/item/1005005378143852.html 2023-05-26T20:31:21 < zyp> haha, nice 2023-05-26T20:33:38 < karlp> there's a dedicated wake pin on pcie isn't there? 2023-05-26T20:33:51 < zyp> niche, sure, but a fairly big one, and it's not like it took a lot of engineering 2023-05-26T20:34:15 < karlp> oh yeah, it's a super clever idea, lots of people could use that sort of thing. 2023-05-26T20:34:21 < karlp> I kinda love it. 2023-05-26T20:34:26 < karlp> I have absolutely no use for it. 2023-05-26T20:34:44 < zyp> yeah, there's a signal for NICs to do WoL, but that requires the bios to be configured to listen for it 2023-05-26T20:34:49 < zyp> this is pretty idiot proof 2023-05-26T20:36:04 < karlp> just hit pin 11A or 11B, wake? and PERESET I guess 2023-05-26T20:40:06 < mawk> maybe it can do both 2023-05-26T20:48:16 < PaulFertser> zyp: sometimes not enabling WoL isn't enough to have it disabled and you need more serious measures: https://social.treehouse.systems/@marcan/110252202169575508 2023-05-26T20:50:15 < PaulFertser> zyp: as the wake PCIe pin functionality might be just unconditionally enabled for all slots, and WoL settings are specific to the cards themselves. 2023-05-26T20:50:34 < ColdKeyboard> Is there a script or some other non-cube way to use USB bootloader to update STM32F4, like with python script? 2023-05-26T20:50:56 < PaulFertser> ColdKeyboard: you mean like to start "dfu-util" program? 2023-05-26T20:51:19 < zyp> PaulFertser, I wouldn't rely on that being true for every motherboard out there 2023-05-26T20:51:25 < ColdKeyboard> Yeah, for example if I want to program a STM32F4 that is connected via USB on a server machine with no GUI/IO 2023-05-26T20:51:44 < PaulFertser> zyp: agreed 2023-05-26T20:51:57 < PaulFertser> ColdKeyboard: sounds like a job for "dfu-util" then. 2023-05-26T20:54:42 < ColdKeyboard> Thanks. Let me google tat :) 2023-05-26T20:58:24 < mawk> ColdKeyboard the protocol is documented by st 2023-05-26T20:58:35 < mawk> and they offer a dll and tools to do ot 2023-05-26T20:58:36 < mawk> it 2023-05-26T20:59:35 < mawk> via USB it's dfu so it's also standard 2023-05-26T21:00:20 < zyp> for some value of «standard» 2023-05-26T21:02:20 < mawk> https://www.st.com/resource/en/application_note/cd00264379-usb-dfu-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdf 2023-05-26T21:03:07 < zyp> yeah, they're using nonstandard DFU extensions 2023-05-26T21:04:31 < zyp> standard DFU is just a protocol to deliver a firmware image, doesn't care what it is and how the device interprets it 2023-05-26T21:04:43 < PaulFertser> dfu-util supports that "dfuse" since long 2023-05-26T21:04:50 < zyp> yep 2023-05-26T21:08:49 < mawk> my french carrier has some cool authentication technique to log in on the website 2023-05-26T21:08:50 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 265 seconds] 2023-05-26T21:09:01 < mawk> it shows a popup on your phone and you have to press ok 2023-05-26T21:09:11 < mawk> but there is no application from them on my phone 2023-05-26T21:09:19 < mawk> so they must be doing that with the simcard 2023-05-26T21:09:37 < mawk> my guess is that they send a command to the card via a SMS 2023-05-26T21:09:45 < mawk> and then simtoolkit is used to show a dialog 2023-05-26T21:10:45 < specing> y 2023-05-26T21:11:11 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-26T21:11:16 < mawk> the OS is instructed to hide these SMS from the user 2023-05-26T21:11:24 < mawk> but if the phone was rooted you could look inside 2023-05-26T21:11:26 < zyp> I've been logging into my bank that way for a decade and a half or so 2023-05-26T21:11:41 < mawk> it would be encrypted though, at least signed with the OTA key 2023-05-26T21:11:42 < zyp> since before I had a smartphone 2023-05-26T21:12:04 < mawk> so the bank partners with the carrier to do that? 2023-05-26T21:12:19 < mawk> I don't think the bank has direct access to the precious keys 2023-05-26T21:13:33 < mawk> the NSA hacked Gemalto some time ago to get their hands on these keys for billions of SIMs 2023-05-26T21:13:47 < mawk> but no retaliation from the dutch government 2023-05-26T21:13:53 < mawk> you should protest Steffanx 2023-05-26T21:15:37 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-26T21:16:11 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-26T21:27:28 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-26T22:05:59 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-26T22:20:39 < Steffanx> No 2023-05-26T22:21:05 -!- dima_ is now known as dima 2023-05-26T22:23:29 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 256 seconds] 2023-05-26T22:31:53 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Ping timeout: 245 seconds] 2023-05-26T22:38:36 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-26T22:39:31 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-26T23:37:33 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-26T23:52:41 < karlp> mawk: ~all of iceland uses sim based auth for ~all websites in iceland. 2023-05-26T23:53:58 < mawk> nice 2023-05-26T23:54:06 < mawk> the french carrier only introduced it this year 2023-05-26T23:54:20 < mawk> how does it work though then? the carriers expose some API? 2023-05-26T23:56:23 * karlp shrugs 2023-05-26T23:56:32 < karlp> I mean, it's all just "special" sms's behind the scenes... 2023-05-26T23:58:20 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-26T23:58:28 < nomorekaki> 2minutes early hello 2023-05-26T23:58:30 < mawk> yeah 2023-05-26T23:58:35 < mawk> but it's handled by the SIM 2023-05-26T23:58:39 < mawk> not by the phone 2023-05-26T23:59:06 < mawk> and to talk to the SIM you need either an application preinstalled on it that can talk your protocol, or the super secret OTA key 2023-05-26T23:59:09 < Steffanx> Have some musics for you nomorekaki. One moment 2023-05-26T23:59:21 < mawk> probably they preinstall the application on all islandish sims 2023-05-26T23:59:48 < nomorekaki> Steffanx: quiiccckk 2023-05-26T23:59:57 < nomorekaki> musicss! --- Day changed la touko 27 2023 2023-05-27T00:00:17 < ventYl> don't drop bombs drop acid 2023-05-27T00:00:18 < Steffanx> https://youtu.be/_ovZsti4eFc you're welcome 2023-05-27T00:00:31 < karlp> the sims are special, we all needed new sims when it was introduced. 2023-05-27T00:00:37 < karlp> so the app was preinstalled on the sim 2023-05-27T00:01:59 < mawk> in dutchland we have "digid" which uses a username/password combo, but they're deprecating that 2023-05-27T00:01:59 < karlp> https://island.is/en/o/digital-iceland/island-services/authentication-system 2023-05-27T00:02:14 < karlp> they have added an app layer option for it too, these days. 2023-05-27T00:02:15 < mawk> now you need a phone that is tied to the digid account, or you can use a nfc reader and your ID card 2023-05-27T00:02:31 < mawk> or sms verification I think also 2023-05-27T00:02:39 < mawk> the id card thing is pretty cool 2023-05-27T00:02:52 < mawk> on any computer or phone you can log in provided you have your id and that's it 2023-05-27T00:03:05 < mawk> using the PACE protocol to talk to it via NFC 2023-05-27T00:03:08 < karlp> (it's fun though, island.is is on AWS, which, surprise!, has no presence in iceland) 2023-05-27T00:03:17 < mawk> lol 2023-05-27T00:03:26 < mawk> I hope the data is at least in Europe 2023-05-27T00:03:32 < karlp> (which is fine, whatever, until people start talking about sovereignty and security of the nation in the face of russians cutting sea cables... 2023-05-27T00:03:39 < mawk> lol 2023-05-27T00:04:28 < karlp> there's some hosting here, but not a lot, you've got to _really_ want to host locally, save those 37ms or so... 2023-05-27T00:06:30 < zyp> mawk, same thing here, app is preinstalled on sim 2023-05-27T00:06:41 < zyp> it's being phased out though 2023-05-27T00:06:49 < karlp> what are you replacing it with? 2023-05-27T00:06:55 < mawk> is the spec available? 2023-05-27T00:06:56 < zyp> phone app 2023-05-27T00:08:02 < zyp> they stopped issuing new ones a few months ago, so once mine expires, it's over 2023-05-27T00:08:44 < zyp> I'm a bit reluctant to change, because so far the new app has been more hassle 2023-05-27T00:09:07 < zyp> although I think they've enabled the ability to use biometrics in the app now, that should help 2023-05-27T00:17:38 < nomorekaki> Steffanx: no 2023-05-27T00:17:58 < Steffanx> Haha 2023-05-27T00:19:56 < mawk> [23:00:31] the sims are special, we all needed new sims when it was introduced. 2023-05-27T00:20:02 < mawk> it's possible to install apps on SIMs remotely though 2023-05-27T00:20:15 < mawk> but maybe the SIMs needed an upgrade like a better secure element or more memory or something 2023-05-27T00:22:10 < mawk> like for the "NFC SIMs" 2023-05-27T00:22:16 < mawk> I still haven't elucidated what's special about them 2023-05-27T00:24:21 < jbo> mawk, are SIMs similar to "RFID tag" as in one can just purchase them and program whatever on them? 2023-05-27T00:25:17 < mawk> kinda 2023-05-27T00:25:23 < mawk> but it will be useless 2023-05-27T00:25:31 < mawk> and it's quite hard to find blank SIMs with all the keys 2023-05-27T00:25:41 < zyp> consumer mode eSIMs are like that 2023-05-27T00:25:43 < mawk> usually it's only for carriers and very niche applications, not people 2023-05-27T00:26:19 < zyp> the only blank sim that's potentially useful to you is a consumer mode eSIM 2023-05-27T00:26:25 < mawk> yeah 2023-05-27T00:26:42 < qyx> I will be very pleased if an actual SIM/SAM with a nothing more than some pkcs11 or pkcs15 app is buyable 2023-05-27T00:27:22 < qyx> it is the age of eye-oh-tea and security is becoming mandated 2023-05-27T00:27:34 < qyx> yet there is noting great and free and open to support it 2023-05-27T00:27:57 < qyx> even a smartcard OS for trustzone would be sufficient 2023-05-27T00:28:10 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-27T00:28:39 < zyp> qyx, something like TF-M? 2023-05-27T00:28:53 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 246 seconds] 2023-05-27T00:28:55 < mawk> qyx: the SIMs we get in my company have a PKCS15 app on t 2023-05-27T00:29:07 < qyx> I don't think tf-m is the thing I am expecting 2023-05-27T00:29:09 < mawk> alongisde the USIM application 2023-05-27T00:29:33 < mawk> so it's already being done 2023-05-27T00:29:42 < qyx> zyp: a firmware providing TPM/SAM functionality, to make a dedicated trusted element out of a common stm32 2023-05-27T00:29:57 < qyx> something like those atecc608a's 2023-05-27T00:30:03 < qyx> or TPMs 2023-05-27T00:30:11 < mawk> you can buy a regular PKCS#15 smartcard and cut it to SIM format qyx 2023-05-27T00:30:22 < mawk> and then the implementation for the client is fairly simple 2023-05-27T00:30:38 < qyx> yeah but they don't support modern crypto 2023-05-27T00:30:52 < qyx> hence I am considering trustzone + software impl 2023-05-27T00:32:02 < mawk> https://www.smartcard-hsm.com/ 2023-05-27T00:32:08 < mawk> modern SIM cards support AES 2023-05-27T00:32:11 < mawk> that's modern enough 2023-05-27T00:32:16 < qyx> no it is not 2023-05-27T00:32:30 < mawk> and for public key stuff they also do ECC 2023-05-27T00:32:31 < mawk> not just RSA 2023-05-27T00:32:34 < qyx> and aes alone is useless for 90% of applications 2023-05-27T00:35:59 < qyx> hm, that HSM is not bad 2023-05-27T00:36:55 < qyx> pretty expensive 2023-05-27T00:37:06 < mawk> https://www.cardomatic.de/en/p/mifare-sam-av2 2023-05-27T00:37:09 < mawk> what about this qyx 2023-05-27T00:37:16 < mawk> it's a SAM in smartcard format 2023-05-27T00:37:23 < mawk> it looks pretty nice 2023-05-27T00:37:28 < mawk> but yeah it's expensive 2023-05-27T00:47:58 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-27T00:50:10 < karlp> mawk: it might _technically_ be able to install new apps on sims remotely, but that was clearly deemed non-viable, 2023-05-27T00:50:42 < karlp> I imagine the stew of legacy sims would have meant it would have failed sufficiently often that to keep things simple for a big national program (but privatised of course,... of course) to just replace them all 2023-05-27T00:52:28 < mawk> yeah 2023-05-27T01:31:25 < karlp> heh, lots of the esp-idf v4->v5 changes are fixing typos they made in #defines years ago 2023-05-27T01:39:13 < qyx> wut is svalbard (band) 2023-05-27T01:39:52 < qyx> post-hardcore, post-metal, never heard of those 2023-05-27T01:39:57 < qyx> kakimusiks 2023-05-27T01:41:07 < karlp> speaking of kakimusics, I watched the music video for cha cha cha with the kids tonight, and it had the lyrics in english underneath 2023-05-27T01:41:15 < karlp> wow, quite a change in understanding :) 2023-05-27T01:41:26 < karlp> I now also appreciate the mood change in it more 2023-05-27T01:48:31 < qyx> also lold much at paki lunar lander fail 2023-05-27T01:48:42 < qyx> radar sensor fusion software error 2023-05-27T01:49:09 < qyx> no out of propellant as was though 2023-05-27T01:49:52 < qyx> djsnm talks about it in the recent video 2023-05-27T02:29:31 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-27T02:46:41 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 265 seconds] 2023-05-27T03:01:41 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-27T03:11:53 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-27T04:27:23 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has joined ##stm32 2023-05-27T04:31:48 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 2023-05-27T04:35:32 -!- perdmann_ [~patrick@nostromo.0x47.net] has joined ##stm32 2023-05-27T04:35:44 -!- polprog_ [~ath0@user/polprog] has joined ##stm32 2023-05-27T04:43:03 -!- Netsplit *.net <-> *.split quits: tkoskine_, perdmann, Kamilion, zyp, polprog 2023-05-27T04:48:17 -!- Netsplit over, joins: Kamilion, zyp, tkoskine_ 2023-05-27T04:48:17 -!- Kamilion [kamilion@copper.sllabs.com] has quit [Max SendQ exceeded] 2023-05-27T04:50:38 -!- Kamilion [kamilion@copper.sllabs.com] has joined ##stm32 2023-05-27T05:03:12 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 248 seconds] 2023-05-27T05:04:39 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-27T05:05:13 -!- ferdna [~ferdna@user/ferdna] has quit [Client Quit] 2023-05-27T05:06:03 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-27T05:06:58 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-27T06:04:12 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has joined ##stm32 2023-05-27T06:19:48 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 240 seconds] 2023-05-27T07:19:46 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-27T07:21:42 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-27T08:49:41 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-27T09:17:48 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-27T09:53:39 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:d5bc:d622:b6ec:7a9b] has joined ##stm32 2023-05-27T09:53:39 -!- Thorn [~Thorn@2001:8a0:dfc1:9500:d5bc:d622:b6ec:7a9b] has quit [Changing host] 2023-05-27T09:53:39 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-27T11:37:53 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-27T11:46:39 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-27T12:06:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-27T12:07:10 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-27T12:17:58 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has quit [Read error: Connection reset by peer] 2023-05-27T12:32:55 -!- PsySc0rpi0n [~PsySc0rpi@bl15-210-98.dsl.telepac.pt] has quit [Ping timeout: 256 seconds] 2023-05-27T13:39:07 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-27T14:27:15 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-27T14:31:25 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-27T14:33:57 -!- kraiskil [~kraiskil@mob-194-230-148-197.cgn.sunrise.net] has joined ##stm32 2023-05-27T14:36:42 < jbo> whoooop 2023-05-27T14:39:09 < Steffanx> Whop 2023-05-27T14:46:30 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-27T15:06:58 -!- kraiskil [~kraiskil@mob-194-230-148-197.cgn.sunrise.net] has quit [Ping timeout: 268 seconds] 2023-05-27T15:32:48 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 240 seconds] 2023-05-27T17:14:21 -!- kraiskil [~kraiskil@mob-194-230-161-218.cgn.sunrise.net] has joined ##stm32 2023-05-27T17:38:18 -!- kraiskil [~kraiskil@mob-194-230-161-218.cgn.sunrise.net] has quit [Read error: Connection reset by peer] 2023-05-27T17:55:02 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-27T18:10:54 -!- kraiskil_ [~kraiskil@mob-194-230-161-218.cgn.sunrise.net] has joined ##stm32 2023-05-27T18:12:28 -!- kraiskil [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 240 seconds] 2023-05-27T18:17:47 -!- kraiskil_ [~kraiskil@mob-194-230-161-218.cgn.sunrise.net] has quit [Read error: Connection reset by peer] 2023-05-27T18:23:38 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-27T18:28:16 -!- kraiskil_ [~kraiskil@mob-194-230-148-197.cgn.sunrise.net] has joined ##stm32 2023-05-27T19:02:52 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-27T19:09:45 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-27T19:15:00 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 250 seconds] 2023-05-27T19:38:58 -!- kraiskil_ is now known as kraiskil 2023-05-27T20:08:03 -!- kraiskil_ [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-27T20:12:13 -!- kraiskil [~kraiskil@mob-194-230-148-197.cgn.sunrise.net] has quit [Ping timeout: 268 seconds] 2023-05-27T21:32:01 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-27T22:43:16 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-27T22:47:02 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-27T23:08:35 -!- kraiskil_ [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 268 seconds] 2023-05-27T23:14:54 -!- Luggi09498284764 [~lux@ip5b4231bc.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer] 2023-05-27T23:35:12 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 248 seconds] 2023-05-27T23:37:01 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-27T23:48:08 < Steffanx> Good talk, jbo :) --- Day changed su touko 28 2023 2023-05-28T01:08:32 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-28T01:08:35 < Laurence_b> https://nitter.cz/pic/enc/bWVkaWEvRnhGakxGMVdJQUFrbU1JLmpwZz9uYW1lPXNtYWxsJmZvcm1hdD13ZWJw 2023-05-28T01:10:04 < specing> I'm not a consipacy theorist, but Gates definetely would if he could increase profits that way 2023-05-28T01:39:52 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Quit: Client closed] 2023-05-28T01:51:22 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-28T02:29:00 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 268 seconds] 2023-05-28T02:32:23 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [Ping timeout: 240 seconds] 2023-05-28T04:18:28 -!- qyx [~qyx@84.245.121.114] has quit [Ping timeout: 240 seconds] 2023-05-28T04:20:46 -!- qyx [~qyx@84.245.120.240] has joined ##stm32 2023-05-28T05:00:39 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-28T05:27:32 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-28T07:03:01 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 256 seconds] 2023-05-28T07:17:16 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-28T07:34:24 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-28T07:57:31 -!- CygniX_ [~CygniX@2a01:8740:1:727:4e:80:7f:2d] has left ##stm32 [Konversation terminated!] 2023-05-28T07:59:38 -!- CygniX [~CygniX@user/CygniX] has joined ##stm32 2023-05-28T08:55:21 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-28T08:56:08 < ColdKeyboard> zyp For the bootloader, will chainload() work from anyhere (outside ISR)? 2023-05-28T08:56:39 < ColdKeyboard> For some reason it stopped working since I have moved it to static function 2023-05-28T09:14:17 < ColdKeyboard> Also what is the best way to debug the bootloader and the app when they are both flashed? 2023-05-28T09:33:03 < ColdKeyboard> Nevermind, seems like the app was having issues not the bootloader... 2023-05-28T09:33:12 < ColdKeyboard> I guess I have to figure out how to debug both :\ 2023-05-28T09:52:17 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-28T10:33:04 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-28T10:50:03 -!- rajkohaxor [~rajkosto@109-93-203-15.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-28T10:52:44 -!- rajkosto [~rajkosto@178-222-74-147.dynamic.isp.telekom.rs] has quit [Ping timeout: 250 seconds] 2023-05-28T10:52:53 -!- rajkohaxor [~rajkosto@109-93-203-15.dynamic.isp.telekom.rs] has quit [Client Quit] 2023-05-28T11:32:49 < jpa-> ColdKeyboard: you can switch file you get debug symbols from with "file" command on the fly in gdb 2023-05-28T11:33:21 < jpa-> depending on how you set up compilation, you can also have all debug symbols in single .elf, but that easily gives symbol name conflicts 2023-05-28T11:34:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-28T12:37:10 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has joined ##stm32 2023-05-28T12:47:01 < zyp> what jpa- said 2023-05-28T12:50:27 < zyp> you could also set breakpoints on specific addrs outside the current elf, e.g. chainload() or the b-instruction at the end of chainload() 2023-05-28T12:50:58 < zyp> that way you could have the application loaded, but break right before you step into the application 2023-05-28T12:51:46 < zyp> chainload() is only three instructions or so anyway, so as long as you know where it is, you can recognize what's going on from the disassembly view in gdb 2023-05-28T13:53:34 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has joined ##stm32 2023-05-28T14:07:29 < Laurence_b> https://www.insider.com/chris-chan-incest-charge-released-from-custody-by-court-order-2023-3 2023-05-28T14:07:39 < Laurence_b> new sonichu episodes when 2023-05-28T15:10:16 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Killed (NickServ (GHOST command used by Spirit5328))] 2023-05-28T15:10:21 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-28T15:53:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-28T16:11:28 -!- Laurence_b [~Laurence_@182.141.208.46.dyn.plus.net] has quit [Ping timeout: 245 seconds] 2023-05-28T17:06:27 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-28T17:07:45 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 268 seconds] 2023-05-28T17:07:55 -!- duude__- is now known as duude__ 2023-05-28T17:29:38 < jbo> zyp, ping 2023-05-28T17:29:55 < zyp> sup? 2023-05-28T17:30:13 < jbo> zyp, I have no idea what to do with pin PA_LSDG: https://www.ti.com/lit/ds/symlink/tps25762-q1.pdf 2023-05-28T17:30:38 < jbo> schematic at page 9 of the EVM/EVK: https://www.ti.com/lit/ug/slvuc03/slvuc03.pdf 2023-05-28T17:31:03 < jbo> they tie it with a 0R to PB_VBUS but that is not even pupulated on the TPS25762 version 2023-05-28T17:31:14 < jbo> any ideas? 2023-05-28T17:31:34 < zyp> > Charge pump output for external NFET for VBUS bulk capacitance blocking. 2023-05-28T17:31:40 < jbo> I got that far. 2023-05-28T17:35:04 < zyp> doesn't look like something you need 2023-05-28T17:35:15 < jbo> I agree. thanks for having a look! 2023-05-28T17:39:54 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-28T17:59:13 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-28T18:31:02 < karlp> lol, filtering my downloads folder with a partial file name in the file upload thing in firefox crashes on my "big" downloads folder 2023-05-28T18:31:06 < karlp> well done firefox 2023-05-28T18:47:54 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-28T18:58:55 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-28T19:04:00 -!- josuah [~josuah@46.23.94.12] has quit [Quit: josuah] 2023-05-28T19:04:39 -!- josuah [~josuah@46.23.94.12] has joined ##stm32 2023-05-28T19:07:04 -!- begriffs [~begriffs@user/begriffs] has quit [Quit: Leaving] 2023-05-28T19:08:11 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 265 seconds] 2023-05-28T19:24:26 -!- Mangy_Dog [~Mange@user/mangy-dog/x-7397214] has quit [] 2023-05-28T19:40:48 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 240 seconds] 2023-05-28T19:42:36 -!- hackkitten [~hackkitte@94.31.98.136] has quit [Remote host closed the connection] 2023-05-28T19:42:49 -!- hackkitten [~hackkitte@94.31.98.136] has joined ##stm32 2023-05-28T20:52:14 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-28T21:15:45 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-28T21:36:30 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-28T21:39:51 -!- begriffs [~begriffs@user/begriffs] has quit [Client Quit] 2023-05-28T21:46:30 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-28T22:28:46 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 265 seconds] 2023-05-28T22:40:02 < nomorekaki> early early 2023-05-28T22:48:53 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-28T23:00:18 < nomorekaki> Steffanx: did you watch movie of The Queen? 2023-05-28T23:01:13 < nomorekaki> "Bohemian Rhapsody" 2023-05-28T23:17:49 < Steffanx> nope 2023-05-28T23:18:40 < Steffanx> For some reason im not a fan of this actor.. Rami Malek 2023-05-28T23:39:47 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 256 seconds] --- Day changed ma touko 29 2023 2023-05-29T00:23:39 < Steffanx> Why sir nomorekaki ? 2023-05-29T00:24:07 < nomorekaki> no reason 2023-05-29T00:42:17 < Steffanx> Alright. Need some more arnie music nomorekaki ? 2023-05-29T00:42:31 < Steffanx> He does great as Whitney Houston 2023-05-29T00:42:36 < nomorekaki> no 2023-05-29T00:42:52 < nomorekaki> only the good mosics 2023-05-29T00:43:42 < Steffanx> Did you humour leave with winter? 2023-05-29T00:45:56 < nomorekaki> if you havent noticed it has been fading for a while 2023-05-29T00:50:57 < Steffanx> Oh dear. 2023-05-29T00:51:23 < Steffanx> You're not actually becoming a grown up are you? 2023-05-29T00:57:30 < Steffanx> Just be alright Mr nomorekaki :) 2023-05-29T00:59:13 < ventYl> maybe it is caused by suicidal thoughts rooting in bmwium electrics/electronics 2023-05-29T01:01:06 < nomorekaki> car is fine 2023-05-29T01:02:06 < ventYl> does water pump cooperate with you already? 2023-05-29T01:07:19 < nomorekaki> not yet 2023-05-29T01:19:41 < Steffanx> Time to sleep nomorekaki 2023-05-29T02:11:50 -!- begriffs [~begriffs@user/begriffs] has joined ##stm32 2023-05-29T02:45:49 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-29T02:59:29 < zyp> qyx, IIRC you've talked about smaller ethernet connectors before, are there any worthwhile ones? 2023-05-29T04:52:23 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-29T04:53:17 -!- duude__ [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-29T05:00:53 < ColdKeyboard> In the bootloader, do you guys use usart interrupt for bootloader to make sure you "don't miss" characters from the host or you basically rely on send->wait_for_response->send... ? 2023-05-29T05:04:56 < zyp> good question, I don't think I've done any bootloaders that use a protocol without flow control yet 2023-05-29T05:06:00 < zyp> I think for a uart based protocol, it doesn't really matter 2023-05-29T05:07:11 < zyp> if you do a command-response protocol, the host would send a command and wait for a response before sending another, and that in itself would give you a form of flow control 2023-05-29T05:08:31 < zyp> then the device could just sit polling the uart in a loop while it's idle, which would work just as well as interrupts, and when it's busy executing a command, it's not expecting to receive anything before it has sent the response anyway 2023-05-29T05:09:33 < zyp> in other words, it's not really worthwhile to use interrupts unless you want to do something else (or sleep) while you're receiving 2023-05-29T05:16:38 < ColdKeyboard> That makes sense. I'm having minor issues with the 'state-machine' that I'll have to fix and I was wondering if ISR would benefit at all but it seems like simple challenge-reseponse format might be sufficient 2023-05-29T05:53:55 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-29T05:57:31 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Ping timeout: 240 seconds] 2023-05-29T06:02:22 -!- [_] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-29T07:46:08 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 240 seconds] 2023-05-29T08:10:13 < jpa-> ColdKeyboard: typically while(1) { if (got_byte()) { handle_byte(); } } busyloop can handle data faster than void usart_irq() { handle_byte(); } because interrupt enter & exit takes 12+ cycles each 2023-05-29T08:10:45 < jpa-> void usart_irq() { append_to_queue(get_byte()); } can be faster though, but at that point you could as well use DMA 2023-05-29T08:19:02 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-29T08:22:49 -!- machinehum [~machinehu@s0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-05-29T08:31:12 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-29T08:54:23 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 2023-05-29T08:54:31 -!- Thorn [~Thorn@user/thorn] has quit [Quit: Always try to be modest, and be proud about it!] 2023-05-29T09:00:19 -!- Netsplit *.net <-> *.split quits: Steffanx, Kamilion, LFSveteran, mid-kid, kitzman 2023-05-29T09:00:25 -!- Netsplit over, joins: LFSveteran 2023-05-29T09:00:29 -!- Netsplit over, joins: mid-kid 2023-05-29T09:00:47 -!- Netsplit over, joins: Steffanx 2023-05-29T09:02:47 -!- Kamilion [kamilion@copper.sllabs.com] has joined ##stm32 2023-05-29T09:02:51 -!- kitzman [~kitzman@user/dekenevs] has joined ##stm32 2023-05-29T09:43:26 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-29T09:47:42 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has quit [Ping timeout: 250 seconds] 2023-05-29T10:09:18 -!- veverak [~veverak@ip-89-102-215-57.bb.vodafone.cz] has joined ##stm32 2023-05-29T11:37:46 < qyx> zyp: RJ45? 2023-05-29T11:38:40 < qyx> TE RJULE series looks very good, designing a board with it 2023-05-29T11:38:42 < qyx> two actually 2023-05-29T11:39:14 < qyx> M-RJULE-4X181-01-REVT1.STEP 2023-05-29T11:39:51 < qyx> it is "submerged" into the PCB but otherwise doesn't need any extra clearance from the bottom 2023-05-29T11:40:56 < qyx> https://bin.jvnv.net/file/diXRi/Screenshot_2023-05-29_10-40-41.png 2023-05-29T12:53:06 < zyp> ah, that looks nice for that purpose 2023-05-29T12:53:29 < zyp> but I was thinking smaller stuff like RJ point five, or SPE connectors 2023-05-29T12:56:02 < qyx> oh still in a need, I am waiting for the ultimate solution, LC 2023-05-29T12:56:32 < qyx> I couldn't find anything suitable except half-proprietary ones like Harting's 2023-05-29T12:56:52 < zyp> yeah, LC-CU looks like the most compact option for SPE 2023-05-29T12:59:28 < zyp> but doesn't seem to be available 2023-05-29T13:00:02 < qyx> and LC-CU is not protected, so I need a protected one too 2023-05-29T13:00:51 < qyx> I couldn't find any suitable standard for M8/M12 in the past, maybe there is one now 2023-05-29T13:01:01 < qyx> I wanted to use 3-pin M12 2023-05-29T13:01:36 < zyp> there's some on mouser already, both plain SPE and hybrid SPE+power 2023-05-29T13:03:02 < zyp> https://eu.mouser.com/new/te-connectivity/te-connectivity-spe-ip67/ https://eu.mouser.com/new/te-connectivity/te-spe-m8-hybrid-cordsets/ 2023-05-29T13:04:14 < qyx> the coding is not standard though? 2023-05-29T13:04:56 < qyx> even the atasheet is wrong 2023-05-29T13:06:02 < qyx> re they kidding 389 € for a 40 m cable? 2023-05-29T13:06:34 < zyp> yeah, that's the problem with M8/M12, they're $$$$ 2023-05-29T13:06:56 < qyx> but not that $$$ 2023-05-29T13:07:13 < zyp> if you want anything but A key, it gets more expensive 2023-05-29T13:07:25 < qyx> I can pay 15€ for a connector but not 400 € for a cable 2023-05-29T13:07:32 < qyx> the cable is 1 €/m 2023-05-29T13:08:45 < qyx> I guess you can get custom mate shielded single pair cable with M8 A-coded 3 pin for 1/4 the price 2023-05-29T13:08:48 < qyx> *made 2023-05-29T13:09:20 < qyx> or even buy a molding machine a pay a worker for 10 cables or so 2023-05-29T13:09:37 < qyx> incredible industrial world 2023-05-29T14:08:14 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:64bf:36bb:8c93:33c3] has joined ##stm32 2023-05-29T15:38:20 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:64bf:36bb:8c93:33c3] has quit [Ping timeout: 246 seconds] 2023-05-29T15:38:33 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1153:6bbd:a469:6c2f] has joined ##stm32 2023-05-29T15:44:19 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Quit: Konversation terminated!] 2023-05-29T15:46:13 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-29T16:08:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1153:6bbd:a469:6c2f] has quit [Ping timeout: 240 seconds] 2023-05-29T16:08:29 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:352c:5280:1eb7:308b] has joined ##stm32 2023-05-29T16:24:53 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:352c:5280:1eb7:308b] has quit [Ping timeout: 246 seconds] 2023-05-29T16:25:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b914:bdfc:5839:5755] has joined ##stm32 2023-05-29T16:30:31 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:b914:bdfc:5839:5755] has quit [Ping timeout: 240 seconds] 2023-05-29T16:30:53 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:6df9:1c40:781b:8cf7] has joined ##stm32 2023-05-29T16:54:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:6df9:1c40:781b:8cf7] has quit [Ping timeout: 240 seconds] 2023-05-29T16:55:04 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:712b:7513:9a16:57b5] has joined ##stm32 2023-05-29T17:13:58 -!- Posterdati [~Posterdat@user/Posterdati] has quit [Ping timeout: 265 seconds] 2023-05-29T17:13:58 -!- chiptuner [~bobby@user/chiptuner] has quit [Ping timeout: 265 seconds] 2023-05-29T17:14:00 -!- hexo_ [~hexo@user/hexo] has joined ##stm32 2023-05-29T17:14:13 -!- chiptuner [~bobby@user/chiptuner] has joined ##stm32 2023-05-29T17:14:27 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 265 seconds] 2023-05-29T17:14:27 -!- hexo__ [~hexo@user/hexo] has quit [Ping timeout: 265 seconds] 2023-05-29T17:16:27 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-05-29T17:17:36 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:712b:7513:9a16:57b5] has quit [Ping timeout: 248 seconds] 2023-05-29T17:18:25 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:78ec:4366:4b9b:7d83] has joined ##stm32 2023-05-29T17:23:01 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:78ec:4366:4b9b:7d83] has quit [Ping timeout: 240 seconds] 2023-05-29T17:23:55 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1575:ac07:6db0:2d4f] has joined ##stm32 2023-05-29T17:26:22 -!- Posterdati [~Posterdat@user/Posterdati] has joined ##stm32 2023-05-29T17:45:31 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:1575:ac07:6db0:2d4f] has quit [Ping timeout: 240 seconds] 2023-05-29T17:46:42 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4cb9:7648:e925:e07c] has joined ##stm32 2023-05-29T17:47:29 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4cb9:7648:e925:e07c] has quit [Remote host closed the connection] 2023-05-29T17:47:53 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4cb9:7648:e925:e07c] has joined ##stm32 2023-05-29T17:53:08 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:4cb9:7648:e925:e07c] has quit [Ping timeout: 240 seconds] 2023-05-29T17:54:13 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d181:af4a:af2a:f4ea] has joined ##stm32 2023-05-29T19:11:24 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-29T19:53:44 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-29T19:57:46 < boddax> any easy to find adc 12bit serial 4channel atleast 1000sps and SPI ? 2023-05-29T20:58:31 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 240 seconds] 2023-05-29T21:08:42 -!- machinehum [~machinehu@2604:3d08:937f:cf00::9dfc] has joined ##stm32 2023-05-29T21:32:04 -!- machinehum [~machinehu@2604:3d08:937f:cf00::9dfc] has quit [Ping timeout: 265 seconds] 2023-05-29T21:34:02 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has joined ##stm32 2023-05-29T21:37:17 < jpa-> boddax: why not just use the search on any distributor site? 2023-05-29T21:39:37 < jpa-> MCP3204 is probably the most classic choice 2023-05-29T21:40:06 < boddax> just to check wich adc commonly used from many developers so that a lot of code as example 2023-05-29T21:41:31 < boddax> microchip 3204 good choice 2023-05-29T21:51:48 < qyx> idk I have never used such low spec ADC 2023-05-29T21:52:23 < qyx> for 12-14 bit just use the internal one 2023-05-29T21:53:01 < qyx> the only possible reason to use an external SPI 12 bit ADC is galvanic isolation 2023-05-29T21:58:21 < boddax> yes Galbanic isolation important thing 2023-05-29T22:01:03 < boddax> when the digital conversion is done of A readig input channel the a pin with a logic signal state change from adc itself ? 2023-05-29T22:03:48 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:d181:af4a:af2a:f4ea] has quit [Ping timeout: 240 seconds] 2023-05-29T22:03:57 < boddax> i mean ex. if you want read from all v4 channele how you know the first read is done? by signal or timing delay? 2023-05-29T22:07:11 < jpa-> did you pass your text through DAC->ADC or how did it end up so corrupted? 2023-05-29T22:13:01 < boddax> working on mux for al 4 channel in vhdl 2023-05-29T22:15:06 < boddax> actually 1 ch working but don't know mechanism to switch to next ch when the first is done with data ready 2023-05-29T22:15:24 < qyx> it depends on the ADC 2023-05-29T22:15:37 < qyx> it is written in the datasheet 2023-05-29T22:16:36 < boddax> ads1115 use 3 bits all right 100 101 111 into 16bit config sent to sda ..but how implements thats difficoult 2023-05-29T22:27:43 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-29T22:30:16 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] --- Day changed ti touko 30 2023 2023-05-30T00:32:54 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 2023-05-30T00:58:57 < karlp> I don't suppose anyone has a link to a crimp tool like this generic replaceable jaw shit: https://www.aliexpress.com/item/33050785057.html but suitable for JST GH / SH (1.5mm and 1.25mm pitch parts?) 2023-05-30T00:59:04 < karlp> all the ones I can find are for bigger stuff 2023-05-30T01:13:27 < zyp> karlp, I think mine does 2023-05-30T01:16:44 < zyp> https://www.nejisaurus.engineer.jp/_files/ugd/104650_594335d26d724883affcaa8929df7c19.pdf 2023-05-30T01:16:54 < zyp> I got the set with all three PAD dies: https://www.engineertools-jp.com/pad02 2023-05-30T01:17:23 < qyx> reminds me of hevisaurus 2023-05-30T01:17:35 < zyp> https://www.tme.eu/rs/en/details/fut.pad-02/crimping-tools-others/engineer/pad-02/ 2023-05-30T01:18:18 < qyx> oh those are a bit narowwer 2023-05-30T01:18:39 < qyx> they don't fit into the crimper tool karlp has 2023-05-30T01:18:49 < qyx> I have it too although a bit different 2023-05-30T01:21:03 < zyp> so far I've only crimped a few XHs with mine, worked well for that 2023-05-30T01:22:56 < zyp> https://cdn.discordapp.com/attachments/813547772337979442/1030455407682007100/IMG_20221014_211435.jpg 2023-05-30T01:28:46 < karlp> xh is the 2.54mm, right? that's the big one, that's super common 2023-05-30T01:28:54 < zyp> 2.50 2023-05-30T01:28:58 < zyp> yes 2023-05-30T01:29:19 < karlp> fucking 1$140 I can buy just these two https://www.aliexpress.com/item/32699887472.html and teh SN-01BM and have them both with two tools. 2023-05-30T01:29:45 < zyp> IIRC I paid $80 2023-05-30T01:29:53 < karlp> I haven't found anywhere that sells the sn03bm plates only, 2023-05-30T01:29:57 < zyp> but I picked it up last I were in jp 2023-05-30T01:30:15 < qyx> moneyed japaner 2023-05-30T01:30:22 < zyp> will probably only ever need the PAD-11 but I figure why not get the full kit if I'm spending money anyway 2023-05-30T01:37:09 < karlp> I don't actually have an existing one right now anway, I only have one ofthe square clamp ones for tube nipples, like thi: https://www.aliexpress.com/item/4000533382940.html 2023-05-30T01:38:03 < zyp> I've got one of those too 2023-05-30T01:38:22 < zyp> protip: don't buy one that's only supposed to do 10mm2 if you need to do 16mm2 2023-05-30T01:38:30 < karlp> lol. 2023-05-30T01:38:53 < zyp> it kinda works if you square it off a bit first and then force it in :) 2023-05-30T01:38:57 < karlp> we got a big meaty boi at the office for doing bigger shit: https://www.aliexpress.com/item/1005005571637980.html 2023-05-30T01:39:05 < karlp> but like fuck I'll ever want that one again :) 2023-05-30T01:39:52 < zyp> haha 2023-05-30T01:40:22 < zyp> only time I've needed to do 16mm2 so far was when I ran new 80A mains for the hobby workshop 2023-05-30T01:40:23 < qyx> I like it 2023-05-30T01:40:27 < qyx> I had one borowwed 2023-05-30T01:40:49 < qyx> why I keep writing double w instead of r 2023-05-30T01:40:54 < karlp> our test gear at the office was capabale of 120A, so I got a few meters of big fat cable for doing some test shit, 2023-05-30T01:41:19 < karlp> the guy at the electrical supply was.... a bit nervous at how cavalier I was with "I'll just hook it up dude, I only need like 3-4 meters please" 2023-05-30T01:41:23 < qyx> I have my DC part wired with 16mm2 and 10mm2 2023-05-30T01:41:30 < qyx> for 63 and 40 Amps 2023-05-30T01:42:09 < qyx> other than that, the biggest wire in this house is 2.5 mm2 2023-05-30T01:42:54 < zyp> at home my mains is 40A, so that's 10mm2 2023-05-30T01:43:09 < zyp> and the EV charging circuit is 32A at 6mm2 2023-05-30T01:43:35 < zyp> unlikely to ever hit that though, with the chargers configured to stay below 10kW average consumption 2023-05-30T01:45:05 < qyx> do you charge both of them simultaneously? 2023-05-30T01:45:14 < qyx> both are 3 phase AC? 2023-05-30T01:55:02 < zyp> no, golf is only single phase 2023-05-30T01:55:15 < zyp> and I still haven't mounted the second EVSE yet 2023-05-30T01:55:45 < zyp> was planning to paint the wall before I do, and that haven't happened yet 2023-05-30T02:01:29 < qyx> also, kakimusiks https://m.youtube.com/watch?v=RqHYAnW6lKY 2023-05-30T02:01:52 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Ping timeout: 248 seconds] 2023-05-30T02:22:56 -!- Spirit532 [~Spirit532@user/Spirit532] has quit [Quit: Ping timeout (120 seconds)] 2023-05-30T02:23:23 -!- Spirit532 [~Spirit532@user/Spirit532] has joined ##stm32 2023-05-30T02:42:11 < zyp> jpa-, https://paste.jvnv.net/view/9BHp3 https://bin.jvnv.net/file/sOo86.mp4 2023-05-30T02:51:43 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-30T04:00:43 -!- noarb [~noarb@user/noarb] has quit [Ping timeout: 268 seconds] 2023-05-30T04:07:52 -!- noarb [~noarb@user/noarb] has joined ##stm32 2023-05-30T04:23:48 -!- qyx [~qyx@84.245.120.240] has quit [Ping timeout: 240 seconds] 2023-05-30T04:23:57 -!- kilobyte_ch [~kbch@77.109.171.160] has quit [Ping timeout: 250 seconds] 2023-05-30T04:25:47 -!- qyx [~qyx@84.245.121.123] has joined ##stm32 2023-05-30T04:38:41 -!- kilobyte_ch [~kbch@77.109.171.160] has joined ##stm32 2023-05-30T05:40:05 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has quit [Ping timeout: 246 seconds] 2023-05-30T05:43:53 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-30T05:46:02 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Remote host closed the connection] 2023-05-30T05:54:58 -!- GenTooMan [~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883] has joined ##stm32 2023-05-30T06:13:39 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-30T06:54:18 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-30T07:04:18 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-30T08:10:07 < jpa-> zyp: nice :) 2023-05-30T08:40:50 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-30T09:50:32 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-30T09:59:14 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Quit: Leaving] 2023-05-30T11:00:24 < qyx> accepting bets, bending MSOP-8 to SOIC-8, will it break? 2023-05-30T11:01:59 < zyp> bending? 2023-05-30T11:02:23 < qyx> bending legs to solder it on a SOIC-8 footprint 2023-05-30T11:02:26 < jpa-> 4x0.65mm to 4x1.27mm? 2023-05-30T11:02:30 < zyp> that's 0.65mm vs 1.27mm pitch? will the legs even reach? 2023-05-30T11:02:36 < qyx> hm 2023-05-30T11:03:07 < qyx> it is 1.95 to 3.81 mm 2023-05-30T11:03:43 < jpa-> so at least 45° angle for the outer pins.. yeah, it will break 2023-05-30T11:04:23 < qyx> k challenge accepted 2023-05-30T11:04:25 < jpa-> i would solder the center two pins on each side, put kapton tape in between on the outer pins and a small piece of wrap wire 2023-05-30T11:04:27 < jpa-> no bending 2023-05-30T11:05:51 < zyp> you could make an interposer board that fits on a soic-8 footprint with a msop-8 footprint on top 2023-05-30T11:08:10 < qyx> yeah but I may as well just order the soic8 version of the same chip 2023-05-30T11:08:22 < qyx> I want to try the board now 2023-05-30T11:10:05 < ventYl> s/try/damage/ 2023-05-30T11:10:35 < jpa-> have to mess up quite badly to damage the board and not the chip 2023-05-30T11:12:36 < zyp> could fuck it up and delaminate a pad, have had that happen during bodging before 2023-05-30T11:18:39 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:451:c5cf:3383:49c] has joined ##stm32 2023-05-30T11:19:43 < qyx> https://bin.jvnv.net/file/ms3P4/P1140186.JPG 2023-05-30T11:26:01 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-05-30T11:37:14 < jpa-> brutal 2023-05-30T11:37:57 < qyx> I am sorry 2023-05-30T11:40:53 < qyx> [] INFO: mcp3564: product number = 0x0000 2023-05-30T11:40:57 < qyx> ok so nope. 2023-05-30T12:04:09 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-30T12:06:03 < zyp> heh 2023-05-30T12:09:39 < qyx> works now, meets/beats the specs of the previous proto according to he current measurement 2023-05-30T12:10:37 < qyx> noise perf. better by 22% 2023-05-30T12:20:04 < qyx> but I totally failed in making my calibration wheatstone bridge, it is working as a strain gauge pretty well 2023-05-30T12:20:10 < qyx> it even senses the gravity 2023-05-30T12:21:22 < qyx> I guess that achieving 0.02% needs some additional mechanical considerations 2023-05-30T12:21:54 < qyx> (apart from temperature and electrical) 2023-05-30T12:26:41 -!- mrec [~mrec@user/mrec] has quit [Ping timeout: 265 seconds] 2023-05-30T13:06:32 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-30T13:07:24 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-30T13:16:43 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-30T13:17:11 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has joined ##stm32 2023-05-30T13:23:37 -!- c10ud [~c10ud@user/c10ud] has quit [Ping timeout: 256 seconds] 2023-05-30T13:25:56 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-30T13:25:56 -!- c10ud [~c10ud@host-213-26-199-10.business.telecomitalia.it] has quit [Changing host] 2023-05-30T13:25:56 -!- c10ud [~c10ud@user/c10ud] has joined ##stm32 2023-05-30T13:32:38 < jbo> heh 2023-05-30T13:33:08 < jbo> what's up with that gigantic blob of solder on the U9 thermal pad? 2023-05-30T13:34:54 < mawk> the more solder the better 2023-05-30T13:35:21 < mawk> jbo https://youtu.be/QKtXDa85Hfs 2023-05-30T13:35:56 < jbo> mawk, why is that video directed towards me? 2023-05-30T13:36:04 < mawk> why not 2023-05-30T13:36:13 < mawk> you're the one alive and speaκιng 2023-05-30T13:36:27 < jbo> can't argue with that logic... 2023-05-30T13:37:28 < karlp> man home assistant is a fucing weird project, it's falling rapidly into "best, but not because it's good" 2023-05-30T13:37:49 < karlp> their world view of "you must run our entire OS distribution on our hardware or GTFO" is a bit annoying. 2023-05-30T13:38:34 < mawk> it's medication day 2023-05-30T13:39:24 < mawk> I need to go to the pharmacy 2023-05-30T13:39:26 < mawk> I scammed the pharmacy out of 1 week of methadone 2023-05-30T13:39:28 < mawk> they didn't notice yet 2023-05-30T13:41:18 < mawk> the doctor wrote "NO BEFORE 24/05" on the prescription but they gave it to me on the 17 already 2023-05-30T13:41:20 < mawk> so I doubled up that week 2023-05-30T13:44:03 < jbo> have you considered a life without drug abuse? 2023-05-30T13:44:21 < mawk> sure 2023-05-30T13:44:28 < mawk> but there's no magic lever to pull for that 2023-05-30T13:44:46 < jbo> jpa- has a lever you can pull 2023-05-30T13:44:59 < jbo> it even provides endorphines 2023-05-30T13:45:34 < karlp> if you want videos, you need more of this: https://www.youtube.com/watch?v=agG7ShZGfJM 2023-05-30T13:46:22 -!- c10ud_ [~c10ud@host-213-26-199-10.business.telecomitalia.it] has joined ##stm32 2023-05-30T13:46:36 -!- c10ud [~c10ud@user/c10ud] has quit [Read error: Connection reset by peer] 2023-05-30T13:46:54 < mawk> can I see your lever jpa- ? 2023-05-30T13:48:03 < mawk> listen to experimental french techno karlp https://youtu.be/_xiHZciD08s 2023-05-30T13:48:05 < mawk> with a video clip funded by the french cinema agency 2023-05-30T13:48:09 < mawk> made specially for the track 2023-05-30T13:48:14 < mawk> on m'a menti tout du long, il n'y a pas de soleil, il n'y a pas de montagnes, il n'y a pas de merveilles 2023-05-30T13:49:13 < mawk> and the best line, il faut brûler les policiers 2023-05-30T13:49:17 < mawk> we must burn cops 2023-05-30T13:49:28 < jbo> I didn't know you speak french 2023-05-30T13:49:37 < mawk> of course I do 2023-05-30T13:50:26 < qyx> have you seen a frogeater not speaking french? 2023-05-30T13:51:38 < jbo> I am trying to find a DC jack that connects to this one: https://hdplex.com/pub/media/image/Product/400WDCATX/overview/HDPLEX.screw.lock.7.4-5.0mm.female.DC.jack.png 2023-05-30T13:52:16 < mawk> what about the one in your picture 2023-05-30T13:52:19 < mawk> is it too expensive? 2023-05-30T13:53:16 < jbo> I'm looking for a maiting connector 2023-05-30T13:53:17 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-30T13:53:24 < jbo> they say 7.4mm OD 5.0mm ID 2023-05-30T13:53:32 < jbo> mouser doesn't even have that in their filter list for dc jacks 2023-05-30T13:54:29 < qyx> looks like a standard lenovo charging jack 2023-05-30T13:55:07 < qyx> hm thats 7.9x5.6 2023-05-30T13:56:09 < jbo> I'm looking for the mating part that is cable-mount (not PCB mount) 2023-05-30T13:57:26 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 246 seconds] 2023-05-30T13:57:49 < jbo> I guess this https://www.mouser.ch/ProductDetail/CUI-Devices/PP-065574-M?qs=yqaQSyyJnNjR594hWiCYrg%3D%3D 2023-05-30T13:57:52 < jbo> 4.- wtf 2023-05-30T14:02:52 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-30T14:03:26 < qyx> Spannungsversorgungssteckverbinder, ja 2023-05-30T14:07:11 < karlp> not sure if 400k views counts as "experimental" much mawk :) 2023-05-30T14:07:23 < jbo> qyx :D 2023-05-30T14:09:18 < qyx> karlp: why? I am running hass on a custom debian in a lxc guest on odroid M1 2023-05-30T14:09:30 < qyx> although it is true they are pushing the all-in-one solution 2023-05-30T14:13:07 < karlp> I reported a shell scripting error in one of their addons, (just missing a default fallback) and theyjustclosed it as "only supported to be run in our OS" 2023-05-30T14:13:20 < karlp> they're making it harder and harder to run it yourself 2023-05-30T14:13:58 < zyp> I've been running it in docker for a couple of years 2023-05-30T14:14:04 < karlp> yeah, this is the addons. 2023-05-30T14:14:07 < zyp> IIRC their official docker image 2023-05-30T14:14:14 < karlp> because "not putting anything else in core" 2023-05-30T14:14:21 < zyp> ah 2023-05-30T14:14:34 < zyp> what addons? I haven't looked into that stuff 2023-05-30T14:14:39 < karlp> in this case, matter. 2023-05-30T14:14:44 < zyp> right 2023-05-30T14:15:21 < karlp> I just had to learn enough docker/podman to pull their normal one, fix the shell scripting hardcoded in a few places, commit that tomy own image and run that instead, 2023-05-30T14:15:29 < karlp> but... lame to just refuse to fix it. 2023-05-30T14:16:09 < zyp> I'm kinda tempted to move my instance to dedicated hardware 2023-05-30T14:16:40 < zyp> not because there's any issues running it in docker, but because it'd be kinda convenient not having it rely on the docker host 2023-05-30T14:16:57 < jbo> just e-mailed eurocircuits support and they responded (with a full & useful response) within 8 minutes. nice! 2023-05-30T14:17:11 < zyp> nice 2023-05-30T14:17:29 < karlp> eh, I have other services runninng on the little home odroid server, not interested in having extra hardware just to keep home assistant devs happy. 2023-05-30T14:18:48 < zyp> my docker host is not a little odroid server, it's a 19" 3U beast, and it'd be convenient if I could take it down for maintenance without bringing down home-assistant with it 2023-05-30T14:19:25 < karlp> how much do you use home assistant for at home? 2023-05-30T14:19:41 < karlp> I mean, mine is mostly jsut for dev stuff, so if it was away, no-one would even notice :) 2023-05-30T14:19:56 < zyp> less than I ought to :) 2023-05-30T14:19:58 < karlp> the instance at the summerhouse is just for watching temp/humi for accidents so far too 2023-05-30T14:22:06 < zyp> I have two wallmount PoE powered displays dedicated to showing the home assistant dashboard: https://bin.jvnv.net/file/to6XQ.jpg 2023-05-30T14:22:40 < karlp> oh, fancy 2023-05-30T14:22:59 < karlp> are those just a plain table with a POE dongle behind them? 2023-05-30T14:23:14 < zyp> no, builtin 2023-05-30T14:25:06 < zyp> I broke the one in the photo, I've now got two of these: https://bin.jvnv.net/file/kDx6W.pdf 2023-05-30T14:25:43 < karlp> fancy 2023-05-30T14:25:54 < karlp> I like the price breaks. $2 off for 200 :) 2023-05-30T14:26:03 < zyp> haha, yeah 2023-05-30T14:27:25 < zyp> they're fairly shitty stuff compared to highend tablets, but for that price, what do you expect anyway 2023-05-30T14:28:08 < zyp> they're gonna sit on the wall and show a webui, doesn't need to be more than that 2023-05-30T14:28:17 < karlp> indeed 2023-05-30T14:29:17 < zyp> so that part is nice and all, only issue now is that I haven't bothered setting up/updating the dashboard in a couple of years 2023-05-30T14:30:15 < qyx> what is a common beta value for 10k NTCs? 2023-05-30T14:57:34 -!- mrec [~mrec@sundtek.de] has joined ##stm32 2023-05-30T15:00:31 -!- alan_o [~alan_o@172-7-159-77.lightspeed.dybhfl.sbcglobal.net] has quit [Ping timeout: 256 seconds] 2023-05-30T15:00:58 -!- alan_o [~alan_o@2600:1700:1902:210f:3d07:e707:f04e:fb69] has joined ##stm32 2023-05-30T15:29:40 -!- hexo__ [~hexo@user/hexo] has joined ##stm32 2023-05-30T16:07:05 -!- Linux_Kerio [~Linux_Ker@chello085216193138.chello.sk] has quit [Read error: Connection reset by peer] 2023-05-30T16:26:57 -!- alan_o [~alan_o@2600:1700:1902:210f:3d07:e707:f04e:fb69] has quit [Remote host closed the connection] 2023-05-30T16:28:00 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-30T16:28:01 -!- alan_o [~alan_o@2600:1700:1902:210f:3d07:e707:f04e:fb69] has joined ##stm32 2023-05-30T16:40:59 < Steffanx> I recall HA add-ons don't even work in docker. 2023-05-30T16:41:27 < Steffanx> You need their os or some supervised installation 2023-05-30T17:29:04 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-05-30T17:29:10 < bitmask> heyo 2023-05-30T17:29:17 < bitmask> think these cheap shits can disinfect? https://www.aliexpress.us/item/3256804518872250.html 2023-05-30T17:29:27 < bitmask> if you leave em on for like an hour? 2023-05-30T17:30:47 < jbo> I wouldn't bother. Get a quality/certified UV lamp where you can trust the vendors claims & specs. 2023-05-30T17:31:16 < jbo> unless you have the necessary equipment to test the spectrum, spectral energy and actual results 2023-05-30T17:31:59 < bitmask> fair 2023-05-30T17:32:47 < jbo> there are plenty of stories of people purchasing cheap/chinese UV lamps for blacklights and they turned out to also radiate in a harmful (afaik UV-C but not sure anymore) spectrum. so wouldn't be surprised if these do the opposite :D 2023-05-30T17:35:16 < bitmask> these should produce ozone, bigclive ordered one so im sure the wavelength is fine and they produce like 2W 2023-05-30T17:35:48 < bitmask> but youre right in that ordering something specific is a better idea 2023-05-30T17:55:14 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 2023-05-30T17:55:43 < jbo> I wouldn't take dicking around with anything UV or Ozone lightly in general. 2023-05-30T19:10:21 < Steffanx> Segger Ozone is nice though 😝 2023-05-30T19:11:15 -!- machinehum [~machinehu@S0106d4e2cb4a7fa7.vn.shawcable.net] has quit [Quit: WeeChat 3.8] 2023-05-30T19:33:26 < aandrew> <3 ozone 2023-05-30T20:02:23 < qyx> Steffanx: you can install them manually? but I don't remember how I did it 2023-05-30T20:05:13 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-30T20:21:00 < specing> Isn't all of UV harmful? 2023-05-30T20:21:21 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 265 seconds] 2023-05-30T20:21:34 < specing> if its harmful for bacteria, why wouldn't it also be harmful to you.. 2023-05-30T20:22:09 < qyx> not all is considered harmful 2023-05-30T20:47:13 < boddax> imported esotic fruits has uv treathments before marketing 2023-05-30T21:03:21 -!- Thorn [~Thorn@2001:8a0:dfd7:d500:2867:f8b9:671a:d83e] has joined ##stm32 2023-05-30T21:03:21 -!- Thorn [~Thorn@2001:8a0:dfd7:d500:2867:f8b9:671a:d83e] has quit [Changing host] 2023-05-30T21:03:21 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-30T21:05:07 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-05-30T21:05:39 < qyx> https://github.com/nimaltd/NTC/blob/master/ntc.c#L7 2023-05-30T21:05:42 < qyx> why do people do this 2023-05-30T21:08:14 < PaulFertser> People are strange when you're a stranger, faces look ugly when you're alone. 2023-05-30T21:12:48 -!- kraiskil_ [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has joined ##stm32 2023-05-30T21:41:01 < Steffanx> Hi PaulFertser hows your day? 2023-05-30T21:41:46 < Steffanx> Very philosophical 2023-05-30T21:41:48 < PaulFertser> Steffanx: hi! It's ok. Got a brand new pinebook pro and still "surprised" by its quirks. 2023-05-30T21:42:02 < ventYl> :> 2023-05-30T21:42:07 < PaulFertser> Steffanx: it's just a quote from The Doors. 2023-05-30T21:42:37 < PaulFertser> Also surprised by the community who pretends to being clueless about most basic things related to using embedded GNU/Linux systems... 2023-05-30T21:43:11 < ventYl> the funniest one is when it appears as if charging IC is not powerful enough, while it seems that some protection is in fact kicking in 2023-05-30T21:43:53 < Steffanx> Pine pine. Reminds me of my colleague. His wife managed the finances and he was allowed to buy a Pinephone and then she found out he couldnt even make calls with it :D 2023-05-30T21:44:09 < PaulFertser> ventYl: the funniest is that it is this fucking way for like 4 years and pine store doesn't care. 2023-05-30T21:44:20 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 246 seconds] 2023-05-30T21:44:21 < PaulFertser> ventYl: it's ok to compile everything single-threaded though. 2023-05-30T21:44:33 < Steffanx> *old colleague 2023-05-30T21:44:58 < ventYl> PaulFertser: what single-threaded compilation has to do with it? 2023-05-30T21:46:16 < PaulFertser> ventYl: then the charger doesn't "overheat" or whatever it is. In fact, the datasheet talks about "mosfet short-circuit protection" and that's the only description that really matches the observed behaviour (latching till the charger is replugged). 2023-05-30T21:47:48 < ventYl> there are two protections, another is something like battery overcharge, or something. the IC is wired according to the datasheet schema, which is unsuitable for this use. 2023-05-30T21:48:19 < PaulFertser> I like the display panel though. 2023-05-30T21:48:22 < ventYl> if voltage holds too high for too long (as if battery wasn't responding to change of charging voltage), IC will shut itself down for some time 2023-05-30T21:48:48 < ventYl> I modded mine to have copper heatsink connected to bottom lid, yet still the charging LED was blinking 2023-05-30T21:48:59 < PaulFertser> ventYl: you mean it did nothing? 2023-05-30T21:49:13 < ventYl> PaulFertser: yeah, at least in my case, it wasn't overheating 2023-05-30T21:49:56 < ventYl> I think, that the root cause is feedback from panel backlight booster, which holds some of power rails at slightly higher voltages, which trips battery protection in charging IC 2023-05-30T21:50:10 < ventYl> for those, whose PBPs don't turn charging down entirely 2023-05-30T21:50:34 < ventYl> mine doesn't, I've been hapily building freecad on all cores multiple times 2023-05-30T21:50:38 < PaulFertser> Also, PINE STORE, what the actual fuck, why am I supposed to disassemble a brand new device to loosen the hinges screws right after unpacking?.. How the fuck you do not realise it must be done at the factory so that the end users wouldn't damage their cases by the overtight hinges?.. 2023-05-30T21:51:12 < ventYl> :) 2023-05-30T21:51:18 < PaulFertser> ventYl: hm, but then disabling backlight should have helped? 2023-05-30T21:52:38 < ventYl> PaulFertser: it does! moreover, it changes with backglight level. it is worst at some 70% IIRC. if you further increase backglight level, charging actually becomes more stable 2023-05-30T21:53:15 < PaulFertser> ventYl: so without backlight you can make -j`nproc` for as long as you want? 2023-05-30T21:54:09 < ventYl> a limit of what you said I'd guess 2023-05-30T21:54:34 < PaulFertser> ? 2023-05-30T21:54:36 < ventYl> I've been actively using PBP for development for over a year, always doing make -j10 2023-05-30T21:54:56 < PaulFertser> nproc is 6 there :) 2023-05-30T21:54:59 < ventYl> PaulFertser: I guess, I could run such build for quite some time, but probably not for unlimited 2023-05-30T21:55:13 < ventYl> ah yes, gemini had 10 cores 2023-05-30T21:55:27 < PaulFertser> ventYl: with backlight fully off or at like 90 % ? 2023-05-30T21:55:39 -!- kraiskil_ [~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch] has quit [Ping timeout: 250 seconds] 2023-05-30T21:55:58 < ventYl> PaulFertser: when I was doing development, I had backlight at ~90% + I have M.2 SSD 2023-05-30T21:56:12 < ventYl> not one of those, which are recommended for low power consumption 2023-05-30T21:56:35 < PaulFertser> ventYl: thank you very much, your data is important. I'll try to add it to the wiki. 2023-05-30T21:56:55 < ventYl> I also have photos of my heatsink mod 2023-05-30T21:57:38 < PaulFertser> btw, hw decoding for vp9 from youtube works for me in mpv with an ffmpeg fork. 2023-05-30T21:58:14 < ventYl> that's long known IIRC 2023-05-30T21:58:54 < PaulFertser> Not to the #pinebook community... 2023-05-30T21:59:34 < ventYl> well 2023-05-30T21:59:53 < PaulFertser> Also, everybody recommends tow-boot but somehow it's built with "old" TF-A so resuming from suspend-to-ram doesn't work. 2023-05-30T22:00:00 < qyx> but you have it longer than one year ventYl, don't you? 2023-05-30T22:00:02 < PaulFertser> And even megi didn't even try suspend-to-disk. 2023-05-30T22:00:24 < ventYl> I have also some ancient version of u-boot installed 2023-05-30T22:00:40 < PaulFertser> But does suspend-to-ram work for you? 2023-05-30T22:00:45 < ventYl> suspend to ram doesn't work for me, but there's another issue with m.2, which AFAIK blocks it even with supported u-boots 2023-05-30T22:00:58 < ventYl> at least it used to block it last time when I checked it 2023-05-30T22:01:22 < ventYl> qyx: some three years, maybe a bit longer 2023-05-30T22:01:54 < PaulFertser> Ah, yes, nvme. 2023-05-30T22:02:19 < PaulFertser> btw, alt dp over type-c works 2023-05-30T22:02:24 < ventYl> again? :) 2023-05-30T22:02:49 < ventYl> it works until linux gets updated, then it is broken until someone finds out what in the kernel has broken it 2023-05-30T22:03:20 < PaulFertser> It's not even present in upstream 6.1, and it works in megi's kernel. He did great job figuring out all the tiny details about this mess. 2023-05-30T22:03:29 < ventYl> and yeah, panels are really nice, usually. mine only has one dead pixel 2023-05-30T22:03:56 < ventYl> I'd recommend ripping antenna from some donor laptop and installing it into PBP chassis. the original antenna is stuck in between battery and keyboard 2023-05-30T22:04:30 < PaulFertser> ventYl: I plan to try to fit a proper mediatek usb adapter inside, soldering to a free port on a .65 mm pitch USB hub IC. 2023-05-30T22:04:37 < PaulFertser> Fuck broadcom 2023-05-30T22:05:02 < ventYl> IIRC, there is one USB inside chassis 2023-05-30T22:05:05 < ventYl> unused 2023-05-30T22:05:28 < PaulFertser> I couldn't find any other than on the unrouted usb hub pins. 2023-05-30T22:05:46 < PaulFertser> And I asked the community several times about it, nobody knows... 2023-05-30T22:06:43 < ventYl> many of those people have limited or no electronics skills 2023-05-30T22:07:51 < qyx> how can they own a computer then 2023-05-30T22:09:40 < ventYl> PaulFertser: I wouldn't be so grumpy at them. I've owned Gemini, which was a piece of shit compared to Pine. They maybe had better hardware in terms of ergonomics 'n' stuff, but their software sucks. Both Android and Linux. 2023-05-30T22:10:15 < ventYl> all pine products basically are MVPs and you have to accept that 2023-05-30T22:12:19 < PaulFertser> ventYl: they just ignored all the feedback from the community regarding hardware issues, with people clearly explaining them what was wrong and how to fix it. And they had the whole pandemic to fix the boards. And yet after the shortages ended they started to produce the same, with only minor changes. Also, how is they are not able to make hinges work out of the box?.. 2023-05-30T22:13:29 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 265 seconds] 2023-05-30T22:16:06 < ventYl> I guess, this is the chineese manufacturing at its best. You have to pay inspectors to take care of each and every step. Or it ends up fucked up. 2023-05-30T22:19:54 < PaulFertser> tl lim never clarified why it sucks so much 2023-05-30T22:21:38 < ventYl> IIRC, they don't have any hardware engineers, they hire contractors to do the design. or buy some stock designs (as it is with pinetime) and further modify them 2023-05-30T22:21:55 < ventYl> so maybe PBP design wasn't changed because there wasn't anyone, who would do that 2023-05-30T22:22:58 < ventYl> or they have some, but they suck 2023-05-30T22:23:42 < ventYl> because, the charging IC in PBP, as an example, is connected according to the datasheet. but it is pretty obvious, that this particular datasheet schema is not suitable for this use 2023-05-30T22:24:36 < PaulFertser> tl lim said he's the EE team leader. 2023-05-30T22:25:59 * ventYl schrugs 2023-05-30T22:26:39 < ventYl> maybe he leads team of crappy chineese EE engineers 2023-05-30T22:27:00 < PaulFertser> They managed to manufacture faulty USB UART adapters and many people were complaining for years until I spotted a missing ground connection while troubleshooting it _remotely via IRC_ with someone who had a voltmeter handy. 2023-05-30T22:28:41 < ventYl> well, fuck. I managed to rip cable off the chair-mounted transducer 2023-05-30T22:28:48 < ventYl> I hope it is not glued together 2023-05-30T22:30:35 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] 2023-05-30T22:31:23 < ventYl> PaulFertser: many of their designs have quite fundamental bugs. I'd say that they either are mediocre engineers and/or don't care much about testing and improvement. 2023-05-30T22:31:43 < ventYl> nothing very surprising if you realize the waves of Pis 2023-05-30T22:32:50 < ventYl> like Banana Pi R1, which was intended as designated wifi router board. Which end up not being able to do AP, because something somewhere was deassociating stations automatically 2023-05-30T22:33:05 < ventYl> it took them years to realize this. IDK if they ever fixed it 2023-05-30T22:35:36 -!- ferdna [~ferdna@user/ferdna] has joined ##stm32 2023-05-30T22:36:18 < qyx> add bpi-r64 frying miniPCI-e cards 2023-05-30T22:36:40 < qyx> because they connected 5V rail to 1V5 input and some reserved pins 2023-05-30T22:43:14 -!- Thorn [~Thorn@2001:8a0:dfd7:d500:2867:f8b9:671a:d83e] has joined ##stm32 2023-05-30T22:43:14 -!- Thorn [~Thorn@2001:8a0:dfd7:d500:2867:f8b9:671a:d83e] has quit [Changing host] 2023-05-30T22:43:14 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-30T22:53:08 -!- Thorn_ [~Thorn@dsl-73-143.bl27.telepac.pt] has joined ##stm32 2023-05-30T22:54:09 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 250 seconds] 2023-05-30T23:06:24 -!- PsySc0rpi0n [~PsySc0rpi@2001:8a0:e168:f400:451:c5cf:3383:49c] has quit [Ping timeout: 248 seconds] 2023-05-30T23:08:45 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-30T23:25:20 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-30T23:30:26 < nomorekaki> early 2023-05-30T23:30:37 < nomorekaki> sauna time steff 2023-05-30T23:31:08 < Steffanx> Sexy times \o/ 2023-05-30T23:40:21 < Steffanx> Do you have a proper sound system in your sauna nomorekaki? 2023-05-30T23:40:30 < nomorekaki> damn 2023-05-30T23:40:43 < nomorekaki> I have never even though about that 2023-05-30T23:41:07 < nomorekaki> some spas have some speakers playing ambient sounds in saunas 2023-05-30T23:41:37 < nomorekaki> if sauna has some exotic theme 2023-05-30T23:44:14 < qyx> ambient? like celtic pipe rock? 2023-05-30T23:53:16 < Steffanx> Just call a call-center and have them play some "phone hold" music 2023-05-30T23:59:42 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has quit [Quit: Client closed] --- Day changed ke touko 31 2023 2023-05-31T00:07:36 -!- ou5x [~tim@hator.sunsite.lv] has joined ##stm32 2023-05-31T00:08:29 -!- benishor_ [~benishor@scene.ro] has joined ##stm32 2023-05-31T00:09:03 -!- t4nk_fn [~Go@user/t4nk] has joined ##stm32 2023-05-31T00:09:19 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has joined ##stm32 2023-05-31T00:10:08 -!- catphish_ [~catphish@user/catphish] has joined ##stm32 2023-05-31T00:10:14 -!- dobson` [~dobson@static.38.6.217.95.clients.your-server.de] has joined ##stm32 2023-05-31T00:11:00 -!- Alexer- [~alexer@alexer.net] has joined ##stm32 2023-05-31T00:11:16 -!- BrainDamage_ [~BrainDama@user/BrainDamage] has joined ##stm32 2023-05-31T00:16:05 -!- Netsplit *.net <-> *.split quits: t4nk_freenode, oz4ga, catphish, dobson, benishor, kilobyte_ch, Alexer, BrainDamage 2023-05-31T00:16:06 -!- benishor_ is now known as benishor 2023-05-31T00:16:08 -!- BrainDamage_ is now known as BrainDamage 2023-05-31T00:19:12 -!- kraiskil [~kraiskil@mob-194-230-161-52.cgn.sunrise.net] has joined ##stm32 2023-05-31T00:19:13 < nomorekaki> qyx: more like sound of water or birds singing or something like that 2023-05-31T00:25:25 -!- Netsplit over, joins: kilobyte_ch 2023-05-31T00:26:26 -!- catphish_ is now known as catphish 2023-05-31T00:28:40 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-31T00:46:08 -!- Thorn_ [~Thorn@dsl-73-143.bl27.telepac.pt] has quit [Ping timeout: 248 seconds] 2023-05-31T00:52:49 -!- Phantom [~Phantom@user/phantom] has joined ##stm32 2023-05-31T00:53:23 < Phantom> hi there, on stm32f103, is there a way to figure out the cpu utilisation? the code is mostly interrupt based... 2023-05-31T00:58:11 < qyx> put a wfi() in your main, lit your LED before and turn it off after 2023-05-31T00:58:40 < qyx> and scope the output to get the duty sleeping vs running 2023-05-31T00:59:38 < qyx> there are probably more precise and proper approaches too :p 2023-05-31T01:04:27 < Phantom> wouln't the interrupt get run before the turn on after? 2023-05-31T01:08:02 < qyx> if your code is fully interrupt driven and you have a single idle loop in the main(), the wfi will enter core sleep if there is no interrupt to serve 2023-05-31T01:09:26 < qyx> so when all yourinterrupts are served and there is no other pending, your code will continue in the main cycle lighting your LED and enterih sleep (wfi) 2023-05-31T01:09:29 < qyx> ok 2023-05-31T01:09:36 < qyx> yeah 2023-05-31T01:09:44 < qyx> I may be totally wrong 2023-05-31T01:10:11 < qyx> the interrupt will be served before the LED is turn off 2023-05-31T01:13:53 < Phantom> yeah 2023-05-31T01:14:59 < Phantom> beside, I will most likelly have code in the main loop eventually... currently I have absolutelly no idea how much processing power all this code use. I'm guessing not that much, but I've been wrong many times in the past about this 2023-05-31T01:15:28 -!- kraiskil [~kraiskil@mob-194-230-161-52.cgn.sunrise.net] has quit [Ping timeout: 240 seconds] 2023-05-31T01:24:25 -!- jbo [~tct@user/tct] has quit [Ping timeout: 240 seconds] 2023-05-31T01:27:11 -!- alan_o [~alan_o@2600:1700:1902:210f:3d07:e707:f04e:fb69] has quit [Remote host closed the connection] 2023-05-31T01:27:35 -!- alan_o [~alan_o@2600:1700:1902:210f:6d21:a784:a2d7:1243] has joined ##stm32 2023-05-31T01:41:31 -!- tct [~tct@user/tct] has joined ##stm32 2023-05-31T01:59:29 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has quit [Read error: Connection reset by peer] 2023-05-31T02:19:18 -!- nomorekaki [~nomorekak@37-219-102-37.nat.bb.dnainternet.fi] has quit [Quit: Client closed] 2023-05-31T02:37:30 -!- ferdna [~ferdna@user/ferdna] has quit [Quit: Leaving] 2023-05-31T03:14:21 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has quit [Ping timeout: 256 seconds] 2023-05-31T03:39:59 -!- hexo__ [~hexo@user/hexo] has quit [Quit: Leaving] 2023-05-31T04:08:53 -!- Streaker [~Streaker@user/streaker] has joined ##stm32 2023-05-31T04:27:57 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 2023-05-31T04:44:40 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-31T05:12:47 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has joined ##stm32 2023-05-31T05:22:15 -!- ou5x is now known as oz4ga 2023-05-31T06:46:37 -!- Thorn [~Thorn@user/thorn] has quit [Ping timeout: 240 seconds] 2023-05-31T08:01:25 -!- nerozero [~nerozero@87.253.63.54] has joined ##stm32 2023-05-31T08:51:45 -!- duude__- [~duude__@user/duude/x-4676560] has joined ##stm32 2023-05-31T08:52:01 -!- duude__ [~duude__@user/duude/x-4676560] has quit [Ping timeout: 240 seconds] 2023-05-31T08:53:12 -!- duude__- is now known as duude__ 2023-05-31T09:00:45 < jpa-> Phantom: you can use "profile" in openocd or orbtop to see what functions the CPU is currently running 2023-05-31T09:03:05 -!- drkow [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-31T09:05:08 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-31T09:06:18 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-31T09:09:04 -!- drkow [~k\o\w@72.53.234.240] has quit [Ping timeout: 250 seconds] 2023-05-31T09:11:44 -!- drkow [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-31T09:14:41 -!- drfff [~k\o\w@72.53.234.240] has quit [Ping timeout: 250 seconds] 2023-05-31T09:31:03 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-31T09:33:07 -!- drkow [~k\o\w@72.53.234.240] has quit [Ping timeout: 240 seconds] 2023-05-31T09:35:46 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has joined ##stm32 2023-05-31T09:43:01 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-31T09:45:15 -!- Thorn [~Thorn@dsl-73-143.bl27.telepac.pt] has joined ##stm32 2023-05-31T09:45:15 -!- Thorn [~Thorn@dsl-73-143.bl27.telepac.pt] has quit [Changing host] 2023-05-31T09:45:15 -!- Thorn [~Thorn@user/thorn] has joined ##stm32 2023-05-31T09:50:33 < mawk> musics https://youtu.be/uvUxn-TY2KA 2023-05-31T09:50:42 < mawk> modern acid 2023-05-31T10:22:18 < PaulFertser> ventYl: seems any brightness (and bl fully off) doesn't affect the red led starting to blink as soon as all the cores are busy for me. 2023-05-31T10:23:10 < PaulFertser> alpha-quality hardware indeed. And that cw2015 is a joke, I do not even have a clue what's really happening with the battery, no temperature, no current, just voltage... 2023-05-31T10:33:53 < qyx> karlp: you are a openwrt pro, does the standard wan dhcp client need interface hotplug even (down/up) to rerequest a IP if the previous attempt timeouted? 2023-05-31T10:34:40 < qyx> (in a situation when the link was up but no dhcp server was available, it was enabled later but openwrt didn't even try to do dhcp later) 2023-05-31T10:34:51 < qyx> ungooglable issue 2023-05-31T10:35:39 < mawk> what dhcp client is it? 2023-05-31T10:35:42 < mawk> isc-dhcp-client? 2023-05-31T10:35:46 < jpa-> udhcpc apparently 2023-05-31T10:35:48 < mawk> ah 2023-05-31T10:35:57 < mawk> isc retries indefinitely but with exponential backoff time 2023-05-31T10:36:02 < mawk> so it can take a long time 2023-05-31T10:36:30 < qyx> udhcpc 2023-05-31T10:36:45 < qyx> but i guess one week would be enough 2023-05-31T10:37:16 < qyx> it was solved with a router reboot, probably a cable reconnect would do the trick too 2023-05-31T10:39:51 < jpa-> apparently plain udhcpc should try again every 20 seconds, but depends on what options openwrt gives it 2023-05-31T10:44:53 < PaulFertser> 1879 root 1192 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -x hostname:OpenWrt -C -O 121 2023-05-31T10:47:02 < jpa-> "-t 0" retries 0 2023-05-31T10:47:24 < jpa-> so it apparently wants to handle retrying in whatever is starting udhcpc 2023-05-31T10:48:09 < PaulFertser> That would be netifd. 2023-05-31T10:53:26 < jpa-> then it is determined by "checkup_interval" config option 2023-05-31T10:54:13 < jpa-> which apparently defaults to "none" i.e. don't retry 2023-05-31T10:55:59 < jpa-> so apparently option checkup_interval '60' in /etc/config/network or similar in uci might do something 2023-05-31T11:05:58 < qyx> yeah I have -t 0 too 2023-05-31T11:06:51 < qyx> thats a bit insane default 2023-05-31T11:07:21 -!- Streaker [~Streaker@user/streaker] has quit [Ping timeout: 250 seconds] 2023-05-31T11:17:44 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Ping timeout: 246 seconds] 2023-05-31T11:43:54 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-31T11:50:09 < ventYl> PaulFertser: indeed 2023-05-31T11:53:25 -!- drfff [~k\o\w@72.53.234.240] has quit [Read error: Connection reset by peer] 2023-05-31T11:55:02 -!- drfff [~k\o\w@72.53.234.240] has joined ##stm32 2023-05-31T13:19:05 < mawk> my house playlist https://www.youtube.com/playlist?list=PLqnr7_RqLKGz0ArwCIyhAjjznI4h-58ZT&feature=share 2023-05-31T13:20:22 < karlp> qyx: not an issue I remember having had to look at sorry. 2023-05-31T13:20:39 < karlp> qyx: you never get a link transition? the dhcp server just comes back x days later? 2023-05-31T13:21:26 < karlp> nvm, looks like all sorted out :) 2023-05-31T13:54:23 -!- rob_w [~bob@host-82-135-31-73.customer.m-online.net] has quit [Remote host closed the connection] 2023-05-31T13:57:03 < qyx> karlp: nope because dumb FO-eth converter in between 2023-05-31T13:57:32 < qyx> but iirc they coukd be set to put eth down if Fzo signal is lost 2023-05-31T13:57:48 < qyx> s/Fzo/FO 2023-05-31T14:07:11 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Read error: Connection reset by peer] 2023-05-31T14:09:20 < zyp> how dumb are typical media converters really? are they just two PHYs back to back, or effectively a two-port switch? 2023-05-31T14:09:32 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has joined ##stm32 2023-05-31T14:36:11 < karlp> "don't worry we have documentation for all options" The help: "BLAH_WOP_ENABLE: enable the blah wop feature..." 2023-05-31T14:47:07 < mawk> lol 2023-05-31T15:06:42 < jpa-> yeah, silly to not have blah wop enabled by default 2023-05-31T15:35:33 < mawk> how would I identify a building access key fob protocol? I have it pinned down at NFC frequency, between 13 and 14 MHz 2023-05-31T15:35:37 < mawk> but that's all I know 2023-05-31T15:35:56 < mawk> on the scope with a ground clip attached to the tip making a loop I pick up a very nice sine at 13-14MHz 2023-05-31T15:36:10 < mawk> and when the reader is talking with the tag I see the amplitude decreasing 2023-05-31T15:36:33 < mawk> because the receiver is shorting its receive coil or whatever to communicate 2023-05-31T15:36:49 < mawk> what kind of detection circuit should I make to be able to sniff data with a logic analyzer 2023-05-31T15:37:05 < mawk> if it's modulated by amplitude like I think it shouldn't be too hard 2023-05-31T15:37:15 < mawk> with a peak detector or whatever that's called 2023-05-31T15:39:21 < Steffanx> Find a cheap sdr 2023-05-31T15:40:51 < Steffanx> Sadly those Uber cheap dongles cannot go that low without additional hw 2023-05-31T16:06:35 < mawk> and they lock you out of the interesting bands right? 2023-05-31T16:06:40 < mawk> like GSM 2023-05-31T16:06:51 < mawk> I want to make my own GSM network at home 2023-05-31T16:15:50 < jpa-> mawk: is there any reason to assume it is not just normal 13.56 MHz ISO-14443 NFC? 2023-05-31T16:15:56 < mawk> yeah 2023-05-31T16:16:01 < mawk> my phone doesn't detect it 2023-05-31T16:16:14 < mawk> neither does my fancy industrial readwer 2023-05-31T16:16:36 < mawk> https://www.metratec.com/static/a4f06109f9eff3a87d6a344c3bb4d103/Datasheet_QuasarMR1_r1-1.pdf this one 2023-05-31T16:17:05 < jpa-> could be ISO-14443B 2023-05-31T16:17:16 < mawk> this reader does ISO15693, ISO18000, ISO14443A 2023-05-31T16:17:19 < mawk> yeah 2023-05-31T16:17:24 < mawk> but my phone usually detects that 2023-05-31T16:18:07 < mawk> and my other reader didn't detect it either ( http://www.acs.com.hk/en/products/3/acr122u-usb-nfc-reader/ ) 2023-05-31T16:46:40 -!- boB_K7IQ [~boB_K7IQ@c-71-231-175-1.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 2023-05-31T17:15:28 -!- bitmask [~bitmask@c-73-112-55-67.hsd1.nj.comcast.net] has joined ##stm32 2023-05-31T17:49:02 -!- [itchyjunk] [~itchyjunk@user/itchyjunk/x-7353470] has joined ##stm32 2023-05-31T18:05:13 < karlp> :q 2023-05-31T18:06:56 -!- boB_K7IQ [~boB_K7IQ@152.44.147.180] has joined ##stm32 2023-05-31T18:28:14 < mawk> my other industrial reader neither does detect it 2023-05-31T18:28:19 < mawk> metratec quasar mx 2023-05-31T18:28:32 < mawk> nor my PC/SC reader identiv cloud f 3700 2023-05-31T18:28:50 < mawk> and my shitty amazon 125kHz reader neither but that was expected 2023-05-31T18:54:21 -!- drzacek [~drzacek@130-062-074-080.ip-addr.inexio.net] has quit [Read error: Connection reset by peer] 2023-05-31T19:02:18 -!- rajkosto [~rajkosto@93-86-156-120.dynamic.isp.telekom.rs] has joined ##stm32 2023-05-31T19:43:10 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has joined ##stm32 2023-05-31T20:15:12 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has quit [Ping timeout: 248 seconds] 2023-05-31T20:35:42 < BrainDamage> but 100kHz-50MHz is a bit of a sore spot for most devices because there's little commercial interest, and integrated circuits tend to be annoying due to the huge area of components required 2023-05-31T20:37:21 < specing> milimeter nodes? 2023-05-31T20:37:23 < specing> DIY? 2023-05-31T21:01:53 -!- jmcgnh [~jmcgnh@wikipedia/jmcgnh] has joined ##stm32 2023-05-31T21:47:23 -!- nerozero [~nerozero@87.253.63.54] has quit [Ping timeout: 250 seconds] 2023-05-31T21:48:17 -!- zxrom [~zxrom@mm-22-38-212-37.vitebsk.dynamic.pppoe.byfly.by] has joined ##stm32 2023-05-31T22:23:51 -!- boddax [~boddax@host-82-55-200-124.retail.telecomitalia.it] has quit [Quit: Leaving] --- Log closed to kesä 01 00:00:18 2023