SNAKE(LAGER)対応(とりあえず、動作未確認)

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@452 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
n2232 2012-05-21 05:35:44 +00:00
parent 60193cf96d
commit 3151417721
18 changed files with 1416 additions and 1526 deletions

Binary file not shown.

Binary file not shown.

View File

@ -69,7 +69,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);_WIN32</PreprocessorDefinitions>
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -46,8 +46,45 @@ const bt_param_ bt_param[ _BT_PARAM_NUM_ ] =
0xDA20,
{ 0x69, 0x67 },
},
// SPFL ///////////////////////////////////////////////
// BT_PARAM_SPFL_MAXELL
{
{
0xA1, 0x20, 0xB7, 0x50, 0xB9, 0xD0, 0xBB, 0x00,
0xBC, 0x30, 0xBC, 0x60, 0xBC, 0xA0, 0xBD, 0x10,
0xBD, 0xC0, 0xBE, 0x70, 0xBF, 0xD0, 0xC2, 0xA0,
0xC4, 0x00, 0xC8, 0x50, 0xCC, 0x80, 0xD0, 0xB0,
0x01, 0xA0, 0x25, 0x10, 0x18, 0xB0, 0x17, 0xC0,
0x95, 0x20, 0x6F, 0xE0, 0x7C, 0x60, 0x35, 0x10,
0x35, 0x00, 0x37, 0xF0, 0x16, 0xF0, 0x1C, 0xA0,
0x17, 0x30, 0x11, 0xD0, 0x11, 0xF0, 0x11, 0xF0
},
2,
{ 94, (-256* 0.35), (-256* 3.85) },
0xDAB0,
{ 0xF5, 0xF3 }
},
// spfl ///////////////////////////////////////////////
// BT_PARAM_SPFL_PANA
{
{
0x9C, 0xF0, 0xAD, 0x50, 0xAF, 0xB0, 0xB3, 0x00,
0xB3, 0xE0, 0XB5, 0x60, 0XB6, 0x70, 0xB7, 0xA0,
0xBA, 0x00, 0xBC, 0x00, 0xBE, 0x90, 0xC1, 0x60,
0xC4, 0x00, 0xC7, 0x00, 0xCC, 0xA0, 0xD0, 0xA0,
0x02, 0x00, 0x19, 0x10, 0x12, 0x00, 0x48, 0x10,
0x25, 0x10, 0x41, 0xF0, 0x2F, 0xA0, 0x13, 0xF0,
0x1C, 0xD0, 0x10, 0xD0, 0x0F, 0xA0, 0x11, 0x00,
0x10, 0xE0, 0x0C, 0x10, 0x0C, 0x00, 0x0C, 0x00
},
2,
{ 113, (-256* 0.30), (-256* 2.25) },
0xDAA0,
{ 0xE5, 0xE7 },
},
// SNAKE (dummy) //////////////////////////////////////
// BT_PARAM_SPFL_MAXELL
{
{

View File

@ -20,8 +20,8 @@ typedef enum
BT_PARAM_CTR_PANA,
BT_PARAM_SPFL_MAXELL,
BT_PARAM_SPFL_PANA,
BT_PARAM_SHRIMP_MAXELL,
BT_PARAM_SHRIMP_PANA,
BT_PARAM_SNAKE_MAXELL,
BT_PARAM_SNAKE_PANA,
_BT_PARAM_NUM_
} BT_TYPE;

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,7 +1,7 @@
78K0R Linker W1.33 Date:23 Feb 2012 Page: 1
78K0R Linker W1.33 Date:21 May 2012 Page: 1
Command: -yc:\program files (x86)\nec electronics tools\dev -_msgoff -
obsr.lmf ..\..\..\Program Files (x86)\NEC Electronics Tools\C
@ -26,8 +26,8 @@ Direc-file:bsr_mcu.dr
*** Link information ***
73 output segment(s)
3D6EH byte(s) real data
6220 symbol(s) defined
3D86H byte(s) real data
6251 symbol(s) defined
*** Memory map ***
@ -152,55 +152,55 @@ Direc-file:bsr_mcu.dr
LDR_CODL util_funcs
000C4H 00000H
?CSEGSI 000C4H 0000AH CSEG
LDR_CODE 000CEH 008EFH CSEG
LDR_CODE loader 000CEH 00177H
LDR_CODE WDT 00245H 00000H
LDR_CODE i2c_mcu 00245H 00293H
LDR_CODE 000CEH 008F5H CSEG
LDR_CODE loader 000CEH 0017DH
LDR_CODE WDT 0024BH 00000H
LDR_CODE i2c_mcu 0024BH 00293H
LDR_CODE self_flash
004D8H 00370H
004DEH 00370H
LDR_CODE task_debug
00848H 00000H
0084EH 00000H
LDR_CODE task_status
00848H 00075H
LDR_CODE hal 008BDH 000DCH
0084EH 00075H
LDR_CODE hal 008C3H 000DCH
LDR_CODE util_funcs
00999H 00024H
FSL_CODE 009BDH 00322H CSEG
0099FH 00024H
FSL_CODE 009C3H 00322H CSEG
FSL_CODE fsl_block_cmd
009BDH 0002BH
009C3H 0002BH
FSL_CODE fsl_block_check
009E8H 00013H
009EEH 00013H
FSL_CODE fsl_common
009FBH 0014FH
00A01H 0014FH
FSL_CODE fsl_reset
00B4AH 00001H
00B50H 00001H
FSL_CODE fsl_si_ibf
00B4BH 00064H
00B51H 00064H
FSL_CODE fsl_phySwap
00BAFH 0004DH
00BB5H 0004DH
FSL_CODE fsl_si_common
00BFCH 00061H
FSL_CODE fsl_swap 00C5DH 00030H
00C02H 00061H
FSL_CODE fsl_swap 00C63H 00030H
FSL_CODE fsl_write
00C8DH 00052H
@@LCODE 00CDFH 00277H CSEG
@@LCODE @cstart 00CDFH 0006DH
@@LCODE @imul 00D4CH 00011H
@@LCODE @lumul 00D5DH 0002BH
@@LCODE @isdiv 00D88H 00022H
@@LCODE @iudiv 00DAAH 0002DH
@@LCODE @isrem 00DD7H 00021H
@@LCODE @iurem 00DF8H 0002FH
@@LCODE @lsdiv 00E27H 00039H
@@LCODE @ludiv 00E60H 0003FH
@@LCODE @divuw 00E9FH 00034H
@@LCODE @ladd 00ED3H 0000FH
@@LCODE @llsh 00EE2H 0001BH
@@LCODE @lursh 00EFDH 0001FH
@@LCODE @iscmp 00F1CH 0000CH
@@LCODE @lband 00F28H 00014H
@@LCODE @bcdtob 00F3CH 0001AH
* gap * 00F56H 000A0H
00C93H 00052H
@@LCODE 00CE5H 00277H CSEG
@@LCODE @cstart 00CE5H 0006DH
@@LCODE @imul 00D52H 00011H
@@LCODE @lumul 00D63H 0002BH
@@LCODE @isdiv 00D8EH 00022H
@@LCODE @iudiv 00DB0H 0002DH
@@LCODE @isrem 00DDDH 00021H
@@LCODE @iurem 00DFEH 0002FH
@@LCODE @lsdiv 00E2DH 00039H
@@LCODE @ludiv 00E66H 0003FH
@@LCODE @divuw 00EA5H 00034H
@@LCODE @ladd 00ED9H 0000FH
@@LCODE @llsh 00EE8H 0001BH
@@LCODE @lursh 00F03H 0001FH
@@LCODE @iscmp 00F22H 0000CH
@@LCODE @lband 00F2EH 00014H
@@LCODE @bcdtob 00F42H 0001AH
* gap * 00F5CH 0009AH
MGC_LOAD 00FF6H 0000AH CSEG AT
MGC_LOAD magic 00FF6H 0000AH
@ -254,302 +254,302 @@ Direc-file:bsr_mcu.dr
0228CH 00000H
@@CNST i2c_mcu-sub
0228CH 00000H
ROM_CODE 0228CH 0257CH CSEG
ROM_CODE pm 0228CH 0099FH
ROM_CODE i2c_ctr 02C2BH 0005CH
ROM_CODE main 02C87H 00055H
ROM_CODE i2c_twl 02CDCH 00062H
ROM_CODE led 02D3EH 0024FH
ROM_CODE rtc 02F8DH 000E0H
ROM_CODE vreg_ctr 0306DH 0047DH
ROM_CODE vreg_twl 034EAH 000F9H
ROM_CODE adc 035E3H 00261H
ROM_CODE renge 03844H 00018H
ROM_CODE accero 0385CH 00155H
ROM_CODE sw 039B1H 00126H
ROM_CODE 0228CH 0258EH CSEG
ROM_CODE pm 0228CH 009B0H
ROM_CODE i2c_ctr 02C3CH 0005CH
ROM_CODE main 02C98H 00055H
ROM_CODE i2c_twl 02CEDH 00062H
ROM_CODE led 02D4FH 0024FH
ROM_CODE rtc 02F9EH 000E0H
ROM_CODE vreg_ctr 0307EH 0047DH
ROM_CODE vreg_twl 034FBH 000F9H
ROM_CODE adc 035F4H 00261H
ROM_CODE renge 03855H 00018H
ROM_CODE accero 0386DH 00155H
ROM_CODE sw 039C2H 00126H
ROM_CODE task_misc
03AD7H 001E5H
ROM_CODE task_sys 03CBCH 00380H
03AE8H 001E5H
ROM_CODE task_sys 03CCDH 00381H
ROM_CODE pedo_alg_thre_det2
0403CH 004D4H
ROM_CODE led_cam 04510H 000C4H
ROM_CODE led_pow 045D4H 0016FH
ROM_CODE voltable 04743H 00000H
0404EH 004D4H
ROM_CODE led_cam 04522H 000C4H
ROM_CODE led_pow 045E6H 0016FH
ROM_CODE voltable 04755H 00000H
ROM_CODE pedo_lpf_coeff
04743H 00000H
04755H 00000H
ROM_CODE kanaria_c
04743H 00006H
ROM_CODE get_ei 04749H 0000DH
04755H 00006H
ROM_CODE get_ei 0475BH 0000DH
ROM_CODE i2c_mcu-sub
04756H 000B2H
@@BASE 04808H 00614H CSEG BASE
@@BASE loader 04808H 00000H
@@BASE pm 04808H 0003EH
@@BASE i2c_ctr 04846H 00170H
@@BASE main 049B6H 00000H
@@BASE magic 049B6H 00000H
@@BASE WDT 049B6H 00000H
@@BASE i2c_mcu 049B6H 000F2H
@@BASE i2c_twl 04AA8H 000D0H
@@BASE led 04B78H 00000H
@@BASE rtc 04B78H 0005DH
@@BASE vreg_ctr 04BD5H 00000H
@@BASE vreg_twl 04BD5H 00000H
@@BASE adc 04BD5H 00094H
@@BASE renge 04C69H 0016BH
@@BASE accero 04DD4H 00042H
04768H 000B2H
@@BASE 0481AH 00614H CSEG BASE
@@BASE loader 0481AH 00000H
@@BASE pm 0481AH 0003EH
@@BASE i2c_ctr 04858H 00170H
@@BASE main 049C8H 00000H
@@BASE magic 049C8H 00000H
@@BASE WDT 049C8H 00000H
@@BASE i2c_mcu 049C8H 000F2H
@@BASE i2c_twl 04ABAH 000D0H
@@BASE led 04B8AH 00000H
@@BASE rtc 04B8AH 0005DH
@@BASE vreg_ctr 04BE7H 00000H
@@BASE vreg_twl 04BE7H 00000H
@@BASE adc 04BE7H 00094H
@@BASE renge 04C7BH 0016BH
@@BASE accero 04DE6H 00042H
@@BASE self_flash
04E16H 00000H
@@BASE sw 04E16H 00000H
04E28H 00000H
@@BASE sw 04E28H 00000H
@@BASE task_debug
04E16H 00000H
04E28H 00000H
@@BASE task_misc
04E16H 00000H
@@BASE task_sys 04E16H 00000H
04E28H 00000H
@@BASE task_sys 04E28H 00000H
@@BASE pedo_alg_thre_det2
04E16H 00000H
@@BASE ini_VECT 04E16H 00006H
04E28H 00000H
@@BASE ini_VECT 04E28H 00006H
@@BASE task_status
04E1CH 00000H
@@BASE led_cam 04E1CH 00000H
@@BASE led_pow 04E1CH 00000H
@@BASE hal 04E1CH 00000H
04E2EH 00000H
@@BASE led_cam 04E2EH 00000H
@@BASE led_pow 04E2EH 00000H
@@BASE hal 04E2EH 00000H
@@BASE batt_params
04E1CH 00000H
@@BASE voltable 04E1CH 00000H
04E2EH 00000H
@@BASE voltable 04E2EH 00000H
@@BASE pedo_lpf_coeff
04E1CH 00000H
04E2EH 00000H
@@BASE kanaria_c
04E1CH 00000H
04E2EH 00000H
@@BASE util_funcs
04E1CH 00000H
04E2EH 00000H
@@BASE i2c_mcu-sub
04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL @cstart 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL pm 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL i2c_ctr 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL main 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL i2c_twl 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL led 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL rtc 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL vreg_ctr 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL vreg_twl 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL adc 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL renge 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL accero 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL sw 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL @cstart 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL pm 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL i2c_ctr 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL main 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL i2c_twl 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL led 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL rtc 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL vreg_ctr 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL vreg_twl 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL adc 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL renge 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL accero 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL sw 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL task_misc
04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL task_sys 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL task_sys 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL pedo_alg_thre_det2
04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL ini_VECT 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL led_cam 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL led_pow 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL ini_VECT 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL led_cam 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL led_pow 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL batt_params
04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
@@CNSTL voltable 04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL voltable 04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL pedo_lpf_coeff
04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL kanaria_c
04E1CH 00000H
@@CNSTL 04E1CH 00000H CSEG PAGE64KP
04E2EH 00000H
@@CNSTL 04E2EH 00000H CSEG PAGE64KP
@@CNSTL i2c_mcu-sub
04E1CH 00000H
@@CNSTL 04E1CH 0000AH CSEG PAGE64KP
@@CNSTL @bcdtob 04E1CH 0000AH
@@R_INIT 04E26H 0004AH CSEG UNIT64KP
@@R_INIT @cstart 04E26H 00000H
@@R_INIT loader 04E26H 00000H
@@R_INIT pm 04E26H 00000H
@@R_INIT i2c_ctr 04E26H 00000H
@@R_INIT main 04E26H 00000H
@@R_INIT magic 04E26H 00000H
@@R_INIT WDT 04E26H 00000H
@@R_INIT i2c_mcu 04E26H 00000H
@@R_INIT i2c_twl 04E26H 00000H
@@R_INIT led 04E26H 00000H
@@R_INIT rtc 04E26H 00000H
@@R_INIT vreg_ctr 04E26H 00000H
@@R_INIT vreg_twl 04E26H 00000H
@@R_INIT adc 04E26H 0000CH
@@R_INIT renge 04E32H 00014H
@@R_INIT accero 04E46H 00000H
04E2EH 00000H
@@CNSTL 04E2EH 0000AH CSEG PAGE64KP
@@CNSTL @bcdtob 04E2EH 0000AH
@@R_INIT 04E38H 0004AH CSEG UNIT64KP
@@R_INIT @cstart 04E38H 00000H
@@R_INIT loader 04E38H 00000H
@@R_INIT pm 04E38H 00000H
@@R_INIT i2c_ctr 04E38H 00000H
@@R_INIT main 04E38H 00000H
@@R_INIT magic 04E38H 00000H
@@R_INIT WDT 04E38H 00000H
@@R_INIT i2c_mcu 04E38H 00000H
@@R_INIT i2c_twl 04E38H 00000H
@@R_INIT led 04E38H 00000H
@@R_INIT rtc 04E38H 00000H
@@R_INIT vreg_ctr 04E38H 00000H
@@R_INIT vreg_twl 04E38H 00000H
@@R_INIT adc 04E38H 0000CH
@@R_INIT renge 04E44H 00014H
@@R_INIT accero 04E58H 00000H
@@R_INIT self_flash
04E46H 00000H
@@R_INIT sw 04E46H 00000H
04E58H 00000H
@@R_INIT sw 04E58H 00000H
@@R_INIT task_debug
04E46H 00000H
04E58H 00000H
@@R_INIT task_misc
04E46H 00026H
@@R_INIT task_sys 04E6CH 00000H
04E58H 00026H
@@R_INIT task_sys 04E7EH 00000H
@@R_INIT pedo_alg_thre_det2
04E6CH 00000H
@@R_INIT ini_VECT 04E6CH 00000H
04E7EH 00000H
@@R_INIT ini_VECT 04E7EH 00000H
@@R_INIT task_status
04E6CH 00000H
@@R_INIT led_cam 04E6CH 00000H
@@R_INIT led_pow 04E6CH 00004H
@@R_INIT hal 04E70H 00000H
04E7EH 00000H
@@R_INIT led_cam 04E7EH 00000H
@@R_INIT led_pow 04E7EH 00004H
@@R_INIT hal 04E82H 00000H
@@R_INIT batt_params
04E70H 00000H
@@R_INIT voltable 04E70H 00000H
04E82H 00000H
@@R_INIT voltable 04E82H 00000H
@@R_INIT pedo_lpf_coeff
04E70H 00000H
04E82H 00000H
@@R_INIT kanaria_c
04E70H 00000H
04E82H 00000H
@@R_INIT util_funcs
04E70H 00000H
04E82H 00000H
@@R_INIT i2c_mcu-sub
04E70H 00000H
@@R_INIT @rom 04E70H 00000H
@@R_INIS 04E70H 00010H CSEG UNIT64KP
@@R_INIS @cstart 04E70H 00000H
@@R_INIS loader 04E70H 00000H
@@R_INIS pm 04E70H 00002H
@@R_INIS i2c_ctr 04E72H 00002H
@@R_INIS main 04E74H 00000H
@@R_INIS magic 04E74H 00000H
@@R_INIS WDT 04E74H 00000H
@@R_INIS i2c_mcu 04E74H 00000H
@@R_INIS i2c_twl 04E74H 00000H
@@R_INIS led 04E74H 00000H
@@R_INIS rtc 04E74H 00000H
@@R_INIS vreg_ctr 04E74H 00000H
@@R_INIS vreg_twl 04E74H 00000H
@@R_INIS adc 04E74H 00000H
@@R_INIS renge 04E74H 00000H
@@R_INIS accero 04E74H 00000H
04E82H 00000H
@@R_INIT @rom 04E82H 00000H
@@R_INIS 04E82H 00010H CSEG UNIT64KP
@@R_INIS @cstart 04E82H 00000H
@@R_INIS loader 04E82H 00000H
@@R_INIS pm 04E82H 00002H
@@R_INIS i2c_ctr 04E84H 00002H
@@R_INIS main 04E86H 00000H
@@R_INIS magic 04E86H 00000H
@@R_INIS WDT 04E86H 00000H
@@R_INIS i2c_mcu 04E86H 00000H
@@R_INIS i2c_twl 04E86H 00000H
@@R_INIS led 04E86H 00000H
@@R_INIS rtc 04E86H 00000H
@@R_INIS vreg_ctr 04E86H 00000H
@@R_INIS vreg_twl 04E86H 00000H
@@R_INIS adc 04E86H 00000H
@@R_INIS renge 04E86H 00000H
@@R_INIS accero 04E86H 00000H
@@R_INIS self_flash
04E74H 00000H
@@R_INIS sw 04E74H 00000H
04E86H 00000H
@@R_INIS sw 04E86H 00000H
@@R_INIS task_debug
04E74H 00000H
04E86H 00000H
@@R_INIS task_misc
04E74H 00000H
@@R_INIS task_sys 04E74H 00002H
04E86H 00000H
@@R_INIS task_sys 04E86H 00002H
@@R_INIS pedo_alg_thre_det2
04E76H 00006H
@@R_INIS ini_VECT 04E7CH 00000H
04E88H 00006H
@@R_INIS ini_VECT 04E8EH 00000H
@@R_INIS task_status
04E7CH 00000H
@@R_INIS led_cam 04E7CH 00002H
@@R_INIS led_pow 04E7EH 00002H
@@R_INIS hal 04E80H 00000H
04E8EH 00000H
@@R_INIS led_cam 04E8EH 00002H
@@R_INIS led_pow 04E90H 00002H
@@R_INIS hal 04E92H 00000H
@@R_INIS batt_params
04E80H 00000H
@@R_INIS voltable 04E80H 00000H
04E92H 00000H
@@R_INIS voltable 04E92H 00000H
@@R_INIS pedo_lpf_coeff
04E80H 00000H
04E92H 00000H
@@R_INIS kanaria_c
04E80H 00000H
04E92H 00000H
@@R_INIS util_funcs
04E80H 00000H
04E92H 00000H
@@R_INIS i2c_mcu-sub
04E80H 00000H
@@R_INIS @rom 04E80H 00000H
@@RLINIT 04E80H 00000H CSEG UNIT64KP
@@RLINIT loader 04E80H 00000H
@@RLINIT pm 04E80H 00000H
@@RLINIT i2c_ctr 04E80H 00000H
@@RLINIT main 04E80H 00000H
@@RLINIT magic 04E80H 00000H
@@RLINIT WDT 04E80H 00000H
@@RLINIT i2c_mcu 04E80H 00000H
@@RLINIT i2c_twl 04E80H 00000H
@@RLINIT led 04E80H 00000H
@@RLINIT rtc 04E80H 00000H
@@RLINIT vreg_ctr 04E80H 00000H
@@RLINIT vreg_twl 04E80H 00000H
@@RLINIT adc 04E80H 00000H
@@RLINIT renge 04E80H 00000H
@@RLINIT accero 04E80H 00000H
04E92H 00000H
@@R_INIS @rom 04E92H 00000H
@@RLINIT 04E92H 00000H CSEG UNIT64KP
@@RLINIT loader 04E92H 00000H
@@RLINIT pm 04E92H 00000H
@@RLINIT i2c_ctr 04E92H 00000H
@@RLINIT main 04E92H 00000H
@@RLINIT magic 04E92H 00000H
@@RLINIT WDT 04E92H 00000H
@@RLINIT i2c_mcu 04E92H 00000H
@@RLINIT i2c_twl 04E92H 00000H
@@RLINIT led 04E92H 00000H
@@RLINIT rtc 04E92H 00000H
@@RLINIT vreg_ctr 04E92H 00000H
@@RLINIT vreg_twl 04E92H 00000H
@@RLINIT adc 04E92H 00000H
@@RLINIT renge 04E92H 00000H
@@RLINIT accero 04E92H 00000H
@@RLINIT self_flash
04E80H 00000H
@@RLINIT sw 04E80H 00000H
04E92H 00000H
@@RLINIT sw 04E92H 00000H
@@RLINIT task_debug
04E80H 00000H
04E92H 00000H
@@RLINIT task_misc
04E80H 00000H
@@RLINIT task_sys 04E80H 00000H
04E92H 00000H
@@RLINIT task_sys 04E92H 00000H
@@RLINIT pedo_alg_thre_det2
04E80H 00000H
@@RLINIT ini_VECT 04E80H 00000H
04E92H 00000H
@@RLINIT ini_VECT 04E92H 00000H
@@RLINIT task_status
04E80H 00000H
@@RLINIT led_cam 04E80H 00000H
@@RLINIT led_pow 04E80H 00000H
@@RLINIT hal 04E80H 00000H
04E92H 00000H
@@RLINIT led_cam 04E92H 00000H
@@RLINIT led_pow 04E92H 00000H
@@RLINIT hal 04E92H 00000H
@@RLINIT batt_params
04E80H 00000H
@@RLINIT voltable 04E80H 00000H
04E92H 00000H
@@RLINIT voltable 04E92H 00000H
@@RLINIT pedo_lpf_coeff
04E80H 00000H
04E92H 00000H
@@RLINIT kanaria_c
04E80H 00000H
04E92H 00000H
@@RLINIT util_funcs
04E80H 00000H
04E92H 00000H
@@RLINIT i2c_mcu-sub
04E80H 00000H
@@RLINIT @rom 04E80H 00000H
@@CODEL 04E80H 00000H CSEG
@@CODEL pm 04E80H 00000H
@@CODEL i2c_ctr 04E80H 00000H
@@CODEL main 04E80H 00000H
@@CODEL magic 04E80H 00000H
@@CODEL i2c_twl 04E80H 00000H
@@CODEL led 04E80H 00000H
@@CODEL rtc 04E80H 00000H
@@CODEL vreg_ctr 04E80H 00000H
@@CODEL vreg_twl 04E80H 00000H
@@CODEL adc 04E80H 00000H
@@CODEL renge 04E80H 00000H
@@CODEL accero 04E80H 00000H
@@CODEL sw 04E80H 00000H
04E92H 00000H
@@RLINIT @rom 04E92H 00000H
@@CODEL 04E92H 00000H CSEG
@@CODEL pm 04E92H 00000H
@@CODEL i2c_ctr 04E92H 00000H
@@CODEL main 04E92H 00000H
@@CODEL magic 04E92H 00000H
@@CODEL i2c_twl 04E92H 00000H
@@CODEL led 04E92H 00000H
@@CODEL rtc 04E92H 00000H
@@CODEL vreg_ctr 04E92H 00000H
@@CODEL vreg_twl 04E92H 00000H
@@CODEL adc 04E92H 00000H
@@CODEL renge 04E92H 00000H
@@CODEL accero 04E92H 00000H
@@CODEL sw 04E92H 00000H
@@CODEL task_misc
04E80H 00000H
@@CODEL task_sys 04E80H 00000H
04E92H 00000H
@@CODEL task_sys 04E92H 00000H
@@CODEL pedo_alg_thre_det2
04E80H 00000H
@@CODEL ini_VECT 04E80H 00000H
@@CODEL led_cam 04E80H 00000H
@@CODEL led_pow 04E80H 00000H
04E92H 00000H
@@CODEL ini_VECT 04E92H 00000H
@@CODEL led_cam 04E92H 00000H
@@CODEL led_pow 04E92H 00000H
@@CODEL batt_params
04E80H 00000H
@@CODEL voltable 04E80H 00000H
04E92H 00000H
@@CODEL voltable 04E92H 00000H
@@CODEL pedo_lpf_coeff
04E80H 00000H
04E92H 00000H
@@CODEL kanaria_c
04E80H 00000H
04E92H 00000H
@@CODEL i2c_mcu-sub
04E80H 00000H
@@LCODEL 04E80H 00022H CSEG
@@LCODEL abs 04E80H 00008H
@@LCODEL memcpy_n 04E88H 0001AH
* gap * 04EA2H 00152H
04E92H 00000H
@@LCODEL 04E92H 00022H CSEG
@@LCODEL abs 04E92H 00008H
@@LCODEL memcpy_n 04E9AH 0001AH
* gap * 04EB4H 00140H
MGC_VER 04FF4H 00002H CSEG AT
MGC_VER magic 04FF4H 00002H
MGC_TAIL 04FF6H 0000AH CSEG AT
@ -795,96 +795,96 @@ Direc-file:bsr_mcu.dr
@@INIS i2c_mcu-sub
FFE30H 00000H
@@INIS @rom FFE30H 00000H
@@DATS FFE30H 00062H DSEG SADDRP
@@DATS FFE30H 00064H DSEG SADDRP
@@DATS @cstart FFE30H 00000H
@@DATS loader FFE30H 00000H
@@DATS pm FFE30H 00016H
@@DATS i2c_ctr FFE46H 00004H
@@DATS main FFE4AH 00000H
@@DATS magic FFE4AH 00000H
@@DATS WDT FFE4AH 00000H
@@DATS i2c_mcu FFE4AH 00008H
@@DATS i2c_twl FFE52H 00000H
@@DATS led FFE52H 00006H
@@DATS rtc FFE58H 00000H
@@DATS vreg_ctr FFE58H 00004H
@@DATS vreg_twl FFE5CH 00000H
@@DATS adc FFE5CH 0000AH
@@DATS renge FFE66H 00002H
@@DATS accero FFE68H 00002H
@@DATS pm FFE30H 00018H
@@DATS i2c_ctr FFE48H 00004H
@@DATS main FFE4CH 00000H
@@DATS magic FFE4CH 00000H
@@DATS WDT FFE4CH 00000H
@@DATS i2c_mcu FFE4CH 00008H
@@DATS i2c_twl FFE54H 00000H
@@DATS led FFE54H 00006H
@@DATS rtc FFE5AH 00000H
@@DATS vreg_ctr FFE5AH 00004H
@@DATS vreg_twl FFE5EH 00000H
@@DATS adc FFE5EH 0000AH
@@DATS renge FFE68H 00002H
@@DATS accero FFE6AH 00002H
@@DATS self_flash
FFE6AH 00000H
@@DATS sw FFE6AH 0000CH
FFE6CH 00000H
@@DATS sw FFE6CH 0000CH
@@DATS task_debug
FFE76H 00000H
FFE78H 00000H
@@DATS task_misc
FFE76H 00004H
@@DATS task_sys FFE7AH 00002H
FFE78H 00004H
@@DATS task_sys FFE7CH 00002H
@@DATS pedo_alg_thre_det2
FFE7CH 0000EH
@@DATS ini_VECT FFE8AH 00000H
FFE7EH 0000EH
@@DATS ini_VECT FFE8CH 00000H
@@DATS task_status
FFE8AH 00002H
@@DATS led_cam FFE8CH 00002H
@@DATS led_pow FFE8EH 00004H
@@DATS hal FFE92H 00000H
FFE8CH 00002H
@@DATS led_cam FFE8EH 00002H
@@DATS led_pow FFE90H 00004H
@@DATS hal FFE94H 00000H
@@DATS batt_params
FFE92H 00000H
@@DATS voltable FFE92H 00000H
FFE94H 00000H
@@DATS voltable FFE94H 00000H
@@DATS pedo_lpf_coeff
FFE92H 00000H
FFE94H 00000H
@@DATS kanaria_c
FFE92H 00000H
FFE94H 00000H
@@DATS util_funcs
FFE92H 00000H
FFE94H 00000H
@@DATS i2c_mcu-sub
FFE92H 00000H
@@DATS @rom FFE92H 00000H
@@BITS FFE92H 00006H BSEG
@@BITS @cstart FFE92H.0 00000H.0
@@BITS loader FFE92H.0 00000H.0
@@BITS pm FFE92H.0 00001H.1
@@BITS i2c_ctr FFE93H.1 00000H.0
@@BITS main FFE93H.1 00000H.1
@@BITS magic FFE93H.2 00000H.0
@@BITS WDT FFE93H.2 00000H.0
@@BITS i2c_mcu FFE93H.2 00000H.4
@@BITS i2c_twl FFE93H.6 00000H.0
@@BITS led FFE93H.6 00000H.4
@@BITS rtc FFE94H.2 00000H.3
@@BITS vreg_ctr FFE94H.5 00000H.1
@@BITS vreg_twl FFE94H.6 00000H.0
@@BITS adc FFE94H.6 00000H.4
@@BITS renge FFE95H.2 00000H.2
@@BITS accero FFE95H.4 00000H.0
FFE94H 00000H
@@DATS @rom FFE94H 00000H
@@BITS FFE94H 00006H BSEG
@@BITS @cstart FFE94H.0 00000H.0
@@BITS loader FFE94H.0 00000H.0
@@BITS pm FFE94H.0 00001H.1
@@BITS i2c_ctr FFE95H.1 00000H.0
@@BITS main FFE95H.1 00000H.1
@@BITS magic FFE95H.2 00000H.0
@@BITS WDT FFE95H.2 00000H.0
@@BITS i2c_mcu FFE95H.2 00000H.4
@@BITS i2c_twl FFE95H.6 00000H.0
@@BITS led FFE95H.6 00000H.4
@@BITS rtc FFE96H.2 00000H.3
@@BITS vreg_ctr FFE96H.5 00000H.1
@@BITS vreg_twl FFE96H.6 00000H.0
@@BITS adc FFE96H.6 00000H.4
@@BITS renge FFE97H.2 00000H.2
@@BITS accero FFE97H.4 00000H.0
@@BITS self_flash
FFE95H.4 00000H.0
@@BITS sw FFE95H.4 00000H.1
FFE97H.4 00000H.0
@@BITS sw FFE97H.4 00000H.1
@@BITS task_debug
FFE95H.5 00000H.0
FFE97H.5 00000H.0
@@BITS task_misc
FFE95H.5 00000H.3
@@BITS task_sys FFE96H.0 00000H.0
FFE97H.5 00000H.3
@@BITS task_sys FFE98H.0 00000H.0
@@BITS pedo_alg_thre_det2
FFE96H.0 00000H.2
@@BITS ini_VECT FFE96H.2 00000H.0
FFE98H.0 00000H.2
@@BITS ini_VECT FFE98H.2 00000H.0
@@BITS task_status
FFE96H.2 00000H.0
@@BITS led_cam FFE96H.2 00000H.1
@@BITS led_pow FFE96H.3 00000H.0
@@BITS hal FFE96H.3 00000H.6
FFE98H.2 00000H.0
@@BITS led_cam FFE98H.2 00000H.1
@@BITS led_pow FFE98H.3 00000H.0
@@BITS hal FFE98H.3 00000H.6
@@BITS batt_params
FFE97H.1 00000H.0
@@BITS voltable FFE97H.1 00000H.0
FFE99H.1 00000H.0
@@BITS voltable FFE99H.1 00000H.0
@@BITS pedo_lpf_coeff
FFE97H.1 00000H.0
FFE99H.1 00000H.0
@@BITS kanaria_c
FFE97H.1 00000H.0
FFE99H.1 00000H.0
@@BITS util_funcs
FFE97H.1 00000H.0
FFE99H.1 00000H.0
@@BITS i2c_mcu-sub
FFE97H.1 00000H.0
* gap * FFE98H 0003CH
FFE99H.1 00000H.0
* gap * FFE9AH 0003AH
@@SEGREG FFED4H 00004H DSEG AT
@@SEGREG @SEGREG FFED4H 00004H
@@RTARG0 FFED8H 00008H DSEG AT

View File

@ -40,7 +40,8 @@ enum family_
{
FAMILY_CTR,
FAMILY_SPFL,
FAMILY_SHRIMP
FAMILY_SNAKE,
FAMILY_4_RESERVED
};
// タスクシステムの状態情報など

Binary file not shown.

View File

@ -207,6 +207,7 @@ void chk_platform_type()
{
pm_reg_bit_vddlcd = PM_REG_BIT_VDDLCD_CGS;
}
set_V_core( system_status.family );
// ●CTRその開発機材 //
// 一応初期化

View File

@ -50,7 +50,7 @@ extern const bt_param_ bt_param[];
bit pm_extdc_old; // 前回アダプタチェックしたとき刺さっていたか?
u8 pmreg_v_core; // SoCのコア電圧設定。SNAKE(LAGER)で変更があるため。
// ========================================================
static void BT_model_detect();
@ -392,9 +392,10 @@ void BT_model_detect()
if( raw_adc_temperature > 0xF0 )
{
// TS //
system_status.model = MODEL_TS_BOARD;
system_status.model = MODEL_TS_BOARD;
system_status.family = FAMILY_CTR; // 旧回路での誤判定を上書き
pm_reg_bit_vddlcd = PM_REG_BIT_VDDLCD_CGS;
pm_reg_bit_vddlcd = PM_REG_BIT_VDDLCD_CGS;
// set_V_core( system_status.family ); 不要?
}
else if( raw_adc_temperature < 4 )
{
@ -1005,6 +1006,17 @@ task_status_immed tski_vcom_set( )
}
void set_V_core( enum family_ family )
{
if( family == FAMILY_SNAKE )
{
pmreg_v_core = PM_REG_BIT_VDD1P_1R00;
}
else
{
pmreg_v_core = PM_REG_BIT_VDD1P_1R15;
}
}
/********************************************//**
@ -1031,7 +1043,7 @@ err PM_sys_pow_on( )
GYRO_ENABLE();
wait_ms( DELAY_PM_TW_PWUP - 10 );
PM_VDD50A_on( ); // 液晶電源ではなく、ledとかに使うものです
PM_VDD50A_on( ); // 液晶電源ではなく、ledに使うものです
wait_ms( DELAY_PM_TW_PWUP );
@ -1309,9 +1321,9 @@ void bt_param_select()
{
bt_type_temp += BT_PARAM_SPFL_MAXELL; // オフセット 残念な実装で…。
}
else if( system_status.family == FAMILY_SHRIMP )
else if( system_status.family == FAMILY_SNAKE )
{
bt_type_temp += BT_PARAM_SHRIMP_MAXELL;
bt_type_temp += BT_PARAM_SNAKE_MAXELL;
}
p_bt_param = &bt_param[ bt_type_temp ];
}

View File

@ -118,6 +118,7 @@ enum NTR_PM_BT_STATUS{
// 0x05 pow save
#define PM_REG_BIT_VDD1P_1R15 bits8(0,0,0,0, 0,0,0,0)
#define PM_REG_BIT_VDD1P_1R05 bits8(0,0,0,0, 1,0,0,0)
#define PM_REG_BIT_VDD1P_1R00 bits8(0,0,0,1, 0,0,0,0)
#define PM_REG_BIT_VDD1P_0R90 bits8(0,0,1,0, 0,0,0,0)
#define PM_REG_BIT_VDD_AUTO bits8(0,0,0,0, 0,1,1,1)
#define PM_REG_BIT_VDD_PWM bits8(0,0,0,0, 0,0,0,0)
@ -132,15 +133,16 @@ enum NTR_PM_BT_STATUS{
//=========================================================
extern u8 raw_adc_temperature;
extern BT_VENDER battery_manufacturer;
extern bit bt_force_update;
extern u8 raw_adc_temperature;
extern BT_VENDER battery_manufacturer;
extern bit bt_force_update;
extern u8 pmic_version;
extern u8 mgic_version[];
extern u8 pmic_version;
extern u8 mgic_version[];
extern u8 pm_reg_bit_vddlcd; // アモルファス対応(電源シーケンスが違う)
extern u8 pm_reg_bit_vddlcd; // アモルファス対応(電源シーケンスが違う)
extern u8 pmreg_v_core; // SoCのコア電圧設定。SNAKE(LAGER)で変更があるため。
//=========================================================
err PM_sys_pow_on( );
@ -159,6 +161,7 @@ void pm_chk_adapter();
void codec_reg_init();
void set_V_core( enum family_ family );
task_status_immed tski_BT_temp_update( );
task_status_immed tski_vcom_set( );
@ -190,9 +193,9 @@ u8 read_pmic( u8 reg );
#define PM_VDD_off() ( send_cmd_pmic( PM_REG_ADRS_VDD_SYS, 0 ))
#define PM_off() PM_VDD_off()
#define PM_VDD_normMode() ( send_cmd_pmic( PM_REG_ADRS_POW_SAVE, PM_REG_BIT_VDD1P_1R15 | PM_REG_BIT_VDD_PWM ))
// CPU電源
#define PM_VDD_normMode() ( send_cmd_pmic( PM_REG_ADRS_POW_SAVE, pmreg_v_core | PM_REG_BIT_VDD_PWM ))
#define PM_VDD_ecoMode() ( send_cmd_pmic( PM_REG_ADRS_POW_SAVE, PM_REG_BIT_VDD1P_0R90 | PM_REG_BIT_VDD_AUTO ))
// todo Yでコア電圧が変わるかもしれない
// ‚Ù‚© //
#define PM_reset_neg() ( send_cmd_pmic( PM_REG_ADRS_CONT, ( PM_REG_BIT_LDSW | PM_REG_BIT_nRST1 )))

View File

@ -324,7 +324,7 @@ extern bit bt_authorized;
static u8 infos_bits[2];
static u8 infos_temp[5];
static const u8 *infos_table[] = {
static const u8 *infos_table[ KOUMOKU ] = {
&infos_temp[0], /* 0 */
&pmic_version,
(u8*)&battery_manufacturer,

View File

@ -41,7 +41,7 @@
// PMxは0で出力モード
// SoC
#define IRQ0_ast { P7.6 = 0; PM7.6 = 0; }
#define IRQ0_ast { P7.6 = 0; PM7.6 = 0; } // B4
#define IRQ0_neg { P7.6 = 1; }
#define IRQ0_enable { PM7.6 = 0; }
#define IRQ0_disable { PM7.6 = 1; }
@ -49,114 +49,114 @@
// ↓誤代入防止
#define RESET1_n ( P0.0 )
#define RESET1_n ( P0.0 ) // G7
#if 0 // PM_RESET1を使う
# define RESET1_ast { P0.0 = 0; PM0.0 = 0; }
# define RESET1_neg { PM0.0 = 1; }
#endif
#define RESET2_ast { P0.1 = 0; PM0.1 = 0; }
#define RESET2_ast { P0.1 = 0; PM0.1 = 0; } // F7
#define RESET2_neg { PM0.1 = 1; }
#define SLP_REQ P12.0
#define SLP_REQ P12.0 // H8
// CTR,SPFL,まだ見ぬ派生機識別
#define DEV_DET ( P12 & 0b00000110 )
// CTR,SPFL,SNAKE,まだ見ぬ派生機識別
#define DEV_DET ( P12 & 0b00000110 ) // [2:1] = D8,C8
#define DEV_CTR ( 0b00 << 1 )
#define DEV_SPFL ( 0b01 << 1 )
#define DEV_SHRIMP ( 0b10 << 1 )
#define DEV_SNAKE ( 0b10 << 1 )
#define DEV_RSV2 ( 0b11 << 1 )
// FCRAM
#define FCRAM_RST P3.0
#define FCRAM_RST P3.0 // B6
#define FCRAM_RST_ast { P3.0 = 0; }
#define FCRAM_RST_neg { P3.0 = 1; }
// CODEC
#define PM_IRQ_n P7.2
#define PM_IRQ_n P7.2 // A3
// INTP6
// PM
#define PM_EXTDC_n_RAW P7.0
#define PM_EXTDC_n_RAW P7.0 // B2
// INTP7
//#define BT_TEMP P15.0
//#define BT_TEMP P15.0 // G3(a)
// ANI8
//#define BT_DET P15.1
//#define BT_DET P15.1 // H2(a)
// ANI9
#define BT_DET_P P1.6
#define BT_TEMP_P P1.7
#define BT_DET_P P1.6 // D4
#define BT_TEMP_P P1.7 // C4
// SPFLのアモルファスLCDで必要な±15Vの電源。
#define SPFL_LCD_AMOL_HV_CONT P20.2
#define SPFL_LCD_AMOL_HV_CONT P20.2 // F2
// 充電せよ(out)
// 負論理です。注意。
#define BT_CHG_ENABLE() ( P4.3 = 0 )
#define BT_CHG_ENABLE() ( P4.3 = 0 ) // F6
#define BT_CHG_DISABLE() ( P4.3 = 1 )
#define BT_CHG_Ena_n ( P4.3 )
// 充電中(in)
#define BT_IN_CHG_n_RAW P5.1
#define BT_IN_CHG_n_RAW P5.1 // B1
#define PM_BT_IN_CHG_n PM5.1
#define PU_BT_IN_CHG_n PU5.1
#define SW_WIFI_n_RAW P7.4
#define SW_WIFI_n_RAW P7.4 // C3
#define PM_SW_WIFI_n PM7.4
// KR4
#define SW_POW_n_RAW P7.3
#define SW_POW_n_RAW P7.3 // B3
// KR3
#define SW_SEL_n P2.3
#define SW_SEL_n P2.3 // G5
#define PM_SW_SEL_n PM2.3
//#define VOL P2.7
//#define VOL P2.7 // H4(a)
// ANI7
#define SW_HOME_n_JIKKI_RAW P20.4
#define SW_HOME_n_JIKKI_RAW P20.4 // G2
#define PM_SW_HOME_n_JIKKI PM20.4
#define PU_SW_HOME_n_JIKKI PU20.4
// INTP22
#define SW_HOME_n_TSBOARD_RAW P2.0 // TSマザー上でpull up(P2は内蔵p.u.無い)
#define SW_HOME_n_TSBOARD_RAW P2.0 // TSマザー上でpull up(P2は内蔵p.u.無い) // G6
#define PM_SW_HOME_n_TSBOARD PM2.0
// WiFi
#define WL_TX P20.3 // INTP21
#define WL_TX P20.3 // INTP21 // F3
#define PM_WL_TX PM20.3 // INTP21
// RBR制御
#define RBR_RESET_n P2.1
#define RBR_FLIGHT P2.2
#define RBR_RESET_n P2.1 // E5
#define RBR_FLIGHT P2.2 // F5
//#define LED_CAM P1.0 // TO02
//#define LED_WIFI P1.1 // TO03
//#define LED_NOTIFY P1.3 // TO05
//#define LED_3D P5.2 // SLTO ← TO01
//#define LED_POW2 P1.4 // TO06 ( 青 )
//#define LED_POW1 P1.5 // TO07 ( 赤 )
//#define LED_CHARGE P2.4
//#define LED_CAM P1.0 // TO02 // E4
//#define LED_WIFI P1.1 // TO03 // E3
//#define LED_NOTIFY P1.3 // TO05 // D3
//#define LED_3D P5.2 // SLTO ← TO01 // A2
//#define LED_POW2 P1.4 // TO06 ( 青 ) // D2
//#define LED_POW1 P1.5 // TO07 ( 赤 ) // D1
//#define LED_CHARGE P2.4 // H5
// P5.3 に加え、P5.5, P140 P141
// P140が出力専用なので...
#define I2C_PU_on() { P14 |= 0x03; PM5.3 = 0; PM3.3 = 0; }
#define I2C_PU_on() { P14 |= 0x03; PM5.3 = 0; PM3.3 = 0; } // P14[1:0] H6,H7 P5.3,3.3 A1,C5
#define I2C_PU_off() { PM5.3 = 1; PM3.3 = 1; P14 &= ~0x03; }
#define GYRO_ENABLE() P5.0 = 0
#define GYRO_ENABLE() P5.0 = 0 // C1
#define GYRO_DISABLE() P5.0 = 1
//#define I2C_M_SDA P3.1 // SDA10
//#define I2C_M_SCL P3.2 // SCL10
//#define I2C_M_SDA P3.1 // SDA10 // C6
//#define I2C_M_SCL P3.2 // SCL10 // B5
//#define I2C_0_SCL P6.0 // IIC_TWL SCL0
//#define I2C_0_SDA P6.1 // SDA0
//#define I2C_0_SCL P6.0 // IIC_TWL SCL0 // A7
//#define I2C_0_SDA P6.1 // SDA0 // A6
//#define I2C_1_SCL P20.0 // IIC CTR SCL1
//#define I2C_1_SDA P20.1 // SDA1
//#define I2C_1_SCL P20.0 // IIC CTR SCL1 // E1
//#define I2C_1_SDA P20.1 // SDA1 // F1
//#define 32kHz_O P1.2 // RTCCL
//#define 32k_I1 P12.3 // XT1
//#define 32k_I2 P12.4 // XT2
//#define 32kHz_O P1.2 // RTCCL // E2
//#define 32k_I1 P12.3 // XT1 // F8
//#define 32k_I2 P12.4 // XT2 // G8
// 実機、開発機、試遊台判別。
#define DIPSW ( P4 & 0b00000011 ) // mini cube & ソフトウェアディップスイッチ TOOL0,1。 P4.0は L 注意!
@ -166,11 +166,11 @@
#define DIPSW_TAIKENDAI_NBD 0b01
#define SHELL_OPEN_RAW P7.1 // INTP5 ふた開閉 (閉じるとL)
#define SHELL_OPEN_RAW P7.1 // INTP5 ふた開閉 (閉じるとL) // C2
#define ACC_VALID P20.5
#define ACC_VALID P20.5 // H3
#define PM_ACC_VALID PM20.5
#define ACCEL_INT1 P2.5
#define ACCEL_INT1 P2.5 // F4
#define PM_ACCEL_INT1 PM2.5

View File

@ -1,190 +1,22 @@
C:\Windows\system32\cmd.exe /c c:\cygwin\bin\touch magic.c
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no loader.c
loader.c(160) : CC78K0R warning W0401: Conversion may lose significant digits
loader.c(161) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 2 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\loader.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no pm.c
pm.c(534) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(840) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(844) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(872) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(886) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(960) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(969) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(1173) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(1175) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 9 warning(s) found.
pm.c(535) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(841) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(845) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(873) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(887) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(961) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(970) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(1039) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(1185) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(1187) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 10 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\pm.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no i2c_ctr.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\i2c_ctr.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no main.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\main.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no magic.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\magic.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no WDT.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\WDT.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no i2c_mcu.c
i2c_mcu.c(188) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 1 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\i2c_mcu.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no i2c_twl.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\i2c_twl.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no led.c
led.c(90) : CC78K0R warning W0745: Expected function prototype
led.c(356) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 2 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\led.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no rtc.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\rtc.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2m -qvjl2w -sainter_asm -zpb -no vreg_ctr.c
vreg_ctr.c(176) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(177) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(179) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(181) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(182) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(230) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(230) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(235) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(235) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(239) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(239) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(243) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(243) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(247) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 14 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\vreg_ctr.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2m -qvjl2w -sainter_asm -zpb -no vreg_twl.c
vreg_twl.c(68) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_twl.c(72) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 2 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\vreg_twl.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no adc.c
adc.c(104) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(190) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(241) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(308) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(434) : CC78K0R warning W0745: Expected function prototype
adc.c(463) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(468) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 7 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\adc.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2m -qvjl2w -sainter_asm -zpb -no renge\renge.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\renge.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no accero.c
accero.c(121) : CC78K0R warning W0745: Expected function prototype
Compilation complete, 0 error(s) and 1 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\accero.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2 -qvjl2w -sainter_asm -zpb -no self_flash.c
self_flash.c(289) : CC78K0R warning W0401: Conversion may lose significant digits
self_flash.c(290) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 2 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\self_flash.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no sw.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\sw.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no task_debug.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\task_debug.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no task_misc.c
task_misc.c(382) : CC78K0R warning W0401: Conversion may lose significant digits
task_misc.c(384) : CC78K0R warning W0401: Conversion may lose significant digits
task_misc.c(396) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 3 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\task_misc.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no task_sys.c
task_sys.c(234) : CC78K0R warning W0401: Conversion may lose significant digits
task_sys.c(572) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 2 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\task_sys.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no pedo_alg_thre_det2.c
pedo_alg_thre_det2.c(104) : CC78K0R warning W0745: Expected function prototype
pedo_alg_thre_det2.c(120) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 2 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\pedo_alg_thre_det2.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no ini_VECT.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\ini_VECT.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no task_status.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\task_status.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no led_cam.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\led_cam.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no led_pow.c
led_pow.c(119) : CC78K0R warning W0401: Conversion may lose significant digits
led_pow.c(124) : CC78K0R warning W0401: Conversion may lose significant digits
led_pow.c(177) : CC78K0R warning W0401: Conversion may lose significant digits
led_pow.c(240) : CC78K0R warning W0401: Conversion may lose significant digits
led_pow.c(271) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 5 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\led_pow.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no hal.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\hal.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no batt_params.c
batt_params.c(27) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.c(27) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.c(45) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.c(64) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.c(64) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.c(82) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 6 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\batt_params.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no voltable.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\voltable.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no pedo_lpf_coeff.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\pedo_lpf_coeff.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no kanaria_c.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\kanaria_c.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no util_funcs.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\util_funcs.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\bin\cc78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -irenge -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r" -ms -rd2s2 -qvjl2w -sainter_asm -zpb -no i2c_mcu-sub.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\ra78k0r.exe" -c9F0104 -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -pinter_asm -ks -kx inter_asm\i2c_mcu-sub.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\lk78k0r.exe" -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -obsr.lmf "..\..\..\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\lib78k0r\s0rm.rel" -gi1B339499E033F240BFAAh -pbsr_k0r.map -nkd -gb7EFBFFh -b"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\lib78k0r\fsl.lib" -bcl0rdm.lib -bcl0rm.lib -bcl0rmf.lib -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\lib78k0r" -dbsr_mcu.dr -s -w2 loader.rel pm.rel i2c_ctr.rel main.rel magic.rel WDT.rel i2c_mcu.rel i2c_twl.rel led.rel rtc.rel vreg_ctr.rel vreg_twl.rel adc.rel renge.rel accero.rel self_flash.rel sw.rel task_debug.rel task_misc.rel task_sys.rel pedo_alg_thre_det2.rel ini_VECT.rel task_status.rel led_cam.rel led_pow.rel hal.rel batt_params.rel voltable.rel pedo_lpf_coeff.rel kanaria.rel kanaria_c.rel get_ei.rel util_funcs.rel i2c_mcu-sub.rel
RA78K0R warning W3420: File 'loader.rel' already has had error(s)/warning(s) by 'CC78K'
Read Device File Directory : C:\PROGRAM FILES (X86)\NEC ELECTRONICS TOOLS\DEV\
@ -211,4 +43,4 @@ intel-HEX to bsr bin converter
file converted!
Build Total error(s) : 0 Total warning(s) : 72
Build Total error(s) : 0 Total warning(s) : 24

View File

@ -10,7 +10,9 @@ OpenFile3=i2c_mcu.h,0,671,375,1487,993,16,7,16,0
OpenFile4=config.h,0,974,359,2565,1066,29,10,48,0
OpenFile5=ProjectWindow
PrjPos=0,0,706,0,291
OpenFile6=OutputWindow
OpenFile6=pm.c,0,150,150,1741,857,0,1309,0,0
OpenFile7=batt_params.c,0,175,175,1766,882,6,85,5,0
OpenFile8=OutputWindow
OutputPos=0,231,682,640,1903
ActivePRJ=yav_mcu_bsr.prj
[ProjectWindow]

View File

@ -1,7 +1,7 @@
[SdbInfo]
Ver=5
[loader.c]
T=4f13d431
T=4fb9ca6b
1=incs_loader.h
2=..\..\..\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r\fsl.h
3=fsl_user.h
@ -13,7 +13,7 @@ T=4f13d431
9=WDT.h
10=magic.h
[pm.c]
T=4f210a22
T=4fb9cbc1
1=incs.h
2=adc.h
3=led.h
@ -40,7 +40,7 @@ T=4e647b08
7=i2c_mcu.h
8=pool.h
[magic.c]
T=4f176c3e
T=4fb9cb96
1=magic.h
2=config.h
[WDT.c]
@ -151,7 +151,7 @@ T=4f13d472
7=led.h
8=vreg_twl.h
[task_sys.c]
T=4f17b6b2
T=4fb9ca6b
1=incs.h
2=i2c_twl.h
3=i2c_ctr.h
@ -198,7 +198,7 @@ T=4e648b74
T=4e648ec7
1=incs_loader.h
[batt_params.c]
T=4f459199
T=4fb9cb95
1=jhl_defs.h
2=batt_params.h
[voltable.c]
@ -240,18 +240,18 @@ T=4e646cef
T=4e559884
1=sim\sfrAlias.h
[sim\sfrAlias.h]
T=4e5b0fa2
T=4fb9cb80
1=config.h
[config.h]
T=4f4591ec
[jhl_defs.h]
T=4e647343
[user_define.h]
T=4e686ba9
T=4fb9a776
[hal.h]
T=4e5229fb
[bsr_system.h]
T=4e409e1a
T=4fb9a6fb
[renge\renge.h]
T=4e5e108a
1=renge\renge_defs.h
@ -279,7 +279,7 @@ T=4e409e62
[i2c_ctr.h]
T=4bf0d1e1
[pm.h]
T=4e5dbf8d
T=4fb9ca6b
[rtc.h]
T=4e409e1c
[reboot.h]
@ -313,7 +313,7 @@ T=4dd5c8b2
[led.h]
T=4e530d97
[batt_params.h]
T=4e409e1c
T=4fb9cb80
1=jhl_defs.h
[pool.h]
T=4c072cf1