I have a question on why/how running the same code on the same hardware, but on different PCs would produce different *.dat files.
I have a GEL file which does the following:
1. Loads my COFF file: UpdateFlash.out.
2. Configures, then opens a file to log script progress.
3. Checks if COFF file loaded:
(a) If load successful, logs success and continues at step 4.
(b) If load fails, logs failure and continues at step xx.
4. Sets up and runs the loaded program:
(a) Logs a message indicating the code is running.
(b) Sets a timer with a 3-second timeout and callback function to save data (step 5).
(c) Runs the loaded code, which should execute the require functions in < 1 second, then continue in an infinite wait-loop
5. Cancels the timer set in step 4.
6. Halts the code execution.
7. Uses the GEL_MemorySave() function to write out a Hexadecimal *.dat file.
8. Exits the GEL Script, then CCS by doing the following:
(a) Logs whether script completed or exited due to error.
(b) Closes file opened for logging.
(c) Removes CCS debug state
(d) Exits CCS.
I am able to consistently produce the same *.dat file (checked using an MD5 hash) if run on the same PC. If run on different PCs (two others) with what I believe is the same version of CCS (see below), the *.dat files produced are different, but can readily be reproduced on each PC.
CCS Info (from “Help->About...” menu option):
• Same on all three PCs
– Version: 3.3.38.2
– Integrated Development: 5.98.0.219 Texas Instruments
– BIOS: 5.31.02
– Code Generation Tools: v4.1.0
• Same on two of the three PCs:
– Board Revision: (00.00.84)
– Target Silicon Revision: (00.00.A13)
• Third PC:
– Board Revision: (00.00.00)
– Target Silicon Revision: (00.00.00)
Thanks,
Steve