Hello Rich T !
Tanks for your help. However, I've a little problem:
I try to compile flexis.mcp under 6.2, but I've only a free version, and it tell me that I can't compile it because the version which I used was free and limited.
So I tried under 6.1. CW ( free edition too) ask me if I want to downgrade the project - I must answer yes. After choosing the target and compiling the project, I've an error, about one line in ASM ( I don't understand ASM ). I paste you the problematic code section:
// early C initialization, and compatible upgrade (page0)
Q2(jsr, p0_c_startup)
// set up the real stack pointer
Q3(lea, _SP_INIT,a7)
#if ! BADGE_BOARD && ! DEMO_KIT
// late C initialization, post-upgrade (init(), page1 indirect)
Q3(lea, VECTOR_OLD_INIT,a0) // This is the line 295 !!!!!
Q3(move.l, (a0),a0)
Q2(jsr, (a0))
#else
Q2(jsr, init)
#endifThe error of the compilator is :
Error : ',' expected
startup.c line 295 {(asm macro expansion):1} lea (0+0x0808),a0
Project: flexis.mcp, Target: Skeleton 51JM128, Source File: startup.c
I don't know how to solve it. If the project is preprocessed, It's getting:
jsr p0_c_startup
lea _SP_INIT,a7
lea (0+0x808),a0 // This is the line 295 !!!!!
move.l (a0),a0
jsr (a0)
nop
halt
}
To solve, it, I tried to comment it ( ooops, but, it has worked well ). But, when the skeleton is loadedinto the MCU, the program doesn't run continuesly ( I must clic on the green flesh, because the program stop itself after 1 or 2 seconds of running). :c
How to solve it ? Must I go under 6.2 ?
Okay, and, if I understand you well, I can set a comunication with HyperTerminal, for example ? But what are the settings ? ( beaud rate, parity, number of bytes etc ...)
Thanks again for your help