arjun.a
rename files
6c7b14a
Ticket Name: Linux/TDA2: #pragma DATA_SECTION to UTILS_HEAPID_DDR_CACHED_SR
Query Text:
Part Number: TDA2 Tool/software: Linux Hi: i am useing SDK_VISION_03_04_00_00\vision_sdk in a dsp1 link i want put my model to UTILS_HEAPID_DDR_CACHED_SR, #pragma DATA_SECTION (model,UTILS_HEAPID_DDR_CACHED_SR ); MInt32 model[] = { 177, 301, 176, 321, 176, 340, 177, 359, 180, 379, 184, 398, 189, 417, 195, 435, 202, 453, 212, 471, 223, 487, 235, 502, 249, 516, 263, 529, 278, 541, 294, 553, 311, 562, 331, 568, 352, 569, 374, 566, 396, 558, 414, 547, 431, 533, 446, 519, 460, 504, 473, 488, 484, 470, 493, 451, 499, 431, 503, 412, 506, 392, 507, 373, 508, 353, 507, 334, 506, 314, 504, 294, 501, 275, 199, 272, 215, 257, 235, 253, 256, 255, 276, 260, 290, 274, 272, 273, 254, 270, 236, 268, 218, 269, 356, 267, 370, 251, 392, 243, 415, 238, 438, 238, 459, 250, 438, 252, 417, 255, 396, 260, 376, 265, 223, 308, 232, 302, 242, 298, 254, 297, 266, 299, 276, 305, 282, 314, 273, 316, 263, 318, 253, 319, 242, 317, 232, 314, 373, 305, 381, 294, 391, 287, 404, 284, 417, 284, 428, 286, 438, 293, 429, 300, 419, 304, 408, 307, 396, 307, 384, 306, 307, 302, 309, 337, 306, 373, 289, 391, 298, 412, 327, 415, 347, 413, 377, 406, 382, 384, 363, 368, 355, 333, 352, 298, 280, 461, 300, 451, 324, 443, 343, 444, 362, 438, 388, 440, 413, 445, 396, 463, 375, 476, 349, 483, 322, 482, 299, 475, 286, 462, 315, 460, 345, 458, 376, 452, 407, 447, 377, 455, 346, 461, 315, 462, 253, 309, 406, 296, 328, 301, 330, 332, 332, 362, 334, 391, 337, 414, 253, 307, 409, 294, }; can i ? Shuai
Responses:
Hi, You can give it a try but i guess initialization of that array is not possible. Regards, Anuj
Hi Anuj the model is too big ! i am try to read it in A15 and send it to c66. but in ccs i use nitialization of that array is ok! shuai
Hi, Please initialize your array inside your usecase or from where it gets called or inside link init if you are using it inside a link. Do not do it globally. Regards, Anuj