- correctly enter debug state on a "soft_reset_halt" command
- several small fixes - retry reading from a FT2232 device on incomplete reads git-svn-id: svn://svn.berlios.de/openocd/trunk@110 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
* variant 2 (lpc2000_v2):
|
||||
* - 213x
|
||||
* - 214x
|
||||
* - 2101|2|3
|
||||
*/
|
||||
|
||||
int lpc2000_register_commands(struct command_context_s *cmd_ctx);
|
||||
@@ -152,6 +153,12 @@ int lpc2000_build_sector_list(struct flash_bank_s *bank)
|
||||
/* variant 2 has a uniform layout, only number of sectors differs */
|
||||
switch (bank->size)
|
||||
{
|
||||
case 8 * 1024:
|
||||
num_sectors = 2;
|
||||
break;
|
||||
case 16 * 1024:
|
||||
num_sectors = 4;
|
||||
break;
|
||||
case 32 * 1024:
|
||||
num_sectors = 8;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user