Today 22:25
Forum: The Lounge
Starter: Tim
Views: 0
Replies: 6
Today 21:47
Forum: Proton Plus Compiler v3
Starter: Dave-S
Views: 0
Replies: 20
Today 18:41
Forum: Absolute Beginners Section
Starter: KevinPBaker
Views: 0
Replies: 5
Today 17:07
Forum: Proton Plus Compiler v3
Starter: Dave-S
Views: 0
Replies: 0
Today 10:19
Forum: Proton Plus Compiler v3
Starter: Fred Philpott
Views: 0
Replies: 2
+ Reply to Thread
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 53

Thread: User Id Location ?3775 days old

  1. #41
    Article Author johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,122
    Thumbs Up
    Received: 66
    Given: 0
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: User Id Location ?

    John: I reckon you might have to include an error message Label "Device has no USER_ID or unsupported in this software" if the search fails. I can't find any other indicator in the PPI.
    I've already added that, not quite your words but the end result is the same. I am just putting up the warning and proceeding on to compiling the untouched source.
    JohnB

  2. #42
    Article Author johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,122
    Thumbs Up
    Received: 66
    Given: 0
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: User Id Location ?

    Sorry I have not been able to show you anything yet, am having a problem with the API in that it seems to be returning rubbish on my first plgGetPage request so the app gets confused and errors. Its very time consuming when debugging API issues when you cannot use the Delphi debugger to trap things.
    JohnB

  3. #43
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,325
    Thumbs Up
    Received: 51
    Given: 122
    Total Downloaded
    2.37 GB

    1 Not allowed!

    Default Re: User Id Location ?

    Isn't that what you want my app to do, why are you talking about modifying the hex file manually?
    I was just considering an alternate alternate approach. It has the merit of removing the complexity of several different methods of writing to User ID.

    Also just one test - is there an Extended Linear Address for the same address as IDLOC0 (oh, and get the number of IDLOC's from the following field)

    Obviously a plugin is more convenient than a stand alone.
    Last edited by towlerg; 19th October 2017 at 13:35.
    George

  4. #44
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,325
    Thumbs Up
    Received: 51
    Given: 122
    Total Downloaded
    2.37 GB

    0 Not allowed!

    Default Re: User Id Location ?

    Too late to edit above but it also occurred to me that the alternate method would allow UserID to be written to by devices that cannot do so themselves ie standard 16F's
    George

  5. #45
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,919
    Thumbs Up
    Received: 81
    Given: 25
    Total Downloaded
    1.37 GB

    0 Not allowed!

    Default Re: User Id Location ?

    Wouldn't an eedata solution be simpler George? Or have I misunderstood your suggestion? Easily done when I first face the world in the morning.

  6. #46
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,325
    Thumbs Up
    Received: 51
    Given: 122
    Total Downloaded
    2.37 GB

    0 Not allowed!

    Default Re: User Id Location ?

    The trouble with using any predefined location in either ROM or EEPROM is that it may be unavailable on any given device or overwritten by 3rd. party software. User ID is available across the range of devices I use.
    George

  7. #47
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,919
    Thumbs Up
    Received: 81
    Given: 25
    Total Downloaded
    1.37 GB

    0 Not allowed!

    Default Re: User Id Location ?

    True, I suspect the final software will be fine most of the time - but the world is full of compromises. My wonderful wife 'suggests' and I compromise.
    John

  8. #48
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,325
    Thumbs Up
    Received: 51
    Given: 122
    Total Downloaded
    2.37 GB

    0 Not allowed!

    Default Re: User Id Location ?

    Too late to edit above but it also occurred to me that the alternate method would allow UserID to be written to by devices that cannot do so themselves ie standard 16F's
    Sorry John, thats nonsense, your way works just as well in this case.
    George

  9. #49
    Prolific Poster joesaliba's Avatar
    Join Date
    Sep 2004
    Posts
    2,619
    Thumbs Up
    Received: 59
    Given: 18
    Total Downloaded
    2.27 GB

    0 Not allowed!

    Default Re: User Id Location ?

    For the standard 16F I think that the only way to do the ID location is from the programmer. Have a look here please.

    I do not know exactly what the programmer add to the hex file but it works!
    Regards

    Joseph

  10. #50
    Article Author johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,122
    Thumbs Up
    Received: 66
    Given: 0
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: User Id Location ?

    Found another issue after further playing...

    Some of the 18 Series have 16 IDLOC's in the PPI file but if I try and define all 16 I get "Argument out of range (not a valid ID location)" so it seems I have to restrict the number of IDLOC's to 8 max.
    JohnB

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. [SOLVED !] PDFNow Location Help
    By BillR in forum The Lounge
    Replies: 6
    Last Post: 13th January 2014, 18:26
  2. [SOLVED !] Location of user INCLUDE files
    By rcurl in forum Proton Plus Compiler v3
    Replies: 4
    Last Post: 17th October 2012, 21:11
  3. From forum user to licensed user
    By gerben-88 in forum Mecanique - IDE
    Replies: 4
    Last Post: 17th July 2012, 09:27
  4. Reading ID Location
    By philvb in forum Proton Plus Compiler v3
    Replies: 8
    Last Post: 29th May 2006, 03:27
  5. location of windows?
    By TheNewGuy in forum Mecanique - IDE
    Replies: 0
    Last Post: 15th August 2005, 02:33

Members who have read this thread since 15th November 2017, 09:28 : 1

Actions :  (Set Date)  (Clear Date)

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

Tags for this Thread

Posting Permissions

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