1: \begin{abstract}
2: Let $G$ be a finite abelian group,
3: and $r$ be a multiple of its exponent.
4: The generalized Erd\H{o}s--Ginzburg--Ziv constant $\s_r(G)$
5: is the smallest integer $s$
6: such that every sequence of length $s$ over $G$
7: has a zero-sum subsequence of length $r$.
8: We find exact values of $\s_{2m}(\mathbb{Z}_2^d)$ for $d \leq 2m+1$.
9: Connections to
10: linear binary codes of maximal length
11: and codes without a forbidden weight
12: are discussed.
13: \end{abstract}
14: