Writing ARM drivers

Hi all,

I’m slowly working my way back into hardware and had someone tell me to write a driver for a Cortex M3. I’ve not worked on ARM before or even written a driver before but this is a good start.

He was careful to specify the difference between writing an actual driver and simply integrating with Linux. He does NOT want to write anything having to do with Linux. Instead, I’m responsible for actually twiddling bits.

Could someone specify what is meant by this? Are there any examples of code or tutorials online of this?

Thanks.

A driver doesn’t make a lot of sense for a Cortex-M3. What exactly does he want?

leon_heller:
Cortex-M3 won’t run Linux, so a driver doesn’t make a lot of sense.

Could he mean to just write a controller library for a peripheral, perhaps?

You should ask him what he wants!

Study and add to CMSIS - source is public domain

http://www.arm.com/products/processors/ … andard.php