CalcFlashCheck_A

on xmega within bootApp

Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

CalcFlashCheck_A

 · 
Gepostet: 03.07.2014 - 12:02 Uhr  ·  #1
Hi,
I am trying to use CalcFlashCheck_A from the bootApplication of my XMega128A3U,
but I get error: "CalcFlashCheck_A" need the system function "boot_init".

If I try to add it, I get error because boot_init not admitted in BootApps...
Doing something wrong or bug ?

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

Re: CalcFlashCheck_A

 · 
Gepostet: 05.07.2014 - 16:38 Uhr  ·  #2
Hello Marco,

A boot application doesn't know anything about the application.
So a FlashCheck for the application out of the boot is not applicable.

rolf
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: CalcFlashCheck_A

 · 
Gepostet: 10.07.2014 - 18:59 Uhr  ·  #3
I want only keep in the Bootapp (flashloader) if the CRC of Application area is wrong...
No way to check this from BootApp ?

Marco
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: CalcFlashCheck_A

 · 
Gepostet: 14.07.2014 - 22:07 Uhr  ·  #4
In a BootApp is there a way to use a CalcFlashCheck function of the Application area ?
I do not agree that a boot application doesn't know anything about the application;
the size and addresses of Application area are well known for every device, and are the only paramters neccessary to compute a CRC...

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

Re: CalcFlashCheck_A

 · 
Gepostet: 16.07.2014 - 20:24 Uhr  ·  #5
Hello Marco,

I must see what I can do for you.

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

Re: CalcFlashCheck_A

 · 
Gepostet: 20.07.2014 - 16:21 Uhr  ·  #6
Hello Marco,

now I have implemented the "CalcFlashCheck_A" for XMega Boot Apps.
Not really complete tested, but it should work. Update at monday.

rolf
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: CalcFlashCheck_A

 · 
Gepostet: 23.07.2014 - 17:10 Uhr  ·  #7
Thank you Rolf !
now I have good reason to renew AVRco Licence :-)

Best regards,
Marco
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: 15 · Cache Hits: 14   126   140 · Page-Gen-Time: 0.022526s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI