Find Jobs
Hire Freelancers

Troubleshoot Codewarrior C code for saving variable to freescale micro MC9S08DZ128

$10-30 USD

Completato
Pubblicato circa 3 anni fa

$10-30 USD

Pagato al completamento
I have a variable in the attached code rm2 which is saved to the eprom. After programming the micro (which resets everything), rm2 = 65535, which makes sense. Then I save it with a value of, say, 8. When I restart the micro and read it, rm2 = 8, which makes sense. But if I then save it to some other value, it comes back as the wrong value. Sometimes it comes back as the original 8, sometimes something different. I'm an engineer trying to debug code from a very good programmer, who is no longer with the company. I'm hoping a good programmer can just look at this code an see potential problems for me to try as a fix.
Rif. progetto: 29775957

Info sul progetto

2 proposte
Progetto a distanza
Attivo 3 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
Hey, I think the problem is that you don't erase the sector. ERASE_SECTOR_EEPROM(0x3c58); // last one, doesn't erase 0x3c60 0x3c61 etc.... /* this missing: */ ERASE_SECTOR_EEPROM(0x3c60); //erase 8-byte block? unless you have selected 4-byte sector mapping, still should work though! should be added to the save command. (if each sector erase is 8 bytes) If you need help with anything else, don't hesitate to contact me.
$30 USD in 1 giorno
5,0 (1 valutazione)
1,0
1,0
2 freelance hanno fatto un'offerta media di $45 USD
Avatar dell'utente
I believe that my experience and my technical background makes me a competitive candidate for this task. Especially, my experience about software development, C, C++ and working with embedded systems match with the requirements of project.
$60 USD in 3 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
Livonia, United States
5,0
127
Metodo di pagamento verificato
Membro dal gen 3, 2004

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.