Hey all,
I've downloaded the core version (16K limited) of CCS v.4.0.1, and I cannot load and debug code in bank 2 of a MSP430F5419 device. This sounds like a very fundamental flaw, having the debugger fail to access all the memory in the device, so I'm wondering if I'm missing something obvious...
To reproduce the problem: W/CCS v.4.0.1, modify lnkxxx.cmd file to allocate the .text section into flash memory starting @ 0x20000:
MEMORY
{
SFR : origin = 0x0000, length = 0x0010
PERIPHERALS_8BIT : origin = 0x0010, length = 0x00F0
PERIPHERALS_16BIT : origin = 0x0100, length = 0x0100
RAM : origin = 0x1C00, length = 0x4000
INFOA : origin = 0x1980, length = 0x0080
INFOB : origin = 0x1900, length = 0x0080
INFOC : origin = 0x1880, length = 0x0080
INFOD : origin = 0x1800, length = 0x0080
FLASH0 : origin = 0x05C00,length = 0x0A380
FLASH1 : origin = 0x10000,length = 0x10000
FLASH2 : origin = 0x20000,length = 0x05C00
INT00 : origin = 0xFF80, length = 0x0002
INT01 ....
SECTIONS
{
.bss : {} > RAM /* GLOBAL & STATIC VARS */
.sysmem : {} > RAM /* DYNAMIC MEMORY ALLOCATION AREA */
.stack : {} > RAM (HIGH) /* SOFTWARE SYSTEM STACK */
.text : {} > FLASH2 /* CODE */
.text:_isr : {} > FLASH0 /* ISR CODE SPACE */
.cinit : {} > FLASH1 /* INITIALIZATION TABLES */
.const : {} > FLASH1 /* CONSTANT DATA */
.cio : {} > RAM /* C I/O BUFFER */
.pinit : {} > FLASH1 /* C++ CONSTRUCTOR TABLES */
.infoA : {} > INFOA /* MSP430 INFO FLASH MEMORY SEGMENTS */
.infoB : {} > INFOB
.infoC : {} > INFOC
.infoD : {} > INFOD
.int00 : {} > INT00 ...
Initiating 'Debug Active Project' fails w/the following err message:
*****************************
MSP430: File Loader: Data verification failed at address 0x00020000 Please verify target memory and memory map.
Error found during data verification. Ensure the linker command file matches the memory map.
*****************************
Any insight would be appreciated.
regards,
gifford scott
DST