Programming Flash with BDM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programming Flash with BDM

1,740 Views
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??

 

 

Labels (1)
0 Kudos
1 Reply

296 Views
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 Kudos