mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
V0.A+
バグ無しPMICに対応(…。) TCOM→VCSの間に17m程開ける SELECT押しながら起動で***するは機能しない(SOCプルアップのため、必ずLになっている)ので削除。 ??? TWL側I2Cの、offコマンドを無視、resetコマンドに完全一致でないと反応しない用にした。 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@33 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
e4b6f0744b
commit
b6a9f86b9f
@ -8,7 +8,10 @@
|
|||||||
#define MCU_VER_MAJOR 0x00;
|
#define MCU_VER_MAJOR 0x00;
|
||||||
#define MCU_VER_MINOR 0x0B;
|
#define MCU_VER_MINOR 0x0B;
|
||||||
|
|
||||||
//#define _OVERCLOCK_
|
#define _OVERCLOCK_
|
||||||
|
|
||||||
|
// 古い(C)電源ボード
|
||||||
|
//#define _PM_BUG_
|
||||||
|
|
||||||
//#define _PARRADIUM_
|
//#define _PARRADIUM_
|
||||||
//#define _MODEL_TEG2_
|
//#define _MODEL_TEG2_
|
||||||
|
|||||||
18
trunk/pm.c
18
trunk/pm.c
@ -194,11 +194,11 @@ task_status_immed PM_bt_temp_update( )
|
|||||||
DBG_P_n = 1;
|
DBG_P_n = 1;
|
||||||
temperature = 81.45 - 111.9 * raw_adc_temperature/256.0;
|
temperature = 81.45 - 111.9 * raw_adc_temperature/256.0;
|
||||||
vreg_ctr[VREG_C_BT_TEMP] = (u8)temperature;
|
vreg_ctr[VREG_C_BT_TEMP] = (u8)temperature;
|
||||||
|
vreg_ctr[VREG_C_FREE0 ] = (u8)( temperature % 100 * 100 );
|
||||||
DBG_P_n = 0;
|
DBG_P_n = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 時々書きにゆく
|
||||||
// 時々書きにゆく
|
|
||||||
if( count == 0 )
|
if( count == 0 )
|
||||||
{
|
{
|
||||||
DBG_P_n = 1;
|
DBG_P_n = 1;
|
||||||
@ -364,11 +364,16 @@ err PM_LCD_on( )
|
|||||||
|
|
||||||
wait_ms( DELAY_PM_TSS_50B_AND_VCOM );
|
wait_ms( DELAY_PM_TSS_50B_AND_VCOM );
|
||||||
|
|
||||||
PM_TCOM_VCS_on( );
|
PM_TCOM_on( );
|
||||||
|
|
||||||
wait_ms( DELAY_PM_VCOM_TO_BL );
|
wait_ms( DELAY_PM_TCOM_TO_VCS );
|
||||||
|
|
||||||
|
PM_VCS_on( );
|
||||||
|
|
||||||
|
wait_ms( DELAY_PM_VCS_TO_BL );
|
||||||
|
#ifdef _PM_BUG_
|
||||||
iic_mcu_write_a_byte( IIC_SLA_PMIC, 0x22, 0x4A ); // バグ持ちPMIC対策
|
iic_mcu_write_a_byte( IIC_SLA_PMIC, 0x22, 0x4A ); // バグ持ちPMIC対策
|
||||||
|
#endif
|
||||||
|
|
||||||
rv = PM_chk_LDSW( );
|
rv = PM_chk_LDSW( );
|
||||||
|
|
||||||
@ -525,7 +530,9 @@ err PM_sys_pow_on( )
|
|||||||
PM_LDSW_on( );
|
PM_LDSW_on( );
|
||||||
|
|
||||||
wait_ms( 1 );
|
wait_ms( 1 );
|
||||||
|
#ifdef _PM_BUG_
|
||||||
iic_mcu_write_a_byte( IIC_SLA_PMIC, 0x22, 0xCA ); // バグ持ちPMIC対策 OVP解除
|
iic_mcu_write_a_byte( IIC_SLA_PMIC, 0x22, 0xCA ); // バグ持ちPMIC対策 OVP解除
|
||||||
|
#endif
|
||||||
|
|
||||||
wait_ms( DELAY_PM_TW_PWUP );
|
wait_ms( DELAY_PM_TW_PWUP );
|
||||||
|
|
||||||
@ -535,7 +542,9 @@ err PM_sys_pow_on( )
|
|||||||
PM_VDD50A_on( ); // 液晶電源ではなく、ledとかに使うものです
|
PM_VDD50A_on( ); // 液晶電源ではなく、ledとかに使うものです
|
||||||
|
|
||||||
wait_ms( DELAY_PM_TW_PWUP );
|
wait_ms( DELAY_PM_TW_PWUP );
|
||||||
|
#ifdef _PM_BUG_
|
||||||
iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_POW_SAVE, 0x03 ); // バグ持ちPMIC対策 強制PWM
|
iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_POW_SAVE, 0x03 ); // バグ持ちPMIC対策 強制PWM
|
||||||
|
#endif
|
||||||
|
|
||||||
if( PM_chk_LDSW( ) == 0 )
|
if( PM_chk_LDSW( ) == 0 )
|
||||||
{
|
{
|
||||||
@ -721,7 +730,6 @@ void tsk_batt( )
|
|||||||
PM_get_batt_left();
|
PM_get_batt_left();
|
||||||
|
|
||||||
// dubug monitor
|
// dubug monitor
|
||||||
vreg_ctr[ VREG_C_FREE0 ] = vreg_ctr[ VREG_C_BT_REMAIN ];
|
|
||||||
vreg_ctr[ VREG_C_FREE1 ] = iic_mcu_read_a_byte( IIC_SLA_BT_GAUGE, BT_GAUGE_REG_VCELL );
|
vreg_ctr[ VREG_C_FREE1 ] = iic_mcu_read_a_byte( IIC_SLA_BT_GAUGE, BT_GAUGE_REG_VCELL );
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -59,7 +59,8 @@ enum BT_GAUGE_REG_ADRS
|
|||||||
|
|
||||||
// 0x02 pw cnt2
|
// 0x02 pw cnt2
|
||||||
#define PM_REG_BIT_VDDLCD 0x07
|
#define PM_REG_BIT_VDDLCD 0x07
|
||||||
#define PM_REG_BIT_LCD_ANALOG ( 0x03 << 3 )
|
#define PM_REG_BIT_LCD_VCS ( 0x01 << 4 )
|
||||||
|
#define PM_REG_BIT_LCD_TCOM ( 0x01 << 3 )
|
||||||
|
|
||||||
// 0x04 bl cnt
|
// 0x04 bl cnt
|
||||||
#define PM_REG_BIT_BL_U 0x01
|
#define PM_REG_BIT_BL_U 0x01
|
||||||
@ -71,7 +72,8 @@ enum BT_GAUGE_REG_ADRS
|
|||||||
#define DELAY_PM_TW_PWUP 16
|
#define DELAY_PM_TW_PWUP 16
|
||||||
#define DELAY_PM_TSS_50B_AND_VCOM ( 5 + 17 )
|
#define DELAY_PM_TSS_50B_AND_VCOM ( 5 + 17 )
|
||||||
#define DELAY_PM_5V_TO_VCOM 17
|
#define DELAY_PM_5V_TO_VCOM 17
|
||||||
#define DELAY_PM_VCOM_TO_BL ( 17 + 5 )
|
#define DELAY_PM_TCOM_TO_VCS 17
|
||||||
|
#define DELAY_PM_VCS_TO_BL ( 17 + 5 )
|
||||||
#define DELAY_PM_LCD_OFF ( 50 + 1 )
|
#define DELAY_PM_LCD_OFF ( 50 + 1 )
|
||||||
|
|
||||||
|
|
||||||
@ -141,7 +143,8 @@ task_status_immed tski_vcom_set( );
|
|||||||
|
|
||||||
// ‰t<E280B0>»Œn“dŒ¹ //
|
// ‰t<E280B0>»Œn“dŒ¹ //
|
||||||
#define PM_VDDLCD_on() ( iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_VDD_LCD, PM_REG_BIT_VDDLCD ))
|
#define PM_VDDLCD_on() ( iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_VDD_LCD, PM_REG_BIT_VDDLCD ))
|
||||||
#define PM_TCOM_VCS_on() ( iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_VDD_LCD, ( PM_REG_BIT_VDDLCD | PM_REG_BIT_LCD_ANALOG )))
|
#define PM_TCOM_on() ( iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_VDD_LCD, ( PM_REG_BIT_VDDLCD | PM_REG_BIT_LCD_TCOM )))
|
||||||
|
#define PM_VCS_on() ( iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_VDD_LCD, ( PM_REG_BIT_VDDLCD | PM_REG_BIT_LCD_VCS | PM_REG_BIT_LCD_TCOM )))
|
||||||
#define PM_TCOM_VCS_off() PM_VDDLCD_on()
|
#define PM_TCOM_VCS_off() PM_VDDLCD_on()
|
||||||
#define PM_VDDLCD_off() ( iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_VDD_LCD, 0 ) )
|
#define PM_VDDLCD_off() ( iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_VDD_LCD, 0 ) )
|
||||||
|
|
||||||
|
|||||||
@ -25,22 +25,13 @@ void tsk_debug( )
|
|||||||
|
|
||||||
iic_mcu_write_a_byte( IIC_SLA_DCP, 0x08, 0x80 ); // ACR<43>©0x80 Šö”<E2809D>‚<EFBFBD>[<5B>h‚Ö
|
iic_mcu_write_a_byte( IIC_SLA_DCP, 0x08, 0x80 ); // ACR<43>©0x80 Šö”<E2809D>‚<EFBFBD>[<5B>h‚Ö
|
||||||
|
|
||||||
if( !SW_SEL_n ){
|
|
||||||
}
|
|
||||||
PM_LCD_on();
|
|
||||||
PM_BL_set( REG_BIT_CMD_BL_U_ON | REG_BIT_CMD_BL_L_ON );
|
|
||||||
|
|
||||||
// vreg_ctr[ VREG_C_ACC_CONFIG ] = 0x03;
|
|
||||||
// renge_task_immed_add( acc_hosu_set );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
temp = iic_mcu_read_a_byte( IIC_SLA_8LEDS, IIC_8LEDS_REG_DO );
|
temp = iic_mcu_read_a_byte( IIC_SLA_8LEDS, IIC_8LEDS_REG_DO );
|
||||||
count += 1;
|
count += 1;
|
||||||
iic_mcu_write_a_byte( IIC_SLA_8LEDS, IIC_8LEDS_REG_DO, count );
|
iic_mcu_write_a_byte( IIC_SLA_8LEDS, IIC_8LEDS_REG_DO, count );
|
||||||
iic_mcu_write_a_byte( IIC_SLA_DBG_MONITOR, 3, count );
|
iic_mcu_write_a_byte( IIC_SLA_DBG_MONITOR, 3, count );
|
||||||
*/
|
*/
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,10 +49,10 @@ void tsk_debug2( )
|
|||||||
str[1] = vreg_ctr[ VREG_C_STATUS ];
|
str[1] = vreg_ctr[ VREG_C_STATUS ];
|
||||||
str[0] = vreg_ctr[ VREG_C_RTC_SEC ];
|
str[0] = vreg_ctr[ VREG_C_RTC_SEC ];
|
||||||
*/
|
*/
|
||||||
str[3] = vreg_ctr[ VREG_C_ACC_HOSU_L ];
|
str[3] = vreg_ctr[ VREG_C_BT_TEMP ];
|
||||||
str[2] = SEC;
|
str[2] = vreg_ctr[ VREG_C_FREE0 ];
|
||||||
str[1] = vreg_ctr[ VREG_C_BT_TEMP ];
|
str[1] = vreg_ctr[ VREG_C_FREE1 ];
|
||||||
str[0] = vreg_ctr[ VREG_C_BT_REMAIN ];
|
str[0] = MIN;
|
||||||
|
|
||||||
// iic_mcu_write_a_byte( IIC_SLA_DBG_MONITOR, 2, vreg_ctr[ VREG_C_IRQ1 ] );
|
// iic_mcu_write_a_byte( IIC_SLA_DBG_MONITOR, 2, vreg_ctr[ VREG_C_IRQ1 ] );
|
||||||
// iic_mcu_write_a_byte( IIC_SLA_DBG_MONITOR, 1, boot_ura );
|
// iic_mcu_write_a_byte( IIC_SLA_DBG_MONITOR, 1, boot_ura );
|
||||||
|
|||||||
@ -57,7 +57,8 @@ void vreg_twl_write( u8 adrs, u8 data )
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ( REG_TWL_INT_ADRS_COMMAND ):
|
case ( REG_TWL_INT_ADRS_COMMAND ):
|
||||||
if( data <= 2 ){
|
/*
|
||||||
|
if( data <= 2 ){
|
||||||
if( ( data & REG_BIT_TWL_OFF_REQ ) != 0 )
|
if( ( data & REG_BIT_TWL_OFF_REQ ) != 0 )
|
||||||
{
|
{
|
||||||
set_irq( VREG_C_IRQ2, REG_BIT_TWL_OFF_REQ ); // OFFも実装していたらしい。
|
set_irq( VREG_C_IRQ2, REG_BIT_TWL_OFF_REQ ); // OFFも実装していたらしい。
|
||||||
@ -69,6 +70,12 @@ void vreg_twl_write( u8 adrs, u8 data )
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
if( data == REG_BIT_TWL_RESET_REQ )
|
||||||
|
{
|
||||||
|
set_irq( VREG_C_IRQ2, REG_BIT_TWL_RESET_REQ ); //リセットしかない。他のは、SPIから来ます。
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,135 +1,6 @@
|
|||||||
C:\WINDOWS\system32\cmd.exe /c echo touch magic.c
|
C:\WINDOWS\system32\cmd.exe /c echo touch magic.c
|
||||||
touch magic.c
|
touch magic.c
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no loader.c
|
|
||||||
loader.c(137) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
loader.c(141) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
loader.c(144) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 3 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\loader.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no pm.c
|
|
||||||
pm.c(195) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
pm.c(207) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
pm.c(211) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
pm.c(285) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
pm.c(865) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 5 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\pm.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no i2c_ctr.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\i2c_ctr.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no main.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\main.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no magic.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\magic.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no WDT.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\WDT.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no i2c_mcu.c
|
|
||||||
i2c_mcu.c(119) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
i2c_mcu.c(196) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 2 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\i2c_mcu.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qx1 -sainter_asm -zp -no i2c_twl.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\i2c_twl.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no ini_VECT.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\ini_VECT.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no led.c
|
|
||||||
led.c(422) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
led.c(423) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 2 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\led.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no rtc.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\rtc.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no vreg_ctr.c
|
|
||||||
vreg_ctr.c(56) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_ctr.c(102) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_ctr.c(103) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_ctr.c(105) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_ctr.c(107) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_ctr.c(108) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_ctr.c(110) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_ctr.c(129) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 8 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\vreg_ctr.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no vreg_twl.c
|
|
||||||
vreg_twl.c(46) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
vreg_twl.c(50) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 2 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\vreg_twl.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no adc.c
|
|
||||||
adc.c(73) : CC78K0R warning W0745: Expected function prototype
|
|
||||||
adc.c(78) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
adc.c(81) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
adc.c(96) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
adc.c(99) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
adc.c(193) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
adc.c(229) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 7 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\adc.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no renge\renge.c
|
|
||||||
renge\renge.c(147) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 1 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\renge.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no accero.c
|
|
||||||
accero.c(100) : CC78K0R warning W0745: Expected function prototype
|
|
||||||
accero.c(109) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 2 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\accero.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no self_flash.c
|
|
||||||
self_flash.c(190) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 1 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\self_flash.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no reboot.c
|
|
||||||
reboot.c(14) : CC78K0R warning W0915: Asm statement found. skip to jump optimize this function 'my_reboot'
|
|
||||||
Compilation complete, 0 error(s) and 1 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\reboot.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no sw.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\sw.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no task_debug.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\task_debug.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no task_misc.c
|
|
||||||
task_misc.c(48) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
task_misc.c(166) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
task_misc.c(34) : CC78K0R warning W0401: Conversion may lose significant digits
|
|
||||||
Compilation complete, 0 error(s) and 3 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\task_misc.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -quvjl2wt -sainter_asm -zp -no task_sys.c
|
|
||||||
Compilation complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\task_sys.asm
|
|
||||||
Assembly complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\lk78k0r.exe" -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -obsr.lmf "..\..\Program Files\NEC Electronics Tools\CC78K0R\W2.10\lib78k0r\s0rm.rel" -go85h,0FC00h,1024 -gi0FFFFFFFFFFFFFFFFFFFFh -pbsr_k0r.map -nkd -kp -gb6EFBFFh -b"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\lib78k0r\fsl.lib" -bcl0rdm.lib -bcl0rm.lib -bcl0rmf.lib -i"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\lib78k0r" -dbsr_mcu.dr -s -w0 loader.rel pm.rel i2c_ctr.rel main.rel magic.rel WDT.rel i2c_mcu.rel i2c_twl.rel ini_VECT.rel led.rel rtc.rel vreg_ctr.rel vreg_twl.rel adc.rel renge.rel accero.rel self_flash.rel reboot.rel sw.rel task_debug.rel task_misc.rel task_sys.rel
|
|
||||||
Link complete, 0 error(s) and 0 warning(s) found.
|
|
||||||
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\oc78k0r.exe" -y"C:\Program Files\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 C:\Cygwin\home\fujita_ryohei\ctr\nec_s_2_bsrbin.rb bsr.hex
|
C:\WINDOWS\system32\cmd.exe /c ruby C:\Cygwin\home\fujita_ryohei\ctr\nec_s_2_bsrbin.rb bsr.hex
|
||||||
C:/Cygwin/home/fujita_ryohei/ctr/nec_s_2_bsrbin.rb:2: warning: variable $KCODE is no longer effective; ignored
|
C:/Cygwin/home/fujita_ryohei/ctr/nec_s_2_bsrbin.rb:2: warning: variable $KCODE is no longer effective; ignored
|
||||||
|
|
||||||
Build Total error(s) : 0 Total warning(s) : 37
|
Build Total error(s) : 0 Total warning(s) : 0
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
Ver=200
|
Ver=200
|
||||||
Target=IDK0R32G
|
Target=IDK0R32G
|
||||||
[Configuration]
|
[Configuration]
|
||||||
Chip=uPD78F1009_64
|
Chip=uPD79F0104
|
||||||
Internal Rom=64KB
|
Internal Rom=32KB
|
||||||
Internal Ram=3072B
|
Internal Ram=1536KB
|
||||||
Clock=Target
|
Clock=Target
|
||||||
Sub Clock=Target
|
Sub Clock=Target
|
||||||
Peripheral Break=0x2
|
Peripheral Break=0x2
|
||||||
|
|||||||
@ -10,9 +10,9 @@ OpenFile3=renge\renge.c,0,330,330,1574,1087,0,172,0,0
|
|||||||
OpenFile4=pm.c,0,286,286,1530,1043,27,542,30,0
|
OpenFile4=pm.c,0,286,286,1530,1043,27,542,30,0
|
||||||
OpenFile5=loader.c,0,154,154,1398,911,0,264,0,0
|
OpenFile5=loader.c,0,154,154,1398,911,0,264,0,0
|
||||||
OpenFile6=task_debug.c,0,324,114,1568,871,25,13,57,0
|
OpenFile6=task_debug.c,0,324,114,1568,871,25,13,57,0
|
||||||
OpenFile7=config.h,0,264,264,1508,1021,2,11,0,0
|
OpenFile7=ProjectWindow
|
||||||
OpenFile8=ProjectWindow
|
|
||||||
PrjPos=0,2,754,3,253
|
PrjPos=0,2,754,3,253
|
||||||
|
OpenFile8=config.h,0,264,264,1508,1021,0,20,0,0
|
||||||
OpenFile9=OutputWindow
|
OpenFile9=OutputWindow
|
||||||
OutputPos=0,48,992,426,1226
|
OutputPos=0,48,992,426,1226
|
||||||
ActivePRJ=yav_mcu_bsr.prj
|
ActivePRJ=yav_mcu_bsr.prj
|
||||||
|
|||||||
@ -11,7 +11,7 @@ T=4b0e133a
|
|||||||
7=rtc.h
|
7=rtc.h
|
||||||
8=reboot.h
|
8=reboot.h
|
||||||
[pm.c]
|
[pm.c]
|
||||||
T=4b0e15b9
|
T=4b131a22
|
||||||
1=incs.h
|
1=incs.h
|
||||||
2=adc.h
|
2=adc.h
|
||||||
3=led.h
|
3=led.h
|
||||||
@ -28,7 +28,7 @@ T=4b0b8f87
|
|||||||
5=accero.h
|
5=accero.h
|
||||||
6=led.h
|
6=led.h
|
||||||
[magic.c]
|
[magic.c]
|
||||||
T=4b0de27a
|
T=4b0e3e21
|
||||||
1=config.h
|
1=config.h
|
||||||
[WDT.c]
|
[WDT.c]
|
||||||
T=4afd21ca
|
T=4afd21ca
|
||||||
@ -60,7 +60,7 @@ T=4b0d172a
|
|||||||
5=accero.h
|
5=accero.h
|
||||||
6=pm.h
|
6=pm.h
|
||||||
[vreg_twl.c]
|
[vreg_twl.c]
|
||||||
T=4b0b2c80
|
T=4b0f96c3
|
||||||
1=incs.h
|
1=incs.h
|
||||||
2=jhl_defs.h
|
2=jhl_defs.h
|
||||||
3=vreg_twl.h
|
3=vreg_twl.h
|
||||||
@ -81,7 +81,7 @@ T=4b0d1a2b
|
|||||||
5=config.h
|
5=config.h
|
||||||
6=bsr_system.h
|
6=bsr_system.h
|
||||||
[accero.c]
|
[accero.c]
|
||||||
T=4b0e21d5
|
T=4b0e2fa1
|
||||||
1=incs.h
|
1=incs.h
|
||||||
2=..\..\Program Files\NEC Electronics Tools\CC78K0R\W2.10\inc78k0r\math.h
|
2=..\..\Program Files\NEC Electronics Tools\CC78K0R\W2.10\inc78k0r\math.h
|
||||||
[self_flash.c]
|
[self_flash.c]
|
||||||
@ -103,7 +103,7 @@ T=4b04cee4
|
|||||||
6=pm.h
|
6=pm.h
|
||||||
7=rtc.h
|
7=rtc.h
|
||||||
[task_debug.c]
|
[task_debug.c]
|
||||||
T=4b0c9623
|
T=4b13151d
|
||||||
1=incs.h
|
1=incs.h
|
||||||
2=renge\renge.h
|
2=renge\renge.h
|
||||||
3=pm.h
|
3=pm.h
|
||||||
@ -141,7 +141,7 @@ T=4b023fdb
|
|||||||
T=4b0d0086
|
T=4b0d0086
|
||||||
1=config.h
|
1=config.h
|
||||||
[config.h]
|
[config.h]
|
||||||
T=4b0e24a3
|
T=4b131da1
|
||||||
[bsr_system.h]
|
[bsr_system.h]
|
||||||
T=4afd21ca
|
T=4afd21ca
|
||||||
[renge\renge.h]
|
[renge\renge.h]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user