# HG changeset patch # User Mychaela Falconia # Date 1459239733 0 # Node ID 3fca27cfa433e4e6488d24f6c850f4665dc14f70 # Parent 6219bb2f0a52ea1d6187b7b7076253736a609081 l1_dyn_dwl_init.c: made to match TCS211 except for num_of_primitives mystery diff -r 6219bb2f0a52 -r 3fca27cfa433 chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_init.c --- a/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_init.c Tue Mar 29 06:50:07 2016 +0000 +++ b/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_init.c Tue Mar 29 08:22:13 2016 +0000 @@ -109,7 +109,6 @@ void l1_dyn_dwnld_initialize_var() { UWORD16 i; - /* Init Dynamic Download NDB */ dyn_dwl_ndb=(T_DYN_DWNLD_MCU_DSP *)API_address_dsp2mcu(C_DYN_DWNLD_API_BASE_ADDRESS); @@ -128,32 +127,48 @@ l1s_dsp_com.dsp_ndb_ptr->d_max_background=(API)(C_BGD_DSP_DYN_DWNLD+1); dyn_dwnld_copy_MCU_vect[0] = gprs_patch_array; + l1_set_dyn_dwnld_install_vect(size_vect,dyn_dwnld_address_vect,dyn_dwnld_crc_vect, gprs_patch_array, 0); + dyn_dwnld_copy_MCU_vect[1] = amr_sch_patch_array; + l1_set_dyn_dwnld_install_vect(size_vect,dyn_dwnld_address_vect,dyn_dwnld_crc_vect, amr_sch_patch_array, 1); + #if (L1_GTT == 1) dyn_dwnld_copy_MCU_vect[2] = tty_patch_array; + l1_set_dyn_dwnld_install_vect(size_vect,dyn_dwnld_address_vect,dyn_dwnld_crc_vect, tty_patch_array, 2); #endif + #if (MELODY_E2 == 1) dyn_dwnld_copy_MCU_vect[3] = amr_mms_patch_array; + l1_set_dyn_dwnld_install_vect(size_vect,dyn_dwnld_address_vect,dyn_dwnld_crc_vect, amr_mms_patch_array, 3); dyn_dwnld_copy_MCU_vect[4] = e2_patch_array; + l1_set_dyn_dwnld_install_vect(size_vect,dyn_dwnld_address_vect,dyn_dwnld_crc_vect, e2_patch_array, 4); #endif - for(i=0;i