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.
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?
Thanks in advance for the information.
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:
If you are using the same flash, you should change the algorithm in your flash tool as the following:
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]:
the pins in the S32E chip are [S32E2_IOMUX.xlsx, attached with the S32E2 reference manual, sheet S32E2_IOMUX, rows from 105 to 119]:
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]::
Let me know if I correctly understood the information you shared.
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.
Thanks in advance for the information.
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.