FlashDownloader Basic functions for building an own Download

rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

FlashDownloader Basic functions for building an own Download

 · 
Posted: 15.08.2006 - 17:44  ·  #1
Hi,

after some requests, here are two main functions for building an own
PC Downloader. Source in Delphi. No further support.

rolf
You must be logged in or your permissions are to low to see this Attachment(s).
Stefan
Schreiberling
Avatar
Gender: n/a
Location: Bremerhaven
Posts: 640
Registered: 04 / 2002
Subject:

Re: FlashDownloader Basic functions for building an own Download

 · 
Posted: 17.08.2006 - 10:34  ·  #2
Hi Rolf,

thank you 🔝 :bussi:
ames
 
Avatar
 
Subject:

Re: FlashDownloader Basic functions for building an own Download

 · 
Posted: 27.11.2007 - 16:39  ·  #3
Hi,

Does somebody have a working project in Delphi that I can download and modify?
I now use the flashdownloadertool which is provided by the AVR compiler, but I want to make a bootloader that flashes the firmware over a GSM Dataconnection.

thx,

ames
FvMP
 
Avatar
 
Subject:

Re: FlashDownloader Basic functions for building an own Download

 · 
Posted: 29.11.2007 - 19:50  ·  #4
Hello ames,

some time ago, I assembled a Delphi bootloader application mainly for debugging purposes (by setting breakpoints at defined stages of the bootloader transactions). If I remember right, it was basically operational. If this isn't the case, you have to decide yourself if it could be useful as a starting point anyway.

Regards,

Frank
You must be logged in or your permissions are to low to see this Attachment(s).
Lschreyer
Schreiberling
Avatar
Gender: n/a
Posts: 526
Registered: 02 / 2007
Subject:

Re: FlashDownloader Basic functions for building an own Download

 · 
Posted: 16.08.2014 - 17:12  ·  #5
Hallo,

ich möchte gerne den Bootloader in einem Xmega verwenden, mit den Demo-Apps habe ich es auch zum Laufen bekommen.
Jetzt möchte ich den Download gerne in meine eigene Software integrieren, habe das mit den oben stehenden Daten aber so nicht zum Laufen bekommen.

In der Demo "XMega_MainAppS" wartet die Main App auf einem "B" über die serielle Schnittstelle.
"B" ist der Befehl ein Byte ins EEprom zu schreiben.

Code

 ...
   if ch = 'B' then
        EEprom[EEpromEnd]:= $ff;    // invalidate application for Boot usage
        mDelay(10);
        HardwareReset;              // restart with a jump into the Boot
      else
        SerOutE0(ch);               // simply echo the char
      endif;


Sendet der FlashDownloader von Avrco diesen "B"-Befehl vor dem Download?
Das ist im Beispielcode nämlich nicht so.
Ich würde gerne etwas anderes als "B" nehmen, da ich den Befehl anderweitig verwende.

Gibt es irgendwo den Downloader als Delphi-Projekt? Dann könnte ich das leichter integrieren.
Das oben erhältliche dl_test funktioniert nicht, ist wohl schon zu alt?

Louis
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   79   93 · Page-Gen-Time: 0.035551s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI