Sie sind auf Seite 1von 21

Welcome to the BASIC Stamp Windows Editor for the BASIC Stamp 1, BASIC Stamp 2, BASIC Stamp 2e,

BASIC Stamp 2sx, BASIC Stamp 2p, BASIC Stamp 2pe and BASIC Stamp 2px. This file contains information about the BASIC Stamp Windows Editor Contents: WHERE TO FIND INFORMATION SYSTEM REQUIREMENTS INSTALLATION KNOWN PROBLEMS WHAT'S NEW

WHERE TO FIND INFORMATION Please read the KNOWN PROBLEMS section of this document. Currently, documentation on this product is contained in the BASIC Stamp Manual v2.2. Please visit the Parallax web site periodically to find updated software and doc umentation. http://www.parallax.com

SYSTEM REQUIREMENTS Windows 2000, Windows XP (32/64-bit), Windows Vista (32/64-bit), or Windows 7 (3 2/64-bit) Recommended processor for the Operating System Recommended RAM for the Operating System 8 MB Free Hard Drive Space 256 Color VGA Video Card (24-bit SVGA recommended) 1 Available COM port or USB port

INSTALLATION The BASIC Stamp Windows Editor is available from the Parallax web site: http://w ww.parallax.com/basicstampsoftware. Simply run the downloaded file and follow t he prompts.

KNOWN PROBLEMS False-Positive Detection of Plug and Play Devices: Some PBASIC programs may cause Windows to think it has detected a Plug and Play serial device when the BASIC Stamp which is running that PBASIC code is plugged into the PC via USB cable while the BASIC Stamp is powered. In typical BASIC Stamp use, it is very rare that false-positive Plug and Play de vice detection occurs, however, the chances are increased when all of the follow ing

items are true: 1) 650 2) 3) The PBASIC code in the BASIC Stamp outputs serial data within approximately ms of power up/reset. The BASIC Stamp is powered up before connecting it to the computer. The BASIC Stamp is then connected to the computer via a USB cable.

When a BASIC Stamp is plugged into a computer via a USB cable, a Virtual Serial Port is created. Upon detection of a new Virtual Serial Port, the Windows Opera ting System scans the port for potential Plug and Play serial devices such as serial mice, pens, printers, and modems. During this scanning process, Windows toggles the serial port's DTR line multiple times, causing a connected, and powered, BASIC S tamp to reset multiple times. If that BASIC Stamp Module's PBASIC program is de signed to transmit serial data within about 650 ms after power-up/reset, Windows might misinterpret these messages as coming from a Plug and Play serial device, and automatically install a driver for the device it believes it detected. At the v ery least, this causes the port to be unusable by other programs, such as the BA SIC Stamp Editor. At the worst, it may cause a system lock-up that requires a compu ter reboot. To prevent this from happening: Recommended Method : Insert a delay, such as PAUSE 1000, at the start of your PBASIC program. --or-Alternative Method : Ensure the BASIC Stamp is unpowered before connection to a computer via a USB cable. --or-Alternative Method : Connect the BASIC Stamp to the computer via a standard, D B9-style, serial cable.

WHAT'S NEW ---------VERSION 2.5.2 ---Bug Fixes--Fixed bug that was preventing the Generate Object Code feature from properly ext racting the Stamp Loader.

VERSION 2.5.1 ---General--Updated error 305 "Hardware communication failure! Check serial cable and power supply." to use the term "programming cable" instead of "serial cable" since it applies to both serial cables and USB cables. Fixed misspelled word "occurrence" in error and status messages.

Updated Run menu to include function key shortcuts instead of Ctrl+ shortcuts. NOTE: Ctrl+ shortcuts still remain in effect. Added serial search rule to automatically exclude the PropScope from serial port search operations. ---Bug Fixes--Fixed bug causing Edit Tips button to fail on the Tip of the Day window. This w as caused by not forcing the search path to a base of the executable and seems t o be sensitive to the latest installer scheme. Fixed bug causing copy/paste operations to fail from BASIC Stamp Help.

