News for hackers. Stuff that matters.
Re:Why Carmakers Can’t Transition to Newer Chips by baybal2 on Saturday October 02, 2021 @11:15AM (#28729217)
ARM M family cores can run each other's code more or less.

Only the libraries for I/O need to be rewritten.

In some cases, there are drop in replacements (Gigadevices STM32 clones)

Re:Why Carmakers Can’t Transition to Newer Chips by pwg on Saturday October 02, 2021 @01:36PM (#28730388)
Except that in some cases, the automakers are not using a CPU with external interface hardware, they are using microcontrollers similar to the PIC series, example here: https://ww1.microchip.com/downloads/en/DeviceDoc/40300C.pdf (Note, I'm not suggesting they use these exact chips, this is just an example of the level of onboard integration that is available for micro-controller chips).

Single chip system, with built in analog comparators, timers, signal capture and PWM generation module, serial UART, etc. I.e., a whole "system on a chip" with the external world interfaces already built into the chip. Changing one of these for an ARM CPU with external analog comparators, timers, PWM modules, serial UART's, etc., is a redesign effort, not just a "change the chip" effort. If the clock speed possible via the internal clock oscillator is sufficient, then this chip needs only +5V and ground (plus programming) to be able to interface to and control some external analog or digital equipment.

Re:Why Carmakers Can’t Transition to Newer Chips by im_down_w_otp on Saturday October 02, 2021 @11:18AM (#28729245)
Are there even any ARM Cortex-M chips that are ASIL-B rated or better?
Re:Why Carmakers Can’t Transition to Newer Chips by im_down_w_otp on Saturday October 02, 2021 @11:33AM (#28729401)
Looks like the Cortex-R52 and Cortex-R5, a CPU and MCU, respectively both have been ASIL-D (the highest rating) qualified. Which is fantastic frankly. There's a bunch of legacy PPC, MIPS, and TriCore tech that's just miserable to work with because of their ancient and/or bespoke & proprietary toolchains. So, really the automotive industry lacks excuses that I would buy for why they're not moving forward onto new platforms other than the institutional inertia and supply-chain entanglements that its prioritizing instead.
Re:Why Carmakers Can’t Transition to Newer Chips by TaylorPhebillo on Saturday October 02, 2021 @11:24AM (#28729303)
I think the Cortex-R chips are more targeted here- I think the V8-R chips are designed specifically for automotive use, so I assume they have appropriate ratings.
Re:Why Carmakers Can’t Transition to Newer Chips by baybal2 on Saturday October 02, 2021 @11:27AM (#28729343)
There are very lazy car companies which simply specify "automotive certified" car chips for everything, including MCUs running window switches. So, don't be surprised $20 ARM-R based MCUs being used to do something trivial like driving window motor.

I seen a few dashboard where there is an STM32 sitting connected to a single button, whose only duty is to register a key press, and burp something on the CanBus in response.

Re:Why Carmakers Can’t Transition to Newer Chips by coryrc on Saturday October 02, 2021 @01:19PM (#28730266)
I guarantee you no one is running $20 MCUs in trivial applications (in normal times). They're very cost-conscious.
Re:Why Carmakers Can’t Transition to Newer Chips by kortex on Saturday October 02, 2021 @04:41PM (#28731898)
A) I doubt you need a $20 component to register a key press and do some canbus IO

B) If you did have a $20 microcontroller for Canbus control of a window motor driver but it saved $19 in extra wiring/labor (driver controls usually route to all windows), provides reliable debounce, automated one-push-to-open, and allows things like holding keyless lock to close all windows, it's totally worth it.

Re:Why Carmakers Can’t Transition to Newer Chips by hulitu on Saturday October 02, 2021 @02:52PM (#28731004)
Every component ( resistors, transistors, microcontrollers, etc ) must be Automotive qualified (AEC-Q ). That's how you have a minimum standard. A button cannot communicate on the CAN bus that's why you need the microcontroller.
Re:Why Carmakers Can’t Transition to Newer Chips by sbierwagen on Saturday October 02, 2021 @04:49PM (#28731955)
A big chunk of this crisis was caused by car manufacturers being insanely focused on cost cutting. Doing obviously dumb things with BOM isn't exactly a calling card of the automotive industry.
Re:Why Carmakers Can’t Transition to Newer Chips by detaro on Saturday October 02, 2021 @11:22AM (#28729279)
yes. ARM sells appropriate designs, and e.g. NXP offers some chips.
Re:Why Carmakers Can’t Transition to Newer Chips by legulere on Saturday October 02, 2021 @11:43AM (#28729499)
That relies on I/O being written as replaceable units of code and not sprinkled throughout all of the code.