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.

TMS320C5515EVM + ADS1298 FE boot problem

Other Parts Discussed in Thread: TMS320C5515, ADS1298

Dear guys;

We finally succeeded to run usb_boot_64.exe over TMS320C5515 + ADS1298 FE MDK. Please find details on below link :

http://e2e.ti.com/support/dsp/c5000/f/109/p/108500/1096998.aspx#1096998

Now we have a different problem.Original code (http://c5505-ezdsp.googlecode.com/files/ADS1298_ECGSystem_C5515EVM.zip ) uses UART to communicate with PC.  We modified the original code  to communicate with PC via USB (J11) instead of UART. This modified code works good enough in debug mode and we are able to transfer ECG data which captured by ADS1298 FE to PC using USB(J11 connector)

After we made the image of this modified code and loaded this image into TMS320C (by J11,same connector for transferring ECG data to PC),we got nothing on PC side.Our User Interface says that "no device has been connected" .In addition to this , CS0 of ADS1298 also stays on HIGH.

When we try this using orijinal code ,EVM and code worked as expected:Image created first,send to TMS320C by usb_boot_64.exe ,Booted from USB and functioned as before it does

What can be the problem with the modified code?

Regards

  • Since you confirmed your modified code from using UART to USB works fine in DEBUG mode via JTAG, the common problems for not work in standalone mode (w/o JTAG and code is in DSP)  are code uses SARAM31 and PLL setting not done in code. Can you confirm that?

    The other question I have is what is the different between your working and non-working experiments?

    Regards.

  • Check the IDLE config register also - the bootloader disables the MPORT, which is required for DMA and USB CDMA.

    http://processors.wiki.ti.com/index.php/C5515_Boot-Image_Programmer#Common_Mistakes_in_Boot_Image_User_Code

    Hope this helps,
    Mark

  • Dear Friends;
    We gave up to struggle with the modified code and decided to follow the original ECG application code.It seemed that understanding the modified code will be harder that working over the original ECG code.

    At this point I want to ask a question about booting from EEPROM. We successfully run the original ECG code booting from NOR flash and USB.Now we want to boot the TMS320C5515 EVM from spi EEPROM and pass the control to ECG code .But when we tried to boot from on board spi EEPROM ,code did not start.I have to mention that both ADS1298 and on board spi  EEPROM (over EVM) shares same SPI chip select pin (CS0)

    We added a delay into main.c before   Status = ECG_C5505Init();but it did not work.How can i fix this problem? Does adding a delay into the boot table helps?

    Regards 

  • Hi,

    Perhaps the EEPROM is too small to hold the entire boot image? Both EEPROMs are 32Kx8 bits whereas the NOR flash holds 128Mbit.

    What is the file size of the boot image .bin file? Consider replacing SPI EEPROM with a SPI Flash (they are pin-pin compatible)

    Could you compare the expected memory sections after booting from NOR (which works) against SPI which does not work?

    I don't expect adding a delay into the boot table would help.

    Hope this helps,
    Mark

  • Dear Mark;
    We mounted 25LC512 instead of 256Kbit EEPROM (64K) and checked the bin size and we saw that it is 68K.We discarded the LCD routines and KEY pad routines.New *bin file fitted to 64K and boot process successfully achived from CS0,thanks for advice