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.

AWR1243: Programming Serial Data Flash Over UART

Part Number: AWR1243
Other Parts Discussed in Thread: UNIFLASH, , IWR1443BOOST, , AWR1443

I want to know how to program the flash connected to a QSPI interface over UART.

The following documents describe how to do this over UART without XDS110, and UniFlash is used for it.

AWR1243 Bootloader Flow
http://www.ti.com/lit/an/swra561/swra561.pdf
3 3 Programming Serial Data Flash Over UART (Bootloader Service) (Page 10)

Please tell me the setting of the UniFlash needed in this case.

Best regards,

Daisuke

  • Hi,

    You will need to select the AWR1243 device in Uniflash and select the COM port for the UART transmission.

    I am not clear if this is what your question is.

    Can you please provide more details?

    Thank you
    Cesar
  • Hi Cesar-san,

    Thank you for your reply.

    Our customer wants to know how to program over UART without XDS110 for AWR1243. I confirmed it by using IWR1443BOOST as a substitute because I do not have AWR1243BOOST, then the flash write failed.

    If the customer has a new question, I will post it here again.

    Best regards,

    Daisuke

  • Hello Daisuke,

    What steps did you use to flash it? There should be no difference between flashing an IWR vs an AWR.

    Regards,

    Adrian
  • Hi Adrian-san,

    Thank you for your reply.

    I was making a basic mistake. I did not notice that the resistors to bridge between the device and the connector are not installed.

    I am going to check it again after installing the resistor.

    Best regards,

    Daisuke

  • Hi Adrian-san,

    Our customer is trying to program the Serial Data Flash on a custom board using UniFlash over UART without XDS110, but it fails. UniFlash hangs after displaying "Cortex_R4_0: Set break signal" on the console.

    When the customer checks the data on the UART bus, after the UART break, the AWR1243 continues to output "0x00" without output the ACK RESPONSE.

    How can this issue be fixed?

    Best regards,

    Daisuke

  • Hello Daisuke,

    Would it be possible to provide the section of your schematic with the UART connection between the AWR and the host?

    Regards,

    Adrian
  • Hi Daisuke,

    You can try to send 0x00 in very low baudrate such as 110bps.
    After send 0x00, the device will send back an ack_msg.

    Then the device will be programable.


    If you have any further questions, please let me know. Thanks.

    Regards,
    Wesley

  • Hi Wesley-san and Adrian-san

    Thank you for your reply.

    Our customer is concerned that their Serial Flash (QSPI) is incompatible with AW1243.

    The QSPI side seems to have stopped with the CS which is held low after reading JEDEC-ID while the UART side continues to output "0x00".

    The Serial Flash installed on the custom board is "S25FL128LAGMFV010". Is this flash available for AW1243?

    Wesley He said:

    You can try to send 0x00 in very low baudrate such as 110bps.

    The baudrate setting seems to be not available in UniFlash. How is the baudrate changed?

    Best regards,

    Daisuke

  • Hi Wesley-san,

    Our customer problem has not yet been cleared.

    Daisuke Maeda said:

    Our customer is concerned that their Serial Flash (QSPI) is incompatible with AW1243.

    The QSPI side seems to have stopped with the CS which is held low after reading JEDEC-ID while the UART side continues to output "0x00".

    The Serial Flash installed on the custom board is "S25FL128LAGMFV010". Is this flash available for AW1243?

    Can using an incompatible Serial Flash (QSPI) cause an ack_msg not to send back on UART side?

    The bootloader seems to check only the Manufacturer ID to confirm a Serial Flash is compatible in Functional (SOP 1) mode.

    What does the bootloader check to confirm a Serial Flash is compatible in Flashing (SOP 5) mode?

    The Serial Flash installed on AWR1243BOOST is "S25FL116K0XNFV010". It should have the same Manufacturer ID as the "S25FL128LAGMFV010" that is installed on the custom board. If the bootloader checks only the Manufacturer ID, "S25FL128LAGMFV010" should be available for AW1243.

    Best regards,

    Daisuke

  • Hi Wesley-san,

    Sorry many times.

    Please give me an answer as soon as possible. Your prompt reply would be appreciated.

    Daisuke Maeda said:

    The Serial Flash installed on the custom board is "S25FL128LAGMFV010". Is this flash available for AW1243?

    Daisuke Maeda said:

    The Serial Flash installed on AWR1243BOOST is "S25FL116K0XNFV010". It should have the same Manufacturer ID as the "S25FL128LAGMFV010" that is installed on the custom board. If the bootloader checks only the Manufacturer ID, "S25FL128LAGMFV010" should be available for AW1243.

    Best regards,

    Daisuke

  • Hello Daisuke,
    Could you please confirm if UART connection to AWR1243 is functional from Host/PC? To verify this scenario please confirm that SOP-5 mode is set properly to AWR1243 before sending break signal to device.

    An now regarding Serial Flash support- AWR1243 does support this sFlash manufacturer but Quad mode must be enable on the sFlash which AWR1243 look for while reading the data from it.

    "S25FL128LAGMFV010" - doesn't support quad mode. (as per its datasheet)


    Regards,
    Jitendra
  • Hi Jitendra-san

    Thank you for your reply.

    Should sFlash be enabled the Quad mode by default?

    "S25FL128LAGMFV010" does support the Quad mode, but does NOT support it by default. The data sheet is here: http://www.cypress.com/file/316171/download

    "S25FL116K0XNFV010" on AWR1243BOOST does support the Quad mode, but does NOT support it by default. The data sheet is here: http://www.cypress.com/file/196886/download

    Best regards,

    Daisuke

  • Hello Daisuke,

    AWR1243 checks for quad-mode to write data on s-Flash but for read, it doesn't matter.

    You can check with s-Flash vendor to enable quad-mode bit which is one time task only.

    Regards,

    Jitendra

  • Hi Daisuke,

    I am having the same issue with a AWR1443 board that I built. Were you able to successfully get your flash into Quad mode? Thanks in advance.

    Regards,
    Brendan
  • Hi,

    I will close this thread that was started a long time ago.

    With new questions, please start a new thread. You may reference this thread in your question

    thank you
    Cesar