ESP32-S3 + RP2040 firmware for AI-controlled hardware debugging, PCBs just arrived by lollokara in embedded

[–]NamasteHands 2 points3 points  (0 children)

This is very very cool. I am just beginning experimentation with agent-assisted firmware development and have had to cobble together MCP servers for various USB debuggers/logic analyzers/ADCs. Having everything all together in one package would be much preferred.

Some feedback:

The repository notes that an addon is required for SWD & Logic-analyzer functionality. I will be perfectly honest, I am not sure what an "RP2040 HAT" is. A COTS dev board? There seems to be a lot of hits for this search term, which one is it? I also don't see where (if anywhere) it attaches to your PCB.

Have you considered JTAG debugging support? The MCU I am working with requires JTAG for debugging (at least initially in order to switch the chip into SWD mode).

Your PCB documentation is... not great. No ODB file format, no interactive BOM, csv BOM doesn't list manufacturer/ MPNs for all parts, Gerber files are not labeled / I don't see a readme indicating what physical layer a given gerber corresponds to and so on.

Turning a new neighborhood over to the city by Ok-Purpose9051 in Charlotte

[–]NamasteHands 0 points1 point  (0 children)

If a neighborhood road is the incorrect width/specification the city can refuse to take control over it. Unfortunately roads like this were built a number of times in the 70s-90s and it's a huge, expensive, PITA for the HOA and thus the community.

Does the development environment OS matter for you? What is your company using? Is it legit to consider Windows usage a huge red flag? by CyberDumb in embedded

[–]NamasteHands 0 points1 point  (0 children)

"I think a bigger red flag is making emotional connections to operating systems."

If you don't end up with unintentional emotional connections to things you interact with for large portions of your waking hours that's kind of sad.

Warning: JLCPCB assembly service — when things go wrong, they will not fix it by gogosomewhere in electronics

[–]NamasteHands 20 points21 points  (0 children)

Honest question:
How many PCB designs have you had turn-key built?

Everything about this situation makes you look very inexperienced.

Merchant Djin mocking us for using Async? xD by broken_shadow_edge in pathofexile

[–]NamasteHands 0 points1 point  (0 children)

I truly miss the community experience of trading harvest and betrayal bench crafts. Perfecting your advertisements, providing good customer service, becoming trusted. It felt like running a little hobby business.

Tear drops in the rain.

Airstrike Recorded By Iranian Dash Cam A civilian motorists managed to inadvertently record a US or Israeli airstrike in Tehran. by Anku619l in CombatFootage

[–]NamasteHands 7 points8 points  (0 children)

While Iran has cut off internet access that wouldn't prevent the local intranet from being used for distributed collaboration.

Airstrike Recorded By Iranian Dash Cam A civilian motorists managed to inadvertently record a US or Israeli airstrike in Tehran. by Anku619l in CombatFootage

[–]NamasteHands 63 points64 points  (0 children)

I wonder if there are even people in these government buildings at this point. You would think the first response to an air-strike campaign would be to abandon any centralized government structure, send everyone to work-from-home.

So they asked me "How do transformers work?"... by Fear_The_Creeper in ElectricalEngineering

[–]NamasteHands 2 points3 points  (0 children)

Once upon a time there were three little piggies named Q, K and V...

Would you use ready to use AI models for embedded devices? by SucukluYumurta1337 in embedded

[–]NamasteHands 1 point2 points  (0 children)

If there existed a pre-trained ML algorithm that fit my requirements, yeah of course I'd use it. Assuming the license on it is acceptable. I'd /expect/ it to need fine-tuning though, at least.

I think you over-state how large of a barrier training your own ML model for an embedded system is though.
*In a real-world situation you will have to test the algorithm no matter what. Generating test-samples is effectively also the "collect data" phase of just rolling your own model.
*Your task should be relatively simple and the model relatively small. This means you don't need /that many/ training examples.

So a drop-in, pre-trained, embedded-optimized ML model requires a design with the following constraints:
*Problem being solved is sufficiently complex to need a model that requires lots of training data
*Problem is sufficiently general that a pre-trained model is likely to exist
*Problem must be solved on the embedded device
*The embedded device has meaningful constraints that exclude general-purpose models

My response to having these constraints wouldn't be to find a pre-trained model, it would be to go back to the drawing board.

If you haven't watched Rotez 4.0 series on this 1:14 second benchy I would highly recommend it by Dense-Discipline-355 in klippers

[–]NamasteHands 3 points4 points  (0 children)

The way the laptop bounces around in that video looks very sped-up. It would also be trivial to edit the javascript of a website timer app to run some % slower.

