ARMweb and EINT1
Posted: Fri Jan 25, 2013 4:25 pm
Hi,
I'm working on my first ARMWeb project, and after working with it for a
couple of months without an issue, I've run into a weird problem.
Hopefully someone here can shed some light on it...
I thought the system was running fine on the bench, but when I installed
it the problem started. Quick summary: whenever the program sets two
outputs high to drive a couple of relay boards, I get:
EINT1 341c (or 3418, 3414)
ERROR Expected a constant (this repeats a bunch of times, and then..)
Data Abort 250
The board is running 7.36 firmware, and the application is pretty
simple; check two SPI temperature sensors (on IO 12 and 13), and based
on the result start or stop two fans (driven via 5V relay boards) using
IO 17 and 31. There is a wait(2000) between starting Fan 1 and Fan 2,
and then a wait(60000) before starting the whole process again.
The failure usually occurs right after starting Fan 2. Sometimes the
system will run for hours before it decides to switch on the fans, and
then fail. Weirdest thing is that a couple of times it has actually
switched on the fans and run for an hour or so first..
The only other background info that might be relevant is the power
supply. I have a 5V regulator feeding the relay boards, and the combined
current draw was too great for the PS supplied with the ARMWeb. I am
using an HP bench supply set to 7.5V, which is about the same as the
original, and feeding both the ARMWeb and the regulator from that.
Thanks in advance for any help,
Peter
I'm working on my first ARMWeb project, and after working with it for a
couple of months without an issue, I've run into a weird problem.
Hopefully someone here can shed some light on it...
I thought the system was running fine on the bench, but when I installed
it the problem started. Quick summary: whenever the program sets two
outputs high to drive a couple of relay boards, I get:
EINT1 341c (or 3418, 3414)
ERROR Expected a constant (this repeats a bunch of times, and then..)
Data Abort 250
The board is running 7.36 firmware, and the application is pretty
simple; check two SPI temperature sensors (on IO 12 and 13), and based
on the result start or stop two fans (driven via 5V relay boards) using
IO 17 and 31. There is a wait(2000) between starting Fan 1 and Fan 2,
and then a wait(60000) before starting the whole process again.
The failure usually occurs right after starting Fan 2. Sometimes the
system will run for hours before it decides to switch on the fans, and
then fail. Weirdest thing is that a couple of times it has actually
switched on the fans and run for an hour or so first..
The only other background info that might be relevant is the power
supply. I have a 5V regulator feeding the relay boards, and the combined
current draw was too great for the PS supplied with the ARMWeb. I am
using an HP bench supply set to 7.5V, which is about the same as the
original, and feeding both the ARMWeb and the regulator from that.
Thanks in advance for any help,
Peter