Index: packages/devs/flash/amd/am29xxxxx/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/ChangeLog,v retrieving revision 1.27 diff -u -5 -p -r1.27 ChangeLog --- packages/devs/flash/amd/am29xxxxx/current/ChangeLog 20 Oct 2003 17:37:35 -0000 1.27 +++ packages/devs/flash/amd/am29xxxxx/current/ChangeLog 21 Oct 2003 21:12:27 -0000 @@ -1,5 +1,12 @@ +2003-10-21 Jay Foster + + * include/flash_am29xxxxx_parts.inl (CYGHWR_DEVS_FLASH_AMD_AM29LV033C): + Fixed device definition to allow erasing of the upper half of the + device. The Sector Protect Verify command would erroneously report + the upper half of the device as locked. + 2003-10-02 Jay Foster * include/flash_am29xxxxx_parts.inl (CYGHWR_DEVS_FLASH_AMD_AM29LV081B, CYGHWR_DEVS_FLASH_AMD_AM29LV017D, CYGHWR_DEVS_FLASH_AMD_AM29LV033C, CYGHWR_DEVS_FLASH_AMD_AM29LV065D): Index: packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl,v retrieving revision 1.18 diff -u -5 -p -r1.18 flash_am29xxxxx_parts.inl --- packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl 20 Oct 2003 17:37:36 -0000 1.18 +++ packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl 21 Oct 2003 21:12:27 -0000 @@ -522,11 +522,19 @@ block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, block_count: 64, device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE, base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1), bootblock : false, - banked : false, + // Although this device is not a true banked device, we + // treat the device as having two banks to get the + // Sector Protect Verify to work for the upper half of + // the device. Reference Note 9 for Table 9 in the + // AMD data sheet. + banked : true, + banks : { 0x200000 * CYGNUM_FLASH_INTERLEAVE, + 0 + }, bufsiz : 1 }, #endif #ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV065D