Mounting the PN7462AU in the USB downloader mode under Linux

cancel
Showing results for 
Search instead for 
Did you mean: 

Mounting the PN7462AU in the USB downloader mode under Linux

464 Views
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:

Labels (1)
0 Kudos
5 Replies

214 Views
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 Kudos

206 Views
jarojuda
Contributor II

Hi, Nick.

Exactly.

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

 

0 Kudos

197 Views
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

Tags (1)
0 Kudos

268 Views
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)

159 Views
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 Kudos