News for hackers. Stuff that matters.
Re:The global chip shortage is starting to have consequences by ChuckNorris89 on Monday May 10, 2021 @02:44AM (#27103350)
Embedded development is more than just wrangling C, that would be like saying backend dev is wrangling EC2 instances ;).

It's knowing how low level hardware operates and knowing how to dig yourself out of the various gotchas like for example figuring out that a last minute replacement of the crystal oscillator by the HW team with a cheaper one is now screwing up your boot process or that the reason your products are starting to go haywire after 6 months is an interrupt triggering too many writes to the flash, wearing it out prematurely, etc.

Re:The global chip shortage is starting to have consequences by sumtechguy on Monday May 10, 2021 @09:21AM (#27105690)
Even just making software for those things can be interesting. You need to know how the memory is laid out. You need to know if an interrupt happens at the wrong spot you are broken. I had one where the data was bumping through a 485 bus and the data was coming out wonky on the other side. Meaning I had 0 control over the software or hw on the other side as it was a vendor product. But I could at least read the chips numbers and guess what the dev did with the memory segments on the other side. Turns out I was telling the thing to read over a memory boundary which caused odd results. Which lead me to breaking the command into 2 parts.

Sometimes being an embedded dev is dead easy. Other times you are dealing with a GCC chain from 2003. 2 layers of some 3rd party of libs that someone bought in 2005 because the VP was good friends with a buddy in some other company that made something similar (which you may may not have the code for). With 64k of flash and RAM. And the vendor ground off the chip numbers and put their own sticker in place. Playing detective, historian, and making good guesses as you may not even have access to the firmware anymore. Then on top of that sometimes you are really lucky and have a debug port and can play the printf logging game to see what is going wrong.

Re:The global chip shortage is starting to have consequences by neilv on Monday May 10, 2021 @03:06AM (#27103444)
I hope an EE with a logic analyzer will help troubleshoot the clock problem, since I don't think the prevailing software methodology will work (i.e., ask on Stackoverflow, then add three dozen more Node.js packages to the firmware footprint). :)
Re:The global chip shortage is starting to have consequences by yetihehe on Monday May 10, 2021 @05:54AM (#27104337)
You don't need EE for that, just reasonably competent embedded programmer with a logic analyzer. But that's typically the difference between embedded programmers and "normal" programmers.
Re:The global chip shortage is starting to have consequences by milesvp on Monday May 10, 2021 @03:08AM (#27103456)
I’m terrified about wearing out a flash on a unit I’m working on. I have a permanent break point in that code. Logically I know when a write is supposed to trigger, but oh man I’m paranoid I’m going to burn my prototype with a fat finger of something.
Re:The global chip shortage is starting to have consequences by Chris2048 on Monday May 10, 2021 @04:16PM (#27110363)
Does "Embedded dev" imply digital, or can it include analogue things too?