VERSION 2.5 (R2) ---General--Included Stamp Loader information in the installer's Documentation feature. Thi s is automatically installed unless user configures otherwise. ---Bug Fixes--The original v2.5 release unintentionally had the Stamp Loader and Single Execut able options of the Generate Object Code feature disabled. This was an unforeseen side-effect of digitally signing the executable (something Parallax w ill do on future releases) as the added signature information conflicted with how the Stamp Loader is included within the executable. For now, the insta ller will continue to be signed, but the stampw.exe executable will remain unsigned until this conflict can be resolved.

VERSION 2.5 ---General--Enhanced Help menu to include links to new BASIC Stamp Help, BASIC Stamp Manual v2.2, and What's A Microcontroller v3.0 text. Updated USB drivers to the Parallax USB Driver Installer v2.04.16 (R2). Updated a number of example BASIC Stamp programs.

VERSION 2.4.2 ---Bug Fixes---

Enhanced to prevent system-level dialog indicating "No Disk in Drive..." when a drive and/or path is scanned on a removable media drive that has no media in it. This would occur on some systems with media card readers either upon BASIC Stamp Editor startup, during the session, or both.

VERSION 2.4 ---General--Enhanced serial port configuration options to allow user to include/exclude port s based on port ID or port description. Enhanced to be aware of serial port add/remove events the moment they occur. Sp ecial error processing is now included and remember/reopen features added to Deb ug Terminal. These features make using USB-based development boards much more reli able and user-friendly (ie: can disconnect and reconnect while Debug Terminal op en). Added support for Auto Recovery of fatal Serial Port Scanning failures. Enhanced preferences' Default COM Port and Debug COM Port fields to validate set tings and to properly save and restore those regardless of current serial port p resence. Operating System Note: This version will not function properly on versions of Wi ndows older than Win2K. Support for Win95/Win98/WinME/WinNT4 was officially dro pped in 2006, however, versions prior to this one still continued to function properly. This version is the first to contain enhancements that rely on Win2K (and later ) features.

---Bug Fixes--Fixed bug introduced in v2.3.3 that caused the Debug Terminals' COM port ID to c hange to 'NONE' when the port is the target of a new download. This was just a visual error; the Debug Terminal would continue to work properly either way. Fixed bug in serial routines to prevent error message from displaying upon port configuration at times when it is not appropriate. This prevents a strange, extremely wide and blank dialog box from appearing when a port disappears while a non-GUI thread is trying to access it. Fixed bug in Progress form that would cause the serial port list to update when it had detected multiple stamps on existing ports. The update could cause rows to be misconfigured if a port add/remove event occurred in-between the original detect ion and the display of the Progress Form in the multi-stamp-found error mode. Fixed bug causing the Debug Terminal to clobber its baud rate if a download occu rred on the same port but the BASIC Stamp was not found.

VERSION 2.3.9 ---Bug Fixes--Updated Generate Object Code feature to allow it to load Names and Message setti ngs from object code with file format v1.2 (old) or v1.3 (current). Fixed bug that prevented on-line help from appearing on some systems.

VERSION 2.3.8 ---Bug Fixes--Enhanced compile process to clear packet buffer before compiling so that the Gen erate Object Code feature does not store extraneous data from previous compiles into the object file. In previous versions, this "o ld" data was never used or downloaded into the BASIC Stamp, but it was unintentionally included with object files from the Gene rate Object Code feature. Included Stamp Loader v3.5 that supports previous object code file format (v1.2) as well as the current format (v1.3).

VERSION 2.3.7 ---General--Enhanced Identify dialog to leave focus on Refresh button after selection. Enhanced Identify dialog to accept F6 key press as another Identify request.

VERSION 2.3.5 ---General--Updated to support BS2pe firmware v1.6 and BS2px firmware v1.1.

VERSION 2.3.4 ---General--Updated to support BS2p firmware v1.7.

VERSION 2.3.3 ---Bug Fixes--Fixed bug that, in rare cases, causes a machine to reboot due to invalid setting s being used to configure the serial port. This would occur when a Debug Terminal is opened and a COM port was selected while the other options (Ba ud, Parity, etc.) were set to invalid values. Includes StampLoader v3.2 which supports more USB-to-Serial adapters that, other wise, struggle to make DTR / Break conditions happen in the proper order.

