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.

TMS320VC5501 FLASH MEMORY INTERFACE

Other Parts Discussed in Thread: TMS320VC5501

Hello, we are doing a deisgn with the TMS320VC5501 and I was hoping to use a 128Mb page mode nor flash such as the S29GL_128S by Spansion.

My questions are: Is this the best parallel flash for this DSP? Will it boot and work in page mode?

Does anybody have an example of how to connect to the EMIF interface of the 5501?

Thanks for any advice.

 

  • Hi John,

    C5501 and C5502 are very similar.

    Here are some C5502 schematic examples that connect flash memory:

    See page 56 of EVM5502 Tech Ref for schematics of C5501/02 to a flash

    See page 6 of the pre-production version of the C5502 eZdsp schematics

    Also see Using the TMS320VC5501/5502 Bootloader (Rev. C)

    I am not sure about page mode...

    Hope this helps,
    Mark

     

  • Mark, I am looking for a serial flash programming utility to write our .bin file thru the mcbsp on the 5501. Do you know if such a program? If so could you provide a link

     

    Thanks for the support. John

     

  • Hi John,

    We have got the programmer for the C5502 eZdsp available on Spectrum Digital's Support Page: http://support.spectrumdigital.com/boards/ezdsp5502/revb/ (under Test Code)

    This programmer writes over the McBSP in SPI mode... The boot mode is Serial EEPROM (SPI) boot from McBSP0.

    Are you trying to program a device for Standard serial boot from McBSP0?

    I cannot think of any source code examples, but maybe you can start with the Serial EEPROM (SPI) boot from McBSP0.

    Hope this helps,
    Mark

  • Mark, we are using the programmer you recommended but still have an issue.

    Here is the problem I am having:

    We are booting the C5501 from SPI Flash on the McBSP.  I can write a program that resides entirely in internal DARAM, program the flash, and the bootloader will boot and execute the program just fine.

    If I have a program that resides in mostly external SDRAM on CE0, the bootloader does not seem to be able to load the code and execute it.  I have added the EMIF setup to the hex55 command file and it appears the boot image is built correctly to set those registers. The startup extry point _c_int00 is in the SDRAM.

    So, if I reset the processor with the emulator and then execute the boot code, I can see that the parts of the program that are in DARAM are there, and the parts that are in SDRAM are there.  I have even cleared memory to ensure the bootloader is actually loading the code.  Also, when the processor is reset with the emulator, the SDRAM gets corrupted as the EMIF is reset.  So I know for sure the bootloader is loading the code.  However, somehow it is going off into the weeds when it tries to execute.

    Any Ideas what could be wrong?  The command file I am using for hex55 is as follows:

    -boot
    -v5510:2
    -b
    -serial8
    -reg_config 0x0800,0x00a0
    -reg_config 0x0804,0xFF33
    -reg_config 0x0805,0x1051
    -reg_config 0x080c,0xF000
    -reg_config 0x080d,0x4748
    -reg_config 0x080e,0x0001
    -reg_config 0x080f,0x0000
    -i Version_0d_5501.out
    -o C:\Version_0d_5501.bin

     

    Thanks for the support., John