Cypress Semiconductor CY7C1399B Manual de usuario Pagina 9

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 16
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 8
AN57322
November 4, 2009 Document No. 001-57322 Rev. ** 9
12. Go to Project > Options for Target ‘Target1’. Select
the Output tab and check the Create Hex File box.
13. Click the BL51 Locate tab and locate the code and
xdata as shown.
14. Build the project by clicking the Rebuild all target
files button . Make sure the code build is error-
free. Click OK for warnings.
15. If the build is successful, the following screen appears
in the output window. The firmware build is ready and
you have to add firmware for the GPIF transfers.
Firmware to Interface with SRAM
The following sections of firmware are added to the
FX2_SRAM_GPIF.c file:
Initialization code in the TD_Init() routine.
Routines to turn LEDs on and off in TD_Poll() to
indicate that the firmware is running.
Vendor specific commands to do the following:
Trigger a GPIF FIFO Write transfer to write to the
SRAM (handles both single and block writes)
Trigger a GPIF FIFO Read transfer to read from
the SRAM (handles both single and block reads)
The code for this is provided in Appendix A of this
document. Copy the code to the FX2_SRAM_GPIF.c file
in the appropriate positions. For example, replace the
existing TD_poll() with the one in this document. Also copy
all the #defines and functions related to LEDs.
Rebuild the project. If you are using the 4K evaluation Keil
tools, it might complain about the 4K code size limit. In this
case, comment out the other vendor commands that are
remnants from the bulkloop example and then rebuild the
project.
[+] Feedback
Vista de pagina 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Comentarios a estos manuales

Sin comentarios