Hi,
I've my own OS for x86 arch.
I use a DOS program to prepare MBR and copy OS to HDD. In my system I also have a watchdog board so this program, during boot time, refreshes WD timer until OS starts execution.
This utility works well on Intel Pentium M CPU board. If I try to use it on a new Intel Atom or Intel Core i7 CPU boards it has a strange behaviour.
In details the program assigns my own ISR to IRQ 8 line interrupt call (reserved by BIOS to onboard RTC) with a simple call:
_dos_setvect (0x70, myOwnHandler);
The ISR works fine. The watchdog board is correctly refreshed...
... but during the copy of files from usb to hard disk and then from hard disk to usb pen (for check purpose) the ISR is not served and the watchdog turns-off.
Can you help me?
Thanks.
Context:
C program (MS VS compiler), DOS, CPU Intel Atom, SSD (solid state disk), USB 2.0
Note:
Pentium M board has IDE HDD. Atom board has SATA SSD (compatibility mode selected in BIOS).
real time clock interrupt issue
real time clock interrupt issue
Last edited by Luca83 on Thu Jun 07, 2012 6:33 am, edited 1 time in total.
- Griwes
- Member
- Posts: 374
- Joined: Sat Jul 30, 2011 10:07 am
- Libera.chat IRC: Griwes
- Location: Wrocław/Racibórz, Poland
- Contact:
Re: real time clock interrupt issue
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
Re: real time clock interrupt issue
Thanks for reporting the typo.
Of course I referred to solid state disk... SSD.
Of course I referred to solid state disk... SSD.