Can anyone help me to use Writecode for pic18f458 ?


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Try this...
    Code:
    I var byte ' Loop count
    D var word ' Data
    A var word ' Address
    
    A=$04F0
    d=$1234
    
    For I = 0 TO 6 STEP 2
        Writecode A + I, D
    Next I
    
    stop
    end
    DT

  2. #2
    Join Date
    Feb 2006
    Posts
    9


    Did you find this post helpful? Yes | No

    Smile

    Hi,Darrel

    Thanks, Your code is OK!!!!!!!!!!!

    Best regards from

    Kiev, Ukraine

    ps.sorry for bad English

Similar Threads

  1. Bootloader For 18F4520
    By isaac in forum mel PIC BASIC Pro
    Replies: 36
    Last Post: - 24th March 2010, 17:56
  2. WRITECODE, ERASECODE, and interrupts
    By RussMartin in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th March 2010, 02:46
  3. WRITECODE stores wrong 14-bit word values in FlashMEM
    By BobPigford in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 26th June 2009, 04:35
  4. I need help with writecode
    By Marten in forum General
    Replies: 2
    Last Post: - 2nd March 2005, 22:15

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