Other Parts Discussed in Thread: BOOSTXL-BUCKCONV, C2000WARE, POWERSUITE, SYSCONFIG, STRIKE
Tool/software:
Hi,
I'm using the F28004x TIDM DC-DC buck example and migrating it to F280039C control card board, made a few modifications to use 120MHz SYSCLK frequency as shown below, and made changes in ADC configs to read Vin, Vout, Iout - all of which are working fine (compilation and run). But I'm unable to flash the program to the board, though the 2 Boot mode GPIO pins are set to FLASH boot mode - 1. And the disassembly view also shows that the main program and GPIO pins are in the Flash memory addresses, I'm using the f28004x_codestartbranch.asm and f28004x_flash_lnk.cmd files as they are the default ones and no issues are seen during compilation (since F28003x and F28004x have the same Bank0 and Bank1 memory map and sector sizes). But, once the power connection is off and again turned on to the board, then the program doesn't run. The build configuration is set active in RELEASE mode and no other build configuration options are available. Requesting help for methods to flash the codebase.
#define DEVICE_SETCLOCK_CFG (SYSCTL_OSCSRC_OSC2 | SYSCTL_IMULT(48) | \
SYSCTL_REFDIV(1) | SYSCTL_ODIV(4) | \
SYSCTL_SYSDIV(1) | SYSCTL_PLL_ENABLE | \
SYSCTL_DCC_BASE_0)
//
// 120MHz SYSCLK frequency based on the above DEVICE_SETCLOCK_CFG. Update the
// code below if a different clock configuration is used!
//
#define DEVICE_SYSCLK_FREQ ((DEVICE_OSCSRC_FREQ * 48) / (1 * 4 * 1))
Thanks,
Geetha Priya