Révision 910
Ajouté par ahkurklu il y a environ 4 ans
branch/KURKLU/sp4c12/sp4c12/sp4c12/rectrame.c | ||
---|---|---|
int resultatChecksum;
|
||
char c[2];
|
||
char checksum = 0;
|
||
int trameOK = 7;
|
||
int trameOK = 0;
|
||
char recu;
|
||
while(uart0_rx()!='$');
|
||
while((recu =uart0_rx()) !='*'){
|
||
... | ... | |
|
||
resultat = c2+16*c1;
|
||
return resultat;
|
||
}
|
||
}
|
||
|
||
|
||
|
||
|
||
|
branch/KURKLU/sp4c12/sp4c12/sp4c12/SessionM32C_E8a_SYSTEM.hsf | ||
---|---|---|
"{AC411480-6F0A-11D5-8EB6-00004CC34E9D}ECX_IMAGE_VIEW" "0,0,0,0,0,0"
|
||
"{AC411480-6F0A-11D5-8EB6-00004CC34E9D}ImageCtrlViews" "0"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchCtrlViews" "4"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth0" "120"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth0" "245"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth1" "150"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth12" "150"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth2" "120"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth3" "200"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000" "c, 10, 0, P, Col, Hex, N"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000_SCOPE" "Current Scope,"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEMCnt" "1"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEMCnt" "0"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth0" "120"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth1" "150"
|
||
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth12" "150"
|
||
... | ... | |
[WINDOW_POSITION_STATE_DATA_VD1]
|
||
"Help" "TOOLBAR 0" 59419 1 5 "0.00" 0 0 0 0 0 17 0 "" "0.0"
|
||
"{WK_00000001_IO}sp4c12SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 2 "0.52" 180 0 0 350 200 17 0 "32817|32826|32819|32820|32821" "0.0"
|
||
"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 1 "0.38" 180 683 371 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0"
|
||
"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 1 "0.64" 180 683 371 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0"
|
||
"{WK_00000001_REGISTERS}sp4c12SessionM32C_E8a_SYSTEM" "WINDOW" 59421 0 0 "1.00" 180 0 0 350 200 2065 0 "" "0.0"
|
||
"{WK_00000001_WATCH}sp4c12SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 0 "0.62" 180 0 0 350 200 18 0 "32781|32783|<<separator>>|32771|32829|32772|32827|32773|<<separator>>|32786|<<separator>>|32810|32811|32831" "0.0"
|
||
"{WK_00000001_WATCH}sp4c12SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 0 "0.36" 180 0 0 350 200 18 0 "32781|32783|<<separator>>|32771|32829|32772|32827|32773|<<separator>>|32786|<<separator>>|32810|32811|32831" "0.0"
|
||
"{WK_00000002_WORKSPACE}" "WINDOW" 59420 0 0 "1.00" 180 683 371 350 200 18 0 "" "0.0"
|
||
"{WK_TB00000001_STANDARD}" "TOOLBAR 0" 59419 0 2 "0.00" 0 0 0 0 0 18 0 "" "0.0"
|
||
"{WK_TB00000002_EDITOR}" "TOOLBAR 0" 59419 0 0 "0.00" 0 0 0 0 0 18 0 "" "0.0"
|
||
... | ... | |
[WINDOW_POSITION_STATE_DATA_VD3]
|
||
[WINDOW_POSITION_STATE_DATA_VD4]
|
||
[WINDOW_Z_ORDER]
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\ncrt0.a30"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.c"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sfr32c87.h"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.h"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.c"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sp4c12.c"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.h"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sfr32c87.h"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.h"
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\ncrt0.a30"
|
||
[TARGET_NAME]
|
||
"M32C E8a SYSTEM" "" 0
|
||
[STATUSBAR_STATEINFO_VD1]
|
||
... | ... | |
[FLASH_DETAILS]
|
||
"" 0 0 "" 0 "" 0 0 "" 0 0 0 0 0 0 0 "" "" "" "" ""
|
||
[BREAKPOINTS]
|
||
"d:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sp4c12.c" 39 16646953 1 "{00000000-0000-0000-C000-000000000046}" ""
|
||
[END]
|
branch/KURKLU/sp4c12/sp4c12/sp4c12/sp4c12.hwp | ||
---|---|---|
"Relocatable file" "Renesas M32C Linker" "Renesas M32C C Compiler"
|
||
[PROJECT_FILES]
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\ncrt0.a30" "User" "Assembly source file" 2
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.c" "User" "C source file" 2
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.h" "User" "C header file" 2
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sfr32c87.h" "User" "C header file" 2
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sp4c12.c" "User" "C source file" 2
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.c" "User" "C source file" 2
|
||
... | ... | |
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\ncrt0.a30" "034a92715c657d10" 2
|
||
[OPTIONS_Debug_Renesas M32C C Compiler]
|
||
"C source file" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.c" "0db2daed40e57d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sp4c12.c" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.c" "0bbd7a6d5c657d10" 1
|
||
[OPTIONS_Debug_Renesas M32C Configurator]
|
||
"Single Shot" "0bbd7a6d5c657d10" 6
|
||
"Single Shot" "0db2daed40e57d10" 6
|
||
[OPTIONS_Debug_Renesas M32C Librarian]
|
||
"Single Shot" "0bbd7a6d5c657d10" 5
|
||
"Single Shot" "0db2daed40e57d10" 5
|
||
[OPTIONS_Debug_Renesas M32C Linker]
|
||
"Single Shot" "0bbd7a6d5c657d10" 3
|
||
"Single Shot" "0db2daed40e57d10" 3
|
||
[OPTIONS_Debug_Renesas M32C Stype Converter]
|
||
"Single Shot" "0bbd7a6d5c657d10" 4
|
||
"Single Shot" "0db2daed40e57d10" 4
|
||
[OPTIONS_Debug]
|
||
"" 0
|
||
"[V|VERSION|1] [B|COMMAND|1] [S|SPEC|UITRON3] " 6
|
||
... | ... | |
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\ncrt0.a30" "034a92715c657d10" 2
|
||
[OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C C Compiler]
|
||
"C source file" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.c" "0db2daed40e57d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sp4c12.c" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.c" "0bbd7a6d5c657d10" 1
|
||
[OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Configurator]
|
||
"Single Shot" "0bbd7a6d5c657d10" 6
|
||
"Single Shot" "0db2daed40e57d10" 6
|
||
[OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Librarian]
|
||
"Single Shot" "0bbd7a6d5c657d10" 5
|
||
"Single Shot" "0db2daed40e57d10" 5
|
||
[OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Linker]
|
||
"Single Shot" "0bbd7a6d5c657d10" 3
|
||
"Single Shot" "0db2daed40e57d10" 3
|
||
[OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Stype Converter]
|
||
"Single Shot" "0bbd7a6d5c657d10" 4
|
||
"Single Shot" "0db2daed40e57d10" 4
|
||
[OPTIONS_Debug_M32C_E8a_SYSTEM]
|
||
"" 0
|
||
"[V|VERSION|1] [B|COMMAND|1] [S|SPEC|UITRON3] " 6
|
||
... | ... | |
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\ncrt0.a30" "034a92715c657d10" 2
|
||
[OPTIONS_Debug_M32C_Simulator_Renesas M32C C Compiler]
|
||
"C source file" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.c" "0db2daed40e57d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sp4c12.c" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.c" "0bbd7a6d5c657d10" 1
|
||
[OPTIONS_Debug_M32C_Simulator_Renesas M32C Configurator]
|
||
"Single Shot" "0bbd7a6d5c657d10" 6
|
||
"Single Shot" "0db2daed40e57d10" 6
|
||
[OPTIONS_Debug_M32C_Simulator_Renesas M32C Librarian]
|
||
"Single Shot" "0bbd7a6d5c657d10" 5
|
||
"Single Shot" "0db2daed40e57d10" 5
|
||
[OPTIONS_Debug_M32C_Simulator_Renesas M32C Linker]
|
||
"Single Shot" "0bbd7a6d5c657d10" 3
|
||
"Single Shot" "0db2daed40e57d10" 3
|
||
[OPTIONS_Debug_M32C_Simulator_Renesas M32C Stype Converter]
|
||
"Single Shot" "0bbd7a6d5c657d10" 4
|
||
"Single Shot" "0db2daed40e57d10" 4
|
||
[OPTIONS_Debug_M32C_Simulator]
|
||
"" 0
|
||
"[V|VERSION|1] [B|COMMAND|1] [S|SPEC|UITRON3] " 6
|
||
... | ... | |
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\ncrt0.a30" "034a92715c657d10" 2
|
||
[OPTIONS_Release_Renesas M32C C Compiler]
|
||
"C source file" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\rectrame.c" "0db2daed40e57d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\sp4c12.c" "034a92715c657d10" 1
|
||
"D:\tp_sp4_2021_kurklu\sp4c12\sp4c12\sp4c12\uart0.c" "0bbd7a6d5c657d10" 1
|
||
[OPTIONS_Release_Renesas M32C Configurator]
|
||
"Single Shot" "0bbd7a6d5c657d10" 6
|
||
"Single Shot" "0db2daed40e57d10" 6
|
||
[OPTIONS_Release_Renesas M32C Librarian]
|
||
"Single Shot" "0bbd7a6d5c657d10" 5
|
||
"Single Shot" "0db2daed40e57d10" 5
|
||
[OPTIONS_Release_Renesas M32C Linker]
|
||
"Single Shot" "0bbd7a6d5c657d10" 3
|
||
"Single Shot" "0db2daed40e57d10" 3
|
||
[OPTIONS_Release_Renesas M32C Stype Converter]
|
||
"Single Shot" "0bbd7a6d5c657d10" 4
|
||
"Single Shot" "0db2daed40e57d10" 4
|
||
[OPTIONS_Release]
|
||
"" 0
|
||
"[V|VERSION|1] [B|COMMAND|1] [S|SPEC|UITRON3] " 6
|
branch/KURKLU/sp4c12/sp4c12/sp4c12/sp4c12.c | ||
---|---|---|
}
|
||
uart0_tx(b+1);
|
||
}
|
||
|
||
*/
|
||
|
||
|
Formats disponibles : Unified diff
Fin de tp c3