Sophie Dexter
/
Just4Trionic
Just4Trionic - CAN and BDM FLASH programmer for Saab cars
Embed:
(wiki syntax)
Show/hide line numbers
t5can.h
00001 /******************************************************************************* 00002 00003 t5can.h - information and definitions needed for doing things with the T5 ECU 00004 (c) 2010 by Sophie Dexter 00005 00006 ******************************************************************************** 00007 00008 WARNING: Use at your own risk, sadly this software comes with no guarantees. 00009 This software is provided 'free' and in good faith, but the author does not 00010 accept liability for any damage arising from its use. 00011 00012 *******************************************************************************/ 00013 00014 #ifndef __T5CAN_H__ 00015 #define __T5CAN_H__ 00016 00017 #include "mbed.h" 00018 #include "CAN.h" 00019 00020 #include "common.h" 00021 #include "strings.h" 00022 #include "t5utils.h" 00023 #include "srecutils.h" 00024 00025 #define T5SYMBOLS 'S' 00026 #define T5VERSION 's' 00027 #define T5WRITE 'W' 00028 00029 extern void t5_can(); 00030 00031 void t5_can_show_help(); 00032 bool t5_can_show_can_message(); 00033 bool t5_can_get_symbol_table(); 00034 bool t5_can_get_version(); 00035 bool t5_can_get_adaption_data(); 00036 bool t5_can_send_boot_loader_S19(); 00037 bool t5_can_send_boot_loader(); 00038 bool t5_can_get_checksum(); 00039 bool t5_can_bootloader_reset(); 00040 bool t5_can_get_start_and_chip_types(uint32_t* start); 00041 bool t5_can_erase_flash(); 00042 bool t5_can_dump_flash(uint32_t start); 00043 bool t5_can_send_flash_s19_update(uint32_t start); 00044 bool t5_can_send_flash_bin_update(uint32_t start); 00045 bool t5_can_get_last_address(); 00046 00047 #endif
Generated on Fri Jul 15 2022 00:43:05 by 1.7.2