error message???

jims

Senior Member
I get this message when I try to download a change to a program that has been running in a 20M2 chip for over a year. " Firmware >= C3 'idle high' modes not supported by this firmware version ". What does it mean? Thank you, JimS

edit: Here's "compiler" info when try to download...
PICAXE Preprocessor
Version 1.0.5
Copyright (c) 2011-2015
Revolution Education Ltd

Preprocessing files...
C:\Users\Jim\Desktop\carl's project\PE6 Programs\sahgsfda.bas

PASS, preprocessing successful.

PICAXE-20M2 Compiler
Version 3.4
Copyright (c) 1996-2016
Revolution Education Ltd

Compiled successfully.
 

westaust55

Moderator
It may also help receive a response if you indicate precisely which command(s) are causing the problem.

Eg SEROUT or SERIN
Or HSERSETUP with HSERIN

Best to post a part of your code involved.
 

hippy

Technical Support
Staff member
" Firmware >= C3 'idle high' modes not supported by this firmware version ". What does it mean?
It indicates that you need chip with firmware >= C.3 to do what you are attempting to do, that you are downloading into a chip with firmware C.2 or earlier which does not support that.

However Firmware version C.x is a 20X2, not a 20M2.

Please can you provide your full program code so we can investigate the issue.
 
Last edited:

jims

Senior Member
Here's the program that wouldn't load yesterday...This morning I tried to load a program with a simple (do loop with a pause). It loaded OK. Now this program loads OK also. Strange. JimS

Code:
[color=Green]'*********************************
'* This routine uses a 20m2 processor, and RGB LED. 
'*********************************************

'                        
'                          
'                          
'    20M2 or 20x2        
'  +------------+          
'  |            |          
'  |            |
'  |            |                     RGB LED, common anode
'  |            |                     ---------
'  |        C.0 | 10 ---330 ohm------->RED     | "EDGE LIT SIGN"
'  |        C.1 | 9  ---330 ohm------->GREEN   |---+5VDC
'  |        C.2 | 8  ---330 ohm------->BLUE    |
'  |            |                     ---------
'  |        C.3 | 7 <--------- Clicker
'  |        C.4 | 6 ---------> Xmit serial data
'  +------------+[/color]


[color=Blue]symbol LDR  [/color][color=DarkCyan]= [/color][color=Blue]B.2       [/color][color=Green]'Pin 16; LDR sensor.[/color]
[color=Blue]Symbol CLICKER [/color][color=DarkCyan]= [/color][color=Blue]C.3    [/color][color=Green]'Pin 7; IR remote clicker. [/color]
[color=Blue]symbol XmitPin [/color][color=DarkCyan]= [/color][color=Blue]C.4    [/color][color=Green]'Pin 6; Xmit serial data.[/color]
[color=Blue]symbol [/color][color=Purple]PBSw  [/color][color=DarkCyan]= [/color][color=Purple]pinC.5 [/color][color=Green]'Pin 5; PB switch to interrupt & "reset".[/color]
[color=Blue]symbol [/color][color=Purple]irdata [/color][color=DarkCyan]= [/color][color=Purple]b1  [/color][color=Green]'Data from clicker.[/color]
[color=Blue]symbol [/color][color=Purple]color [/color][color=DarkCyan]= [/color][color=Purple]b2[/color]
[color=Blue]symbol [/color][color=Purple]FlashRate   [/color][color=DarkCyan]= [/color][color=Purple]w4 [/color][color=Green]'Flash rate of sign.[/color]

[color=Navy]#picaxe [/color][color=Black]20m2    [/color][color=Green]'20x2 works too.


'Macro turns all Sign LEDs off.[/color]
[color=Navy]#macro [/color][color=Black]SignOFF
    [/color][color=Blue]let [/color][color=Purple]pinsC [/color][color=DarkCyan]= [/color][color=Navy]%00000111
#endmacro[/color]

[color=Blue]setfreq MDEFAULT[/color]

[color=Black]PowerOnReset:
    [/color][color=Blue]pause [/color][color=Navy]1000  [/color][color=Green]'Initialize system.
    [/color][color=Blue]let [/color][color=Purple]dirsC [/color][color=DarkCyan]= [/color][color=Navy]%00000111   [/color][color=Green]'Define output pins.
    [/color][color=Blue]let [/color][color=Purple]dirsB [/color][color=DarkCyan]= [/color][color=Navy]%11100000   [/color][color=Green]'Define output pins.
    [/color][color=Black]SignOFF     [/color][color=Green]'Turn all LEDs off.
    [/color]
