Hi
My application is F28335 based with ccs3.3 and bios. Previoulsy my applicatoin runs fine from RAM . I have followed SPRA958I to Run my code from flash using on chip flash programmar in ccs 3.3 and black hawk usb 2000. I have changed the linker file using bios configuration memory sectoin manager according to Table 3.2 in SPRA958i. I can download my code in flash, and i see my main() to be on 0x00300100. But when i try to Copy the .hwi_vec Section from load address in flash to run address in RAM as described in section 4.2 of SPRA958i using memcpy functoin i get follwing compilation error
" argument of type "unsigned int *" is incompatible with parameter of type "unsigned long. "
The code i have added in my main is as follwing
extern unsigned int hwi_vec_loadstart; // declared as gloabl to file
extern unsigned int hwi_vec_loadsize; // declared as gloabl to file
extern unsigned int hwi_vec_runstart; // declared as global to file
asm(" EALLOW"); /* Enable EALLOW protected register access */ // These 3 lines are added inside the main() fucntion
memcpy(&hwi_vec_runstart, &hwi_vec_loadstart, &hwi_vec_loadsize);
asm(" EDIS"); /* Disable EALLOW protected register access */
Please help me in this regard
Ahmed Shakeel