hi all, I have a doubt. we are doing a project in which a external variable has to be intialized with values. we are working with the ADSP 21060 and we are using the JTAG interface to monitor the processors status. The following two methods failed. The external memory segment was named seg_sram in the LDF file. In the C-program the following was done : segment ("seg_sram") int Extarray[16] = { 1,2,3,4,5,6,7,8,9,10, 11,12,13,14,15,16}; The above did not work. The debugger gave an error in intializing. The same thing was tried in assembly as follows : .segment /dm seg_sram; .var _Extarray[16] = "values.txt"; .global _Extarray; .endseg; values.txt had the following values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ---- Even this did not work. So it would be great if there is any method to intialize external variables. Thanks and regards Sundi.. |
Intilization of External memory
Started by ●March 9, 2000