0 оценок0% нашли этот документ полезным (0 голосов)
12 просмотров1 страница
If EEPROM is new or fresh, status will have some garbage value or 0xFF. Which can be a problem on first startup. So a small program is written to clear that status byte. After you finish making the hardware. You have to do the following things: 1. 2. 3. 4. 5. Load voting.hex which is the real control unit program.
If EEPROM is new or fresh, status will have some garbage value or 0xFF. Which can be a problem on first startup. So a small program is written to clear that status byte. After you finish making the hardware. You have to do the following things: 1. 2. 3. 4. 5. Load voting.hex which is the real control unit program.
Авторское право:
Attribution Non-Commercial (BY-NC)
Доступные форматы
Скачайте в формате TXT, PDF, TXT или читайте онлайн в Scribd
If EEPROM is new or fresh, status will have some garbage value or 0xFF. Which can be a problem on first startup. So a small program is written to clear that status byte. After you finish making the hardware. You have to do the following things: 1. 2. 3. 4. 5. Load voting.hex which is the real control unit program.
Авторское право:
Attribution Non-Commercial (BY-NC)
Доступные форматы
Скачайте в формате TXT, PDF, TXT или читайте онлайн в Scribd
i forgot to mention one thing missing in report n coding as well.
actually, in main function of control unit program as soon as controller
enters in it check the value of variable named "status" that resides in EEPROM. If status is 1 then voting start else no voting. if the EEPROM is new or fresh, status will have some garbage value or 0xFF. which can be a problem on first startup. So a small program is written to clear that status byte. After you finish making the hardware. You have to do the following things: 1. Load cufirst.hex file in your controller. 2. Run your circuit. 3. Wait for 2-3 seconds. 4. Load voting.hex which is the real control unit program. 5. Run it.