This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi TI support,
I try to use TI Uniflash 6.1.0 (6.2.0 also tried) tool for flashing OSPI NOR memory in our custom board via MCU UART.
On the TDA4VM J721 EVM it is working correctly and I can write to OSPI NOR flash memory every files what I need.
On our Sample board unfortunately after loaded uart_j721e_evm_flash_programmer_release.tiimage and sysfw.bin which is performed as initial, I trying to send something to OSPI NOR, unfortunately without success.
On EvalBoard NOR memory is MT35XU512ABA1G12-0AUT but on our custom board is MT35XU02GCBA1G12-0AUT. I suspect that UniFlash don`t support this chip although only difference between those is capacity. Every connected pins to TDA4 are the same like on EVM. I don`t have idea what could be reason of that.
Could you give me supported OSPI memory chips by UniFlash?
Thanks in advance for all your hints and support.
Jacek
Hi Jacek,
Can you send the logs you get while trying to flash on your custom board?
Also, I'm assuming you made sure that the CCCC.... characters are printed on the MCU UART when you are in the UART boot mode (before you try to flash the board). Can you confirm?
Regards,
Karan
Hi Karan,
Yes CCC characters are sending on MCU UART:
I successfully flashed TI programmer and SysFW via UART but during attempt to send file to OSPI NOR memory unfortunately without any response from UniFlash:
UniFlash is stacked (stopped) with this point without positive (either negative) response from UniFlash.
Where can I found some logs from this operations?
Regards,
Jacek
Hi Jacek,
Do you have an SD card interface or any USB interface? I want to try out flashing the OSPI flash on your board by u-boot (from SD card) or using DFU.
Regards,
Karan
Hi Karan,
Unfortunately we have only UART or JTAG for possible flashing method. On EVM we had no problem with UART and UniFlash tool but in this case UniFlash it seems not work correctly with this memory chip. SD card and DFU also was tested by us on our previous sample boards but in this case we have newer one and only above solutions. I only need to have information which memory are supported by UniFlash (maybe this specific chip, mentioned in my previous post, is not supported and you know some workaround) and/or if you have solution and example cmm script for Lauterbach for flashing external NOR memory using JTAG connected to TDA4 and some binary for copying data from RAM to NOR.
I hope to precise answer because is important for us.
Thanks and regards
Jacek
Hi Jacek,
1. We have tried some CMM scripts to flash to OSPI from Lauterbach. I will ask a colleague to send on this thread on Monday.
2. Meanwhile there is an FAQ : How to flash OSPI using CCS on TDA4x/DRA82 EVM at https://e2e.ti.com/support/processors/f/791/t/942139 - can you take a look at this.
3. I'm checking internally with the team if the flash part you are using could be an issue with UNIFLASH.
Regards,
Karan
Hi Karan,
Describe in FAQ what you mentioned unfortunately also use UniFlash. Different is only way to put it to memory (UART or in this case JTAG).
Thanks and I am looking forward for solution with Lauterbach and information about supported flash chips by UniFlash.
Regards,
Jacek
Hi Jacek,
Can you please reach out to your local TI support? (they in turn can reach out to me)
I'm not sure if I can post the CMM scripts on the public forum, I have them but would like to send them over email.
Regards,
Karan
Hi Jacek,
Karan Saxena said:Can you please reach out to your local TI support? (they in turn can reach out to me)
Hope you got the CMM Scripts.
Karan Saxena said:I'm checking internally with the team if the flash part you are using could be an issue with UNIFLASH
I checked this with the team got the response:
"Uniflash depends on the board flash library to provide APIs to access the flash. If customer has board flash library updated to support MT35XU02GCBA1G12-0AUT, changing the OSPI_FLASH_ID in Uniflash ospi header files to MT35XU02GCBA1G12 will make the Uniflash work with new flash device."
Karan