业务单元
PIC16F818烧录案例
PIC16F818信息
  • PIC16LF818 is one Micron Controller
  • PIC16LF818可以加载的flash的容量是1k word,地址范围是0X0000-0X03FF
  •  
    Device Programm Flash
    PIC16F818 PIC16F819
    1K 2K
 
挑战与对策
  • 挑战一
    • Special programming mode
      • In-Circuit Serial Programming is short for ICSP, and the controller is programmed via RB6,RB7 pin
  • 我们的方案
    • Write sequential vectors of RB6,RB7 to programming the controller
 
 
 
  • 挑战二
    • Special address of the controller flash
  • 我们的方案
    • A device Reset will clear the PC and set the address to‘0’. The ‘Increment Address’ command will increment the PC. The ‘Load Configuration’ command will set the PC to 0x2000
 
 
  • 挑战三
    • The data is programmed with 14-bit word forma
  • 我们的方案
    • This is Intel hex format, take the first data (0x0130)as example. The binary format is 0000 0001 0011 0000,the first 2 bits of high byte should be discarded. So the order into the flash is 1000 0000 0000 11