Flash Downloader

Is Manual Correct?

  • 1
  • 2
  • Seite 1 von 2
Merlin
Administrator
Avatar
Geschlecht:
Alter: 25
Beiträge: 1474
Dabei seit: 03 / 2005
Betreff:

Flash Downloader

 · 
Gepostet: 22.06.2017 - 18:13 Uhr  ·  #1
I am trying to write my own Delphi program to download to an XMEGA using FlashDownLoader.

But it seems to me that there is an extra 2 byte parameter to the 'D' command that is not documented, and it appears to specify the number of bytes that are to follow.

Am I correct?

Also, can the user signature row be updated with this driver, and if so, how?
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Flash Downloader

 · 
Gepostet: 25.06.2017 - 20:43 Uhr  ·  #2
Hello Merlin,

yes, the UserRow is supported. For better understanding and for
help to build your own one I attach the complete Delphi sources.

rolf
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
Merlin
Administrator
Avatar
Geschlecht:
Alter: 25
Beiträge: 1474
Dabei seit: 03 / 2005
Betreff:

Re: Flash Downloader

 · 
Gepostet: 25.06.2017 - 21:48 Uhr  ·  #3
Thanks Rolf
Merlin
Administrator
Avatar
Geschlecht:
Alter: 25
Beiträge: 1474
Dabei seit: 03 / 2005
Betreff:

Re: Flash Downloader

 · 
Gepostet: 26.06.2017 - 12:55 Uhr  ·  #4
Thanks again Rolf. On reading the source it seems that the extra two bytes I was referring to only apply if the download refers to a CPU and the CPU type is PDI, which I guess includes XMEGAs.

Also sending the user row involves sending the command 'U' which the documentation states 'Host requests an upload of the content of the Loaders buffer'.

Perhaps 'DocuTools' FlashLoader Command list needs updating?

Similarly AVRCo Standard driver section 3.51.5.4 FlashDownloader Functions

Regards
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Flash Downloader

 · 
Gepostet: 27.06.2017 - 15:38 Uhr  ·  #5
Hello Merlin,

the docs are fixed now.

rolf
Merlin
Administrator
Avatar
Geschlecht:
Alter: 25
Beiträge: 1474
Dabei seit: 03 / 2005
Betreff:

Re: Flash Downloader

 · 
Gepostet: 10.07.2017 - 17:17 Uhr  ·  #6
Hi Rolf.

On examining the code further, for XMEGAs at least U erases the User page, (which is the first part of the transfer), followed by D command then R command, which is correctly documented. There are no parameters for U and R commands.

Sorry to have misled you.

Also, Only DocuStdDriver.pdf updated, not DocuTools.pdf.

Regards
Lschreyer
Schreiberling
Avatar
Geschlecht: keine Angabe
Beiträge: 527
Dabei seit: 02 / 2007
Betreff:

Re: Flash Downloader

 · 
Gepostet: 01.04.2018 - 16:58 Uhr  ·  #7
Ich wärme das kurz auf: Welche Delphi-Version benötigt man für die Compilierung des Programms?
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Flash Downloader

 · 
Gepostet: 01.04.2018 - 17:31 Uhr  ·  #8
Hallo Louis,

ich arbeite aus div. Gründen mit D2007

rolf
  • 1
  • 2
  • Seite 1 von 2
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 14 · Cache Hits: 14   137   151 · Page-Gen-Time: 0.02846s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI