Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: CRC on 1446

$
0
0

Thanks Wilfrido,

 

i noticed also that many DSP registers got undefined, as reported by the host mcu compiler,

when i turn on the CRC check so i use the newly generated *.h files.

If you want, i can be more specific.

 

Regarding the zero filling, i understood you fill the program memory in 4092 zero-valued bytes chunks,

moving the address of the next block by 682 bytes, that is the initial address shifted by 4092 / 6 instructions

(because each instruction is 6 bytes long), until the whole program area is filled up with zeros.

So i'm asking, instead of zeroing the program memory then downoading the program,

may i download the whole program, then fill up the remaining memory with zeros?

I could do this without having to declare zero filled arrays, just simply making a loop and sending

a sequence of zeros into the spi-communication routine till program memory end.

 

Many thanks.

Tom

 

EDITED ON May 8th

Here are the registers that get undefined when i turn on CRC check.

Please give a word on this and if i can zero-fill the remaining program ram

programmatically, instead of defining a zero-filled array.

 

(re-edit) I see that the registers are not undefined, rather the Rx_REGISTER_NAME

identifier number (R4, R3 ..) become different if i compile with or without CRC

check.

This maybe because they are enumerated serially and with crc check there

are 8+ programming steps so only the first ones (those before program ram data)

are equal.

 

 

Many thanks.

 

 

Error    139    'R3_SERIAL_INPUT_MODES_IC_1_SIZE' undeclared (first use in this function)  

Error    141    'R3_SERIAL_INPUT_MODES_IC_1_Default' undeclared (first use in this function)   

Error    142    'R4_SERIAL_OUTPUT_MODES_IC_1_SIZE' undeclared (first use in this function)  

Error    143    'R4_SERIAL_OUTPUT_MODES_IC_1_Default' undeclared (first use in this function)   

Error    144    'R5_HIGH_SPEED_SLAVE_INTERFACE_MODE_IC_1_Default' undeclared (first use in this function)  

Error    145    'R6_ROUTING_MATRIX_ASRC_INPUT_DATA_SELECTOR_IC_1_SIZE' undeclared (first use in this function)  

Error    146    'R6_ROUTING_MATRIX_ASRC_INPUT_DATA_SELECTOR_IC_1_Default' undeclared (first use in this function)   

Error    147    'R7_ROUTING_MATRIX_ASRC_OUTPUT_RATE_SELECTOR_IC_1_SIZE' undeclared (first use in this function)  

Error    148    'R7_ROUTING_MATRIX_ASRC_OUTPUT_RATE_SELECTOR_IC_1_Default' undeclared (first use in this function)   

Error    149    'R8_ROUTING_MATRIX_SERIAL_OUTPUT_DATA_SELECTOR_IC_1_SIZE' undeclared (first use in this function)   

Error    150    'R8_ROUTING_MATRIX_SERIAL_OUTPUT_DATA_SELECTOR_IC_1_Default' undeclared (first use in this function)

Error    151    'R9_SPDIF_REGS_IC_1_SIZE' undeclared (first use in this function)  







Error    152    'R9_SPDIF_REGS_IC_1_Default' undeclared (first use in this function)  






Error    153    'R10_ASRC1_MUTE_IN_OUT_IC_1_Default' undeclared (first use in this function)   

Error    154    'R11_ASRC2_MUTE_IN_OUT_IC_1_Default' undeclared (first use in this function)   

Error    155    'R12_SERIAL_IN_FLEX_MODES_IC_1_SIZE' undeclared (first use in this function)   

Error    156    'R12_SERIAL_IN_FLEX_MODES_IC_1_Default' undeclared (first use in this function)   

Error    157    'R13_SERIAL_OUT_FLEX_MODES_IC_1_SIZE' undeclared (first use in this function)   

Error    158    'R13_SERIAL_OUT_FLEX_MODES_IC_1_Default' undeclared (first use in this function)

Error    159    'R14_DSP_REGS_IC_1_SIZE' undeclared (first use in this function)   

Error    160    'R14_DSP_REGS_IC_1_Default' undeclared (first use in this function)   

Error    161    'R15_OTHER_DSP_MODES_1_IC_1_SIZE' undeclared (first use in this function)   

Error    162    'R15_OTHER_DSP_MODES_1_IC_1_Default' undeclared (first use in this function)   

Error    163    'R16_OTHER_DSP_MODES_2_IC_1_SIZE' undeclared (first use in this function)   

Error    164    'R16_OTHER_DSP_MODES_2_IC_1_Default' undeclared (first use in this function)   

Error    165    'R17_MASTER_CLK_ENABLE_IC_1_Default' undeclared (first use in this function)   

Error    166    'R19_IC_1_IC_1_ADDR' undeclared (first use in this function)   

Error    167    'R19_IC_1_IC_1_SIZE' undeclared (first use in this function)   

Error    168    'R19_IC_1_IC_1_Default' undeclared (first use in this function)   

Error    169    'R21_START_PULSE_SELECT_IC_1_Default' undeclared (first use in this function)   

Error    170    'R22_CORE_RUN_BIT_IC_1_Default' undeclared (first use in this function)   

Error    171    'R23_DEJITTER_WINDOW_IC_1_Default' undeclared (first use in this function)

Error    172    'R24_DEJITTER_WINDOW_IC_1_Default' undeclared (first use in this function)


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>