home.social

#autosar — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #autosar, aggregated by home.social.

  1. Giới thiệu S-Core, framework C++ mã nguồn mở cho phần mềm ô tô. S-Core hướng tới kết hợp tốc độ phát triển của mã nguồn mở với các tiêu chuẩn an toàn và quy trình nghiêm ngặt của ngành ô tô. Một bài hướng dẫn demo implement pub/sub cơ bản.

    #S-Core #AUTOSAR #Automotive #CPP #OpenSource #Tech
    #S_Core #Oto #CongNghe #MoNguon

    dev.to/pikotutorial/from-autos

  2. Proxy MCAL для Микроконтроллера

    При продолжительной разработке на одном семействе микроконтроллеров получается так, что приложение намертво привязано к конкретному семейству микроконтроллеров и его SDK, так как напрямую использует HAL от вендора. Это особенно явно проявляется в таких случаях, когда надо срочно переносить прошивку на другой микроконтроллер. Получается, что приходится заново писать всю прошивку, всё приложение, драйвера всех ASIC-ов. Драйвер светодиодов, драйвер кнопок, драйвер ASICов c I2C SPI управлением. В общем всё переписывать. Поменяли MCU и пришлось переписать все файлы в репозитории. Нормально так да? В этом тексте я написал, как можно обойти эту проблему.

    habr.com/ru/articles/829886/

    #MCAL #hal #SPL #SDK #binding #proxy #лазаньякод #CLI #Zephyr_Project #AUTOSAR

  3. But it looks like some kind of structured data (see attached image, a normal firmware doesn't look like this, ime). Almost looks like many structs after each other, but idk. Maybe some weird #AUTOSAR thingy?
    I also threw #Ghidra against the dump with some of the suspected architectures (#MCP5xxx, #PowerPC, #Tricore), but none returned any plausible looking instructions.

    If anyone has an idea how the firmware of a Mercedes / Bosch ECU from ~2016 could be structured, hmu. :BoostOK:

  4. According to AUTOSAR:

    "A for loop without a loop-counter is simply a while loop. If this is the desired behavior, then a while loop is more appropriate."

    Uh... WHY?

    #AutoSar #C++