Problem putting code in flash with CW 7.1 build 14 for MCF52223

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

Problem putting code in flash with CW 7.1 build 14 for MCF52223

ソリューションへジャンプ
1,516件の閲覧回数
skyguy
Contributor III
I have a program that runs fine on my M52223EVB and my custom board in RAM.  I have not succeeded in putting my program in flash.  What am I missing?
1) Set target to INTERNAL_FLASH
2) Compile
3) Start Flash Programmer
4) Unselect 'custom target' to use the default target INTERNAL_FLASH
5) Use the flash memory base address 0x00000000
5) Erase flash - this succeeds and blank checks successfully
6) Attempt to program - I get the error message "0x00000200 bytes of Target Memory at 0x20000000 is not within flash boundaries."
The RAM is set at the default value of 0x20000000, but I don't see how that matters or know what to do about it.
Thanks,
Rick
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
723件の閲覧回数
skyguy
Contributor III
OK, I figured it out.  I'm using the Processor Expert, and didn't understand why there were two instances of the CPU bean.  So I had at some point deleted one of them - the one set up for flash.  Instead of getting an error that there is no processor assigned to the target, you get RAM settings when you compile for flash.  Once I restored another CPU instance and set it to match another project, I could load the flash.


Rick

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
724件の閲覧回数
skyguy
Contributor III
OK, I figured it out.  I'm using the Processor Expert, and didn't understand why there were two instances of the CPU bean.  So I had at some point deleted one of them - the one set up for flash.  Instead of getting an error that there is no processor assigned to the target, you get RAM settings when you compile for flash.  Once I restored another CPU instance and set it to match another project, I could load the flash.


Rick
0 件の賞賛
返信