• AVR Freaks

Hot!H2.05 code configurator and Configuration Bits

Author
kuku
Senior Member
  • Total Posts : 122
  • Reward points : 0
  • Joined: 2012/03/03 08:05:54
  • Location: 0
  • Status: offline
2017/12/28 08:03:37 (permalink)
0

H2.05 code configurator and Configuration Bits

/*** DEVCFG0 ***/

#pragma config DEBUG = OFF
#pragma config JTAGEN = OFF
#pragma config ICESEL = ICS_PGx2
#pragma config TRCEN = OFF
#pragma config BOOTISA = MIPS32
#pragma config FECCCON = OFF_UNLOCKED
#pragma config FSLEEP = OFF
#pragma config DBGPER = PG_ALL
#pragma config SMCLR = MCLR_NORM
#pragma config SOSCGAIN = GAIN_LEVEL_3
#pragma config SOSCBOOST = ON
#pragma config POSCGAIN = GAIN_2X
#pragma config POSCBOOST = ON
#pragma config POSCFGAIN = GAIN_G3
#pragma config POSCAGCDLY = POSCAGCDLY1
#pragma config POSCAGCRNG = RANGE_1X
#pragma config POSCAGC = OFF
#pragma config EJTAGBEN = NORMAL
#pragma config CP = OFF

 
 

 
error: unknown configuration setting: 'POSCFGAIN' #pragma config POSCFGAIN = GAIN_G3
error: unknown configuration setting: 'POSCAGCDLY' #pragma config POSCAGCDLY = POSCAGCDLY1 
error: unknown configuration setting: 'POSCAGCRNG' #pragma config POSCAGCRNG = RANGE_1X
error: unknown configuration setting: 'POSCAGC' #pragma config POSCAGC = OFF


Device is MZ2048DAH169, where can be problem?.  ;/ wrong device?
 
 
 
post edited by kuku - 2017/12/28 08:23:54
#1

7 Replies Related Threads

    LostInSpace
    Super Member
    • Total Posts : 266
    • Reward points : 0
    • Joined: 2016/03/11 22:47:59
    • Location: 0
    • Status: offline
    Re: H2.05 code configurator and Configuration Bits 2017/12/28 11:45:53 (permalink)
    0
    Did you add the correct plugin for harmony configurator? Should be: 2.0.5.2 for Harmony 2.05.
    #2
    kuku
    Senior Member
    • Total Posts : 122
    • Reward points : 0
    • Joined: 2012/03/03 08:05:54
    • Location: 0
    • Status: offline
    Re: H2.05 code configurator and Configuration Bits 2017/12/28 12:27:36 (permalink)
    0
    Yes, I have 2.0.5.2
    If you find a bit time then please try to made new harmony project (can be empty) for PIC32MZ2048DAH169. Run Harmony and set something in clock configuration. Try to compile it, and if you don't get error then past me what they do for /*** DEVCFG0 ***/
    post edited by kuku - 2017/12/28 13:14:51
    #3
    epareja
    Super Member
    • Total Posts : 358
    • Reward points : 0
    • Joined: 2003/11/07 12:53:08
    • Location: Colombia
    • Status: offline
    Re: H2.05 code configurator and Configuration Bits 2017/12/28 20:05:56 (permalink)
    0
    kuku
    Yes, I have 2.0.5.2
    If you find a bit time then please try to made new harmony project (can be empty) for PIC32MZ2048DAH169. Run Harmony and set something in clock configuration. Try to compile it, and if you don't get error then past me what they do for /*** DEVCFG0 ***/


    I get error in 4 DEVCFG0 parameters
     

    "C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MZ2064DAH169 -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/1688732426/system_exceptions.o.d -o build/default/production/_ext/1688732426/system_exceptions.o ../src/system_config/default/system_exceptions.c -DXPRJ_default=default -no-legacy-libc
    ../src/system_config/default/system_init.c:75:9: error: unknown configuration setting: 'POSCFGAIN'
    #pragma config POSCFGAIN = GAIN_G3
    ^
    ../src/system_config/default/system_init.c:76:9: error: unknown configuration setting: 'POSCAGCDLY'
    #pragma config POSCAGCDLY = POSCAGCDLY1
    ^
    ../src/system_config/default/system_init.c:77:9: error: unknown configuration setting: 'POSCAGCRNG'
    #pragma config POSCAGCRNG = RANGE_1X
    ^
    ../src/system_config/default/system_init.c:78:9: error: unknown configuration setting: 'POSCAGC'
    #pragma config POSCAGC = ON
    ^
    make[2]: *** [build/default/production/_ext/1688732426/system_init.o] Error 1
    make[2]: *** Waiting for unfinished jobs....



    Ernesto Pareja J
    www.dcctrains.netne.net

    #4
    jiggoly
    Junior Member
    • Total Posts : 115
    • Reward points : 0
    • Joined: 2016/01/19 15:02:48
    • Location: Spain
    • Status: offline
    Re: H2.05 code configurator and Configuration Bits 2017/12/29 11:47:49 (permalink)
    0
    Hi Ernesto, please install latest xc32 1.44b support patch file for your operating system and try to compile again.

    Best regards.
     
    #5
    kuku
    Senior Member
    • Total Posts : 122
    • Reward points : 0
    • Joined: 2012/03/03 08:05:54
    • Location: 0
    • Status: offline
    Re: H2.05 code configurator and Configuration Bits 2017/12/29 12:30:59 (permalink)
    0
    I confirm. On 1.44b works OK with this config bits.
    #6
    Tez
    Moderator
    • Total Posts : 480
    • Reward points : 0
    • Joined: 2006/10/04 11:09:05
    • Location: 0
    • Status: offline
    Re: H2.05 code configurator and Configuration Bits 2017/12/31 03:28:54 (permalink)
    0
    v2.05 release requires the XC32 v1.44 B part support patch to be installed.
    #7
    jandle
    New Member
    • Total Posts : 22
    • Reward points : 0
    • Joined: 2017/05/27 06:57:30
    • Location: 0
    • Status: offline
    Re: H2.05 code configurator and Configuration Bits 2019/10/09 06:02:29 (permalink)
    0
    I have the same error on this chip with a new install (but old project).  XC32 2.30, plugin 2.0.5.2, and MPLabX 5.25
    #8
    Jump to:
    © 2019 APG vNext Commercial Version 4.5