|
Read-Only
Author Juan Yanez
Posted 26-Mar-2007 19:44 GMT
Toolset ARM
|
 Programming with uLink2 and AM29F400B
Juan Yanez
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.
|
|
Read-Only
Author Hans-Bernhard Broeker
Posted 26-Mar-2007 22:08 GMT
Toolset ARM
|
 RE: Programming with uLink2 and AM29F400B
Hans-Bernhard Broeker
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).
|
|
Read-Only
Author Juan Yanez
Posted 27-Mar-2007 00:12 GMT
Toolset ARM
|
 RE: Programming with uLink2 and AM29F400B
Juan Yanez
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.
|
|
Read-Only
Author Juan Yanez
Posted 27-Mar-2007 16:03 GMT
Toolset ARM
|
 RE: Programming with uLink2 and AM29F400B
Juan Yanez
Thank you much! That was exactly what I was looking for. I'll let
you know how it goes.
Thanks again for the info.
|
|
Read-Only
Author Juan Yanez
Posted 27-Mar-2007 19:37 GMT
Toolset ARM
|
 RE: Programming with uLink2 and AM29F400B
Juan Yanez
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
|