-
- Puts4("Write simpleprog to 0xf4000 ... ");
- error = FLASH_WriteHalfWord(0xf4000,0x9b00);
- error = FLASH_WriteHalfWord(0xf4002,0x0d4e);
- error = FLASH_WriteHalfWord(0xf4004,0xcff1);
- error = FLASH_WriteHalfWord(0xf4006,0x1601);
- error = FLASH_WriteHalfWord(0xf4008,0x9b05);
- error = FLASH_WriteHalfWord(0xf4010,0x04c7);
- error = FLASH_WriteHalfWord(0xf4012,0xc106);
- error = FLASH_WriteHalfWord(0xf4014,0x1656);
- error = FLASH_WriteHalfWord(0xf4016,0xe0fb);
- if( error == 1 )
- {
- Puts4("done.\n");
- }
- else