Flowcode v7.1.1.0 (yes I realise its out of date and should be upgraded)
PIC18F45K80
My project is compiling but the config settings are giving a warning from the compiler. Haven't seen this before and wondering why the semantics are not readable.
36:__config("__PROG_CONFIG", "pic18", 0x2, 0x74F8);
^ (1386) unable to determine the semantics of the configuration setting "WDTPS" for register "CONFIG2H" (warning)
Just wondering?
I see there was a similar post for PIC18F26K80 compiler error
Postby minolta » Mon Jul 02, 2018 8:29 pm
In that case the compiler gave an error, I only have a warning but as the two chips are similar ........?
I see Ben posted an update that fixed minolta's issue but was that an update for Flowcode 7 or Flowcode 8? I will do the update to the the latest v7 if that fixes the anomaly.
Strange compiler warning when WDT disabled
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Strange compiler warning when WDT disabled
Hello,
If you don't fancy upgrading to 7.3 then it might be worth you downloading the zip file from the link below and simply updating the specific FCD (Flowcode Chip Definition) file your using. This should give you the latest fixes to the definition file without touching anything else.
viewtopic.php?f=63&t=19743
If you don't fancy upgrading to 7.3 then it might be worth you downloading the zip file from the link below and simply updating the specific FCD (Flowcode Chip Definition) file your using. This should give you the latest fixes to the definition file without touching anything else.
viewtopic.php?f=63&t=19743
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 51
- Joined: Fri Apr 07, 2017 5:51 pm
- Has thanked: 6 times
- Been thanked: 11 times
- Contact:
Re: Strange compiler warning when WDT disabled
Thanks Ben
I did as you suggested and copied the latest fcdx file for the chip into my system, but when I booted up Flowcode, opened the design and recompiled, I'm getting exactly the same warning message. Could there still be an error in the file relating to the WDT?
Thanks for the help.
I did as you suggested and copied the latest fcdx file for the chip into my system, but when I booted up Flowcode, opened the design and recompiled, I'm getting exactly the same warning message. Could there still be an error in the file relating to the WDT?
Thanks for the help.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Strange compiler warning when WDT disabled
Hello,
Please go into the Build -> Project Options Menu and click on the Configure tab.
Under Watchdog Postscaler ensure that the value looks valid. If it's just a number there then it's not got a valid value from the list.
Problem config entry
Ok config entry
Hope this helps.
Please go into the Build -> Project Options Menu and click on the Configure tab.
Under Watchdog Postscaler ensure that the value looks valid. If it's just a number there then it's not got a valid value from the list.
Problem config entry
Ok config entry
Hope this helps.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel