Post Go back to editing


Category: Software
Product Number: ADSP-SC598
Software Version: CrossCoreUtilities-Rel1.7.1


We are using ccsfp to test our hardware on the production line.

It runs from flash correctly.
To speed up the production line we wish to run this from RAM, to avoid a lengthy flash erase.
We have changed the code to use "uartslave" in order to work from ram.
simple programs work, but not the production test code.

I came across a note on this ADI forum which says:
If your boot stream includes an Init Code DXE (ours does), the host will need to cease transmission.
If you have RTS hooked up, the host can pause on the CTS signal while the Init Code executes
(it will get 'clear to send' once the init code >has executed and the boot kernel has resumed waiting for data),
otherwise you should just withhold transmission after transmitting a block with the INIT flag set.

We have implemented RTS/CTS as a mockup on our board but it still fails.
We don't see  CTS change state.
We are talking to a ROM based firmware for which we have no source code.
Can you advise us how to investigate / solve this issue.

Regards Chris 

Thread Notes

Parents Reply Children
  • Hi,

    When the UART is enabled, the RTS goes immediately low, encouraging the host to send the first boot stream data. When the boot kernel is processing fill or Initcode blocks, it can require extra processing time and must delay the host from sending more data. This request is signaled using the RTS output.

    Once the Boot ROM start executing the init code, it will de-assert the RTS informing the host that it is not ready to accept any data. So if RTS of the slave DSP is connected properly to the CTS of the host, then we should see the corresponding change in the CTS as well.

    We would suggest you to refer the "UART Controller Boot Mode" section in ADSP-SC59x HRM linked below.

    Also, here we have attached the Python script, which can be used to send the loader to the DSP through serial port, where we can prove that, to boot with an initcode, flow control needs to be enabled.

    Please use this as a reference and modify as per your requirement.