Appendix D

Updates of Experiments Using VisualDSP++ V4.5

With the recent release of VisualDSP++ V4.5, there are some minor changes to the experiments listed in this book. This appendix lists the differences and necessary changes required in the Blackfin programming code from VisualDSP ++ V4.0 (described in this book) to VisualDSP++ V4.5.

  • The Create LDF Wizard option is no longer available for the VisualDSP++ V4.5 for Blackfin processor. In order to add .ldf file in an existing project, open the existing project in VisualDSP++ V4.5. Click on Project → Project Options . . . and navigate down in the left window to enable Add Startup Code/LDF. Select Add an LDF and startup code and click OK. A new .ldf file with the same filename as the project is generated. Double click on the .ldf file to assign the memory section and settings as described in V4.0 (described in this book).
  • For those programs that define the DMA settings in the init.c file. Type mismatch error is reported when building these projects in V4.5. The error message is described as “A value of type “volatile unsigned short *” can’t be assigned to an entity of type “void *”.” Simply add (void *) before the variable. For example: change “pDMA1_START_ADDR = sDataBufferRx” to “pDMA1_START_ADDR = (void*) sDataBufferRx”.
  • When defining the size of the BTC channel in V4.5, it is necessary to add in 8 more words, for example, fract16 BTC_CHAN0[VECTOR_SIZE+8]. In V4.0, 4 more words are used instead.
  • In V4.5, a new BTC library, ...

Get Embedded Signal Processing with the Micro Signal Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.