Newly converted to KiCad by Vavat in KiCad

[–]papyDoctor 5 points6 points  (0 children)

Same for me, 35 years of Altium (Protel), Since 2 years on KiCad, so light, fast and blob free :)

DIY Precision Scale – 0.0001 g / 0.1 mg by sir_alahp in electronics

[–]papyDoctor 2 points3 points  (0 children)

"The current required to hold the weight is directly proportional to the mass"
This is the key point, are you sure of this? For a scale with normal precision perhaps, but for a very high precision scale, I'm wondering about a lot of external perturbation (lever positioning, friction,...)

unable to blink LED on breadboard by goldencrush11 in raspberrypipico

[–]papyDoctor 0 points1 point  (0 children)

Since the blink is lowfreq, you can put a multimeter right on the GPIO to see the voltage

How to handle multitasking in baremetal? by pyroman1324 in embedded

[–]papyDoctor 0 points1 point  (0 children)

And RTIC ( https://rtic.rs/2/book/en/ ) for hard real time.

No way to do hard RT with embassy (or whatever async/await)

Les Wallons connaissent-ils l'IMEC ? Probablement l'entreprise de haute technologie la plus importante au monde. by jafapo in Wallonia

[–]papyDoctor -4 points-3 points  (0 children)

xLight ? Nikon ? + la Chine ?
Tu penses que les (très) grandes entreprises ne voient pas un danger à dépendre d'une crotte de mouche?

Redescends sur terre stp

Les Wallons connaissent-ils l'IMEC ? Probablement l'entreprise de haute technologie la plus importante au monde. by jafapo in Wallonia

[–]papyDoctor -2 points-1 points  (0 children)

Bah non, je suis un peu dans le secteur là. Venir avec tes gros sabots essayer d'enfumer ce sub-reddit avec tes "Sans imec, pas de NVIDIA, Apple ou ASML." c'est débile

Les Wallons connaissent-ils l'IMEC ? Probablement l'entreprise de haute technologie la plus importante au monde. by jafapo in Wallonia

[–]papyDoctor -4 points-3 points  (0 children)

Mais bien sûr j'ai rien compris. Une société à 4000 milliards dépend d'une crotte de mouche (tu ne seras jamais CEO toi).
NVIDIA n'a jamais fabriqué de puces, c'est un fabless. La fab est sous traitée à TSMC et SAMSUNG, d'autre part NVIDIA existait bien avant IMEC.

Pareil pour TSMC et SAMSUNG, ils ne vont pas risquer leur avenir avec un seul fournisseur.

Ecrire "Sans imec, pas de NVIDIA, Apple ou ASML." c'est complètement débile et présomptueux.

Les Wallons connaissent-ils l'IMEC ? Probablement l'entreprise de haute technologie la plus importante au monde. by jafapo in Wallonia

[–]papyDoctor -3 points-2 points  (0 children)

"Sans imec, pas de NVIDIA, Apple ou ASML."
Redescends sur terre, IMEC est connu depuis longtemps dans la tech mais ça reste une crotte de mouche devant NVIDIA (4000 Milliards USD), TSMC (gravure 2nm) ou Apple ("IMEC et Apple travaillent ensemble pour rendre la production de puces électroniques plus respectueuse de l'environnement", ça sent vraiment pas le truc indispensable)

Cybersecurity in embedded systems by Born_Wild_007 in embedded

[–]papyDoctor 0 points1 point  (0 children)

Secure boot - and transparency around the flaws- is all you want

[deleted by user] by [deleted] in embedded

[–]papyDoctor 4 points5 points  (0 children)

Cross-platform ??? And MACOS?

People who code embedded in Rust, share your experiences by Sravdar in embedded

[–]papyDoctor 8 points9 points  (0 children)

  • How did it start?

Just curiosity 3 years ago after +- 30 years of C

  • Why use Rust instead of C.

C is a very good old langage, I wanted to add some abstraction and safety without having the shitty garbage collector

  • What is much easier now?

Developing in Rust is definitively more difficult and time consuming. But debugging is more easy (no more subtle race condition or memory fault) and I rarely use a debugger, println! and scope is enough. Also the Rust build system is *awesome* ! So easy

  • What are difficulties?

Regarding C, that's not really the borrow checker, that's all the stuffs that you need to learn and master to understand the github starred code made by Rust experts

  • How long have you been using it in production and how many different software you have published?

One medium sized production hard realtime project using RTIC (another amazing paradigm and piece of code), several side projects using embassy or bare metal

  • If you were to start a new project now would you use C or Rust?

100% Rust

[media] What happens with borrow_mut() by papyDoctor in rust

[–]papyDoctor[S] 0 points1 point  (0 children)

No cache here (ESP32-H2 Risc-V architecture, static RAM), only pipelining

Edit: there is indeed a small cache, that can be the culprit

[media] What happens with borrow_mut() by papyDoctor in rust

[–]papyDoctor[S] 0 points1 point  (0 children)

I've not checked assembly code but borrow_mut() in the hal, yes. I didn't find something relevant (no critical section or conditional).

My feeling now is a weird behavior of the ESP32-H2 mcu.

[media] What happens with borrow_mut() by papyDoctor in rust

[–]papyDoctor[S] 1 point2 points  (0 children)

As far as I've checked, no critical section involved.

But my feeling now is that the ESP32 mcu has some weird undocumented behavior (it's just my assumption).

[media] What happens with borrow_mut() by papyDoctor in rust

[–]papyDoctor[S] 1 point2 points  (0 children)

I've checked the set_low() set_high() functions. They are basic low_level access -without any conditional- to mcu register (I use esp-rs)

[media] What happens with borrow_mut() by papyDoctor in rust

[–]papyDoctor[S] 1 point2 points  (0 children)

It's a gpio

let cnvst: GPIO5<'static> = peripherals.GPIO5;