Skip to content

Commit

Permalink
Protocol stk500v2: max size of flash memory increased to 2Mbytes, for…
Browse files Browse the repository at this point in the history
… MZ.
  • Loading branch information
Sergey committed Mar 31, 2015
1 parent e838c89 commit e79a754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapter-stk500v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@ adapter_t *adapter_open_stk500v2 (const char *port, int baud_rate)
printf (" Adapter: STK500v2 Bootloader\n");

a->adapter.user_start = 0x1d000000;
a->adapter.user_nbytes = 512 * 1024;
a->adapter.boot_nbytes = 12288;
a->adapter.user_nbytes = 2048 * 1024;
a->adapter.boot_nbytes = 80 * 1024;
printf (" Program area: %08x-%08x\n", a->adapter.user_start,
a->adapter.user_start + a->adapter.user_nbytes - 1);

Expand Down

0 comments on commit e79a754

Please sign in to comment.