VERSION 2.3.2 ---Bug Fixes--Fixed bug causing piped-control feature to malfunction and not load files. Also fixed piped-control bugs regarding source file changes during tokenization and download, and use of multiple source files.

VERSION 2.3.1 ---General--Updated to support BS2e firmware v1.2 and BS2sx firmware v1.3.

VERSION 2.3 ---General--Updated to support BS2p firmware v1.6.

VERSION 2.2.9 ---General--Enhanced to fix most scaling/alignment issues on machines with thier preferences set to large fonts.

VERSION 2.2.8 ---General--Updated to remove Help.exe and methods that rely on it for on-line help. Recent Windows updates (01/2007) have caused conflicts with the Help.exe program. Updated to detect serial ports with or without an exposed interface. Updated Preferences, COM Edit window, and Debug to refresh the COM ports lists u pon drop down. Updated Stamp Loader to version 2.9 to include updated serial port enumeration r outine.

VERSION 2.2.7 ---General--Enhanced Generate Object functions to support selection of desired program slots and whether or not to hide actual Slot IDs. Updated Stamp Loader to v2.8 to support these changes.

VERSION 2.2.6 ---General--Added support for BS2sx v1.2.

VERSION 2.2.5 ---General--Added support for BS2pe v1.2 through v1.5.

VERSION 2.2 ---General--Added support for BS2px v1.0. Modified to ignore File Associations and Tips file settings when a source file i s given on the command-line. Modified to enable the USB-based development boards to support the BS2pe.

---Bug Fixes--Fixed Serial routines to open any COM port number (1 to 256). Fixed bugs that caused the software to except when user tried to invoke function s through the command line such as: stampw.exe /tokenize something.bs2 > output.txt --or-stampw.exe /download soemthing.bs2 > output.txt Enhanced Enumerate COM Port routine to work properly with a rare case where the computer has more than on GUID for the reserved name 'PORTS' in the registry.

VERSION 2.1

---General--Enhanced routine that retrieves the Com port list from the computer so that it r etrieves port names even on Win2K and WinXP machines where the user is logged in as a restricted user. Re-aligned items on Preferences window. Updated Simple syntax scheme to include all the capitalization that the PBASIC s cheme does. Modified identification routine to retrieve the computer's list of COM ports eve ry time it is activate. Added Find/Replace to edit control's shortcut menu. Enhanced to cause editor tabs to hottrack (turn blue as mouse is directly over t hem). Enhanced to allow right-clicking tabs. This brings that tab to the foreground a nd opens a different shortcut menu containing only "New Page", "Close Page" and "Close All" menu items. This allow s user to right-click and close any page at any time, right from the tabs, without having to first select the page t hen right click the edit control. Added feature to allow editor to remember the last tab that was active before ri ght-clicking a tab and closing it. Enhanced editor to store Find/Replace Dialog's last known position in the regist ry (and subsequently restores it next time). Added "Don't Show This Message Again" checkbox to the WARNING message that appea rs when retokenizing for a different Stamp as the result of a download operation. Added "Don't Show This Message Again" feature to "This file belongs to project.. ." message. Added "Don't Show This Message Again" feature to "Multiple files are open. Clos e them and the editor?" message. Added "Replace - F4" to Edit menu. Removed "Print" from Editor's shortcut menu. Added "Save", "Save As", "Run", "Check Syntax" and "Memory Map" to Editor's Shor tcut menu. Added "Save" and "Save As" to Editor Tab's shortcut menu. Enhanced Find/Replace dialog box's Replace option to do a single replace, then s top, unless user held down the control key, in which case it would do a Find Next (if nothing currently selected), then a Re place, followed by another Find Next. Added F3 and F4 keys as Find Next and Replace, respectively. Ctrl-F4 does a Rep lace/Find, just like holding the control key down while on the Find/Replace dialog box.

