Author Topic: Writing to EEprom  (Read 5746 times)

Nick

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
Writing to EEprom
« on: February 10, 2006, 09:59:44 am »
Hi,

I am programming LPC932 in assembly using Keil uVision V2.40a. My application is countng 500hrs and giving a output high for 10 seconds.
I am using timer0 for generating 1 second, and i am counting 500hrs - 167740. For this i am using r0 to give increment after 40h, and a timer1(counter) for giving overflow tr1 at 1677h. I am using timer0 again to give 10 seconds output hold. I want HELP to program EEProm to store data(ro and Timer1) in the event of powr fail using Brown out detect BOF flag. And the data should be loaded when power returns using POF.

Thanks and regards,
Nick

Nick

erikm

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: Writing to EEprom
« Reply #1 on: February 10, 2006, 03:23:05 pm »
wrong forum

erik

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2105
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Writing to EEprom
« Reply #2 on: February 10, 2006, 03:25:13 pm »
Correct, but I'll give you a hint: www.codearchitect.org

Embedded Systems Academy, Inc.
support at esacademy dot com