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.

TMS320VC5509A: Progrramming External Flash

Part Number: TMS320VC5509A

Hello,

I am working with a TMS320VC5509 (C55x series) and an external AT45DB642 DataFlash connected via McBSP0 in SPI mode.

I have successfully generated a bootable .bin file using the hex55.exe converter (using the -boot, -v5505, and -serial8 flags). However, I am stuck on the physical deployment to the Flash chip. When I use the "Load Program" option in Code Composer Studio, it correctly loads the .out file to the internal SARAM for debugging, but this does not persist after a power cycle.

  • Is there a standard "Flash Writer" project or source code available for the C5509 that specifically supports the page-based architecture of the AT45DB642?

  • In the absence of a utility, are there specific McBSP register configurations required to handle the 528-byte page size of this DataFlash?

  • Does the C5509 ROM bootloader require the Flash to be in "Power-of-2" (512 byte) mode, or can it handle the default 528-byte page sizing?

  • Hi Gouri,

    First of all, "-v5505" is the boot image format for newer generation of C55x. For C5509, you should use "-v5510:2" instead.

    - There is no standard flash writer for C5509

    - C5509 supports 8 and 16-bit standard serial boot from McBSP0. Please refer to 2.3.4 Standard Serial-Boot Mode of SPRA375F (attached) for details

    - According to the above section in SPRA375F, it is possible as long as the externally generated CLKR0 and FSR0 are valid and no special setup command or read command are needed for AT45DB642.

    Best regards,

    Ming

    using_bootloader_spra375f.pdf