Enabled and enhanced Find/Replace Dialog repositioning based on the found select ion (works with Replace option too). Added routine to move mouse along with the Find/Replace dialog if mouse was over Find or Replace button at time of operation. Enhanced Find/Replace dialog to process F3 and F4 keys appropriately. Updated code to place a space after the apostrophe when auto-inserting $STAMP, $ PBASIC and $PORT directives. Updated Tokenizer and Memory Map in order to display GOSUB usage and GOSUB vs. W 6, B12 & B13 conflicts on the BS1 Memory Map. Enhanced SaveAs dialog to update the extension of the filename if the selected f ilter contained a single or a double (but not three or more) valid extensions. If the selected filter contained two extensions, the first extension is used for the file name. This was done to support both .BS1 and .BAS extensions for BASIC Stamp 1 code. Parallax highly recommends using .BS1 for new BASIC Stamp 1 code. ---Bug Fixes--Fixed bug that caused Debug Terminal to discontinue display of BS1 data when dow nload was performed while Debug Terminal was still open. Fixed bug that caused access violation if Debug Terminal opened, then Clear butt on pressed before any data had arrived in the receive buffer. Fixed bug in Com Port Edit routines and Preferences routines that made the custo mize com ports mechanism misbehave in certain cases. Fixed bug causing editor to not be minimize-able after it loaded a file via a Wi ndows Explorer double-click and it was minimized at the time. Fixed bug causing annoying anti-minimize effect to continue to occur if OS had p revious version of Stamp Editor still associated with file types. Fixed bug causing "... file modified but not saved..." message to appear twice. Fixed bugs causing the editor to not show open Debug windows via their associate magnifying glass icons or the F12 screen. Fixed Find/Replace to resize properly on WinXP. Fixed bug causing Close and Close All short-cut menu items to ignore unsaved fil es in the project. Fixed titlebar to refresh properly after the selected file is closed. Fixed FindReplace routines to perform ReplaceAll properly, without endless loop bug.

Fixed FindReplace routines to prevent Invalid Selection Block and Cursor Outside of Selection Block errors. Fixed FindReplace routines to replace items in current selection when ReplaceAll is pressed. This works for entire-file or selection and from start-of-file or cursor.

VERSION 2.1 Beta 1 ---General--Added support for BASIC Stamp 1 through the BS1 Serial Adapter circuit. Enhanced Memory Map to display BASIC Stamp 1 EEPROM and RAM allocations. Enhanced Generate Object Code feature and the Stamp Loader.exe (now v1.8) to s upport the BASIC Stamp 1. Added Pot Scaling feature (Run menu). Added new preference setting: Ignore BS1 Modules unless downloading BS1 source code. This makes the editor naturally ignore the BS1 Identification steps unless BS1 source code is being downloaded ; significantly decreasing the amount of time that is required for downloads to BS2 type modules. Enhanced Debug Terminal to support BASIC Stamp 1 debug packets. Added New File Template feature (Preferences->Files & Directories tab). After c hoosing a New File Template in preferences, selecting File->New loads the template file's contents, if it exists, into a new edit page. If template file does not exist or if user holds SHIFT key while selecting File->New the editor just opens a bla nk edit page. ---Bug Fixes--Fixed Memory Map to display the RAM allocation in the correct orientation (right -to-left instead of left-to-right). Fixed Run and Tokenize features to update the syntax display before generating a ny source code errors. Fixed bug in Close routine causing exception error occasionally. Fixed bug in editor causing entire application to die when loading source code t hat is greater than 64K in size. It now allows editing of these files, though will not be able to tokenize them (an erro r message appears indicating the problem).

VERSION 2.0 Beta 2.1 ---General--Enhanced SaveDialog to automatically modify the filename's extension when the "S ave as type" filter list is changed to another, single extension. Enhanced editor to try to place new $STAMP, $PBASIC and $PORT directives on line

s 0, 1 and 2, respectively. If one of these directives already exists in a different location , the editor aligns them in this order, at that location. Enhanced PBASIC Syntax on-line help window to remember and reset it's last posit ion and size. Enhanced installation program to allow administrators on WinNT/2K/XP machines to install editor for all users or just a single user. ---Bug Fixes--Fixed bug in SaveDialog causing file to be saved without an extension when user has "Hide file extensions of known types" option selected in Windows. Fixed bug causing highlighted text (for syntax error messages) to be misaligned if the source code contained tab characters. Fixed bug causing current selection to be replaced when a directive button or me nu item is selected. Fixed bug causing Stamp Editor to generate an error and close during startup whe n a user with low security permissions (on Win2K and WinXP) is logged in. Fixed bug in tokenizer to properly calculate 16-bit compile-time constants from large (>16-bit) expressions.

