How to reed data from 18F4550 EEPROM into EXCEL via PC USB interface?


Results 1 to 24 of 24

Threaded View

  1. #11
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Replace my previous post with this one...more detail/different questions for Bruce.

    Thanks so much for this, Bruce. I downloaded the zip and installed the files per the readme.txt, but in the process I have some questions:

    1) The readme was pretty explicit except it didn't say where in my file folders to place the vbskfr2.DEP file....can you tell me??
    2) As I understand it, the code in the zipped files is for an 18F4550, yet I see an 18F4450.INC file included in the zip.....how come? I would just use a 18F4450 except it has no on chip EEPROM which I need for the data logging I am doing. It is also a very old file (6/5/06) for version 2.47 so I presume I shouldn't replace the one in my PBP folder that is 09/12/08 Version 2.60 which I am using.
    3) I notice in the LABXUSB.inc file that the CONFIGS for an 18F4550 are listed for use with the bootloader but are commented out, so I presume it is using default CONFIGS for a 18F4550???
    4) I am programming my chips with a PICKIT2 rather than bootloader, so not sure what I have to do to the CONFIGS that are listed????
    5) I also notice that the 18F4550.bas file included in the zip is an older version for 2.46 (12/31/04) than the one in my PBP folder that is dated 9/12/08 for 2.6, ....and the older version has following files commented out:
    BANKA $0000, $005F
    BANK0 $0060, $00FF
    BANK1 $0100, $01FF
    BANK2 $0200, $02FF
    BANK3 $0300, $03FF
    'BANK4 $0400, $04FF
    'BANK5 $0500, $05FF
    'BANK6 $0600, $06FF
    'BANK7 $0700, $07FF
    'EEPROM $F00000, $F000FF
    'LIBRARY "PBPPIC18"
    LIBRARY "PBPUSB18"
    include "PIC18EXT.BAS"
    PORTL VAR PORTB
    PORTH VAR PORTC
    TRISL VAR TRISB
    TRISH VAR TRISC
    include "PBPPIC18.RAM"

    In the newer version this is the equivalent list and nothing is commented out:
    BANKA $0000, $005F
    BANK0 $0060, $00FF
    BANK1 $0100, $01FF
    BANK4 $0400, $04FF
    LIBRARY "PBPPIC18"
    include "PIC18EXT.BAS"
    PORTL VAR PORTB
    PORTH VAR PORTC
    TRISL VAR TRISB
    TRISH VAR TRISC
    include "PBPPIC18.RAM"
    USBMEMORYADDRESS Con $400 ' USB RAM starts here

    I presume since I am using PBP v2.6 compiler that I should not replace the 18F4550.bas file in my PBP folder with the one from the zip?? Should I comment out and of the BANK statements or change the LIBRARY to the one listed in the old file?

    Really appreciate your advice on this.
    Last edited by jellis00; - 27th May 2010 at 21:08. Reason: Delete one sentence

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