Tuesday, December 15, 2015

Bluetooth + PICkit 2c

Programming PIC18F2550 with Bootloader firmware (using PICkit2)
   test bootloader by checking the LED (button at, LED at)

Programming PIC18F2550 with PICkit2 firmware
   check PICkit2App

[Bluetooth module: AT COMMAND (NO \n\r)
  1.AT
  2.AT+NAME
  3.AT+PIN      (xxx8)
  4.AT+BAUD5    (for 19200)]

Write a simple UART program to echo the data sent from the host.

Setup Vdd, Vpp circuit
   Vpp_Feedback
   Vdd_Target_FB

   Vpp_ON
   Vpp_PUMP

   Vdd_TARGET_N
   Vdd_TARGET_P
   Vdd_TARGET_adj

Update firmware with serial port support
   programming the new firmware to PIC18F2550

XC8       
section //  linker class  // memory
text; CODE, Flash
bss0; BANK0; RAM
data0; BANK0; RAM
idata; CODE; Flash

PSECT bss0, class=BANK0
PSECT text, class=CODE










No comments:

Post a Comment