Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: UNIFLASH, C2000WARE, TMS320F280049C
Hello,
I would like to have the SCI communication up and running after a power cycle without resetting with signal XRSn (S1 button on the launchpad LAUNCHXL-F280049C).
What I did:
- compiled and flashed via uniflash the led_ex1_blinky dummy example [working after power cycle];
- compiled and flashed via uniflash the sci_ex3_interrupts_fifo example [NOT working after the power cycle];
- merged the led_ex1_blinky code into sci_ex3_interrupts_fifo, compiled and flashed via uniflash [the LED is blinking after a power cycle BUT the SCI works only after a reset (XRSn button)];
Tools I am using:
- CCS Version: 11.0.0.00012
- Uniflash Version: 7.1.0.3796
- Compiler version: TI v21.6.0.LTS
- Examples are from C2000Ware - 4.01.00.00 library from the Resource Explorer
What I noticed:
In the device.c file, the InitFlash() function is mentioned but it is missing!
void Device_init(void)
{
//
// Disable the watchdog
//
SysCtl_disableWatchdog();
#ifdef _FLASH
//
// Copy time critical code and flash setup code to RAM. This includes the
// following functions: InitFlash();
//
// The RamfuncsLoadStart, RamfuncsLoadSize, and RamfuncsRunStart symbols
// are created by the linker. Refer to the device .cmd file.
//
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
//
// Call Flash Initialization to setup flash waitstates. This function must
// reside in RAM.
//
Flash_initModule(FLASH0CTRL_BASE, FLASH0ECC_BASE, DEVICE_FLASH_WAITSTATES);
#endif
.












