18F258 minor error


Today 09:51
Forum: The Lounge
Starter: shantanu@india
Views: 0
Replies: 20
Today 08:47
Forum: Proton Plus Compiler v3
Starter: Valter
Views: 0
Replies: 4
Yesterday 13:12
Forum: Proton Plus Compiler v3
Starter: hadv215
Views: 0
Replies: 1
+ Reply to Thread
Results 1 to 5 of 5

Thread: 18F258 minor error2136 days old

  1. #1
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,245
    Thumbs Up
    Received: 30
    Given: 7
    Total Downloaded
    552.06 MB

    0 Not allowed!

    Default 18F258 minor error

    Hi,
    I was attempting to create a bootloader using UMC bootloader, I used Fuse config to create the fuses and got an error when compiling.
    Error[176] C:\DOCUMENTS AND SETTINGS\BOB\MY DOCUMENTS\UMCBUILD\18F258\UMC.ASM 23 : CONFIG Directive Error: (value "25" not valid for setting "BORV")
    I changed this to 27 and compiled fine, no big deal.
    When I checked the PPI file, the low value is 2.0 which I assume would be 20 but the Fuse config shows it as 2.5, hence the 25?
    Also the datasheet which shows it as 2.0.

    BTW, using Fuse config 2.1.1.2.

    Regards,
    Bob
    Last edited by RGV250; 13th May 2013 at 18:00.

  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 johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,091
    Thumbs Up
    Received: 96
    Given: 1
    Total Downloaded
    1.74 GB

    0 Not allowed!

    Default Re: 18F258 minor error

    Sounds like an error in the MicroChip 8bit_devices.info file. I get all my information about fuses from there, I only use the PPI files to establish which PIC are supported by PDS.

    Can you check the Microchip Data sheet, it could be an error in the PPI file.
    JohnB

  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
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,245
    Thumbs Up
    Received: 30
    Given: 7
    Total Downloaded
    552.06 MB

    0 Not allowed!

    Default Re: 18F258 minor error

    Hi John,
    Not sure which bit is wrong, the datasheet and the PPI file say 2.0v but the 8bit_devices.info file says 2.5v.

    Regards,
    Bob

  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 johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,091
    Thumbs Up
    Received: 96
    Given: 1
    Total Downloaded
    1.74 GB

    1 Not allowed!

    Default Re: 18F258 minor error

    That explains the discrepancy - the PPI files are derived from the Spec so if the spec is wrong that is why the PPI file is wrong. Alternatively, it could be vica versa. You could check in the errata file for this chip, it may get clarified there. MPLab uses the 8bit_Devices.info file so I am guessing that MPLAB will report the same as Fuse Configurator when the setting the configuration for this device.
    JohnB

  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
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,245
    Thumbs Up
    Received: 30
    Given: 7
    Total Downloaded
    552.06 MB

    0 Not allowed!

    Default Re: 18F258 minor error

    Hi,
    Can someone check if they have an issue with 18F258/458 as fuse configurator seems to get it totally wrong. I tried it on the 258 and got a lot of errors so tried the 458 in case it was the PPI file. I would not expect both to be wrong. The 18F2580/4580 are fine.

    The ones commented out give errors
    Code:
    ;-------------------------------------------------------------------------------
    ;**** Added by Fuse Configurator ****
    ; Use the Fuse Configurator plug-in to change these settings
    
    Device = 18F458
    
    Declare Reminders Off
    @ CONFIG_REQ = 0 ; Override Compiler's configuration settings
    Asm-
    Config OSC = RCIO    ;External RC oscillator, port function on RA6
    'Config FCMEN = OFF    ;Fail-Safe Clock Monitor disabled
    'Config IESO = OFF    ;Oscillator Switchover mode disabled
    Config PWRT = OFF    ;PWRT disabled
    'Config BOREN = BOHW    ;Brown-out Reset enabled in hardware only (SBOREN is disabled)
    'Config BORV = 3    ;VBOR set to 2.1V
    Config WDT = On    ;WDT enabled
    'Config WDTPS = 32768    ;1:32768
    'Config PBADEN = ON    ;PORTB<4:0> pins are configured as analog input channels on Reset
    'Config LPT1OSC = OFF    ;Timer1 configured for higher power operation
    'Config MCLRE = ON    ;MCLR pin enabled; RE3 input pin disabled
    'Config STVREN = ON    ;Stack full/underflow will cause Reset
    Config LVP = On    ;Single-Supply ICSP enabled
    'Config BBSIZ = 1024    ;1K words (2K bytes) Boot Block
    'Config XINST = OFF    ;Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
    Config Debug = OFF    ;Background debugger disabled, RB6 and RB7 configured as general purpose I/O pins
    Config Cp0 = OFF    ;Block 0 (000800-003FFFh) not code-protected
    Config CP1 = OFF    ;Block 1 (004000-007FFFh) not code-protected
    Config CP2 = OFF    ;Block 2 (008000-00BFFFh) not code-protected
    Config CPB = OFF    ;Boot block (000000-0007FFh) not code-protected
    Config CPD = OFF    ;Data EEPROM not code-protected
    Config WRT0 = OFF    ;Block 0 (000800-003FFFh) not write-protected
    Config WRT1 = OFF    ;Block 1 (004000-007FFFh) not write-protected
    Config WRT2 = OFF    ;Block 2 (008000-00BFFFh) not write-protected
    Config WRTC = OFF    ;Configuration registers (300000-3000FFh) not write-protected
    Config WRTB = OFF    ;Boot block (000000-0007FFh) not write-protected
    Config WRTD = OFF    ;Data EEPROM not write-protected
    Config EBTR0 = OFF    ;Block 0 (000800-003FFFh) not protected from table reads executed in other blocks
    Config EBTR1 = OFF    ;Block 1 (004000-007FFFh) not protected from table reads executed in other blocks
    Config EBTR2 = OFF    ;Block 2 (008000-00BFFFh) not protected from table reads executed in other blocks
    Config EBTRB = OFF    ;Boot block (000000-0007FFh) not protected from table reads executed in other blocks
    Endasm-
    Declare Reminders On
    
    ;**** End of Fuse Configurator Settings ****
    ;-------------------------------------------------------------------------------
    Regards,
    Bob

  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.

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Another minor update
    By johngb in forum Library Manager
    Replies: 2
    Last Post: 28th May 2006, 20:18
  2. Minor Compiler Error
    By PAKirk in forum Proton Plus Compiler v3
    Replies: 3
    Last Post: 11th March 2006, 18:22
  3. A minor UI request
    By johngb in forum Mecanique - IDE
    Replies: 2
    Last Post: 16th December 2004, 16:45
  4. Minor funny?
    By johngb in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 15th November 2004, 17:04

Members who have read this thread since 16th March 2019, 20:08 : 0

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