David Cavanaugh

Programming Flash with BDM

Discussion created by David Cavanaugh on Nov 25, 2008
Latest reply on Nov 25, 2008 by CrasyCat
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??