My application is a data logger using the TS-7260. It has the standard
two line LCD supplied by Technologic. The app. starts and runs well
and after about 15 minutes it shuts of power to the LCD (to conserve
battery power) and stops sending any outputs to the LCD. If I leave it
alone it will run all night without a problem. If I activate one of
the programmed digital inputs the app. turns the power back on to the
LCD, initialises the LCD and then starts sending output to the LCD.
The problem is that after a period of time from re-powering the LCD,
typically 1 min to 30min, the app. will crash. It seems to crash every
time at a point where it is doing a printf command to show current
measured levels (from the ADC) on the com1 port. A sample of three
error outputs after three separate crashes look like..
pc : [<2abb4078>] lr : [<0000fe80>] Tainted: P
sp : 7ffff540 ip : 0001c6fc fp : 7ffffa18
r10: 2ac61884 r9 : 000091b4 r8 : 2ac62d28
r7 : 00000001 r6 : 000118f0 r5 : 2aac72fc r4 : 00080548
r3 : 00000020 r2 : 0000000f r1 : 000a0ff1 r0 : 00024d80
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 05168000 DAC: 00000015
Segmentation fault
pc : [<2abb4078>] lr : [<0000fd98>] Tainted: P
sp : 7ffff540 ip : 0001c6fc fp : 7ffffa18
r10: 2ac61884 r9 : 000091b4 r8 : 2ac62d28
r7 : 00000001 r6 : 000117d8 r5 : 2aac72fc r4 : 00080548
r3 : 00000020 r2 : 0000000f r1 : 000a0ff1 r0 : 00024d80
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 05168000 DAC: 00000015
Segmentation fault
pc : [<2abb4078>] lr : [<00010090>] Tainted: P
sp : 7ffff53c ip : 0001c6fc fp : 7ffffa14
r10: 2ac61884 r9 : 000091b4 r8 : 2ac62d28
r7 : 00000001 r6 : 00011ac4 r5 : 2aac72fc r4 : 000806b0
r3 : 00000020 r2 : 0000000f r1 : 000a0ff1 r0 : 00024de0
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 006CC000 DAC: 00000015
Segmentation fault
I have been chasing this bug for two days so far.. I have tried many
possible solutions. One guess was that I was not giving the LCD
adequate time to power up before re-initialising, but after recoding a
1 second wait the app. still crashes. Can anyone suggest what might be
causing this crash? Any assistance in tracing this bug is greatly
appreciated. The fault codes at the end do not help me because I do
not know how to interpret them. Perhaps you do, or could advise a
resource that might help decode these error messages?
Geoff Veale.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|