Programming Editor Revisions. *** Known Restrictions - Simulation 'Connect' feature not yet available - X1 / X2 'let' mathematical equations cannot yet use brackets *** End of known restrictions 5.3.1 Added information screen if 'runtime-error 339' occurs after installation Corrected the following on-screen simulation issues: - rev command now simulates correctly 5.3.0 Added PICAXE-18M2 support Updated manuals to support M2 parts Serial port selection now states which port AXE027 is currently installed on for ease of use Serial port selection now also lists installed, but unconnected, USB cables like the AXE027 Older part compilers now support port.pin labels on their predefined inputs/outputs Compilers that support 'setint NOT' now also support 'setint AND' and 'setint OR' for ease of use Backslash \\ now supported for '\' character in strings X2 compilers now support option of port.pin (aswell as channel number) for readadc commands Updated X2 owin/owout compiler constants to match datasheet values Operators such as max and min now syntax colour code directly Recompiled Sourceview Control (srcvw4.dll) to fix Microsoft ATL Security* vunerability Corrected the following on-screen simulation issues: - sfr values are reset beween simulations - bits 5-7 of PortA are no longer shown in 28X2 mode display - keyin now works correctly in 18M mode - sin and cos values > 180 now simulate correctly - ncd command now simulates correctly 5.2.11 Corrected teminal baud rate operation for 76800 baud Added non-standard baud rates to terminal for 10/20/40MHz PICAXE operation (valid for AXE027 USB cable only) Corrected 5.2.10 issue with display of outputs in flowchart simulation mode. Corrected the following on-screen simulation issues: - read/write commands not simulating correctly in 18M mode - ptr variable display only showing lower byte value in 28X2 mode - serrxd timeout address now simulates correctly 5.2.10 Changed AQA assembler to use portA notation rather than portC to match AQA specification Added pwmdiv4, pwmdiv16 prescalar option for pwmout and hpwm commands Updated pwmout wizard to generate command using pwmdiv4/16 options Corrected flowchart mode simulation issue with 'let pins =' Corrected the following on-screen simulation issues: - some pullup commands not simulating - some owin/owout commands not simulating - some hi2cin/hi2cout commands not simulating - bit set/clear not working with elseif - elseif not working correctly with AND/OR - @ptrinc @ptrdec not working with values > 255 (28X2) - hpwm off not resetting pins correctly 5.2.9 Added USB cable scan and 'AXE027 COM port' auto-identifcation option via View>Options>Serial dialog (and optional upon startup) Added OCR/AQA assembler options on 28X1 chip (for UK 'A2' level exams) Changed PICAXE selection type to list and added Microchip PIC name information Fixed issue with manually changing variable values when simulating in flowchart mode Installer now removes multiple duplicate entries in Add/Remove Programs under Control Panel (reboot required) Added #no_end directive to all compilers Corrected error message warning in 14M compiler for old firmware 9.B serout issue Corrected issue with calibfreq command corrupting setfreq 32/64MHz speed in 20X2 compiler Added variable 'break on value' simulation feature (Simulation menu) Corrected the following on-screen simulation issues: - corrected error with division - hserout command on X2 parts was corrupting dirsC value - default X2 ADC simulation values upon startup are now correct - 20X2 no longer incorrectly uses pin B.2 as hint2 - X2 simulation of 'sleep 0' now enters permanent sleep - 14M and 28X1 simulation of additional portC pins corrected - sin/cos simulation of odd numbers now works correctly - comma can now be used within a string in the serin input dialog - settimer command no longer clears timer variable to match real life operation - if...then exit now simulates correctly - NOB unary command now simulates correctly 5.2.8 Beta tester release. 5.2.7 Updated and refreshed the Quick Syntax help feature Added 76800 baud rate to Terminal for 20X2 64MHz sertxd support (NB 76800 is not supported on all serial ports but is supported by the AXE027 cable) Added 31250 hserin/hserout baud rate to X2 compilers Adjusted analogue calibration wizard to disable invalid pins Corrected SPIFAST keyword value in X2 compilers Modified T1S_4 value from 49910 to 49911 in X2 compilers Added additional warnings into 20X2 compiler Corrected operation of PUT and GET commands for values greater than 255 in X2 compilers Corrected 14M firmware 9.B serout compiler error warning Corrected the following on-screen simulation issues: - some word values in calculations not rounding down correctly - B28 and B29 not simulating correctly for x2 parts - sin and cos simulation not rounding to match exact PICAXE values - 28X1 hserial pins on simulation panel not indicating status 5.2.6 Added hpwmout as pseudo for hpwm Added new setbit, clearbit, togglebit commands for X1 and X2 parts Added 'if var bit x set/clear then' commands for X1 and X2 parts Modified 'pullup' command on 20X2 compiler Added atan as extra unary command to 20X2 compiler Added atan simulation for X2 parts Added additional warning messages to X2 compilers Fixed compiler issue with ptr0 and ptr1 bit variables on X2 parts Improved error message when eeprom/program memory space conflict on M parts Improved # directive error reporting Fixed issue with saving extra blank line at end of text Fixed issue with parsing of binary #slot numbers followed by comment Corrected the following on-screen simulation issues: - hintflags trigger edge polarity not the same as real chips - next word values > 32768 not simulating correctly - let x = outpinsx on X2 parts not simulating correctly - some bit variable calculations not simulating correctly 5.2.5 Ameded debug/simulation variable name list to also show variable number Fixed issue with owin/owout in latest 28X1 compiler Fixed issue with calibadc in latest 28X1 compiler Added missing input/output definitions to 20M compiler Added extra baud rate symbols to X2 compilers Fixed poke word value to w27 in X2 compilers Updated assembler mode screen display options Fixed issue with Ring Tone Wizard importing some RTTTL files Corrected the following on-screen simulation issues: - hi2csetup not setting flags correctly for on-screen EEPROM emulation - adc simulated incorrectly in flowchart mode for 20M Updated Serial COM port over Ethernet system: - Improved installation procedure - Virtual COM port is now shown in Device Manager - Wizards at both end simplified - Improved reliability of TCP connection by changing to Telnet format - Added full Vista support and Vista signed drivers - (Note that if already using this feature you must stop old sec_service.exe service before upgrading) 5.2.4 Fixed issue with 28X2 'Clear Hardware Memory' clearing #slot1 not #slot0 Corrected 28X2 compiler issue with 'setint' if port not explicitly specified (now defaults to C) Using #picaxe 28x2 or 40x2 will now cause X2 simulation panel to display only appropriate i/o pins Updated X2 conversion wizard Corrected the following on-screen simulation issues: - keyin/kbin not simulating correctly - 28X2 pullup not simulating correctly - 28X2 'flags' variable not simulating correctly - 28X2 comparators not simulating correctly - 28X2 timer 3 not simulating correctly - 28X2 setint not simulating correctly - "&" not displaying correctly on simulated LCD screen 5.2.3 First supported release for 28X2, 40X2, 20X2 Added X2 Conversion Wizard Added support for #no_data and #no_table directives Added additional Code Explorer configuration options (View>Options>Explorer) Added simulation option to hide/show simulated serial output baud rate configuration messages Corrected 08M compiler issue with multiple pins on input/output/reverse commands Corrected 14M compiler issue with hpwm Corrected simulation issue of nested exit commands Updated compilers and manuals Toolbar run/stop button now obeys 'hide panels on simulation end' option Corrected issue with debug display if hardware reset whilst debug is running Filenames are no longer changed to upper case Adde File>Open Samples menu 5.2.2 Added support for 18M Updated manuals for 18M Corrected issue with simulation of REV operator Corrected issue with simulation of pwmout on 18X 'Code Explorer' added (refreshed after a compile), View>Options menu - displays symbol defined variable/constants and labels - double click on any entry to find next occurance of that word Toolbar icons updated to match AXEpad and Logicator PICAXE>Run menu renamed PICAXE>Program to avoid confusion with Simulation>Run Updated compilers Added ASCII lookup table to Help menu 5.2.1 Symbol defined variables and constants now colour code after a compile 'Jump to label' shortcut added to menu bar (refreshed after a compile) Font size option added to toolbar Updated operation to use universal (Windows/Mac/Linux) compilers Removed out-of-date (no longer maintained) 16 bit compilers Error messages shows approximate location of error when known Corrected print (filename after Save As) issue Corrected compiler inversion of enabledbod/disablebod on 28X1 Corrected issue with simulation of keyleds command Corrected issue with simulation of inv unary command Corrected issue with 20M firmware check description Terminal and datalink now always release serial port after closing Added 'infraout' command to flowchart mode. Updated manuals 1 and 2 to open at 100% view Enabled 28X2 mode for open beta testers 5.2.0 Added support for 20M Updated manuals for 20M Improved Print, Find and Replace operations when in Colour Syntax mode. Added 'Find Next' Edit menu option. Re-allocated F3 shortcut to 'Find Next' Improved bookmark operation and added shortcut keys Improved line number display on document toolbar to show line and column Added new servopos, pwmduty, hpwmduty commands Fixed comment colour coding of #rem and #endrem when used in upper case Corrected compiler issue with use of European accented characters in strings Amended compiler directive parsing operation for PICAXE VSM compatibility Corrected the following simulation issues: - 14M extra ADC (1-2-3) are now simulated via generic panel values - pulsin varies to 65535 not 4095 - scratchpad variables reset to 0 when program reset 5.1.7 Corrected 5.1.6 syntax error message issue. Corrected random command simulation issue 5.1.6 Corrected the following simulation issues: - 14M ADC pins - 28X1 variables 14-27 can now also be altered - corrected issue with AND/OR statements on portA inputs - corrected issues with some word and byte value rounding - corrected issues with word values >32000 5.1.5 Corrected 28X1 compiler memory issue with gosub table upon specific program size Corrected 28X1 issue with serrxd timeouts Added 28X1 pwmduty and hpwmduty helper commands Amended 28X1 'progam too long' error reporting Updated 14M firmware compiler error messages Corrected 28X1 peek/poke variable mapping simulation issue Corrected word variable simulation issue Corrected hi2in simulation issue 5.1.4 Added 'Count word' feature (Edit menu) Corrected 28X1 compiler feature to automatically workaround 28X1 firmware A.0 'outpins' issue Corrected 28X1 error message on program too long Corrected 28X1 flowchart forward/reverse/left/right commands Corrected 'Clear Hardware' issue on 18X Added play/tune/readdadc to flowchart menus for 14M/28X1 Corrected the following simulation issues: - 14M output5 not simulating - 28X1 pinsc/dirsc commands not simulating - mixed AND and/or OR commands in if commands - setint command not updated during interrupt - outpins not simulating correctly - long programs with multiple if commands not simulating correctly - negative step in for...next not simulating correctly 5.1.3 Amended 28X1 download issues 5.1.2 Added additional 28X1 / 14M simulation commands Corrected simulation issue with setint command Corrected issue with #PICAXE 14M directive Corrected 28X1 compiler issue with multiple poke commands Aded 28X1 compiler feature to automatically workaround 28X1 firmware A.0 'outpins' issue Corrected 14M 'Clear Hardware' issue Added error message if bitx used on 14M firmware 9.A Added more detailed 14M and 28X1 compiler error messages Added simulation panels reset default position 5.1.1 Corrected 14M debug display Corrected 14M hpwm compilation 28X1/40X1 use of outpins, outpin0 etc simulates and functions on firmware A.0 5.1.0 Enabled 28X1 and 14M compilers and simulation Enabled Com Port over TCP/IP feature Updated PICAXE manuals part 1 & 2 Corrected simulation issues with * and ** Corrected COM port left open on 'Clear Hardware' Added nested support for #ifdef/#endif etc Added error message if invalid EEPROM adddress specified 5.0.8 Added 'Syntax Check' toolbar button Added Calculator shortcut to View menu Added default header file option (View>Options>Editor) Added BINTOASCII and BCDTOASCII helper commands Enhanced Debug display window to support additional variables Added variable symbol naming to the Debug display Added new #terminal (display after download) directive (off, 2400, 4800, etc.) Added new #com serial port directive (1, 2, 3, etc.) Added new program #slot directive (1, 2) (28X2 only) Added 'outpins' option to let commands Added error mesage if enhanced command used when in original mode Added error messages when 'pin' variables used incorrectly in commands New installation now defaults to Extended Compiler Corrected simulation issues with word mathematics Corrected simulation issues with negative assignments Corrected simulation issues with multiple do...loop commands Corrected simulation issues with multiple if...endif commands Corrected minor 'let' command compiler issue Corrected flowchart BASIC conversion issue with 'stop' cell Corrected flowchart BASIC conversion issue with 'tune' cell 5.0.7 Added updated PICAXE manual (part 2) containing directives and new commands Corrected some issues with #gosubs and #freq directives Corrected upper/lower case issues with #ifdef and #ifndef 5.0.6 Corrected v5.0.5 compiler issue with 28X in 16 gosub mode. 5.0.5 Enhanced BASIC compiler supports these new commands: - if...then gosub - if...elseif...else...endif - select...case...else..endselect - do...loop (until / while) - on...goto - on...gosub - readoutputs - exit / if...then exit - inc / dec - high / low / toggle / input / output / reverse now support multiple outputs - read / write / peek / poke now support multiple and word variables BASIC compilers now support these directives: - #picaxe = #freq - #gosubs - #sim - #simspeed - #define / #undefine - #ifdef / #ifndef / #else / #endif - #error - #rem / #endrem Simulation - BASIc mode now supports full line-by-line simulation - BASIc program 'margin click' breakpoints enabled - Flowchart mode now supports enhanced pinout simulation panels - Flowchart and BASIc modes both support real-life project kit simulations - New simulation options panel (View>Options menu) Flowchart Mode - Direct programming of PICAXE chip now supported (without BASIC conversion) - 08M progam and simulations now support Tune command and ring tone imports - Enhanced pinout simulation panels - Real life project kits simulation - Enhanced click and drag editing Other changes - Added suport for AXE027 USB Download Cable - Added LOGIC Programming Mode - Block expanding and collapsing supported on { } symbols - 'Program too long' reports number of excess bytes - Enhanced compiler now compatible with Windows 64 bit version - Many additional error messages - pwmout calculation wizard - Updated Dacta AXE901 Viso Controlite Wizard - 'let var = cv' commands optimised 4.1.19 Added beta enhanced compiler (View>Options>Editor) support. Corrected issue with enabling Replace button. Corrected issue with save prompt of empty file. 4.1.18 Added Dacta Viso Controlite Wizard 4.1.17 Corrected issue with saving PICAXE Net setup files. Corrected 'Subscript out of range' error on download issue. Enabled download delay feature (View>Options>Serial Port). 4.1.16 Main PICAXE Net Server support release. Added USB serial port test feature Merged 'Bookmarks' menu into 'Edit' menu. Added new pseudo operators - NAND, NOR, NOT Added new pseudo command - readoutputs Added compiler support for new commands added into updated release firmware: - 08M v9.2 or later - disablebod, enablebod Hexadecimal ($ or 0x) numbers now colour code correctly. Corrected occasional incorrect debug display issue. Corrected flowchart to BASIC conversion of ultra command bug 4.1.15 Corrected find/replace issue in new Colour Syntax mode. 4.1.13 Added Colour Syntax Editor mode with following enhancements - Syntax colour coding (basic and assembler formats) - Drag & drop text editing - Optional automatic indentation (tabs) - Optional linewrap on long lines - Optional line number display - Optional splitscreen view to display different parts of same program - Optional code bookmark feature (right mouse click) for quickly moving through large files Added Editor/Colour configuration tabs to Options display. Added 'User' configurable datasheet section to Help menu. Increased COM port support from 6 to 10 to assist USB adapter users. Added Delete? confirmation message to flowchart shape delete. Added beta testing support for Logic programming mode. 4.1.12 Added PICAXE Connect > XBee Wizard. Corrected LF symbol name conflict in Datalogger 'Unknown data' Wizard. 4.1.11 Modified Flowchart to Basic translation of 'ultra' and 'speed' commands. Enhanced auto-scroll feature for flowcharts (View>Options>Flowchart). Added arrow key (on numeric keypad) support for manual flowchart scrolling whilst drawing lines. Added warning message when resonator speed has changed and 'Firmware?' button used. Corrected on-screen progressbar display bug when clearing hardware of PICAXE-18A. Corrected Serial PIC Programmer PIC12F683 identification issue. Updated some French language strings. 4.1.10 Amended non-unicode processing to correct download issue on systems with non-English language as default non-Unicode setting. Added flowchart simulation of infrain command with virtual remote control. Added movement flowchart cells for projects such as AXE120, CHI007 and MOD001 models. Added compiler support for new commands added into updated release firmware: - 18A v5.4 or later - sertxd, infrain2, readtemp12, count - 18X v8.4 or later - infrain2 - 18X v8.6 or later - readi2c/writei2c (address byte no longer compulsary) - 28A v6.4 or later - sertxd, infrain2, readtemp12 - 28X v7.7 or later - readi2c/writei2c (address byte no longer compulsary) - 40X v7.7 or later - readi2c/writei2c (address byte no longer compulsary) 4.1.9 Corrected 'Serial Terminal' 8005 - port in use error issue. Some Finnish language strings updated. 4.1.8 Swedish language module enabled. Estonian language module enabled. Added 'Refresh' button to 'Serial Port' option to assist USB adapter users. Added 'USB Help' button to 'Serial Port' option to assist USB adapter users. Added 'Setup' button to 'Serial Port' option to shortcut to Device Manager. Added 'Firmware?' button to 'Mode' option to assist users identify firmware version. Programming Editor now releases serial port between downloads. Serial port error messages improved. Added AXE033 Custom Character (CGRAM) Wizard. Added symbol and sub reserved name checks to flowchart conversions. Added sub name refresh on file open to flowchart module. Added Chip Factory programmer support. Re-arranged MRU format for clarity in File menu. Amended Serial Terminal auto-clear to retain most recent data. Serial Terminal now restores last baud rate used upon open. Corrected 'Clear hardware' bug introduced in 4.1.4 Added auto fix for corrupt CR/LF format files. Corrected File>New Asssembler language lookup string issue. Added AXE024 PICAXE-08M 3 Channel Servo driver datasheet. Added AXE031 PICAXE-18X 21 Channel Servo Driver datasheet. Added AXE045 RGB Colour Sensor datasheet. Added AXE092 Schools Experimenter datasheet. Added SPE020 MP3 Player datasheet. Added MOD020 Sweet Sorter datasheet. Added MOD025 Hexwalker Insect datasheet. 4.1.7 Added PICAXE.net driver files. PICAXE.net beta testing enabled. 4.1.6 German language module enabled. 4.1.5 Increased acceptable text file size for File>Open. Added warning message if Serial PIC Programmer software is already running when converting to assembler. Added AXE107 Rudolph datasheet and samples. Added AXE022 28X/40X protoboard datasheet. Added FPU001 uM-FPU coprocessor datasheet, samples and template. 4.1.4 Added some additional Italian and Finnish language messages. Corrected LF symbol name conflict in Datalogger Wizard. Corrected save issue upon shutdown. 4.1.3 Italian language module enabled. 4.1.2 Corrected bug in 16 gosub option of 18X/28X introduced in version 4.1.1 4.1.1 Extensively updated PICAXE manuals and Help menu. Debug window now appears in taskbar. Compiler now supports outpin variables. Corrected 16F84A/16F627 direct programming with Serial PIC programmer issue. Updated MRU operation so opened file moves to top of list. 4.1.0 Main PICAXE-08M release. Added stop/calibfreq/infrain2/infraout/tune/play messages to all compilers. Added symbol constant mathematics to all compilers. Added OR, ORNOT, AND, ANDNOT, XOR, XNOR keyword option in let statements (in addition to & ^ | etc). Added additional 'not equal' symbol (!= aswell as original <> ) Added twos complement negation (let x = -y) option to let statement. Removed non-PICAXE keywords from PICAXE compilers (sensor, lcd, clear, line1, line2) The character ` now operates the same as character ' (comment marker) to ease copying from PDF files. Added automated serial terminal open after download option (View>Options>Options). Flowchart stop cell now converts to stop command rather than end command. pre-4.1.0 Archived. * The file srcvw4.dll is a third party Windows file originally developed by Tetradyne that is included as part of the Programming Editor and is also used by a number of large corporations such as HP and Microchip. A security issue was found in the older version of this file by Sud0, a member of the Corelan team, due to the Microsoft ATL vunerability in older versions of Microsoft's C++ compiler. Version 5.2.12 or later of the Programming Editor updates this file to the recompiled secure version.