■2.0F SDK3.1 更新

・加速度センサセカンドベンダ対応に落とし穴、加速度センサが壊れている/外れているでNAKを返し続けるようなとき、WDTリセットしていた。(accero.c)
・加速度センサエラーリトライ失敗時、復帰条件が、「何度も加速度センサonにしてカウンタがオーバーフローする」を修正(accero.c)
・DI_wt_chkを#ifdefでdisableにしたとき、ただのDI()になるように実装を変更。
・#ifdef _irq_debug_ の実装がよくなかった(無駄にROMを消費) のを修正。まるまる取り除かれるようにした(ini_VECT.c)
・雑多関数をutil_funcs.cに切り出し。ROM配置時に便利というのもある
・WDIリセットしたときの追跡用にWDIリセットベクタを使えるように(#ifdef切り替え)

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@407 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
n2232 2011-09-08 08:24:07 +00:00
parent df4fdc2473
commit c7141fe743
21 changed files with 1034 additions and 1131 deletions

View File

@ -72,12 +72,14 @@
#define ACC_RAW_DATA_SIZE 6
// ========================================================
static u8 acc_retry_count; // 加速度センサ読み出し時、エラーだったときリトライする。回数数える
// ========================================================
task_status tsk_soft_int( );
extern void DI_wt_chk();
/********************************************//**
@ -90,16 +92,16 @@ extern void DI_wt_chk();
***********************************************/
task_status_immed tski_cbk_accero( )
{ // 疑似isrから登録されます
static u8 err_count;
u8 acc_dat_buff[ ACC_RAW_DATA_SIZE ];
// 加速度センサデータレジスタへの反映
if( iic_mcu_read( IIC_SLA_ACCEL, ( ACC_REG_X | ACC_REG_FLG_BURST_ACCESS ), ACC_RAW_DATA_SIZE, acc_dat_buff )
!= ERR_SUCCESS )
{
err_count ++;
if( err_count < 8 )
// SLA NAK //
if( acc_retry_count < 4 )
{
acc_retry_count ++;
// リトライ
return( ERR_CONTINUE );
}
@ -114,10 +116,12 @@ task_status_immed tski_cbk_accero( )
}
else
{
memcpy( &vreg_ctr[VREG_C_ACC_XL], acc_dat_buff, ACC_RAW_DATA_SIZE );
err_count = 0;
// 正常時パス //
DI_wt_chk();
memcpy( &vreg_ctr[VREG_C_ACC_XL], acc_dat_buff, ACC_RAW_DATA_SIZE );
EI();
acc_retry_count = 0;
// 加速度更新&割り込み
if( (( vreg_ctr[VREG_C_ACC_CONFIG] & VREG_BITMASK_ACC_CONF_ACQ ) != 0 ) &&
( system_status.pwr_state == ON )
@ -176,68 +180,73 @@ task_status_immed tski_acc_setup( )
{
// 加速度 on/off設定する
u8 str_send_buf[4];
str_send_buf[1] = 0x00; // ctrl2 HPF:normal, filterd, HPF for IRQ : dis/dis, HPF coeff:norm
// ピン不足のため、TSとそれ以外回路違いを区別して設定
if( system_status.model == MODEL_TS_BOARD )
{
u8 str_send_buf[4];
str_send_buf[2] = bits8(0,0,0,0, 0,0,1,0);
}
else
{
str_send_buf[2] = bits8(0,0,0,1, 0,0,0,0);
}
str_send_buf[3] = 0x80; // ctrl3 block update:enable, MSB first, scale: +-2G(default), selftest: dis
str_send_buf[1] = 0x00; // ctrl2 HPF:normal, filterd, HPF for IRQ : dis/dis, HPF coeff:norm
{
u8 acc_setting_sent = ( vreg_ctr[VREG_C_ACC_CONFIG] &
( VREG_BITMASK_ACC_CONF_HOSU | VREG_BITMASK_ACC_CONF_ACQ ));
// ピン不足のため、TSとそれ以外回路違いを区別して設定
if( system_status.model == MODEL_TS_BOARD )
if( acc_setting_sent == 0 )
{
str_send_buf[2] = bits8(0,0,0,0, 0,0,1,0);
// 完全停止
PMK23 = 1;
str_send_buf[0] =
( ACC_BITS_PM_PDN << ACC_bP_PM0 | 0 << ACC_bP_DR0 | ACC_BITS_ALL_AXIS_ON );
}
else
{
str_send_buf[2] = bits8(0,0,0,1, 0,0,0,0);
// on 100Hz 自動取り込み
PMK23 = 0;
str_send_buf[0] =
( ACC_BITS_PM_NORM << ACC_bP_PM0
| ACC_BITS_DR_100Hz << ACC_bP_DR0
| ACC_BITS_ALL_AXIS_ON );
}
str_send_buf[3] = 0x80; // ctrl3 block update:enable, MSB first, scale: +-2G(default), selftest: dis
{
u8 acc_setting_sent = ( vreg_ctr[VREG_C_ACC_CONFIG] &
( VREG_BITMASK_ACC_CONF_HOSU | VREG_BITMASK_ACC_CONF_ACQ ));
do{
EI();
if( acc_setting_sent == 0 )
{
PMK23 = 1;
// 完全停止
str_send_buf[0] =
( ACC_BITS_PM_PDN << ACC_bP_PM0 | 0 << ACC_bP_DR0 | ACC_BITS_ALL_AXIS_ON );
}
else
{
PMK23 = 0;
// 100Hz 自動取り込み
str_send_buf[0] =
( ACC_BITS_PM_NORM << ACC_bP_PM0
| ACC_BITS_DR_100Hz << ACC_bP_DR0
| ACC_BITS_ALL_AXIS_ON );
}
// 実書き込み兼、通信できたかフラグ更新
if( iic_mcu_write( IIC_SLA_ACCEL, ( ACC_REG_CTRL1 | ACC_REG_FLG_BURST_ACCESS ), 4, str_send_buf ) == I2C_ERR_NOSLAVE )
{
vreg_ctr[ VREG_C_STATUS_1 ] |= REG_BIT_ACCERO_ERR;
}else{
vreg_ctr[ VREG_C_STATUS_1 ] &= ~REG_BIT_ACCERO_ERR;
}
// 実書き込み兼、通信できたかフラグ更新
if( iic_mcu_write( IIC_SLA_ACCEL, ( ACC_REG_CTRL1 | ACC_REG_FLG_BURST_ACCESS ), 4, str_send_buf ) == I2C_ERR_NOSLAVE )
{
// センサ反応無し。タスクは削除しなくてはならない。
vreg_ctr[ VREG_C_STATUS_1 ] |= REG_BIT_ACCERO_ERR;
return ( ERR_FINISED );
// おしまい
}
// else
// カラ読み。前回のゴミを読み捨て
if( ACC_VALID )
{
if( system_status.pwr_state == ON )
{
u8 temp[ACC_RAW_DATA_SIZE];
iic_mcu_read( IIC_SLA_ACCEL, ( ACC_REG_X | ACC_REG_FLG_BURST_ACCESS ), 6, temp );
}
}
// センサ設定成功 正常パス
vreg_ctr[ VREG_C_STATUS_1 ] &= ~REG_BIT_ACCERO_ERR;
acc_retry_count = 0;
// センサに書きにいっている最中にSoCがまた書き換えてしまうかもしれない
DI_wt_chk();
}while( acc_setting_sent != ( vreg_ctr[VREG_C_ACC_CONFIG] &
( VREG_BITMASK_ACC_CONF_HOSU | VREG_BITMASK_ACC_CONF_ACQ )) );
// 前回のゴミが有ればカラ読み
if( ACC_VALID )
{
if( system_status.pwr_state == ON )
{
u8 temp[ACC_RAW_DATA_SIZE];
iic_mcu_read( IIC_SLA_ACCEL, ( ACC_REG_X | ACC_REG_FLG_BURST_ACCESS ), 6, temp );
}
}
// センサに書きにいっている最中にSoCがまた書き換えてしまうかもしれない
DI_wt_chk();
if( acc_setting_sent != ( vreg_ctr[VREG_C_ACC_CONFIG] &
( VREG_BITMASK_ACC_CONF_HOSU | VREG_BITMASK_ACC_CONF_ACQ )))
{
// DI状態のまま帰る
return ( ERR_CONTINUE ); // ちょっと間をおいて再度書きにくる // もっとよい実装?
}
}
@ -255,11 +264,12 @@ task_status_immed tski_acc_setup( )
__interrupt void intp23_ACC_ready( )
{
EI();
if( ( vreg_ctr[VREG_C_ACC_CONFIG] & 0x03 ) != 0x00 )
if( ( vreg_ctr[VREG_C_ACC_CONFIG] & 0x03 ) != 0x00 )
{
if( ( system_status.pwr_state == ON ) || ( system_status.pwr_state == SLEEP ) )
// 加速度センサ on
if( ( system_status.pwr_state == ON ) || ( system_status.pwr_state == SLEEP ) )
{
if( ACC_VALID )
// if( ACC_VALID ) // 確認不要
{
renge_task_immed_add( tski_cbk_accero );
}

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: 5 Sep 2011 Page: 1
78K0R Linker W1.33 Date: 8 Sep 2011 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 ***
72 output segment(s)
3CD7H byte(s) real data
6236 symbol(s) defined
3CB1H byte(s) real data
6072 symbol(s) defined
*** Memory map ***
@ -150,7 +150,7 @@ Direc-file:bsr_mcu.dr
LDR_CODL util_funcs
000C4H 00000H
?CSEGSI 000C4H 0000AH CSEG
LDR_CODE 000CEH 00905H CSEG
LDR_CODE 000CEH 00901H CSEG
LDR_CODE loader 000CEH 00177H
LDR_CODE WDT 00245H 00000H
LDR_CODE i2c_mcu 00245H 002D9H
@ -162,43 +162,43 @@ Direc-file:bsr_mcu.dr
0088EH 00041H
LDR_CODE hal 008CFH 000DCH
LDR_CODE util_funcs
009ABH 00028H
FSL_CODE 009D3H 00322H CSEG
009ABH 00024H
FSL_CODE 009CFH 00322H CSEG
FSL_CODE fsl_block_cmd
009D3H 0002BH
009CFH 0002BH
FSL_CODE fsl_block_check
009FEH 00013H
009FAH 00013H
FSL_CODE fsl_common
00A11H 0014FH
00A0DH 0014FH
FSL_CODE fsl_reset
00B60H 00001H
00B5CH 00001H
FSL_CODE fsl_si_ibf
00B61H 00064H
00B5DH 00064H
FSL_CODE fsl_phySwap
00BC5H 0004DH
00BC1H 0004DH
FSL_CODE fsl_si_common
00C12H 00061H
FSL_CODE fsl_swap 00C73H 00030H
00C0EH 00061H
FSL_CODE fsl_swap 00C6FH 00030H
FSL_CODE fsl_write
00CA3H 00052H
@@LCODE 00CF5H 00277H CSEG
@@LCODE @cstart 00CF5H 0006DH
@@LCODE @imul 00D62H 00011H
@@LCODE @lumul 00D73H 0002BH
@@LCODE @isdiv 00D9EH 00022H
@@LCODE @iudiv 00DC0H 0002DH
@@LCODE @isrem 00DEDH 00021H
@@LCODE @iurem 00E0EH 0002FH
@@LCODE @lsdiv 00E3DH 00039H
@@LCODE @ludiv 00E76H 0003FH
@@LCODE @divuw 00EB5H 00034H
@@LCODE @ladd 00EE9H 0000FH
@@LCODE @llsh 00EF8H 0001BH
@@LCODE @lursh 00F13H 0001FH
@@LCODE @iscmp 00F32H 0000CH
@@LCODE @lband 00F3EH 00014H
@@LCODE @bcdtob 00F52H 0001AH
* gap * 00F6CH 0008AH
00C9FH 00052H
@@LCODE 00CF1H 00277H CSEG
@@LCODE @cstart 00CF1H 0006DH
@@LCODE @imul 00D5EH 00011H
@@LCODE @lumul 00D6FH 0002BH
@@LCODE @isdiv 00D9AH 00022H
@@LCODE @iudiv 00DBCH 0002DH
@@LCODE @isrem 00DE9H 00021H
@@LCODE @iurem 00E0AH 0002FH
@@LCODE @lsdiv 00E39H 00039H
@@LCODE @ludiv 00E72H 0003FH
@@LCODE @divuw 00EB1H 00034H
@@LCODE @ladd 00EE5H 0000FH
@@LCODE @llsh 00EF4H 0001BH
@@LCODE @lursh 00F0FH 0001FH
@@LCODE @iscmp 00F2EH 0000CH
@@LCODE @lband 00F3AH 00014H
@@LCODE @bcdtob 00F4EH 0001AH
* gap * 00F68H 0008EH
MGC_LOAD 00FF6H 0000AH CSEG AT
MGC_LOAD magic 00FF6H 0000AH
@ -250,7 +250,7 @@ Direc-file:bsr_mcu.dr
0228CH 00000H
@@CNST util_funcs
0228CH 00000H
ROM_CODE 0228CH 02495H CSEG
ROM_CODE 0228CH 024ADH CSEG
ROM_CODE pm 0228CH 0098DH
ROM_CODE i2c_ctr 02C19H 0005CH
ROM_CODE main 02C75H 00055H
@ -261,277 +261,277 @@ Direc-file:bsr_mcu.dr
ROM_CODE vreg_twl 034D4H 000F9H
ROM_CODE adc 035CDH 00261H
ROM_CODE renge 0382EH 00018H
ROM_CODE accero 03846H 00146H
ROM_CODE sw 0398CH 00126H
ROM_CODE accero 03846H 0014DH
ROM_CODE sw 03993H 00126H
ROM_CODE task_misc
03AB2H 001DDH
ROM_CODE task_sys 03C8FH 00381H
03AB9H 001E5H
ROM_CODE task_sys 03C9EH 00381H
ROM_CODE pedo_alg_thre_det2
04010H 004D4H
ROM_CODE led_cam 044E4H 000BBH
ROM_CODE led_pow 0459FH 0016FH
ROM_CODE voltable 0470EH 00000H
0401FH 004D4H
ROM_CODE led_cam 044F3H 000C4H
ROM_CODE led_pow 045B7H 0016FH
ROM_CODE voltable 04726H 00000H
ROM_CODE pedo_lpf_coeff
0470EH 00000H
04726H 00000H
ROM_CODE kanaria_c
0470EH 00006H
ROM_CODE get_ei 04714H 0000DH
@@BASE 04721H 0064EH CSEG BASE
@@BASE loader 04721H 00000H
@@BASE pm 04721H 0003EH
@@BASE i2c_ctr 0475FH 00170H
@@BASE main 048CFH 00000H
@@BASE magic 048CFH 00000H
@@BASE WDT 048CFH 00000H
@@BASE i2c_mcu 048CFH 000F2H
@@BASE i2c_twl 049C1H 000D0H
@@BASE led 04A91H 00000H
@@BASE rtc 04A91H 0005DH
@@BASE vreg_ctr 04AEEH 00000H
@@BASE vreg_twl 04AEEH 00000H
@@BASE adc 04AEEH 00094H
@@BASE renge 04B82H 0016CH
@@BASE accero 04CEEH 00049H
04726H 00006H
ROM_CODE get_ei 0472CH 0000DH
@@BASE 04739H 00614H CSEG BASE
@@BASE loader 04739H 00000H
@@BASE pm 04739H 0003EH
@@BASE i2c_ctr 04777H 00170H
@@BASE main 048E7H 00000H
@@BASE magic 048E7H 00000H
@@BASE WDT 048E7H 00000H
@@BASE i2c_mcu 048E7H 000F2H
@@BASE i2c_twl 049D9H 000D0H
@@BASE led 04AA9H 00000H
@@BASE rtc 04AA9H 0005DH
@@BASE vreg_ctr 04B06H 00000H
@@BASE vreg_twl 04B06H 00000H
@@BASE adc 04B06H 00094H
@@BASE renge 04B9AH 0016BH
@@BASE accero 04D05H 00042H
@@BASE self_flash
04D37H 00000H
@@BASE sw 04D37H 00000H
04D47H 00000H
@@BASE sw 04D47H 00000H
@@BASE task_debug
04D37H 00000H
04D47H 00000H
@@BASE task_misc
04D37H 00000H
@@BASE task_sys 04D37H 00000H
04D47H 00000H
@@BASE task_sys 04D47H 00000H
@@BASE pedo_alg_thre_det2
04D37H 00000H
@@BASE ini_VECT 04D37H 00038H
04D47H 00000H
@@BASE ini_VECT 04D47H 00006H
@@BASE task_status
04D6FH 00000H
@@BASE led_cam 04D6FH 00000H
@@BASE led_pow 04D6FH 00000H
@@BASE hal 04D6FH 00000H
04D4DH 00000H
@@BASE led_cam 04D4DH 00000H
@@BASE led_pow 04D4DH 00000H
@@BASE hal 04D4DH 00000H
@@BASE batt_params
04D6FH 00000H
@@BASE voltable 04D6FH 00000H
04D4DH 00000H
@@BASE voltable 04D4DH 00000H
@@BASE pedo_lpf_coeff
04D6FH 00000H
04D4DH 00000H
@@BASE kanaria_c
04D6FH 00000H
04D4DH 00000H
@@BASE util_funcs
04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL @cstart 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL pm 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL i2c_ctr 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL main 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL i2c_twl 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL led 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL rtc 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL vreg_ctr 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL vreg_twl 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL adc 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL renge 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL accero 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL sw 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL @cstart 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL pm 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL i2c_ctr 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL main 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL i2c_twl 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL led 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL rtc 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL vreg_ctr 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL vreg_twl 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL adc 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL renge 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL accero 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL sw 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL task_misc
04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL task_sys 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL task_sys 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL pedo_alg_thre_det2
04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL ini_VECT 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL led_cam 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL led_pow 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL ini_VECT 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL led_cam 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL led_pow 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL batt_params
04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
@@CNSTL voltable 04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL voltable 04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL pedo_lpf_coeff
04D6FH 00000H
@@CNSTL 04D6FH 00000H CSEG PAGE64KP
04D4DH 00000H
@@CNSTL 04D4DH 00000H CSEG PAGE64KP
@@CNSTL kanaria_c
04D6FH 00000H
@@RLINIT 04D6FH 00000H CSEG UNIT64KP
@@RLINIT loader 04D6FH 00000H
@@RLINIT pm 04D6FH 00000H
@@RLINIT i2c_ctr 04D6FH 00000H
@@RLINIT main 04D6FH 00000H
@@RLINIT magic 04D6FH 00000H
@@RLINIT WDT 04D6FH 00000H
@@RLINIT i2c_mcu 04D6FH 00000H
@@RLINIT i2c_twl 04D6FH 00000H
@@RLINIT led 04D6FH 00000H
@@RLINIT rtc 04D6FH 00000H
@@RLINIT vreg_ctr 04D6FH 00000H
@@RLINIT vreg_twl 04D6FH 00000H
@@RLINIT adc 04D6FH 00000H
@@RLINIT renge 04D6FH 00000H
@@RLINIT accero 04D6FH 00000H
04D4DH 00000H
@@RLINIT 04D4DH 00000H CSEG UNIT64KP
@@RLINIT loader 04D4DH 00000H
@@RLINIT pm 04D4DH 00000H
@@RLINIT i2c_ctr 04D4DH 00000H
@@RLINIT main 04D4DH 00000H
@@RLINIT magic 04D4DH 00000H
@@RLINIT WDT 04D4DH 00000H
@@RLINIT i2c_mcu 04D4DH 00000H
@@RLINIT i2c_twl 04D4DH 00000H
@@RLINIT led 04D4DH 00000H
@@RLINIT rtc 04D4DH 00000H
@@RLINIT vreg_ctr 04D4DH 00000H
@@RLINIT vreg_twl 04D4DH 00000H
@@RLINIT adc 04D4DH 00000H
@@RLINIT renge 04D4DH 00000H
@@RLINIT accero 04D4DH 00000H
@@RLINIT self_flash
04D6FH 00000H
@@RLINIT sw 04D6FH 00000H
04D4DH 00000H
@@RLINIT sw 04D4DH 00000H
@@RLINIT task_debug
04D6FH 00000H
04D4DH 00000H
@@RLINIT task_misc
04D6FH 00000H
@@RLINIT task_sys 04D6FH 00000H
04D4DH 00000H
@@RLINIT task_sys 04D4DH 00000H
@@RLINIT pedo_alg_thre_det2
04D6FH 00000H
@@RLINIT ini_VECT 04D6FH 00000H
04D4DH 00000H
@@RLINIT ini_VECT 04D4DH 00000H
@@RLINIT task_status
04D6FH 00000H
@@RLINIT led_cam 04D6FH 00000H
@@RLINIT led_pow 04D6FH 00000H
@@RLINIT hal 04D6FH 00000H
04D4DH 00000H
@@RLINIT led_cam 04D4DH 00000H
@@RLINIT led_pow 04D4DH 00000H
@@RLINIT hal 04D4DH 00000H
@@RLINIT batt_params
04D6FH 00000H
@@RLINIT voltable 04D6FH 00000H
04D4DH 00000H
@@RLINIT voltable 04D4DH 00000H
@@RLINIT pedo_lpf_coeff
04D6FH 00000H
04D4DH 00000H
@@RLINIT kanaria_c
04D6FH 00000H
04D4DH 00000H
@@RLINIT util_funcs
04D6FH 00000H
@@RLINIT @rom 04D6FH 00000H
@@CODEL 04D6FH 00000H CSEG
@@CODEL pm 04D6FH 00000H
@@CODEL i2c_ctr 04D6FH 00000H
@@CODEL main 04D6FH 00000H
@@CODEL magic 04D6FH 00000H
@@CODEL i2c_twl 04D6FH 00000H
@@CODEL led 04D6FH 00000H
@@CODEL rtc 04D6FH 00000H
@@CODEL vreg_ctr 04D6FH 00000H
@@CODEL vreg_twl 04D6FH 00000H
@@CODEL adc 04D6FH 00000H
@@CODEL renge 04D6FH 00000H
@@CODEL accero 04D6FH 00000H
@@CODEL sw 04D6FH 00000H
04D4DH 00000H
@@RLINIT @rom 04D4DH 00000H
@@CODEL 04D4DH 00000H CSEG
@@CODEL pm 04D4DH 00000H
@@CODEL i2c_ctr 04D4DH 00000H
@@CODEL main 04D4DH 00000H
@@CODEL magic 04D4DH 00000H
@@CODEL i2c_twl 04D4DH 00000H
@@CODEL led 04D4DH 00000H
@@CODEL rtc 04D4DH 00000H
@@CODEL vreg_ctr 04D4DH 00000H
@@CODEL vreg_twl 04D4DH 00000H
@@CODEL adc 04D4DH 00000H
@@CODEL renge 04D4DH 00000H
@@CODEL accero 04D4DH 00000H
@@CODEL sw 04D4DH 00000H
@@CODEL task_misc
04D6FH 00000H
@@CODEL task_sys 04D6FH 00000H
04D4DH 00000H
@@CODEL task_sys 04D4DH 00000H
@@CODEL pedo_alg_thre_det2
04D6FH 00000H
@@CODEL ini_VECT 04D6FH 00000H
@@CODEL led_cam 04D6FH 00000H
@@CODEL led_pow 04D6FH 00000H
04D4DH 00000H
@@CODEL ini_VECT 04D4DH 00000H
@@CODEL led_cam 04D4DH 00000H
@@CODEL led_pow 04D4DH 00000H
@@CODEL batt_params
04D6FH 00000H
@@CODEL voltable 04D6FH 00000H
04D4DH 00000H
@@CODEL voltable 04D4DH 00000H
@@CODEL pedo_lpf_coeff
04D6FH 00000H
04D4DH 00000H
@@CODEL kanaria_c
04D6FH 00000H
* gap * 04D6FH 00001H
@@CNSTL 04D70H 0000AH CSEG PAGE64KP
@@CNSTL @bcdtob 04D70H 0000AH
@@R_INIT 04D7AH 0004AH CSEG UNIT64KP
@@R_INIT @cstart 04D7AH 00000H
@@R_INIT loader 04D7AH 00000H
@@R_INIT pm 04D7AH 00000H
@@R_INIT i2c_ctr 04D7AH 00000H
@@R_INIT main 04D7AH 00000H
@@R_INIT magic 04D7AH 00000H
@@R_INIT WDT 04D7AH 00000H
@@R_INIT i2c_mcu 04D7AH 00000H
@@R_INIT i2c_twl 04D7AH 00000H
@@R_INIT led 04D7AH 00000H
@@R_INIT rtc 04D7AH 00000H
@@R_INIT vreg_ctr 04D7AH 00000H
@@R_INIT vreg_twl 04D7AH 00000H
@@R_INIT adc 04D7AH 0000CH
@@R_INIT renge 04D86H 00014H
@@R_INIT accero 04D9AH 00000H
04D4DH 00000H
* gap * 04D4DH 00001H
@@CNSTL 04D4EH 0000AH CSEG PAGE64KP
@@CNSTL @bcdtob 04D4EH 0000AH
@@R_INIT 04D58H 0004AH CSEG UNIT64KP
@@R_INIT @cstart 04D58H 00000H
@@R_INIT loader 04D58H 00000H
@@R_INIT pm 04D58H 00000H
@@R_INIT i2c_ctr 04D58H 00000H
@@R_INIT main 04D58H 00000H
@@R_INIT magic 04D58H 00000H
@@R_INIT WDT 04D58H 00000H
@@R_INIT i2c_mcu 04D58H 00000H
@@R_INIT i2c_twl 04D58H 00000H
@@R_INIT led 04D58H 00000H
@@R_INIT rtc 04D58H 00000H
@@R_INIT vreg_ctr 04D58H 00000H
@@R_INIT vreg_twl 04D58H 00000H
@@R_INIT adc 04D58H 0000CH
@@R_INIT renge 04D64H 00014H
@@R_INIT accero 04D78H 00000H
@@R_INIT self_flash
04D9AH 00000H
@@R_INIT sw 04D9AH 00000H
04D78H 00000H
@@R_INIT sw 04D78H 00000H
@@R_INIT task_debug
04D9AH 00000H
04D78H 00000H
@@R_INIT task_misc
04D9AH 00026H
@@R_INIT task_sys 04DC0H 00000H
04D78H 00026H
@@R_INIT task_sys 04D9EH 00000H
@@R_INIT pedo_alg_thre_det2
04DC0H 00000H
@@R_INIT ini_VECT 04DC0H 00000H
04D9EH 00000H
@@R_INIT ini_VECT 04D9EH 00000H
@@R_INIT task_status
04DC0H 00000H
@@R_INIT led_cam 04DC0H 00000H
@@R_INIT led_pow 04DC0H 00004H
@@R_INIT hal 04DC4H 00000H
04D9EH 00000H
@@R_INIT led_cam 04D9EH 00000H
@@R_INIT led_pow 04D9EH 00004H
@@R_INIT hal 04DA2H 00000H
@@R_INIT batt_params
04DC4H 00000H
@@R_INIT voltable 04DC4H 00000H
04DA2H 00000H
@@R_INIT voltable 04DA2H 00000H
@@R_INIT pedo_lpf_coeff
04DC4H 00000H
04DA2H 00000H
@@R_INIT kanaria_c
04DC4H 00000H
04DA2H 00000H
@@R_INIT util_funcs
04DC4H 00000H
@@R_INIT @rom 04DC4H 00000H
@@R_INIS 04DC4H 00010H CSEG UNIT64KP
@@R_INIS @cstart 04DC4H 00000H
@@R_INIS loader 04DC4H 00000H
@@R_INIS pm 04DC4H 00002H
@@R_INIS i2c_ctr 04DC6H 00002H
@@R_INIS main 04DC8H 00000H
@@R_INIS magic 04DC8H 00000H
@@R_INIS WDT 04DC8H 00000H
@@R_INIS i2c_mcu 04DC8H 00000H
@@R_INIS i2c_twl 04DC8H 00000H
@@R_INIS led 04DC8H 00000H
@@R_INIS rtc 04DC8H 00000H
@@R_INIS vreg_ctr 04DC8H 00000H
@@R_INIS vreg_twl 04DC8H 00000H
@@R_INIS adc 04DC8H 00000H
@@R_INIS renge 04DC8H 00000H
@@R_INIS accero 04DC8H 00000H
04DA2H 00000H
@@R_INIT @rom 04DA2H 00000H
@@R_INIS 04DA2H 00010H CSEG UNIT64KP
@@R_INIS @cstart 04DA2H 00000H
@@R_INIS loader 04DA2H 00000H
@@R_INIS pm 04DA2H 00002H
@@R_INIS i2c_ctr 04DA4H 00002H
@@R_INIS main 04DA6H 00000H
@@R_INIS magic 04DA6H 00000H
@@R_INIS WDT 04DA6H 00000H
@@R_INIS i2c_mcu 04DA6H 00000H
@@R_INIS i2c_twl 04DA6H 00000H
@@R_INIS led 04DA6H 00000H
@@R_INIS rtc 04DA6H 00000H
@@R_INIS vreg_ctr 04DA6H 00000H
@@R_INIS vreg_twl 04DA6H 00000H
@@R_INIS adc 04DA6H 00000H
@@R_INIS renge 04DA6H 00000H
@@R_INIS accero 04DA6H 00000H
@@R_INIS self_flash
04DC8H 00000H
@@R_INIS sw 04DC8H 00000H
04DA6H 00000H
@@R_INIS sw 04DA6H 00000H
@@R_INIS task_debug
04DC8H 00000H
04DA6H 00000H
@@R_INIS task_misc
04DC8H 00000H
@@R_INIS task_sys 04DC8H 00002H
04DA6H 00000H
@@R_INIS task_sys 04DA6H 00002H
@@R_INIS pedo_alg_thre_det2
04DCAH 00006H
@@R_INIS ini_VECT 04DD0H 00000H
04DA8H 00006H
@@R_INIS ini_VECT 04DAEH 00000H
@@R_INIS task_status
04DD0H 00000H
@@R_INIS led_cam 04DD0H 00002H
@@R_INIS led_pow 04DD2H 00002H
@@R_INIS hal 04DD4H 00000H
04DAEH 00000H
@@R_INIS led_cam 04DAEH 00002H
@@R_INIS led_pow 04DB0H 00002H
@@R_INIS hal 04DB2H 00000H
@@R_INIS batt_params
04DD4H 00000H
@@R_INIS voltable 04DD4H 00000H
04DB2H 00000H
@@R_INIS voltable 04DB2H 00000H
@@R_INIS pedo_lpf_coeff
04DD4H 00000H
04DB2H 00000H
@@R_INIS kanaria_c
04DD4H 00000H
04DB2H 00000H
@@R_INIS util_funcs
04DD4H 00000H
@@R_INIS @rom 04DD4H 00000H
@@LCODEL 04DD4H 00022H CSEG
@@LCODEL abs 04DD4H 00008H
@@LCODEL memcpy_n 04DDCH 0001AH
* gap * 04DF6H 001FEH
04DB2H 00000H
@@R_INIS @rom 04DB2H 00000H
@@LCODEL 04DB2H 00022H CSEG
@@LCODEL abs 04DB2H 00008H
@@LCODEL memcpy_n 04DBAH 0001AH
* gap * 04DD4H 00220H
MGC_VER 04FF4H 00002H CSEG AT
MGC_VER magic 04FF4H 00002H
MGC_TAIL 04FF6H 0000AH CSEG AT

View File

@ -21,6 +21,9 @@
//#define _ENABLE_HAL_ // デバッグ用にHALを有効にする。コメントアウトでスルーになる。
//#define _ENABLE_PRESS_SEL_TO_WDT_ // SEL 長押しでWDT発動
//#define _WDT_CHECK_ // WDTがかかったらしいので追跡したいときbreakおいて、コールスタック見る
// ↑ オプションバイトの1バイト目、bit7をセットする必要があります。
//#define _DI_WITH_CHECK_ // 割り込み禁止を二重に掛けないかチェック
#ifdef _DBG_NOP_ // コード上必要なNOPと区別するため

Binary file not shown.

View File

@ -58,7 +58,6 @@ static void iic_mcu_send_re_st( );
static void iic_mcu_send_sp( );
static i2c_err iic_mcu_send_a_byte( u8 );
static i2c_err iic_mcu_call_slave( u8 slave );
extern void DI_wt_chk();
@ -407,7 +406,7 @@ __interrupt void int_dma1( )
SIO10 = last_reg_adrs; // 書きっぱなし! 割り込みが発生してDMAスタート
return;
// おしまい またね! //
// おしまい
}
else
{

View File

@ -12,7 +12,11 @@
#include "config.h"
#ifndef _WIN32
//#pragma interrupt INTWDTI fn_intwdti // ¢Žg—p
#ifdef _WDT_CHECK_
#pragma interrupt INTWDTI fn_intwdti // wdt debug
#endif
//#pragma interrupt INTLVI fn_intlvi // 未使用
//#pragma interrupt INTP0 intp0_slp // SLP (CPUより、要求) ポーリング
@ -84,72 +88,61 @@
/****************************************************/
/* 未使用時のダミー関数定義 */
/****************************************************/
#ifdef _WDT_CHECK_
__interrupt void fn_intwdti( )
{
#ifdef _irq_debug_
while( 1 )
while( 1 )
{
NOP();
}
#endif
}
#endif
#ifdef _irq_debug_
__interrupt void fn_intlvi( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intp0(){
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intp1( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
} //
__interrupt void fn_intp2( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intp3( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intp3( )
{
while( 1 )
{
NOP();
}
}
__interrupt void intp21_RFTx( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
@ -161,194 +154,160 @@ __interrupt void intp21_RFTx( )
__interrupt void fn_intcmp0( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intcmp1( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intdma0( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
//__interrupt void fn_intdma1(){} // i2c_mcu.cにある
__interrupt void fn_intst0( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
/* __interrupt void fn_intcsi00(){} */
__interrupt void fn_intsr0( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
/* __interrupt void fn_intcsi01(){} */
__interrupt void fn_intsre0( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intst1( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
/* __interrupt void fn_intcsi10(){} */
//__interrupt void fn_intiic10(){ while(1){} }
__interrupt void fn_intsr1( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_intsre1( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
//__interrupt void fn_intiica(){} // i2c.cにある
/* __interrupt void fn_inttm00(){} *//* sub.cにて定義 */
__interrupt void fn_inttm01( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_inttm02( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_inttm03( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
//__interrupt void fn_intad(){ while(1){} } // adc.c
__interrupt void fn_intrtc( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
//__interrupt void int_rtcint(){} // rtc.cにある
//__interrupt void fn_intkr(){} // main.c
__interrupt void fn_intmd( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_inttm04( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_inttm05( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_inttm06( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
__interrupt void fn_inttm07( )
{
#ifdef _irq_debug_
while( 1 )
{
NOP();
}
#endif
}
#endif
/* ========================================================

View File

@ -28,7 +28,6 @@ bit cam_led_update;
// ========================================================
static void cam_led_twl();
extern void DI_wt_chk();

View File

@ -8,6 +8,7 @@
$Id$
***********************************************/
#include "magic.h"
#include "config.h"
#ifndef _WIN32

View File

@ -43,7 +43,6 @@ typedef struct{
// ========================================================
static u16 get_long_hour();
static u16 calc_hours_spend( u8 );
extern void DI_wt_chk();

View File

@ -26,6 +26,8 @@ typedef unsigned char u8;
#include "..\WDT.h"
#include "..\config.h"
#include "..\user_define.h"
#include "..\util_funcs.h"
#ifdef _WIN32
#include "../sim/simOnWin.h"
@ -53,7 +55,6 @@ static void renge_task_immed_del();
//******************************************************************************
task_status_immed ( *tasks_immed[ TASK_IMMED_RUN_LIST_MAX ] )();
extern void DI_wt_chk();

View File

@ -72,7 +72,6 @@ bit reserve_pedo_increnent;
// ========================================================
static void update_LED_3D();
static void check_twl_vol_irq();
extern void DI_wt_chk();
@ -89,7 +88,7 @@ extern void DI_wt_chk();
void tsk_misc( )
{
// 割り込みの取りこぼし?
if( ACC_VALID )
if( ACC_VALID && ( ( vreg_ctr[ VREG_C_STATUS_1 ] & REG_BIT_ACCERO_ERR ) == 0 ))
{
if( renge_task_immed_add( tski_cbk_accero ) == ERR_SUCCESS ){
// dbg_nop();

View File

@ -360,7 +360,7 @@ void tsk_sys( )
// irqマスク設定
KRM = ( KR_SW_POW ); // Mask ではなく、Modeなのだそうだ。紛らわしい
MK0 = ~( INT_MSK0_EXTDC );
MK0 = ~( INT_MSK0_EXTDC | INT_MSK0_WDTI );
MK1 = ~( INT_MSK1_KR | INT_MSK1_RTCINTVAL ); // INT_MSK1_RTCALARM | RTCアラーム封印中
MK2L = 0xFF;

View File

@ -182,12 +182,17 @@
#define KR_SW_WIFI ( 1 << 4 )
///////////////////////////////////////////////////////////
#ifdef _WDT_CHECK_
# define INT_MSK0_WDTI 1<<15
#else
# define INT_MSK0_WDTI 0
#endif
#define INT_MSK0_IIC_M_DMA 1<<12
#define INT_MSK0_SHELL 1<<7
#define INT_MSK0_EXTDC 1<<6
//#define INT_MSK0_SLP 1<<2
#define INT_MSK0_RSV ~( INT_MSK0_IIC_M_DMA | INT_MSK0_SHELL | INT_MSK0_EXTDC )
#define INT_MSK0_RSV ~( INT_MSK0_IIC_M_DMA | INT_MSK0_SHELL | INT_MSK0_EXTDC | INT_MSK0_WDTI )
#define INT_MSK1_KR 1<<11
#define INT_MSK1_RTCINTVAL 1<<10

65
trunk/util_funcs.c Normal file
View File

@ -0,0 +1,65 @@
/* ========================================================
util_funcs
$Id$
======================================================== */
#ifndef _WIN32
#pragma SFR
#pragma di
#pragma ei
#pragma nop
#pragma stop
#pragma halt
#pragma opc
#endif
#include "incs_loader.h"
#include "wdt.h"
/********************************************//**
ms
NOPを回すだけCPUを **
***********************************************/
void wait_ms( u8 ms ){
u16 fine;
WDT_Restart();
while( ms != 0 ){
ms--;
fine = 860;
while( fine != 0 ){
fine --;
}
}
}
extern unsigned char get_ei();
#ifdef _DI_WITH_CHECK_
/********************************************//**
#ifdef DI
***********************************************/
void DI_wt_chk()
{
if( !get_ei() )
{
dbg_nop();
}
DI();
}
#endif // _DI_WITH_CHECK_

16
trunk/util_funcs.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef _util_funcs_h_
#define _util_funcs_h_
void wait_ms( u8 );
# ifdef _DI_WITH_CHECK_
void DI_wt_chk();
# else
# define DI_wt_chk() DI()
# endif /* _DI_WITH_CHECK_ */
#endif

View File

@ -43,7 +43,6 @@ bit irq_readed; // AAA
extern task_status_immed tski_firm_update();
extern task_status_immed tski_mcu_reset();
extern unsigned char get_ei();
extern void DI_wt_chk();

View File

@ -1,181 +1,31 @@
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(528) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(828) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(832) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(860) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(881) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(948) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(957) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(1161) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(1163) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 9 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
magic.c(30) : CC78K0R error E0711: Undeclared 'MCU_VER_MAJOR' ; function ''
magic.c(30) : CC78K0R error E0711: Undeclared 'MCU_VER_MINOR' ; function ''
Compilation complete, 2 error(s) and 0 warning(s) found.
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(184) : 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(89) : CC78K0R warning W0745: Expected function prototype
led.c(354) : 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(177) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(178) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(180) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(182) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(183) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(231) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(231) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(236) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(236) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(240) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(240) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(244) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(244) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(248) : 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(305) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(429) : CC78K0R warning W0745: Expected function prototype
adc.c(458) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(463) : 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(117) : 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(570) : 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(105) : CC78K0R warning W0745: Expected function prototype
pedo_alg_thre_det2.c(121) : 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
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\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\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
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\
RA78K0R warning W3420: File 'pm.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'i2c_mcu.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'led.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'vreg_ctr.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'vreg_twl.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'adc.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'accero.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'self_flash.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'task_misc.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'task_sys.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'pedo_alg_thre_det2.rel' already has had error(s)/warning(s) by 'CC78K'
RA78K0R warning W3420: File 'led_pow.rel' already has had error(s)/warning(s) by 'CC78K'
Link complete, 0 error(s) and 13 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0R\W1.33\bin\oc78k0r.exe" -y"c:\program files (x86)\nec electronics tools\dev" -_msgoff -o.\bsr.hex -nu -ki bsr.lmf
Object Conversion Complete, 0 error(s) and 0 warning(s) found.
C:\Windows\system32\cmd.exe /c ruby nec_s_2_bsrbin2.rb bsr.hex
4
intel-HEX to bsr bin converter
file converted!
Build Total error(s) : 2 Total warning(s) : 52
Build Total error(s) : 0 Total warning(s) : 13

View File

@ -1041,6 +1041,79 @@ VfiFileBoot0=
VfiFileBoot1=boot.vfi
VF78K0Rchk=0
VF78K0Rvs=
[SrcFile]
Source1=loader.c
Source2=pm.c
Source3=i2c_ctr.c
Source4=main.c
Source5=magic.c
Source6=WDT.c
Source7=i2c_mcu.c
Source8=i2c_twl.c
Source9=led.c
Source10=rtc.c
Source11=vreg_ctr.c
Source12=vreg_twl.c
Source13=adc.c
Source14=renge\renge.c
Source15=accero.c
Source16=self_flash.c
Source17=sw.c
Source18=task_debug.c
Source19=task_misc.c
Source20=task_sys.c
Source21=pedo_alg_thre_det2.c
Source22=ini_VECT.c
Source23=task_status.c
Source24=led_cam.c
Source25=led_pow.c
Source26=hal.c
Source27=batt_params.c
Source28=voltable.c
Source29=pedo_lpf_coeff.c
Source30=kanaria.asm
Source31=kanaria_c.c
Source32=get_ei.asm
Source33=util_funcs.c
[IncFile]
Include1=incs_loader.h
Include2=sim\simOnWin.h
Include3=sim\sfrAlias.h
Include4=config.h
Include5=jhl_defs.h
Include6=user_define.h
Include7=hal.h
Include8=bsr_system.h
Include9=renge\renge.h
Include10=renge\renge_defs.h
Include11=renge\renge_task_immediate.h
Include12=vreg_ctr.h
Include13=vreg_twl.h
Include14=loader.h
Include15=i2c_mcu.h
Include16=WDT.h
Include17=..\..\..\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r\fsl.h
Include18=fsl_user.h
Include19=i2c_ctr.h
Include20=pm.h
Include21=rtc.h
Include22=reboot.h
Include23=magic.h
Include24=incs.h
Include25=i2c_twl.h
Include26=accero.h
Include27=pedometer.h
Include28=sw.h
Include29=adc.h
Include30=led.h
Include31=batt_params.h
Include32=pool.h
Include33=i2c_twl_defs.h
Include34=renge\renge_task_intval.h
Include35=..\..\..\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r\math.h
Include36=self_flash.h
Include37=sim\sim_interrupt_decrare.c
Include38=util_funcs.h
[Options.LK78K0R 0]
Version=100
O0=bsr_k0r.lmf
@ -1334,76 +1407,3 @@ DefaultMode2=1
DefaultMode3=1
DefaultMode4=1
DefaultMode5=1
[SrcFile]
Source1=loader.c
Source2=pm.c
Source3=i2c_ctr.c
Source4=main.c
Source5=magic.c
Source6=WDT.c
Source7=i2c_mcu.c
Source8=i2c_twl.c
Source9=led.c
Source10=rtc.c
Source11=vreg_ctr.c
Source12=vreg_twl.c
Source13=adc.c
Source14=renge\renge.c
Source15=accero.c
Source16=self_flash.c
Source17=sw.c
Source18=task_debug.c
Source19=task_misc.c
Source20=task_sys.c
Source21=pedo_alg_thre_det2.c
Source22=ini_VECT.c
Source23=task_status.c
Source24=led_cam.c
Source25=led_pow.c
Source26=hal.c
Source27=batt_params.c
Source28=voltable.c
Source29=pedo_lpf_coeff.c
Source30=kanaria.asm
Source31=kanaria_c.c
Source32=get_ei.asm
Source33=util_funcs.c
[IncFile]
Include1=incs_loader.h
Include2=sim\simOnWin.h
Include3=sim\sfrAlias.h
Include4=config.h
Include5=jhl_defs.h
Include6=user_define.h
Include7=hal.h
Include8=bsr_system.h
Include9=renge\renge.h
Include10=renge\renge_defs.h
Include11=renge\renge_task_immediate.h
Include12=vreg_ctr.h
Include13=vreg_twl.h
Include14=loader.h
Include15=i2c_mcu.h
Include16=WDT.h
Include17=..\..\..\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r\fsl.h
Include18=fsl_user.h
Include19=i2c_ctr.h
Include20=pm.h
Include21=rtc.h
Include22=reboot.h
Include23=magic.h
Include24=incs.h
Include25=i2c_twl.h
Include26=accero.h
Include27=pedometer.h
Include28=sw.h
Include29=adc.h
Include30=led.h
Include31=batt_params.h
Include32=pool.h
Include33=i2c_twl_defs.h
Include34=renge\renge_task_intval.h
Include35=..\..\..\Program Files (x86)\NEC Electronics Tools\CC78K0R\W2.13\inc78k0r\math.h
Include36=self_flash.h
Include37=sim\sim_interrupt_decrare.c
Include38=util_funcs.h

View File

@ -1,9 +1,9 @@
[ProjectManager]
FrameMax=0
FrameX=562
FrameY=3
FrameCX=1191
FrameCY=681
FrameX=25
FrameY=25
FrameCX=1440
FrameCY=850
OpenFile1=i2c_ctr.c,0,655,120,1628,751,0,1,0,0
OpenFile2=kanaria_c.c,0,68,138,763,769,8,5,8,0
OpenFile3=ProjectWindow
@ -17,7 +17,7 @@ OpenFile9=config.h,0,75,75,902,478,29,6,29,0
OpenFile10=i2c_mcu.c,0,175,175,1036,939,1,453,1,0
OpenFile11=main.c,0,402,105,1713,812,0,68,0,0
OpenFile12=OutputWindow
OutputPos=0,21,472,273,1150
OutputPos=0,260,711,278,1155
ActivePRJ=yav_mcu_bsr.prj
[ProjectWindow]
ProjectWindowDispType=0