AUTOSAR equivalent for "Hello World!"?

user2791957 picture user2791957 · Sep 24, 2014 · Viewed 8.8k times · Source

I'm totally new to AUTOSAR and Arctic Studio. I have read the documentation available on www.autosar.org and now I would like to start playing around, understanding and writing some code.

I also found that only open source free development environment available for AUTOSAR platform is Arctic Studio (please correct me if I'm wrong). So I downloaded and installed it. I followed all the steps at http://212.181.18.149/wiki/Quick-start_Tutorial but unfortunately my build was not error-free.

I read example codes given in the 'examples' folder but didn't exactly get what happening or how to get started with writing even a simple code.

I was wondering if anyone could point me a direction to create a "Hello World" equivalent for AUTOSAR.

Answer

ECamperos picture ECamperos · Jun 15, 2015

AUTOSAR is a platform configurable based in layers.

You need the MCAL layer from the semiconductor company. The BSW+RTE layer created by your company/university or maybe some free plus the RTOS, then you integrate all for your uC, and create your "Hello World" in the APP layer, in some SWC to "print/send/show" the "Hello world" message.

If you don't have RTE or APP layer, you can create a CDD to execute your "Hello World".

The easiest way should be only using the MCAL: put the "hello world" in the main function, just integrate/configure the MCAL, (and the Startup). Check it with the debugger.