Hi Ronco,
The reason of error message
"CCSProtocolPlugin:Error writing memory [Draco/m HIP8: ELF is not in expected HALT mode]"
is my MPC8544 will lose power just right after booting up, so I can connect target with initialization within 3 or 5 seconds after booting, but if I proceed the flash programmer to program binary, it will fail like this error.
I just fix the power supply issue and it can connect without any problem.
However, the board will still be error in flash programmer and the error log is as attached.
I can use command windows to change value of flash, but failed when I click program button in
the flash programmer. Still suspect the initialization file because the HW looks fine.
So, I use 8544ADS_sram_flash.cfg and just change the flash base address to 0xffc00000 in BR0 and OR0 settting because my flash is 4MB. And it works.
So, I would like to also upload my FPDeviceConfig.xml of M29W320ET for people reference.
I'm using 16bit mode of that flash memory, but there is still 8bit mode in my xml file.
And, if you want to use command window to program a single address, please try the commands below:
change p:0xffc00aaa aaaa 16bit
change p:0xffc00554 5555 16bit
change p:0xffc00aaa a0a0 16bit
change p:0xffc00100 3232 16bit
display 0xffc00100
The 0xffc... is my base address of flash, and the aaa/554/aaa is because my least-significant pin
didn't connect my flash device, so I have to shift left by one from the flash data sheet of program command of flash device.
Thank you Ronco, keep fighting!!!