Campbell Scientific CR200X CR200/CR200X-series Dataloggers - Page 164
TrapCode, 1.1.6, Compile and Download Errors
![]() |
View all Campbell Scientific CR200X manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 164 highlights
Section 18. Troubleshooting 18.1.1.5 TrapCode Normally this value is zero. If set to a value of 16, TrapCode indicates an EEPROM memory failure. When this occurs the datalogger stops running its program and the red LED flashes twice per scan interval. The datalogger must be returned to CSI to replace the Serial Flash EEPROM. Contact a Campbell Scientific applications engineer to receive an RMA number. 18.1.1.6 Compile and Download Errors When a user program is compiled , it is checked for errors. Errors caught by the compiler are termed "Compile Errors." Because CR200(X) programs are compiled externally by the datalogger support software, most programming errors are found before the program reaches the CR200(X). A program wherein no compile errors are found may still have errors only detectable after the program reaches the CR200(X). These errors are "Download Errors." TABLE. Program Download Errors p. 152 lists possible error messages and conditions. Table 24. Program Download Errors Download Error / Condition Error Meaning "No Prog Running" Flash memory holding the program has been erased. "Wrong OS Ver" Program was compiled in the CRBASIC Editor with an incorrect (usually older) compiler executable that does not match the operating system resident in the CR200(X). Notes Compiler executable file (C:\Campbellsci\Lib\ CR200Compilers \cr2compvxxxx.exe) must match the CR200(X) operating system (cr2osvxxxx.a43), where xxxx is the operating system version number. Compiler executable version is shown on the first line of the compile results in CRBASIC Editor. This error typically occurs only when forcing a .BIN file to be sent to the CR200(X). By default, datalogger support software "sends" the .CR2 file, automatically matching OS and compiler. "Wrong Prog" "Prog Corrupt" "Flash Erased" No error detected but program does not run. No error detected, program runs but malfunctions. Program down load started then was either aborted or not completed because of a communication error, etc. Program is corrupt or damaged. Flash area has been erased The CR200(X) may not have adequate memory. Often due to a short Scan() time. Current compilers can be obtained at www.campbellsci.com. Attempt to re-send program. When power is cycled, program is re-loaded from FLASH. If program stored in FLASH becomes corrupt, this error may occur. When power is cycled, program is re-loaded from FLASH. If FLASH has been erased because of a system problem, this error may occur. Check program memory requirements for data tables and variables. Increase the scan rate or remove lower priority instructions. 152
![](/manual_guide/products/campbell-scientific-cr200x-cr200cr200xseries-dataloggers-fd82399/164.png)