VERSION 2.0 Beta 2 ---General--Replaced old edit controls with new edit controls (integrated explorer, syntax h ighlighting, etc). Added enhanced Find/Replace features. Added automatic file backup feature. Saves backup of file upon save. Added Favorites. Added routines to allow Module Directories and Favorites to be re-arrangeable. Added Show Overwrite Caret to preferences. Added routines to check of other instances of editor (to allow for single instan ce only). Added Syntax Highlighting Scheme options in preferences.

---Bug Fixes--Fixed bug in on-line help routines that prevented the help from appearing after the first time it was accessed. Modified tokenizer to support enhanced GET/PUT (just like enhanced READ/WRITE) p lus ELSEIF and fixed a few bugs. Fixed download routine to bring an existing Debug Terminal to the front if a pro gram was just donwloaded on that COM port and it contained a DEBUG or DEBUGIN command. Fixed bug in StampLoader/GenerateObjectFile that prevented it from working in v2 .0 Beta 1.

VERSION 2.0 Beta 1 This is a beta release of version 2.0 of the BASIC Stamp Editor. This editor su pports the new enhanced form of PBASIC (PBASIC 2.5) as well as the existing form of PBASIC (PBA SIC 2.0). Refer to the "PBASIC Editor v2.0 Beta 1.pdf" file for more information.

VERSION 1.33 ---General--Added support for the BS2pe module. ---Bug Fixes--Fixed "Expected a Hex value" error. This error would occur for any constant in the PBASIC source code when run under Virtual PC on a Macintosh computer. Included v1.6 of StampLoader that properly supports BS2p v1.2 & v1.3 as well as the BS2pe module.

VERSION 1.32 ---General--The Stamp Editor now configures default directories for all supported stamps if (and only if) the current settings are blank and the corresponding subdirectories (BS2, BS2e, etc) exist, relative to the exe's launch location. The "Setup Stamp Editor.exe" creates the se directories and fills them with the source code examples from the BASIC Stamp manual v2.0. Modified Directive menu to include both Stamp and Port directives. The Port dir

ective causes the editor to download the source code to a specific COM port. See the " General" notes in Version 1.2, below, for more information on the PORT directive. Added "Don't show this message" checkboxes to the STAMP and PORT add/modificatio n dialogs. This will keep the dialog from appearing when changing the Stamp or Port directi ves from the Directive menu or by using the toolbar buttons. The status of the change will a ppear on the status bar. The dialog will still appear, however, if the change requires an im portant warning about compatibility or project-related issues. About window now indicates which Stamp modules are supported by this editor. Added support for BS2e v1.1, BS2sx v1.1 and BS2p v1.3. BS2e v1.0, BS2sx v1.0 an d BS2p v1.2 are still supported. ---Bug Fixes--Fixed random lock-up issue when downloading programs. This typically occurred d uring the identification phase of the download process. Fixed ability to configure tab widths in the editor. Limited tab settings to 2, 4, 6, 8 and 10 characters only. Limited Font sizes to 8, 12, 15, 24, and 36. Some previous font sizes made no v isible change to the screen font.

VERSION 1.31 ---Bug Fixes--Fixed the "4.74 is not a valid floating point number" error when trying to open Help. This affected computers with a regional setting that uses a , instead of a . to represent the decimal point. Enhanced format for Macro Key files (a feature of the Debug Terminal). This enh ancement allows a user to define short-cut keys for data that includes carriage-return/li ne-feeds (hard returns). The previous version would work properly with hard returns duri ng the current session, but would misload the macro file at the start of the next sessi on. Existing Macro Key files are still supported properly. The Macro Key function w ill automatically update any existing macro key files once they are loaded and saved again.

