Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bootloader for 18f452 [solved]
#1
Please help me .
How can I write code in the Offset?

[Image: bootloaderh.jpg]
[Image: 18007678.jpg]


#ORG ????????? Sad How can I write code in the Offset?
my code is
Code:
#include <18F452.h>
#device ADC=10  // 10 bitlik ADC kullanılacağı belirtiliyor.

#fuses   HS, NOWDT,NOLVP, NOPROTECT,NOBROWNOUT, NOPUT, STVREN, NODEBUG, NOWRT, NOWRTD, NOWRTB, NOWRTC, NOCPD, NOCPB, NOEBTR, NOEBTRB
#use delay(clock=10000000)
#use fast_io(a)

#define MODBUS_TYPE MODBUS_TYPE_SLAVE
#define MODBUS_SERIAL_RX_BUFFER_SIZE 64
#define MODBUS_SERIAL_BAUD 38400
#define MODBUS_SERIAL_RX_PIN PIN_C7
#define MODBUS_SERIAL_TX_PIN PIN_C6
#define MODBUS_SERIAL_ENABLE_PIN PIN_C5
#define MODBUS_SERIAL_RX_ENABLE  PIN_C5            // Controls RE pin for RS485 transceiver
#define MODBUS_SERIAL_INT_SOURCE MODBUS_INT_RDA
#define MODBUS_SERIAL_TYPE       MODBUS_RTU        // use MODBUS_ASCII for ASCII mode
#include <modbus.c>

[Image: 57872611.jpg]
Reply


Messages In This Thread
Bootloader for 18f452 [solved] - by thenorthstar - 2011-04-01, 16:37:46
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-01, 22:01:39
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-02, 09:29:03
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-02, 18:55:47
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-03, 15:20:49
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-04, 22:46:34
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-05, 10:50:32
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-05, 22:15:36
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-06, 08:08:41
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-06, 21:20:32
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-07, 08:36:08
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-07, 20:06:56

Forum Jump:


Users browsing this thread: 2 Guest(s)