AnsweredAssumed Answered

problems upgrading from visual dsp 4.0 to visual dsp 5.0 (update 9.1)

Question asked by OscarSanabria on Nov 5, 2012
Latest reply on Nov 12, 2012 by CraigG

Hello

 

We had a firmware compiled in Visual DSP 4.0 and we are trying to upgrade it to version Visual DSP 5.0 (update 9.1) and we have problems with this. We use a SHARC micro (adsp21062).

 

The firmware compiles ok in Visual DSP 4.0, but when we try to compile it with Visual DSP 5.0(update 9.1) it doesn't compile, the programs give us 90 warnings,those warnings are like this:

 

[Warning ea1092] "C:\DOCUME~1\OSCAR~1.SAN\CONFIG~1\Temp\acc12dc85f2000\acc12dc85f2001.s":2517 Symbol '_signal' is undefined.

Check spelling. If '_signal' is defined in a different file, use ".extern".

 

and gives us a lot of error in linking:

 

[Error li1021]  The following symbols referenced in processor 'P0' could not be resolved:

'ADC_GetChannel [_ADC_GetChannel]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'ADC_Init [_ADC_Init]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'ADC_SetScale [_ADC_SetScale]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'ADC_Update [_ADC_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'AFE_Init [_AFE_Init]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'AFE_Reg [_AFE_Reg]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'AFE_Update [_AFE_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'AUT_RST_Reset [_AUT_RST_Reset]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'BUS_Init [_BUS_Init]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'BUS_Reset [_BUS_Reset]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'BUS_Update [_BUS_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'CAux_inv_Update [_CAux_inv_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'CHOPPER_ELEVADOR_Init [_CHOPPER_ELEVADOR_Init]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'CHOPPER_ELEVADOR_Reg [_CHOPPER_ELEVADOR_Reg]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'CHOPPER_ELEVADOR_Update [_CHOPPER_ELEVADOR_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'DAC_Init [_DAC_Init]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'DAC_SetChannel [_DAC_SetChannel]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'DAC_SetScale [_DAC_SetScale]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'DAC_Update [_DAC_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'DCU_Error [_DCU_Error]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'DCU_HSCB_open_logic [_DCU_HSCB_open_logic]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'DCU_TS0100_Calc_Sp_Vcat [_DCU_TS0100_Calc_Sp_Vcat]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'DCU_TS0100_Calc_Task1 [_DCU_TS0100_Calc_Task1]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'DCU_UpdateDigIn [_DCU_UpdateDigIn]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'DCU_UpdateDigOut [_DCU_UpdateDigOut]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'DCU_ready_connect_logic [_DCU_ready_connect_logic]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'FBO_Get_Handle [_FBO_Get_Handle]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'FBO_Open_SVPWM_MS_FW_Brake [_FBO_Open_SVPWM_MS_FW_Brake]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'FBO_Open_ScalarPWM [_FBO_Open_ScalarPWM]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'FBO_Reset [_FBO_Reset]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'FBO_Update_SVPWM_MS_FW_Brake [_FBO_Update_SVPWM_MS_FW_Brake]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'FBO_Update_ScalarPWM [_FBO_Update_ScalarPWM]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'GPIO_Init [_GPIO_Init]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'GPIO_Update [_GPIO_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'H_bridge_Update [_H_bridge_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'OCS_DAC_Update [_OCS_DAC_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'OCS_MEMORY_write [_OCS_MEMORY_write]' referenced from '..\IJB\VDSP\Debug\task3.doj'

'OS_ERR_Update [_OS_ERR_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'REG_IF_Update [_REG_IF_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'RTC_ReadTime [_RTC_ReadTime]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'SWITCH_MOD_ALL_Reset [_SWITCH_MOD_ALL_Reset]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'VF_Update [_VF_Update]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'afe [_afe]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'afe [_afe]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'afe [_afe]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'ain [_ain]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'bus [_bus]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'bus [_bus]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'bus [_bus]' referenced from '..\IJB\VDSP\Debug\task2.doj'

        'bus [_bus]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'caux_inv [_caux_inv]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'caux_inv [_caux_inv]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'caux_inv [_caux_inv]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'ch_el [_ch_el]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'ch_el [_ch_el]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'cnt_delay.402 [_cnt_delay.402]' referenced from '..\IJB\VDSP\Debug\task1.doj'

'cnt_delay.403 [_cnt_delay.403]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'dcu [_dcu]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'dcu [_dcu]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'dcu [_dcu]' referenced from '..\IJB\VDSP\Debug\task2.doj'

        'dcu [_dcu]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'fbo1 [_fbo1]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'fbo1 [_fbo1]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'fbo2 [_fbo2]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'fbo2 [_fbo2]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'fbo_hd1 [_fbo_hd1]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'fbo_hd1 [_fbo_hd1]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'fbo_hd2 [_fbo_hd2]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'fbo_hd2 [_fbo_hd2]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'filtrar [_filtrar]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'gpio [_gpio]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'gpio [_gpio]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'gpio [_gpio]' referenced from '..\IJB\VDSP\Debug\task3.doj'

'gray_code.0 [_gray_code.0]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'h_bridge [_h_bridge]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'h_bridge [_h_bridge]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'h_bridge [_h_bridge]' referenced from '..\IJB\VDSP\Debug\task3.doj'

'novram_read [_novram_read]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'pila1 [_pila1]' referenced from '..\IJB\VDSP\Debug\background.doj'

        'pila1 [_pila1]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'pila1 [_pila1]' referenced from '..\IJB\VDSP\Debug\os_err.doj'

        'pila1 [_pila1]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'reg_if [_reg_if]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'reg_if2 [_reg_if2]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'reg_if2 [_reg_if2]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'reg_vf [_reg_vf]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'rmax [_rmax]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'rmin [_rmin]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'rst [_rst]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'rst [_rst]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'rst [_rst]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'sca2a [_sca2a]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'sca2b [_sca2b]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'sp [_sp]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'sp [_sp]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'sp [_sp]' referenced from '..\IJB\VDSP\Debug\task2.doj'

        'sp [_sp]' referenced from '..\IJB\VDSP\Debug\task3.doj'

        'temp [_temp]' referenced from '..\IJB\VDSP\Debug\ocs_usr.doj'

        'temp [_temp]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'temp [_temp]' referenced from '..\IJB\VDSP\Debug\task2.doj'

        'temp [_temp]' referenced from '..\IJB\VDSP\Debug\task3.doj'

'update_microseconds [_update_microseconds]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'vauxc [_vauxc]' referenced from '..\IJB\VDSP\Debug\task1.doj'

        'vpwm1 [_vpwm1]' referenced from '..\IJB\VDSP\Debug\task1.doj'

 

 

we are surprised because we have changed the ldf file and the same firmware doesn't run ok with version Visual DSP 5.0(update 9.1).

 

Can you help us with this? we would be pleased.

 

Thx

 

Oscar Sanabria

 

 

PD: I think that is something related to inlined fuctions, but don't know for sure.

Outcomes