The problem seems to caused by some missing information in the files that describe the target devices.
Here is a modified version of the ATmega324P file.
This file should be copied into the FCD folder of the Flowcode AVR V4 installation (with Flowcode not running).
Details:
The existing [TMR0] section of each .fcd file requires the following lines adding
MaxTimerOverflow=256
PrescaleOpt=1
Example:
[TMR0]
Name="TMR0 Overflow"
UseExplicitHandlerCode=1
FlagReg=
FlagBit=
HandlerCode="#ifndef MX_TIMER0OVF_HANDLER\n#define MX_TIMER0OVF_HANDLER\nISR(TIMER0_OVF_vect)\n{\n\tFCM_%n();\n}\n#else\n#warning The <TIMER0 OVF> interrupt has previously been enabled, so the macro <%n> may never get called.\n#endif\n"
UseExplicitEnableCode=1
EnReg=
EnBit=
EnableCode="TIMSK0 |= (1 << TOIE0);\n"
DisableCode="TIMSK0 &= ~(1 << TOIE0);\n"
OptCnt=1
TmrOpt=1
MaxTimerOverflow=256
PrescaleOpt=1
Opt1="Clock Source & Prescaler Select"
Opt1Cnt=8
:
:
:
: