Help with ppi and def files for 24FJ256GA704 - Page 3


Yesterday 13:46
Forum: Proton Plus Compiler v3
Starter: shantanu@india
Views: 0
Replies: 12
Yesterday 12:19
Forum: Absolute Beginners Section
Starter: moonshadow
Views: 0
Replies: 2
+ Reply to Thread
Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Senior Member tumbleweed's Avatar
    Join Date
    May 2011
    Posts
    429
    Thumbs Up
    Received: 82
    Given: 0
    Total Downloaded
    224.13 MB

    0 Not allowed!

    Default Re: Help with ppi and def files for 24FJ256GA704

    I'd like to find another pic that uses EDS so I can look at the ppi file although that may not be correct either
    From what I recall the 24EP/33EP family use EDS memory.

  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. #22
    Senior Member SimonJA's Avatar
    Join Date
    Mar 2006
    Posts
    825
    Thumbs Up
    Received: 26
    Given: 16
    Total Downloaded
    813.17 MB

    0 Not allowed!

    Default Re: Help with ppi and def files for 24FJ256GA704

    Not much progress on this but I did try a compile on a 24EP128GP204 which does use EDS memory (thanks tumbleweed).

    I don't have any hardware to test this but compiling on this chip and looking at the ASM did produce a mov.w W0,DSRPAG instruction within the section of code that falls over in the 24FJ256GA704 (the 704 asm does not have this).

    DSRPAG selects a page in EDS memory so could well be the issue.

    I can't see anything in the ppi files that would indicate why this might be missing from the 24FJ256GA704 asm file.

    Code:
    ;204 working maybe
    
        mov.w #stringOut_sOut,W1
        mov.w #psvpage(str__lb2),W0
        mov.w W0,DSRPAG
        mov.w #psvoffset(str__lb2),W0
        mov.w #21,W2
        call __load_string_to_string
        call stringOut
    
    
    ;704 not working
    
        mov.w #stringOut_sOut,W1
        mov.w #psvpage(str__lb2),W0
                       
        mov.w #psvoffset(str__lb2),W0
        mov.w #21,W2
        call __load_string_to_string
        call stringOut

  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. #23
    Senior Member SimonJA's Avatar
    Join Date
    Mar 2006
    Posts
    825
    Thumbs Up
    Received: 26
    Given: 16
    Total Downloaded
    813.17 MB

    1 Not allowed!

    Default Re: Help with ppi and def files for 24FJ256GA704

    I think that is as far as I can go with this for now, I'm already in way over my head.

    Les, I don't know why you don't want to help with this, surely having this chip working would make Proton better.



    For anyone who wants to take this further I've attached a modified ppi file below.

    24FJ256GA704_ppimod.zip

    USART and I2C do work using this modified ppi file but there are memory problems and though I've identified one instance of this (passing a string to a procedure) there are almost certainly others which could give unpredictable results.
    Thanks to everyone who helped.

  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.

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Les has just uploaded PIC18F6XK40 PPI and Def files!
    By Les in forum Proton Users File Server
    Replies: 0
    Last Post: 20th January 2017, 15:24
  2. DEF and PPI files
    By yvesmazzon in forum Tips 'n Tricks
    Replies: 4
    Last Post: 29th July 2016, 22:24
  3. PIC18F24J50 PPI+def files
    By RayEllam in forum Proton Plus Compiler v3
    Replies: 15
    Last Post: 9th June 2012, 22:12

Posting Permissions

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