v1 and v2 are now in parity wrt flash memory layout

Back-ported program struct from v2 to v1.
Updated v1 PIC project to move Writable section from 0x4900 to 0x4000
Fixed flash_rom_init.h generation code.
Bug fixes for v1 and v2.