Programing on a network


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    219

    Default Programing on a network

    I have an application using a master and slave arrangement. Both controllers are 16F886. The slave is very difficult to get to and thirty feet away from the master. I am using a half-duplex RS485 on each board. I need to reprogram the application occasionally.

    Question; If both master and slave have bootloader on board, is there any way to address the hex file to target one of the two controllers without having to hack the bootloader itself? OR, how do I reprogram a single controller on a network?

    Thanks
    Wayne

  2. #2
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Re: Programing on a network

    Hi,

    I dont think there is a normal bootloader that can do that. But you can write your own and if you can add a ee2 to the board it would help. Then you load the hex into the ee2 and check that it is written correctly, reset the PIC and start the bootloader which will write the HEX from the ee2 to the flash.

  3. #3
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: Programing on a network

    Jumper, thanks for responding.

    Well I’ve never written a bootloader before but I’m game. If I write my own bootloader I might as well write it to check the controller ID address, if it is the correct address continue bootloading as normal. I think that would be less complex than having the controller check ID address of incoming message then send a huge file to a ee afterwhich you pass to the bootloader.

    Don’t you think the bootloader could be written to check ID then a function byte, then either load program or handle as a standard incoming message/data?

    Wayne

Similar Threads

  1. 16f88 Programing Issues
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st March 2011, 16:29
  2. U2 programing
    By J_norrie in forum USB
    Replies: 1
    Last Post: - 24th October 2008, 20:58
  3. pic16f877a programing
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 9th June 2006, 01:59
  4. Programing Question
    By willie in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 20th February 2006, 04:25
  5. Can the programing Port be used for I/O
    By slxrti in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th October 2005, 22:33

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts