This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FLASH Programming errors

I am trying to create a FLASH programming algorithm for the Intel 28F320C3TC90 FLASH.

I am using the Keil tools as specified in the help section.

I am using the RealView Debug V1.8 as the ARM compiler.

I can compile without any errors. Just warnings about the command line parameters. i.e.

28F320C3TC90.axf: Warning: X0010W: Old syntax, please use '--info'.

When I tried to build the algorithm using the given FLASH.lib I get the following error:

28F320C3TC90.axf: Error: L6242E: Cannot link object Flash.lib as its attributes are incompatible with the image attributes.
Target not created

What is in the FLASH.lib file that might be causing this?

I also tried to build one of the provided algorithms and got the same error.

Is there another way to build a FLASH programming algorithm using the KEIL tools?

Thanks

Parents
  • Eric;
    Yes you can build Flash utilities with Keil Tools. No you can't build the Arm Flash Utility with Keil Tools unless you have the Arm Flash Lib source files. These are contained in the ARM AFS toolset along with several examples.
    If you want to build a more generic Flash utility for this chip, I suggest that you start by downloading a Flash source such as the StMicro AN1481 or AN1587. These contain all the low level routines (in 'C'). You will need to modify the map for your device(block size, offset commands, etc.) Next you simply build a small GUI to call the commands you need such as Block Erase or Chip Erase or Byte Write, etc.
    You can also build this with the ARM tools and generate an .afx file to use via RealView AXD.
    Bradford

Reply
  • Eric;
    Yes you can build Flash utilities with Keil Tools. No you can't build the Arm Flash Utility with Keil Tools unless you have the Arm Flash Lib source files. These are contained in the ARM AFS toolset along with several examples.
    If you want to build a more generic Flash utility for this chip, I suggest that you start by downloading a Flash source such as the StMicro AN1481 or AN1587. These contain all the low level routines (in 'C'). You will need to modify the map for your device(block size, offset commands, etc.) Next you simply build a small GUI to call the commands you need such as Block Erase or Chip Erase or Byte Write, etc.
    You can also build this with the ARM tools and generate an .afx file to use via RealView AXD.
    Bradford

Children