Programming Flash with BDM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Programming Flash with BDM

2,630 次查看
davidcav
Contributor II
Is there any way to write my  program directly to flash using the Codewarrior BDM debugger.   I am using a MC68332 with external flash chip (Atmel AT49F002N).  However, I cannot seem to get codewarrior to lode to flash.  The only way I can really access the flash is by using a config file (i.e and commands below to write to location 0x500):
 

writemem.b 0x5555 0xAA

writemem.b 0x2AAA 0x55

writemem.b 0x5555 0xA0

writemem.b 0x0500 0x44

Is there a way to configure the codewarrior target to load to flash (i.e. perfom flash write commands) when debugging??  Is there a flash driver somewhere??

 

 

标签 (1)
0 项奖励
回复
1 回复

1,186 次查看
CrasyCat
Specialist III
Hello
 
CodeWarrior for M68K V3.2 is not delivered with a flash programming utility.
If you need to load your S record to flash you have to use an external flash programming tool.
 
If you are using a cable from P&E, you should be able to find a flash programmer there.
 
CrasyCat
0 项奖励
回复