Part Number: TMS320F280041C
Tool/software:
Greetings! I am not able to flash my uC. I am using XDS100v3 as a programmer. I have a switch and I can change the boot modes. I have 2K2 pulldown resistors on GPOI 32 and 24 and I have 56K pull up resistors which i can activate. In my code I have these 3 directives :
#pragma CODE_SECTION(mainISR, ".TI.ramfunc"); #pragma DATA_SECTION(userParams, "ctrl_data"); volatile MOTOR_Vars_t motorVars = MOTOR_VARS_INIT; #pragma DATA_SECTION(motorVars, "ctrl_data");
There are not in the main.c file, but I don`t think this matters.
I have experience with F28069M and usually there is a directive in the beginning of the main like this:
#ifdef FLASH // Copy time critical code and Flash setup code to RAM // The RamfuncsLoadStart, RamfuncsLoadEnd, and RamfuncsRunStart // symbols are created by the linker. Refer to the linker files. memCopy((uint16_t *)&RamfuncsLoadStart,(uint16_t *)&RamfuncsLoadEnd,(uint16_t *)&RamfuncsRunStart); #endif
But here there isn`t anything similar.
I tried the different boot modes -> no luck. Any suggestions what I am doing wrong?
There is somekind of a counter in the original lab07 which I am using as a reference, but I can`t find any meaning purpose of the counter...
Thanks!