56F8323 switching to external crystal

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

56F8323 switching to external crystal

ソリューションへジャンプ
4,329件の閲覧回数
Dime
Contributor I

Hello,

My program uses an external crystal for the clock. I set everything up using Processor Expert and when running through Code Warrior everything is ok. The problem occurs when my program is started from the bootloader. If I reset my board the bootloader starts up and waits 5 seconds as expected per my settings. After the 5 seconds it jumps to my program but it does not execute properly. I modified my program to use the internal relaxation oscillator and then my program will successfully run from the bootloader. So the problem appears to be the transition from the bootloader which uses the internal relaxation oscillator to my program which is setup to use an external crystal.

Has anyone out there gotten this scenario to work? Any ideas will be greatly appreciated.

ラベル(1)
  • DSC

タグ(1)
0 件の賞賛
1 解決策
1,894件の閲覧回数
burra
Contributor II
Hi,

I have the same problem. I have been talking with Freescale and the problem is when it is switching from bootloader that uses internal to the programcode that uses the external code. Fresscale said that one can reprogram the cpu with a bootloader that uses the external clock then it would not change clock and it would solve the problem.

I have not tested it because it meens that I must reprogram the bootloader on all chips I sell. And that would take to much time. It can the be better to write a own reflash function.

//Bertil

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,895件の閲覧回数
burra
Contributor II
Hi,

I have the same problem. I have been talking with Freescale and the problem is when it is switching from bootloader that uses internal to the programcode that uses the external code. Fresscale said that one can reprogram the cpu with a bootloader that uses the external clock then it would not change clock and it would solve the problem.

I have not tested it because it meens that I must reprogram the bootloader on all chips I sell. And that would take to much time. It can the be better to write a own reflash function.

//Bertil
0 件の賞賛
1,894件の閲覧回数
Dime
Contributor I
Thanks for the information.
0 件の賞賛