VERSION 1.3 ---General--Supports "Stamper" 900MHz timing delays. The nature of the Stamper wireless pro duct requires extended timeout delays beyond what is normal for the port scanning pro cedure. To support users of the Stamper without adversely affecting those who do not use it , the following is involved: The Stamper can be used with the Stamp Editor in any of the following cases: 1) Only one serial port appears in the Stamp Editor's list of available com ports. Use the Edit Ports feature on the Identify screen to change this. -or2) More than one serial port appears in the list of available com ports, but the Default Com Port setting in preferences is set to a specific port (ie : it is set to anything except AUTO). -or3) The $PORT directive is added to the source code to be downloaded. Fo r example, if the following line appears at the top of the source code, the Stam p Editor will always download the code to COM port 2: '{$PORT COM2} The Stamper can NOT be used in the following case: The Default Com Port setting in preferences is set to AUTO and more t han one serial port appears in the list of available ports and the $PORT dire ctive does not appear in the source code. In order to support the Stamper while still allowing the scanning of multiple ports (for normal BASIC Stamp use), enter the $PORT directive into code that is to be downloaded using the Stamper. When any of items 1, 2 or 3 (above) are true, the Stamp Editor will automaticall y increase its timeout delays while communicating on the serial port. This will allow the Stamp Editor and the Stamper wireless product to communicate properly. ---Bug Fixes--Fixed Random lockups during download. This problem would affect some computers by locking up the Stamp Editor at random times during a download procedure. Fixed help window to properly refresh its display in Win2K and WinXP. Fixed Memory Map problem that would prevent it from displaying any program other than slot 0 (in multi-file projects).

Fixed Tip Of The Day bug that would cause errors after opening a file in a direc tory other then the location of tips file. Fixed bug when saving modified files in multi-file projects. Any file that appea red to the right of the currently selected file would not be saved, even if the editor aske d if it should be saved. Fixed bug that caused caption to report the wrong file. The name of the last fi le in the project would be displayed upon opening a multi-file project. Fixed Custom Ports registry entry bug. Any ports added through the Edit Ports m echanism would incorrectly write the key's value. Fixed Generate Object Code feature to store the StampLoader.exe in the same dire ctory where the .obj file is stored. The prompt would incorrectly indicate the location whe re it was stored.

VERSION 1.2 ---General--Completely rewrote Identification and Download procedures to automatically ident ify what type, if any, BASIC Stamp is attached to any available serial port. This inform ation is displayed for the user to see, complete with indication as to which BASIC Stamp is currently being downloaded to. This feature can significantly help a user who is upgradin g to a different Stamp module or simply doesn't realize what module is currently connec ted. Multiple BASIC Stamps can be connected to multiple serial ports at the same time . This procedure even prompts user as to which Stamp (if two or more of the same module are connected) to download to and can even suggest retokenizing for a different modu le should to code be written for the wrong one. $STAMP directive is automatically rewritte n by the editor if the user chooses to retokenize for a different Stamp module. Added a Directive menu and Stamp Mode buttons that allow for quickly adding or c hanging the target BASIC Stamp module for which the PBASIC code is written. The $STAMP directive is now required to be in each PBASIC program and the Defaul t Stamp Mode preference item has been removed (since it is defunct). The editor determines w hich Stamp to target for downloading based on this directive. Use the Directive menu or St

amp Mode buttons (noted above) to set or modify this directive (or you could manually mod ify the directive if you like). NOTE: Any code that is missing the $Stamp directive, bu t who's filename contains a known Stamp extension (.bs2, bse, bsx, bsp) will be recogniz ed by the extension and an appropriate Stamp directive will be added automatically for you . Added Generate Object Code... feature (in File Menu) to allow tokenizing and sav ing of object code (the actual binary data that is downloaded to the BASIC Stamp) in a separate file. This object code can be sent to other Stamp users so they can try your pr ogram without you having to release the actual source code. If you have customers usi ng Stamp-based products, you can release firmware updates to them in this manner. Object code can be saved as a separate .obj file (downloadable with the StampLoader.exe prog ram) or as a single executable (integrated with the StampLoader.exe inside of it. The s ingle executable method provides a simpler way to pass your firmware update on to your customers. StampLoader.exe program is required for downloading separate .obj files. The St ampLoader.exe program can be automatically generated by using the second output file option in the Generate Object Code... feature. Additionally, firmware, product, company and r elated info can be embedded in the object code or single executable file for your customers to view before downloading. Added on-line help containing entire PBASIC syntax. Context sensitive help (hig hlighting a word in editor and pressing F1 key) is also supported. On-line help can remain open while using the Stamp Editor; simply press ALT+TAB to toggle back and forth between th e Stamp Editor and On-Line Help. NOTE: On-Line help requires Microsoft's HTML Help util ity and Internet Explorer 4.0 or above (IE5.0 recommended). Use the hhupd.exe (included with the BASIC Stamp Editor setup program) to install or upgrade the HTML Help utility. If you need it, you can download the latest version of Internet Explorer from: http://www.microsoft.com/ie Added Tip-Of-The-Day can be seen at any time from the le in an easy to use format. rules described at the top dialog box that can be configured to open upon startup, or Help menu. The tips are contained in the Stamp_Tips.txt fi You can add your own tips as long as you follow the simple of the Stamp_Tips.txt file.

