Mounting the PN7462AU in the USB downloader mode under Linux

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

Mounting the PN7462AU in the USB downloader mode under Linux

3,251件の閲覧回数
jarojuda
Contributor II

Hello,

the USB bootloader mode of PN7462 under Windows works very well.

The disk labelled PN7462_AU appears and I can replace firmware both Flash and EEPROM.

But I cannot mount the disk under Linux (Ubuntu 18.04 and Raspberry Pi 3).

Dmesg attached:

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

3,001件の閲覧回数
NickMa
Contributor II

Thanks @jarojuda!

Are the sectors directly applicable to dd's `seek=<START_SECTOR>`  like the following??

# EEPROM
dd if=./DRP_00.DAT seek=03 count=7 of=/dev/sdX
# FLASH
dd if=./CRP_00.BIN seek=10 count=316 of=/dev/sda

It seems that the counts {7, 316} are wrong as well...

Best, Nick

0 件の賞賛
返信

2,993件の閲覧回数
jarojuda
Contributor II

Hi, Nick.

Exactly.

After each write, the disk disconnects, so after writing EEPROM you have to wait for reconnection.

 

0 件の賞賛
返信

2,984件の閲覧回数
NickMa
Contributor II

Thanks for the quick response!

after applying "usb-storage quirks=1fc9:0117:r,n,m" seen here  it works like a charm now.

Reading back as following works as well, for verifying reasons..

dd of=./DRP_00.DAT.read skip=3 count=7 if=/dev/sda
dd of=./CRP_00.DAT.read skip=10 count=316 if=/dev/sda

Best

タグ(1)
0 件の賞賛
返信

3,055件の閲覧回数
jarojuda
Contributor II

The solution is here https://community.nxp.com/thread/463248 

The EEPROM occupies seven sectors from 3rd to 9th (3.5 kB)

The flash occupies 316 sectors  from 10 to 325 inclusive (158 kB)

2,946件の閲覧回数
thiago_machado
Contributor III

Many thanks for the @jarojuda! I was able to see the PN7412 as a mass storage device in UBUNTU 20. We are using a i.MX 8M Nano in our project, and the main goal is to update the PN7412 thru the i.MX USB bus. I couldn't manage to make it work on i.MX with the same steps listed here. I'm sending the dmesg output in the attachments. You guys have any idea what might be missing?

 

 

0 件の賞賛
返信