Cannot Write to ram for flash Algorithms
This can have two reasons:
A) JTAG clock set to high. Use rtck or 200 kHz as jtagclock for this device.
B) Project-options-utilities-ulink settings-ramfor algorithm incorrect. shocould be start: 0x40000000 size: 0x800 for thisdevice.
Mdk422 official solution:
Http://www.keil.com/support/docs/3561.htm
Ulink: Error: cannot write to ram forflash Algorithms
Information in this Knowledgebase article applies:
§ The MDK-ARM version 4.22 ()
§ Ulink2 USB-JTAG Adapter
§ Ulinkpro USB-JTAG Adapter
Symptom
Flash download does not work with Texas Instruments (former luminary) lm3sxxx devices in MDK-ARM version 4.22 (a) when reset-type"Autodetect"Isselected in
The ulink2/Pro driver setup dialog. the following error dialog isdisplayed:(Change to the last one below)
Cannot Write to ram for flash algorithms!
Resolution
Please download the attached ZIP file and extract it thenC: \ Keil \ Arm \ binFolder. If MDK-ARM is installed in adifferent folder, Please adapt the path accordingly.
Status
This issue will be solved in MDK-ARM Versions greater than4.22. the attached files only work for MDK-ARM version 4.22!
Attached files
RequestFiles attachedTothis Knowledgebase article.
Forum threads
The followingDiscussion ForumThreads may provide informationrelated to this topic.
§& Quot; cannotwrite to ram for flash algorithms & quot;
Last reviewed: Wednesday, October 12,201 1