Instruction Instead of Cread in Proton 24


+ Reply to Thread
Results 1 to 12 of 12

Thread: Instruction Instead of Cread in Proton 241697 days old

  1. #1
    Junior Member deutrion's Avatar
    Join Date
    Jan 2009
    Posts
    27
    Thumbs Up
    Received: 0
    Given: 49
    Total Downloaded
    4.45 GB

    0 Not allowed!

    Default Instruction Instead of Cread in Proton 24

    What instruction can be used instead of cwrite in Proton 24, thanks for your help
    Last edited by deutrion; 13th October 2015 at 03:43.

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,415
    Thumbs Up
    Received: 48
    Given: 40
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    Hi there Deutrion,

    I don't think there is a version of Cwrite in Proton24, at least not yet. If you look at the datasheet you will find a section on "Run-Time Self-Programming (RTSP)". So it is possible to write to the flash memory and I'm sure it can be done without too much effort. It may be that a member of this forum has already done it, and if so, they will add to this post.

    Charlie

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Senior Member Stephen Moss's Avatar
    Join Date
    Jan 2006
    Posts
    540
    Thumbs Up
    Received: 32
    Given: 7
    Total Downloaded
    3.87 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    Have not used it yet myself but could you use Prt8, Prt16, Prt32 & Prt64 work for your application?

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #4
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,415
    Thumbs Up
    Received: 48
    Given: 40
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    A good idea Stephen but he wants to write to flash memory, not ram.

    Charlie

  8. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #5
    Junior Member deutrion's Avatar
    Join Date
    Jan 2009
    Posts
    27
    Thumbs Up
    Received: 0
    Given: 49
    Total Downloaded
    4.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    Now I don't find the "Org" directive, please I need help

  10. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #6
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,415
    Thumbs Up
    Received: 48
    Given: 40
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    Give us an example of the "Org" directive that you are having trouble with.
    Charlie

  12. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  13. #7
    Junior Member deutrion's Avatar
    Join Date
    Jan 2009
    Posts
    27
    Thumbs Up
    Received: 0
    Given: 49
    Total Downloaded
    4.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    Device = 24FJ64GA002
    Org 2000

  14. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  15. #8
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,415
    Thumbs Up
    Received: 48
    Given: 40
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    Explain what you are trying to do with the above example please? Is that as far as your code has got?

    Charlie

  16. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  17. #9
    Junior Member deutrion's Avatar
    Join Date
    Jan 2009
    Posts
    27
    Thumbs Up
    Received: 0
    Given: 49
    Total Downloaded
    4.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    I'm trying to write to write flash program memory

  18. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  19. #10
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,415
    Thumbs Up
    Received: 48
    Given: 40
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    I gave you a reference to the data sheet, it explains how to write to flash memory. Look up Run Time Self Programming (RTSP) in the datasheet. You will need to write some assembly code to do this. Proton24 hasn't yet got the commands to do it so you'll have to do it yourself. (Unless somebody here can help you?)

    Charlie

  20. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  21. #11
    Junior Member deutrion's Avatar
    Join Date
    Jan 2009
    Posts
    27
    Thumbs Up
    Received: 0
    Given: 49
    Total Downloaded
    4.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    Ok, I' try

  22. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  23. #12
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,415
    Thumbs Up
    Received: 48
    Given: 40
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Instruction Instead of Cread in Proton 24

    I've just realised why you wanted to use ORG. You wanted to position a pointer at a certain point in memory then somehow WRITE to it.
    You can't do it that way, have a good look at the data sheet and come back if we can help further.

    Charlie

  24. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Cdata and Cread
    By lordfrank1 in forum Absolute Beginners Section
    Replies: 22
    Last Post: 7th June 2018, 12:36
  2. Cread variable name
    By basparky in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 10th October 2015, 12:03
  3. CREAD not working with 12F617
    By Musspole in forum Proton Plus Compiler v3
    Replies: 4
    Last Post: 17th January 2011, 19:13
  4. cread
    By ngilmore in forum Proton Plus Compiler v3
    Replies: 3
    Last Post: 17th May 2007, 05:44

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