Just4Trionic - CAN and BDM FLASH programmer for Saab cars

Dependencies:   mbed

Revision:
3:92dae9083c83
Parent:
2:bf3a2b29259a
Child:
4:682d96ff6d79
--- a/main.cpp	Tue Dec 14 21:50:35 2010 +0000
+++ b/main.cpp	Tue Jun 07 12:23:28 2011 +0000
@@ -28,6 +28,16 @@
 
 ********************************************************************************
 
+Version 1.3 (06/2011) - Basic T7 CAN support and faster T5 CAN bootloader
+
+Changes since Verion 1.1
+    New T7 CAN menu provides some very basic T7 CAN DUMP and FLASH functions
+    T5 CAN uses Mybooty version 2 for 1 Mbps CAN speed
+        Get MyBooty version 2.x from forum.ecuproject.com
+        Does not work with version MyBooty 1.x
+
+********************************************************************************
+
 Version 1.2 (12/2010) - Only a very small update
 
 Fixed since Version 1.1:
@@ -36,7 +46,7 @@
         FLASH Trionic 7 ECUs using the BDM connection
         See the 'get_flash_id' function in bdmtrionic.cpp
 
-Changes since Verion 1.2
+Changes since Verion 1.1
     I have removed everything to do with the BDM DS connection
     I have changed the mbed pin number for the BDM DSO connection
         Now all BDM connections are part of the same MBED 'port'
@@ -105,6 +115,7 @@
 #include "bdm.h"
 #include "can232.h"
 #include "t5can.h"
+#include "t7can.h"
 
 // constants
 #define CMD_BUF_LENGTH      32              ///< command buffer size
@@ -201,6 +212,9 @@
         case '5':
             t5_can();
             return TERM_OK;
+        case '7':
+            t7_can();
+            return TERM_OK;
         case 'h':
         case 'H':
             return TERM_OK;
@@ -218,6 +232,7 @@
     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("\r\n");
     printf("h/H - show this help menu\r\n");
     printf("\r\n");