OT: What to do with "warning: data error at" ?

45 views
Skip to first unread message

Oliver Seitz

unread,
Jan 7, 2013, 10:50:45 AM1/7/13
to jal...@googlegroups.com
Did not go through after over four hours... Trying again.

Hi all!

Has anyone ever gotten errors like

program.jal:2174: warning: data error at 0x0000174e

?

I did not do anything special, added a single byte variable, and suddenly I'm getting 77 errors like that. I've commented out that variable, the errors are still there.

Can I do anything about that?

Greets,
Kiste


Sunish Issac

unread,
Jan 7, 2013, 9:47:27 PM1/7/13
to jal...@googlegroups.com
I've got a warning like

[Warning] (16f886_rtc_1307_lcd_blinktimeset.jal) [Line 253]  branch error at 0x04f3: got 0xffffffff expected 0x04da

Not sure what the reason is, but the program seems to work fine.Version of the compiler 2.4p

Sunish

--
You received this message because you are subscribed to the Google Groups "jallib" group.
To post to this group, send email to jal...@googlegroups.com.
To unsubscribe from this group, send email to jallib+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jallib?hl=en.

zmafoox

unread,
Jan 8, 2013, 2:31:02 PM1/8/13
to jal...@googlegroups.com
Greetings,


On Monday, January 7, 2013 6:47:27 PM UTC-8, Sunish Issac wrote:
I've got a warning like

[Warning] (16f886_rtc_1307_lcd_blinktimeset.jal) [Line 253]  branch error at 0x04f3: got 0xffffffff expected 0x04da

This is bad. The compiler has put out bad code that will likely do bad things.

--kyle

Oliver Seitz

unread,
Jan 9, 2013, 1:40:32 AM1/9/13
to jal...@googlegroups.com
I've got a warning like

[Warning] (16f886_rtc_1307_lcd_ blinktimeset.jal) [Line 253]  branch error at 0x04f3: got 0xffffffff expected 0x04da

This is bad. The compiler has put out bad code that will likely do bad things.

--kyle
 

So this is bad and possibly dangerous. Does this imply that "data error" is something like harmless?

Greets,
Kiste

Sunish Issac

unread,
Jan 9, 2013, 3:48:30 AM1/9/13
to jal...@googlegroups.com
How do you want the code to be sent for debugging ?

Sunish

To view this discussion on the web visit https://groups.google.com/d/msg/jallib/-/FCFEsvIvjc4J.

zmafoox

unread,
Jan 10, 2013, 10:46:32 AM1/10/13
to jal...@googlegroups.com
Greets,


On Wednesday, January 9, 2013 12:48:30 AM UTC-8, Sunish Issac wrote:
How do you want the code to be sent for debugging ?

The best way is package everything required to build the project (all libraries, etc) along with the flags you use to compile & email me. Alternately, compile with '-debug' and send me the resulting .asm. This will allow me to see the problem, but not necessarily determine the root cause.
--kyle

zmafoox

unread,
Jan 10, 2013, 10:49:26 AM1/10/13
to jal...@googlegroups.com, Oliver Seitz
Greetings,,
No. After compilation, the compiler makes a pass through the generated code to determine if, for each data access the data bits are correctly set, and for each branch that the branch bits are correctly set. Either data or branch errors should be considered critical. They come off as warnings because I wasn't initially sure the checking logic was correct.
The code *could* work correctly, but its not guaranteed.
--kyle
Reply all
Reply to author
Forward
0 new messages