I'm attempting to program my board with some code using CW 10.6.4 and a Multilink FX, and the device won't erase. What's the best way to root cause this?
I get this:
fl::target -lc "LC for Simple Flash"
fl::target -b 0x1ffff000 0x4000
fl::target -v off -l off
cmdwin::fl::device -d "FTMRE_PFlash128RAM16" -o "32kx32x1" -a 0x0 0x1ffff
cmdwin::fl::erase all
Beginning Operation ...
-------------------------
Performing target initialization ...
Device FTMRE_PFlash128RAM16
Erasing .............
Error: Erase Command Failed. Operation timeout.
Device FTMRE_PFlash128RAM16
An invalid preference was passed to the GDI protocol plugin(ARM GDI Protocol Adapter)
Error: Erase Command Failed.Operation timeout.
Hi Dan,
to solve your problem, we need to know:
1. your chip part number?
2. create a brand new workspace folder, if you create a new project with wizard, can you download the program to target via CW DEBUGGER?
3. test simple flash based on step2. how does it work?
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------