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.

CCS/TMS320C5505: DMA module boot failed

Part Number: TMS320C5505


Tool/software: Code Composer Studio

I use DSP IC is TMS320C5505,Our EEPROM two Boot startup program is completed; SPI module, IIC module and other peripheral read write programs can be normal boot, including the serial port can also be a normal boot. The question is when using DMA to send serial procedures in debug mode work normal, but ,serial port  using DMA module to send failure in boot mode, when connect emulator to my board ,the program has been loop in judge is DMA sends complete ,but when connect emulator ,clicking the “run” button, can be a normal work.

My ccs version is 6.2.0.00050, emulator is SEED-XDS560PLUS.

  • Hi,

    I've notified the sw team. Their feedback will be posted here.

    Best Regards,
    Yordan
  • HI,

    I tried the following methods:

    1.The judgment DMA complete flag instead of the interrupt mode, debug works normally, but boot works fails.

    2. Using align instructions to align DMA buffers, debug works normally, but boot works fails.

    3. Config ST0, ST1, ST2, ST3 register value is the correct value, debug work normally, but boot work failure.

    4. Config RAM register is 0xFFFF, debug works normally, but boot works fails.

    5. After DMA configuration follow a delay, debug work normally, boot works fails.

    Now DSP work frequency is 150Mhz, other modules are boot normal.

     

    Thanks!

  • Hello,

    Sorry, could you please rephrase your question? Its difficult to understand the problem you are describing. Thanks.

    Lali
  • Sorry, I re-describe my question:
    I use the DMA module to send the data module through the UART. In debug mode, the DMA sends data very well, but it fails to be sent in BootLoader mode. My problem is that other modules work very well in BootLoader mode, including spi, iic, uart, gpio, etc., indicating that my BootLoader works very well, only the DMA module does not work well in BootLoader mode. After this problem, I connected the emulator, connected to the C5505, click the Run button, the DMA send data back to normal.
    I have tried a lot of ways to solve this problem area, but failed, I hope you can help me solve this problem, thank you very much!

  • snake snake,
    Please see this thread e2e.ti.com/.../390544

    Hope it resolves your issue.

    Lali