Added Open From... and Save To... feature to allow quick access to any directory

from the list of default Stamp module directories or the list of recently used directorie s. Shortcut keys CTRL+SHFT+O and CTRL+SHFT+S activate this feature as well. Removed /NoRegistry and /NoNotes command-line options. Added new command-line switches: /COM#, /ReadOnly, /Tokenize, /Identify, /Downlo ad, /Updates, /NoDebug, /NoPrompts and /Pipe. Read the "Stamp Editor.pdf" document for more information. Automatically associates BASIC Stamp source code file types (.BS2, .BSE, .BSX an d .BSP) with the BASIC Stamp editor. Allows user to disallow this through prompts or pr eferences. Also, when using any Explorer-shell for file browsing, right-clicking on a BASIC Stamp source code file provides you with an Open With Stamp Editor option. Added ALT key shortcuts for Debug Terminal buttons. Added Close All menu item (in File menu and on shortcut menu). Added $PORT directive to allow directing a PBASIC program towards a specific ser ial port. Syntax is: '{$PORT COM#} ;where # is a valid port number. When any PBASIC program containing this directive is downloaded, all other ports will be ignored. This directive is especially important if using two of the same BASIC Stamp module types on two COM ports with two different PBASIC programs at the same time; without this directive, dow nloading would be a tedious task of always answering the "which Stamp?" prompt. ---Big Fixes--Fixed error when running on WinNT, 2000 or XP that would cause the Debug Termina l to lock-up when user clicked Close while no DEBUG data was arriving from Stamp. Fixed bug where, while a Debug Terminal was open, performing an Identify functio n would cause Debug Terminal's port to close, however, no indication was given that this happened. Now, the Debug Terminal regains access to the port after an Identify procedure. Fixed error in Debug Terminal's Macro Keys feature that would make it unusable. Fixed occurance of erroneous character in transmit pane of Debug Terminal when h itting F9, F11, F12, CTRL or CTRL+~. Fixed Debug Terminal display error where the horizontal scroll bar would not be properly scaled when wrap mode was set to Pane and characters arrived beyond the right ed ge of the receive pane.

Fixed multi-file project downloading error that caused editor to scan all com po rts before attempting to download last program. This would sometimes cause the editor to f ail to download the last program in BS2e, BS2sx and BS2p projects. Fixed error when recording window positions while windows are maximized. This w ould cause the "maximized" size to be recorded as a "normalized" state.

VERSION 1.1 Increased timeout delay in programming protocol (to 1 second) to allow for better reliability with remote programming RF modules. Updated to support firmware version 1.2 of the BS2p modules.

Version 1.099 ---General--Added support for BS2p. This includes the use of the $STAMP directive as shown in the Version 1.09 beta text below. Example: '{$STAMP BS2p} ---Big Fixes--Fixed problem that caused "Failed to set date for BgColor" error on Windows NT and Windows 2000 machines.

Version 1.096 ---General--Added support for BS2e. This includes the use of the $STAMP directive as shown in the Version 1.09 beta text below. Example: '{$STAMP BS2E} ---Bug Fixes--Removed message window that appeared when opening Debug Terminal manually.

Version 1.091 beta

---Bug Fixes--Fixed the tokenization error with the PUT command. This version now downloads the PUT command to the BASIC Stamp 2SX properly.

