Hi everybody,
im am using the CCE V3.1 and want to use the flash monitor example from ti.com (SLAA341).
At first i used the free IAR compiler to test the program and it worked fine (i could enter the commands and the terminal showed me the correct answers).
Then i tried the CCE (which i have to use here at work) but there seems to be a problem with the assembler directives in "flash_monitor.s43". I read chapter C from the "FET Users Guide" (slau157h.pdf) and transformed almost every assembler directive to CCE-compatible directives but i have still some problems:
1. i dont know what to do with ASEG, ASEGN, ORG and RSEG (in another example code ( fet440_uart01_09600) ORG was simply converted to .text!?). Some explications would be nice too.
2. how can i initialize the stack pointer? the line
"mov.w #SFE(CSTACK),SP ; Initialize stackpointer"
doesnt work with CCE...
Maybe there is already a CCE-compatible assembler file (like "flash_monitor.asm")?
I am sorry for my bad english...hope you understand me anyway.
Stephan
Update:
i "eliminated" every error by commenting the line...then i had only 1 error "The following symbols are" at an unknown location (!?)
I found out that #SFE (initializing stackpointer just above) is defined nowhere and after changing it to #0x0800 there no more errors..well, no errors in the code but there are other linking errors :-)
Does anybody know whats the meaning of #SFE ?? (again: there is no definition in any header file! [flash_monitor.h, TargetDefs.h, msp430x44x.h, lnk_mps430f449.cmd])
I know #GIE , for example, which is defined in msp430x44x.h and used in the line above stackpointer initialization...but #SFE?