Reading the version of the SWI MCU (Ex: 001.005)


#1

Hello Forum,

Today for our product, I created a combined firmware using the swicwe tool (Custom Linux Yocto image, Legato, Customs apps and SWI MCU).

I would like to know if it is possible to read the SWI MCU version from Linux userspace (AT command or I2C) ?

Thanks for your help.


#2

On target run the command:
root@swi-mdm9x15:/# cat /sys/module/swimcu_pm/firmware/version

It will give output like this:

[ 4591.786601] qup_i2c qup_i2c.0: QUP: I2C status flags :0x1300c8, irq:187
[ 4591.792827] qup_i2c qup_i2c.0: I2C slave addr:0x3a not connected
001.005

regards,
Abhishek


#3

# cat /sys/module/swimcu_pm/firmware/version 001.005