Other Parts Discussed in Thread: TMS320F28335, CONTROLSUITE
I've been requested to repost this under its own topic, so I apologize for the duplication.
I’m having the same issue as this thread (https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/288523), which is #20 identifier “RamfuncsLoadSize” is underfined. I’m trying to program a TMS320F28335 that is part of a Semikron SKAI2-LV device. The program is supposed to be a simple LED-blink program using SYS/BIOS. I loaded Lab4 from the TI-RTOS training (https://training.ti.com/ti-rtos-workshop-series) site, but the hardware device requires that I load this from FLASH due to its hardwire selection. I modified the main.c code to the best of my abilities utilizing some non-BIOS code that I have from a motor controller that does load on the SKAI2-LV device (so I know the device functions). I’ve put in the following code and put in FLASH as a Pre-defined Name for the Predefined Symbols of the project properties.
#ifdef FLASH #pragma CODE_SECTION(Initflash,”ramfuncs”); #pragma CODE_SECTION(main,”ramfuncs”); #endif
I’m going to attach my project code in the hope that someone can help steer me straight. I’ve read SPRA958L and downloaded the code, only to realize that it was set for DSP/BIOS v5 (per this thread: https://e2e.ti.com/support/embedded/tirtos/f/355/t/431154#pi317008=2). As I’m trying to use SYS/BIOS, I’m a bit bummed and wishing that there was a similar SPRA958L with examples for SYS/BIOS for loading out of FLASH or RAM and with or without SYS/BIOS.
Any help is appreciated to get this simple “hello world” type of program to run. If I can understand what I did wrong and where I missed something, I’d like to apply that to the other labs from this training and to eventually get SYS/BIOS functional with my PMSM motor controller code.
-Tim