Version 1.09 beta ---General--Two command-line switches have been added: /NOREGISTRY - keeps the software from writing to the Windows registry. This can be helpful for those running Windows NT under a non-administrator user profile. It is best used by first running the software without the switch (while logged in as an administrator), setting the desired preferences, exiting the software and running it with the /noregistry switch afterwards. /NONOTES - keeps the software from reading and writing to the Notes.dat file (in the Windows directory) where the last BASIC Stamp filenames accessed are stored. Example: C:\stamp\stampw.exe /noregistry /nonotes will start the software without registry writing or notes.dat reading and writing. ---Debug Terminals--Up to four (4) Debug Terminal windows may be opened at once (each on a different com port) to allow for debugging of a small network of BASIC Stamps or for receiving data from multiple serial pins on the stamp. Each Debug Terminal creates its own entry in the Run->Debug submenu and its own button on the editor toolbar. Debug Terminals can be brought forward (when hidden behind the editor window) by: 1) selecting the associated menu item from the Run->Debug submenu, 2) clicking on the associated button on the editor tool bar, 3) pressing the associated short-cut key (Ctrl-1 for Debug Terminal #1, Ctrl-2 for #2, etc), or 4) repeatedly pressing the F12 key to iterate through all open windows. A new Debug Terminal can be opened by pressing F11. ---Editor--Pressing Ctrl-` (the ` key is usually to the left of the 1 key) brings the editor window forward if it was behind any Debug Terminals. Special directive to indicate target Stamp can (and should) be added to any source code to tell the editor which Stamp to program for. This allows easier use of BS2 and BS2SX source code files during the same editing session, and is required if a BS2SX project (consisting of multiple files) is desired. Example directives: '{$STAMP BS2} -or'{$STAMP BS2SX}

-or'{$STAMP BS2SX,file1,file2,...,file7} ;where file1, file2, etc are actual path and filename to additional BS2SX project file members. (See Stamp Win Interface.pdf for more details). Editor tabs indicate a program's logical number and the project it belongs for any BS2SX file. Example #1: 0:Test.bsx indicates this file will be downloaded into program slot #0 the next time it is downloaded to the BS2SX. Example #2: [Test] 1:Process.bsx indicates this file is program #1 and belongs to the Test project (0:Test.bsx above). This program can/will be downloaded into program slot #1 the next time any file within the project is downloaded. Default BS2SX download mode added to preferences. Set this option to "modified" (the default) to download only the last modified files (or all the files if none were modified) to the BS2SX. Set this option to "all" to always download all files in the project to the BS2SX. Set this option to "current" to always download only the current file to the BS2SX. The "close" option in the File menu and shortcut menu will close the entire project if the current file belongs to a BS2SX project. Close acts as before if the file is not a BS2SX file or does not belong to a BS2SX project. A warning prompt will appear before a project is closed in this manner. Cut, Copy and Paste functions added to shortcut menu. Status bar indicates whether or not file has been downloaded. "downloaded" will appear in box three of the status bar if the file has been downloaded and not modified since. This status bar box will be blank if file has not been downloaded, or has been modified since the last download. Find Next shortcut key (F3) added. This will perform the last "find" again, starting at the current cursor location. ---Memory Map--Displays source code name in the title bar. Source Code combo box added to allow moving to different files within a BS2SX project. ---Bug Fixes--Serial port sharing mechanism (used when re-downloading a program while a Debug Terminal is still open) has been redone for smoother, more reliable operation. Open and Save dialogs now browse to the last directory from which a file was opened, or to the directory the current file was last opened/saved to.

Version 1.04 Allows user to edit the list of available COM ports. Ports connected to such devices as mice and modems can be excluded and those not appearing in the default list may be added. Tokenizer symbol table was too small and is now four times larger. Tokenizer now processes indexed variable names properly when using the verbose "?" option in DEBUG statements.

Version 1.03 - Unreleased Looks through a wider section of the Windows registry for information about installed COM ports.

Version 1.02 Fixes a low-memory situation in the Debug Terminal.

Version 1.01 Fixes a problem with recorded screen coordinates. If a window was moved off the left or top edge of the screen, and the editor was closed, it would not start up properly next time.

Version 1.0 First release.

Das könnte Ihnen auch gefallen