Just4Trionic - CAN and BDM FLASH programmer for Saab cars

Dependencies:   mbed

Revision:
6:2fbcbebed28c
Parent:
5:1775b4b13232
--- a/main.cpp	Sat Apr 25 17:07:08 2015 +0000
+++ b/main.cpp	Sat Apr 23 18:31:40 2016 +0000
@@ -28,6 +28,25 @@
 
 ********************************************************************************
 
+Version 1.6 (04/2016)
+
+Fixed since Version 1.5:
+    BDM
+        Improvements to CPU register content display
+        T8 erase timeout period to 200 seconds (was incorrectly only 20 seconds)
+
+Added since Version 1.5:
+    T7 CAN functions:
+        Separate FLASHing algorithms for I and P-BUS connections
+        Completely safe, but slow, I-BUS algorithm
+        Pseudo 'recovery' FLASHing function can be used to retry a failed
+        FLASH with safe, slow algorithm
+        
+Changes since Version 1.5:
+    Additional debug messages
+    T7 CAN functions:
+        Code refactoring to make file handling simpler
+
 Version 1.5 (04/2015)
 
 Added since Version 1.4
@@ -183,14 +202,6 @@
     while (pc.readable())
         rx_char = pc.getc();
 
-#ifdef DEBUG
-    printf("*************************\r\n");
-    printf("** RUNNING DEBUG BUILD **\r\n");
-    printf("*************************\r\n");
-#else
-    printf("Running... this is a release build.\r\n");
-#endif
-
     show_just4trionic_help();
 
     // main loop
@@ -279,13 +290,21 @@
 
 void show_just4trionic_help()
 {
-    printf("Just4Trionic Command Menu\r\n");
+#ifdef DEBUG
+    printf("*************************\r\n");
+    printf("** D E B U G B U I L D **\r\n");
+    printf("*************************\r\n");
+#endif
+    printf("=========================\r\n");
+    printf("Just4Trionic Release %d.%d\r\n", FW_VERSION_MAJOR, FW_VERSION_MINOR);
     printf("=========================\r\n");
-    printf("b/B - Start BDM interface\r\n");
-    printf("o/O - Open Lawicel CAN232 type interface\r\n");
-    printf("5   - Start Trionic5 ECU CAN interface\r\n");
-    printf("7   - Start Trionic7 ECU CAN interface\r\n");
-    printf("8   - Start Trionic8 ECU CAN interface\r\n");
+    printf("Modes Menu\r\n");
+    printf("=========================\r\n");
+    printf("b/B - Enter BDM mode\r\n");
+    printf("o/O - Enter Lawicel CAN mode\r\n");
+    printf("5   - Enter Trionic5 CAN mode\r\n");
+    printf("7   - Enter Trionic7 CAN mode\r\n");
+    printf("8   - Enter Trionic8 CAN mode\r\n");
     printf("\r\n");
     printf("h/H - show this help menu\r\n");
     printf("\r\n");