S32FlashTool support device"MX66UM1G45GXDQ00"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32FlashTool support device"MX66UM1G45GXDQ00"

Jump to solution
1,869 Views
nxf47685
NXP Employee
NXP Employee

Hi

Customer wants to use S32FlashTool to operate "MX66UM1G45GXDQ00" Flash memory, while S32FlashTool only support a few flash chips, for example: MX25UM51245G.bin,MT35XU02GCBA.bin.

so, How can S32Flash support the new device-"MX66UM1G45GXDQ00"? where can we get the *.bin file? does it modify the MX25UM..bin to MX66UM1G45GXDQ00 works? or other methods?

IDE : S32DS.3.4

 

Thanks

Minghong 

0 Kudos
1 Solution
1,855 Views
b13310
NXP Employee
NXP Employee

Hello,

based on flash device documentation, the MX25 algorithms might be able to work, but with less memory space available. 

There is FlashSDK provided with S32FlashTool, the project contain MX25 algorithm implementation, it is possible to increase block in NUMBER_OF_SECTORS definition and rebuild an artifact from SDK to adjust it for MX66... flash

View solution in original post

2 Replies
1,250 Views
SBieger
Contributor I

Hello, I am having the same task. I updated the NUMBER_OF_SECTORS to 2048 in "qSPI_chip_commands.h".

The algo is working in general, but only for the first 64 MB of 128 MB of the flash chip.

For example if I want to upload a file of 1 Byte to the flash, it works if I flash it to a region below 64 MB, but fails above:

 

user@user-virtual-machine:~/S32FlashTool$ sudo ./bin/S32FlashTool -t ./targets/S32G2xxx.bin -fprogram -f file.bin -addr 0x3FFFFFF -size 1 -i uart -p /dev/ttyUSB1
Progress: 100
Erase successful.

Progress: 100
Verification successful.

Data file is loaded.

Time spent: 0.00 sec.

 

user@user-virtual-machine:~/S32FlashTool$ sudo ./bin/S32FlashTool -t ./targets/S32G2xxx.bin -fprogram -f file.bin -addr 0x4000000 -size 1 -i uart -p /dev/ttyUSB1
Progress: 100
Erase successful.

Progress: 100
Data file load is failed.

0 Kudos
1,856 Views
b13310
NXP Employee
NXP Employee

Hello,

based on flash device documentation, the MX25 algorithms might be able to work, but with less memory space available. 

There is FlashSDK provided with S32FlashTool, the project contain MX25 algorithm implementation, it is possible to increase block in NUMBER_OF_SECTORS definition and rebuild an artifact from SDK to adjust it for MX66... flash