[color=Black]Main:
    [/color][color=Blue]do
     Call [/color][color=Black]GetIR
     [/color][color=Blue]Select case [/color][color=Purple]IRData
      [/color][color=Blue]case [/color][color=Navy]0 [/color][color=Blue]call [/color][color=Black]SimpleSign
     [/color][color=Blue]endselect
    loop[/color]

[color=Green]'*Step through colors & flash on sign.[/color]
[color=Black]SimpleSign:
    [/color][color=Blue]setint [/color][color=Navy]%00000000[/color][color=Black], [/color][color=Navy]%00001000 [/color][color=Green]'Interrupt on "clicker".
    [/color][color=Blue]let [/color][color=Purple]Flashrate [/color][color=DarkCyan]= [/color][color=Navy]1200
    [/color][color=Blue]do
     for [/color][color=Purple]color [/color][color=DarkCyan]= [/color][color=Navy]1 [/color][color=Blue]to [/color][color=Navy]6
      [/color][color=Blue]serout xmitpin[/color][color=Black],[/color][color=Blue]N4800_4[/color][color=Black],[/color][color=Blue]([/color][color=Black]#[/color][color=Purple]color[/color][color=Black],[/color][color=Blue]cr[/color][color=Black],[/color][color=Blue]lf)
      let [/color][color=Purple]pinsC [/color][color=DarkCyan]= [/color][color=Purple]color [/color][color=Green]'For common anode RGB LED.
      [/color][color=Blue]pause [/color][color=Purple]Flashrate   [/color][color=Green]'Flash rate.
     [/color][color=Blue]next [/color][color=Purple]color
    [/color][color=Blue]loop[/color]

[color=Green]'*Routine reads IR clicker & corrects numeric key offset.   [/color]
[color=Black]GetIR:  
    [/color][color=Blue]irin clicker[/color][color=Black],[/color][color=Purple]irdata [/color][color=Green]'Read data from IR clicker.
    [/color][color=Blue]do[/color][color=Black]:[/color][color=Blue]let [/color][color=Purple]b5[/color][color=DarkCyan]=[/color][color=Navy]0[/color][color=Black]:[/color][color=Blue]count C.3[/color][color=Black],[/color][color=Navy]50[/color][color=Black],[/color][color=Purple]b2[/color][color=Black]:[/color][color=Blue]loop until [/color][color=Purple]b2[/color][color=DarkCyan]=[/color][color=Navy]0 [/color][color=Green]'Loop until key is released.
    [/color][color=Blue]if [/color][color=Purple]irdata [/color][color=DarkCyan]>[/color][color=Navy]9 [/color][color=Blue]then return  [/color][color=Green]'No correction needed, so return.
    [/color][color=Blue]else let [/color][color=Purple]irdata[/color][color=DarkCyan]=[/color][color=Purple]irdata[/color][color=DarkCyan]+[/color][color=Navy]1[/color][color=DarkCyan]//[/color][color=Navy]10[/color][color=Black]:[/color][color=Blue]endif [/color][color=Green]'Correct numeric key offset.
    [/color][color=Blue]return[/color]

[color=Green]'*Clicker interrupts & resets chip on clicker "power" key.[/color]
[color=Blue]Interrupt:
     
    reset [/color][color=Green]'Valid interrupt from "Power" key (key code 21).[/color]
 

hippy

Technical Support
Staff member
Not sure what the issue may have been, what may have caused the error. Your code seems to be absolutely fine.

It feels like something was remembered from something else and I recall we may have had a previous case of that but could not explain why that would happen, could not see how it could happen, and could not replicate the issue which I recall also seemed to resolve itself.

Much as we would like to track down what the issue was, at a minimum to determine what had happened, that is likely to be extremely difficult without being able to replicate it.

Added: I have managed to replicate the issue, so we should be able to investigate further.

Extra added: We will investigate further and set about resolving the issue but it appears to be something which only occurs when switching between physical PICAXE types under particular circumstances. Closing PE6 and re-running that should overcome the issue if it does present itself.
 
Last edited:

jims

Senior Member
hippy...Thank you for the "follow-up". Hope that you can find something that will help others in the future. JimS
 
Top