Other Parts Discussed in Thread: UNIFLASH
Environment: CCS v12.4.00007
Steps taken:
- Created a new project from the CCS menu bar, setting TMS320F280033 as the target.
- Set the project name as "test."
- Configured Connection to XDS2xx USB Debug Probe, and set JTAG Mode to cJTAG (1149.7) 2-pin advanced modes.
- Ran Debug, receiving the following error, but RAM execution is possible:
C28xx_CPU1: GEL: Error while executing OnReset(0): identifier not found: SYSCTL_O_DC21
at (0x0005D000+SYSCTL_O_DC21) [f280033.gel:814]
at Device_Config() [f280033.gel:192]
at OnReset(0) - Ended Debug execution, and changed the Linker command file to F280033_flash_lnk.cmd in Project Property.
- Default FlashROM sections of F280033_flash_lnk.cmd do not include Bank0's Section0~Section7, so they cannot be used as is. Therefore, all settings in BANK0 were changed to BANK1.
(Example: FLASH_BANK0_SEC2 > FLASH_BANK1_SEC2)
Also, since GAP is included in GROUP memory ranges, change as follows:
BEGIN : origin = 0x088000, length = 0x000002
FLASH_BANK0_SEC8 : origin = 0x088002, length = 0x000FFE - Running Debug in this state results in the following error messages in the console, and Flash writing fails:
C28xx_CPU1: Flash Programmer: Missing Flash Programming Settings.
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: C:\workspace_v12\test\Debug\test.out: Load failed.
The full log displayed in the console is as follows:
C28xx_CPU1: GEL Output:
RAM initialization done
C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: GEL: Error while executing OnReset(0): identifier not found: SYSCTL_O_DC21
at (0x0005D000+SYSCTL_O_DC21) [f280033.gel:814]
at Device_Config() [f280033.gel:192]
at OnReset(0)
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: GEL: Error while executing OnReset(0): identifier not found: SYSCTL_O_DC21
at (0x0005D000+SYSCTL_O_DC21) [f280033.gel:814]
at Device_Config() [f280033.gel:192]
at OnReset(0)
C28xx_CPU1: Flash Programmer: Missing Flash Programming Settings.
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: C:\workspace_v12\test\Debug\test.out: Load failed.
Could you please let me know if there is any solution or additional settings required? Thank you.