TMDSCNCD263P: Can we flash image file into external flash using uniflash tool, while boot DIP switches are in xSPI boot mode and im using USB micro cable(on board debugger)

Part Number: TMDSCNCD263P
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi team,

We have designed the AM263Px MCU to boot in xSPI boot mode by hardwiring the boot DIP switch pins to xSPI mode. When we want to load or update the application image in the external NOR flash, can we use the UniFlash utility to flash the image into the external flash while keeping the boot pins in xSPI mode?

Or do we need to change the boot DIP switches to DevMode first, flash the image into the external flash, and then switch the boot pins back to xSPI mode before powering on the device?

Time being im using AM263px CC dev board and micro usb cable on board debugger to flash. I tried flashing the bin file using uniflash tool by keeping boot DIP switches in xSPI boot mode but it throwed error.
in my previous query they mentioned we can flash image still boot switched are in xSPI mode https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1556081/tmdscncd263p-can-we-flash-image-file-into-external-flash-using-uniflash-tool-while-boot-dip-switches-are-in-xspi-boot-mode

Thanks in advance

  • Time being im using AM263px CC dev board and micro usb cable on board debugger to flash. I tried flashing the bin file using uniflash tool by keeping boot DIP switches in xSPI boot mode but it throwed error.

    Can you share the snippet of the error?

  • This looks like a known issues that we have recently found with Uniflash Tool, team is working on root causing this.

    So the issue behaviour is like it will fail to flash in first iteration, but second iteration onwards it works fine.

    Do you observe something similar or in your case, it never suceeds.

  • Wanted to check if  you have built a custom flasher for your custom board?

  • i tried multiple times, but facing the same error.
    Board:- AM263px CC board
    Connection:- USB micro cable which is connected to CC board's on board debugger
    Tool:- uniflash, on uniflash GUI board is auto detected and i clicked start button
    Boot DIP switches:- selected as xSPI boot mode
    then i selected SBL image as SDK's prebuilt SBL image "OSPI_multicore_elf" SBL image

    then application image from my own project

  • No, i haven't build any custom flasher.

    First of i want to make sure that "can we able to flash the SBL image, application mcelf and appication mcelf_xip images" using Uniflash tool when boot dip switches are still in xSPI boot mode.

    If we can able to flash image in this method, then we will inform hardware team to "Hard wire boot pins to xSPI mode" on our custom board.

    In order to do so i want to achieve this task.

    Please correct me if im doing any wrong steps.

    Board:- AM263px CC board
    Connection:- USB micro cable which is connected to CC board's on board debugger
    Tool:- uniflash, on uniflash GUI board is auto detected and i clicked start button
    Boot DIP switches:- selected as xSPI boot mode

    Do we need to use any JTAG cable instead of USB micro cable???

    Thanks in advance