Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
undefined reference to `flash_read' #9
I'm attempting to build a parallel EEPROM flasher using this guide, Prototype RS232 AVR parallel flash programmer. I made the following change to enable parallel EEPROM support.
diff --git a/frser-cfg.h b/frser-cfg.h index ef92d24..c5c8fae 100644 --- a/frser-cfg.h +++ b/frser-cfg.h @@ -3,9 +3,9 @@ /* What kind of buses your flasher supports. I assume if it can LPC it can FWH too. */ /* You can override that with FORCE_BUSTYPE if you cant (weirdo hardware duuude :P) */ -//#define FRSER_FEAT_PARALLEL +#define FRSER_FEAT_PARALLEL //#define FRSER_FEAT_LPCFWH -#define FRSER_FEAT_SPI +//#define FRSER_FEAT_SPI /* Debug feature, if you want to use get_last_op to know the last frser operation. */ //#define FRSER_FEAT_LAST_OP @@ -22,7 +22,7 @@ #define FRSER_NAME "frser-duino" /* Attached address lines, only if FRSER_FEAT_PARALLEL */ -//#define FRSER_PARALLEL_BITS 19 +#define FRSER_PARALLEL_BITS 19 /* Ability to set SPI frequency (only if SPI). */ #define FRSER_FEAT_SPISPEED
Unfortunately, it causes a link-time error.
Apparently, it seems the parallel code is less-tested than the SPI code. What is the correct procedure to enable parallel EEPROM programming?
Also, is the information presented in the aforementioned guide still accurate? Or has the wiring has been changed in these years? I didn't find any documentation from the source code.