Fixed maximum chip size allowed by firmware for compatibility with new

8 MB SIMM
This commit is contained in:
Doug Brown 2012-09-14 18:13:19 -07:00
parent 7acb3ffcc3
commit ff1f213b6f

View File

@ -30,7 +30,7 @@
#include "../programmer_protocol.h" #include "../programmer_protocol.h"
#include "../led.h" #include "../led.h"
#define MAX_CHIP_SIZE (512UL * 1024UL) #define MAX_CHIP_SIZE (2UL * 1024UL * 1024UL)
#define READ_CHUNK_SIZE_BYTES 1024UL #define READ_CHUNK_SIZE_BYTES 1024UL
#define WRITE_CHUNK_SIZE_BYTES 1024UL #define WRITE_CHUNK_SIZE_BYTES 1024UL
#if ((READ_CHUNK_SIZE_BYTES % 4) != 0) #if ((READ_CHUNK_SIZE_BYTES % 4) != 0)