PC to eeprom w/ bootloader


Results 1 to 6 of 6

Threaded View

  1. #5


    Did you find this post helpful? Yes | No

    Default Umm, you would have to write some code

    Hi,

    Well what i would do.... i will just opcode hope it helps

    1. Use Serial Port Interrupt 'check Instant Interrupts by Darrel Taylor in the forum
    2. In interrupt routine something like :
    Code:
    IntHandleRS232:
    While (Idontemember)=1 then
       COMIN = (Idont remember)
    Wend
    
    IF ComIn = 254 then     ' 254 is a command that indicates write eeprom of course you decide the number
         hserin [BO,B1]        ' receive Address B0, anda data B1 to write
         WRITE B0, B1      ' you could also control the addr from the pc
    ENDIF
    @INT_RETURN
    3. You would have to make a software (VisualBasic) on your PC that sends info with the format 254(command), addr, data.
    4. mmm this its easy but not straightfordward

    Well this is the way i have done it, again easy but not simple.
    Last edited by Josuetas; - 20th August 2007 at 17:45.

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 15:46
  2. How to read stored data from MCU EEPROM into PC?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd October 2009, 16:26
  3. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd November 2008, 00:51
  4. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 07:26
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 20:59

Members who have read this thread : 0

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