[En-Nut-Discussion] at91sam7x bloader
Szemző András
saam at kometa.hu
Thu Feb 7 15:17:30 CET 2008
Hmm, interesting solution. I'll start playing with my xmodem bootloader (and
see what Ole sended to me)
and first try to make it work. If thats OK, we can discuss the furher steps
and jobs.
Thanks your ideas and help!
Regards,
Andras
-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Alain M.
Sent: Thursday, February 07, 2008 2:09 PM
To: Ethernut User Chat (English)
Subject: Re: [En-Nut-Discussion] at91sam7x bloader
Szemző András escreveu:
> I save some RAM maybe, but I don't really know.
Anyway, you need the recording code in RAM, this is automatic in Nut/OS, but
is taken care in IPL, so be carefull if you play around with more than one
image.
> My exact problem is, what other steps needed before the jump :)
This is a suggestion of how I intend to implement it:
1) link your bootloader as an independant non-Nut program and place it at
the end of flash space, Have a fixed entry.point.
2) Modify the main program's IPL so that as 0x4000 to allways jump to the
bootloader, make a fixed re-entry point, probably something like
0x4004 or 0x4008.
3) Every time the bootloader checks if there is something to do and jumps to
the re-entry point.
This is probaly the implementation that has the least dependancies. The only
thing that could go wrong is if the bootloader is deleted.
Alain
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
_____________ NOD32 2855 (20080207) Információ _____________
Az üzenetet a NOD32 antivirus system megvizsgálta.
http://www.nod32.hu
----
Kometa 99 Élelmiszeripari ZRt.
Székhely: 7400 Kaposvár, Pécsi u. 67-69., Levelezési cím: 7401 Kaposvár, Pf. 58
Cégszám: Somogy Megyei Bíróság mint Cégbíróság 14-10-300239
Adószám: 13749619-2-44
Telefon: 82/502-400, Fax: 82/502-415
http://www.kometa.hu
More information about the En-Nut-Discussion
mailing list