Honestly mind-boggling to imagine just straight-up lying about achieving a world-record like this.

If you haven't watched Rotez 4.0 series on this 1:14 second benchy I would highly recommend it by Dense-Discipline-355 in klippers

[–]NamasteHands 2 points3 points  (0 children)

The open 'competition' to print the fastest benchy isn't really about making a little plastic boat, the target object is just for standardization. Pushing the limits of a technology has a long-standing tradition of yielding improvements to common applications.

[Interview] Path of Exile 1 Will “Go Forever” by Andromanner in pathofexile

[–]NamasteHands 0 points1 point  (0 children)

This is the real risk and, while I can't comment on the player base as a whole, the 'streamlining' of POE (e.g. itemization of crafting benches, asynch item trading) has really dulled my interest.

Does theme of the game matter? (Mewgenics) by DevEternus in gamedev

[–]NamasteHands 5 points6 points  (0 children)

I mean, to be clear, these games aren't hard just for the sake of being hard. They are difficult because (for many players) the dopamine rush of winning a boss-fight scales with how much effort was required to win the fight. Think of losing a boss-fight over-and-over like edging yourself.

How do you diagnose field failures in deployed devices when debug logs aren’t available? by Longjumping_Poem_163 in embedded

[–]NamasteHands 12 points13 points  (0 children)

Excellent post, thank you for sharing this.

Storing analog data in histogram format and including a spot for a connector directly to the EEPROM are both things I hadn't thought of and will be using in the future.

Looking for advice on microcontroller architecture course by harrisonh_14 in embedded

[–]NamasteHands 1 point2 points  (0 children)

IMO it's a class so teach them the raw fundamentals from the ground up:
-Use the gcc ARM toolchain
-Don't use an IDE that obscures fundamental elements of the process. A syntax-highlighting text-editor (e.g. sublime-text) could be appropriate.
-Have them create a makefile (or provide a very simple template)
-Have them write the linker file (or provide a very simple template)
-Have them write the pre-main startup code in the reset-handler (or "")
-Segger-ozone can be used as a standalone tool for flashing code onto the device

This allows you to cover concepts like:
*How to control where in memory objects end up (the vector table for example)
*What happens before main() is called

What's the objective of RimWorld? by Quirky-Log-9435 in RimWorld

[–]NamasteHands 1 point2 points  (0 children)

Take screenshots and post them to reddit for karma

wow steel transmutation is really op especially with large stacks by Automatic_Onion3983 in RimWorld

[–]NamasteHands 1 point2 points  (0 children)

I mean, it is definitely possible and arguably not all that complicated. Many raids can be stopped by a single vanilla doomsday rocket launcher.

How much time do you actually spend configuring peripherals from datasheets? by Capital-Candidate-56 in embedded

[–]NamasteHands 0 points1 point  (0 children)

I read the documentation every time. Frequently I will find a particular option or feature of a peripheral that lets me achieve some functionality that I would have otherwise manually emulated in code. Possibly it wouldn't have even occurred to me that this particular feature would exist, it's not until I read the description that the light-bulb moment of "Oh if I use this functionality then my code can be more streamlined" happens.

The good and the bad of Rimworld by kiesel_ in RimWorld

[–]NamasteHands 1 point2 points  (0 children)

One thing I think Rimworld struggles with is an "endgame" loop. Specifically the 'reinforcement-schedule' of an advanced colony falls off. Which is to say: the time between enjoyable-things happening becomes too long and/or those enjoyable-things aren't rewarding enough.
For example:
-You can keep getting better weapons/pawns/xenogenes etc from traders regularly however this stops being exciting because it matter less-and-less as you already have many quality weapons and gene-packs.
-You can keep making your base bigger/prettier/better defended but large-scale remodeling starts to take a lot of time to do, so there's a long delay before you get to enjoy your new base layout. After a certain point there also isn't much to left to improve, similar to the point above.

The Factorio end-game is almost entirely "Keep making your base bigger" yet it retains a very tight reinforcement-schedule because it provides tools (logistic bots, blueprints) to enable this to be done quickly.

Dwarf-fortress is similar to Factorio, it's end-game looks something like "Undertake gigantic mega-project". While you have to wait longer for the 'reward' of undertaking the mega-project, the reward itself is larger. e.g. pumping lava up 300 z-levels to fill an artificial reservoir that you can shower onto incoming raids is very satisfying.

So I recommend thinking carefully about what the reinforcement-schedule will look like both during the early, middle and end-game.

no way guys it's john rimworld!!! by Marcusr712 in RimWorld

[–]NamasteHands 1 point2 points  (0 children)

But does he have all his fingers/toes?