issp_defs.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* filename: ISSP_Defs.h
  2. */
  3. #include "issp_revision.h"
  4. #ifdef PROJECT_REV_304
  5. /*
  6. * Copyright 2006-2007, Cypress Semiconductor Corporation.
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version 2
  10. * of the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  20. * MA 02110-1301, USA.
  21. */
  22. #ifndef INC_ISSP_DEFS
  23. #define INC_ISSP_DEFS
  24. #include "issp_directives.h"
  25. /* Block-Verify Uses 64-Bytes of RAM */
  26. /* kevi added + */
  27. #define MAX_TARGET_DATABUFF_LEN 1024
  28. /* Address Numbers for Bytes within a Block */
  29. #define TARGET_DATABUFF_LEN 128/*64*/
  30. /*
  31. The number of Flash blocks in each part is defined here. This is used in
  32. main programming loop when programming and verifying the blocks.
  33. */
  34. /* For example, radon is 2 */
  35. #define NUM_BANKS 1
  36. /* Block Numbers for Program Data */
  37. #define BLOCKS_PER_BANK 64/*128*/
  38. #define SECURITY_BYTES_PER_BANK 64
  39. #endif /*(INC_ISSP_DEFS)*/
  40. #endif /*(PROJECT_REV_)*/
  41. /*end of file ISSP_Defs.h*/