S32 Flash Tool S32FT error

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

S32 Flash Tool S32FT error

3,235件の閲覧回数
sandip2
Contributor II

Hello Team,

We got attached error whiles flashing the bootloader code through UART.

code is running successfully in Eval board.

We have established the connection of our custom  board with USB, but when erasing the memory it is showing error. We are using chip P32E288ABCAAMJGT.

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

2,957件の閲覧回数
sandip2
Contributor II
Hello,
I hope U have checked Schematic. Plz Tell me why this error is coming, Erase is fail as discussed in first message .
0 件の賞賛
返信

2,942件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @sandip2,

Please check my answer in the support ticket.

 

Best regards. 

0 件の賞賛
返信

3,206件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @sandip2,

Checking another post you made earlier this week I see you are using a custom design an I understand that you are able to communicate with your serial device correctly. 

Can you provide the following information to have a better understanding of your setup?

  • Which eval board are you referring to?
  • Are you using the same flash part number as the eval board?
  • Are you using the same pins to communicate the flash memory with the S32E2 as the eval board?
  • If you design is not exactly the same as the eval board, which are the differences?
  • When you mention "code is running successfully in Eval board."  do you mean that you have run the same steps (erasing the flash via the S32FT) successfully with the eval board successfully?
  • Can you describe all the steps you are following to erase the flash from your board and from the eval board?

 

Thanks in advance for the information.

0 件の賞賛
返信

3,173件の閲覧回数
sandip2
Contributor II
Hello,
Please check below my answer to your question
1.Which eval board are you referring to? - we are using s32se27x Eval board.
2. Are you using the same flash part number as the Eval board? - yes we are using S32 flash tool. Please check attached image . it shows exact error. Also we are using same IC and schematic of UART.
3.Are you using the same pins to communicate the flash memory with the S32E2 as the eval board? - yes , pin AC31 and AC32
If you design is not exactly the same as the Eval board, which are the differences? - In our board PMICS, clock, EPROM, UART , EATHERNET is same like Eval board, but there is no any RCON switches, Bootloader 1 and bootloader 1 pins directly connected to s32E pins . we can make change it high to low by changing jumper position on connectors.
4.When you mention "code is running successfully in Eval board." do you mean that you have run the same steps (erasing the flash via the S32FT) successfully with the Eval board successfully? - Yes, we have one code of bootloader working ok in Eval board.
5.Can you describe all the steps you are following to erase the flash from your board and from the Eval board?- first we checked board is working ok in debug mode. Then we connected USB to UART FT232RQ and load the code in s32FT tool. code is loading ok but it shows error Erase is fail.
0 件の賞賛
返信

3,166件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello  @sandip2,

What I meant with the second questions was: Are you using the same QSPI Flash IC part number as the eval board? the eval bboard uses the following:

alejandro_e_0-1735596503640.png

 

If you are using the same flash, you should change the algorithm in your flash tool as the following:

alejandro_e_1-1735596503659.png

 

Please note that the QSPI number and CS may differ depending on your design.

 

You mentioned that your board works correctly in debug mode, are you changing the BOOTMOD pins to boot in serial mode? you should use the following configuration [S32E27XEVBUG, Rev. 1 — 31 August 2023, page 4]:

alejandro_e_2-1735596503696.png

 

the pins in the S32E chip are [S32E2_IOMUX.xlsx, attached with the S32E2 reference manual, sheet S32E2_IOMUX, rows from 105 to 119]:

 

alejandro_e_3-1735596503726.png

 

About the pins you mentioned (AC31 and AC32) I think there may be a little confusion, I checked the functionality of those pins and they are not QSPI related, I meant to which pins are you connecting your QSPI Flash memory and I don't see QSPI functionality in those pins, moreover, one is an RCON bit [S32E2_IOMUX.xlsx, attached with the S32E2 reference manual, sheet S32E2_IOMUX, rows from 1353 to 1363]::

 

alejandro_e_4-1735596503750.png

 

 

 

 Let me know if I correctly understood the information you shared.

 

0 件の賞賛
返信

3,144件の閲覧回数
sandip2
Contributor II
Hello,
We are flashing Bootloader code through UART and IC we are using for it is FT232RQ. This part of Schematic is same as per Eval board
0 件の賞賛
返信

3,101件の閲覧回数
sandip2
Contributor II
Hello,
We are not using QSPI for bootloader . we are flashing bootloader through UART. RCON switches are not present in our board.
0 件の賞賛
返信

3,081件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @sandip2,

Thanks for the information, I understand that you are using the same USB IC that the eval board. I'm was traying to focus  on the Flash memory side. You mention that you are not using QSPI for bootloader and you are flashing it through UART, does that mean your final product will use UART as a boot source? I assume you were using a flash memory from the configuration I see in the image you uploaded, you selected "FLASH" as the destination. 

Is it possible to share your schematic with me? This would help me a lot to identify the possible root cause of the issue. if you are not comfortable sharing your project information in this public community you can open a support ticket thus creating a private communication channel.

alejandro_e_0-1735838183091.png

 

Thanks in advance for the information.

 

 

0 件の賞賛
返信

3,065件の閲覧回数
sandip2
Contributor II
Hello,
can you share your mail id ? it will be better for us to discuss the issue.
0 件の賞賛
返信

3,055件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @sandip2,

I am sorry but I'm not allowed to share my company email, You can include my username and a link to this community post in the description of the support ticket to ensure I am the one to continue with this issue.

 

Thanks in advance. 

0 件の賞賛
返信

3,036件の閲覧回数
sandip2
Contributor II
Hi,
Please check case no 00675531. I have added all details
0 件の賞賛
返信

3,026件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @sandip2,

Thanks a lot, I will check the schematics.

 

Best regards 

0 件の賞賛
返信