Read/Write the RCW values from Linux userspace?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Read/Write the RCW values from Linux userspace?

ソリューションへジャンプ
1,816件の閲覧回数
ts1234
Contributor III

How do I read/write the RCW values on a running device from Linux userspace?

0 件の賞賛
返信
1 解決策
1,807件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

RCW is stored in beginning of flash.

In Linux, you could use mtd_debug(from package mtd-utils) to read/write flash sectors as the following.

./mtd_debug read <device><offset> <dest-filename> <len>

./mtd_debug write <device><offset> <source-filename> [len]

./mtd_debug erase <device><offset> <len>

# mtd_debug erase /dev/mtd1 0x1000000 0x100000

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,808件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

RCW is stored in beginning of flash.

In Linux, you could use mtd_debug(from package mtd-utils) to read/write flash sectors as the following.

./mtd_debug read <device><offset> <dest-filename> <len>

./mtd_debug write <device><offset> <source-filename> [len]

./mtd_debug erase <device><offset> <len>

# mtd_debug erase /dev/mtd1 0x1000000 0x100000

0 件の賞賛
返信