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

Programming with uLink2 and AM29F400B

I am using an AM29F400B flash with a AT91M55800A CPU and seems that uvision does not have the required algorithm for the external flash.

Is there a existing algorithm that I could use with this part? If not, could somebody show me the procedure to program my code into the flash?

Thanks.

Parents
  • and seems that uvision does not have the required algorithm for the external flash

    Of course it doesn't --- ULink is for programming the controller itself. There's no way it can know all possible arrangements of how you might have attached other memory chips to the controller, and cover programming them all.

    If you use external EEPROMs, get an external EEPROM programmer to program them, or write your own driver and program them from the controller (on the same port used to access them for reading).

Reply
  • and seems that uvision does not have the required algorithm for the external flash

    Of course it doesn't --- ULink is for programming the controller itself. There's no way it can know all possible arrangements of how you might have attached other memory chips to the controller, and cover programming them all.

    If you use external EEPROMs, get an external EEPROM programmer to program them, or write your own driver and program them from the controller (on the same port used to access them for reading).

Children
  • ok, I relize it is not possible to have all the programming algorithms built in, but that was precisely why I asked Is there a existing algorithm that I could use with this part?. Also, I have no problem writing my own driver, but how do I configure uVision to use my algorithm?

    "If you use external EEPROMs, get an external EEPROM programmer to program them, or write your own driver and program them from the controller (on the same port used to access them for reading)"

    Are you telling me that uVision cannot be used as a standalone programming tool (for production)? That is not what the literature says. It would put uVision at a disadvantage with regards to IAR, CodeWarrior, and virtually hundreds of other vendors. Mind you, with IAR I only had to tell the tool the type of flash that I have, the starting address, what CS line I was using, and a few other parameters.

    If I can only load code into the controller with uVision, I'd like to know now (while my product is still under the 30 day eval period) so that I can dump Keil and go with some other tool.

    Thanks for the info.

  • Thank you much! That was exactly what I was looking for. I'll let you know how it goes.

    Thanks again for the info.

  • Well, I followed the instructions, but I can't get past a linker error:

    AM29F400B.axf: error: L6938E: Invalid value for --ro-base.

    How do I fix this?

    Thanks