Re: change from GT16 to GT16A programming

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Re: change from GT16 to GT16A programming

ソリューションへジャンプ
1,555件の閲覧回数
yyLeung
Contributor I

Dear all,

In past, we use codewarrior (ver. 5.6.1.1506 ) to program GT16 CPU and works fine. (But we need to select GT60 when programming and real-time debug). The hardware uses Zigbee module (MC13192 as external clk)

Now we need to change the CPU to GT16A. However, the program cannot be download to the CPU with the error as listed below

(Error loading programming algorithm – load aborted)

(Error occurred during Flash programming)

(ERROR 14 during programming!)

 

Then we try to select GT16 when programming the GT16 CPU and GT16A CPU. It can download into the CPU but halt while running in real-time debugger as listed below

STARTED
Frequency change to ~3910272hz.
RUNNING
HALTED

 

It stop at the DisableInterrupts command in start08.c  as listed below

void _Startup(void){

#ifdef __ELF_OBJECT_FILE_FORMAT__
  DisableInterrupts;  /* in HIWARE format, this is done in the prestart code */
#endif

 

If anyone can give me a hand.

regards

martin

 

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
545件の閲覧回数
peg
Senior Contributor IV
Hello Martin,

I believe the following may be your problem.
The flash programming algorithm for the GT16 contains a bug. This bug does not affect operation/programming with the GT16 but if you try to use it with a GT16A the bug will be exposed by changes that exist with the A version. Had the problem not been there the same algo would work for both.
So the answer is: Make sure you are using the GT16A algorithm with the GT16A

Some other posts on this for further research:

7187
6712
8006

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
546件の閲覧回数
peg
Senior Contributor IV
Hello Martin,

I believe the following may be your problem.
The flash programming algorithm for the GT16 contains a bug. This bug does not affect operation/programming with the GT16 but if you try to use it with a GT16A the bug will be exposed by changes that exist with the A version. Had the problem not been there the same algo would work for both.
So the answer is: Make sure you are using the GT16A algorithm with the GT16A

Some other posts on this for further research:

7187
6712
8006

0 件の賞賛
返信