[arm-gnu] Compiler versions other than 2009q3-68 all fail??
chen at chinstruments.com
chen at chinstruments.com
Thu Feb 2 20:20:46 UTC 2012
I have code (linked below) that only runs correctly when compiled only with arm-none-eabi version 2009q3-68; the application fails when compiled with _both newer and older versions_ of arm-none-eabi.
The problems were observed on TI's AM1707 EVM Rev. H (ARM926EJ-S core). The code is a bare metal application that runs the EVM board as a generic USB bulk device, with console output via serial port interrupts. Using the same code and EVM board, different behavior is obtained when using different compiler versions (no internal compiler errors for any version):
_Older CodeSourcery versions_ (2009q1-161 and older, through 2008)
* Everything works fine when run from debugger, but...
* USB enumeration fails, but only when application is flashed to the board
_Newer CodeSourcery versions_ (2010q1-188 to 2011.09-69)
* Serial port outputs as gibberish via interrupts (both from debugger and when flashed)
* USB enumeration fails (both from debugger and when flashed)
_CodeSourcery G++ Lite version 2009q3-68_
* Everything works correctly!
* Serial port output works correctly (both from debugger and when flashed)
* USB enumeration and data transfer work correctly (both from debugger and when flashed)
Source code + makefile + long description
<http://e2e.ti.com/support/embedded/starterware/f/790/t/151682.aspx?PageIndex=2#584582>
More on serial port regression
<http://e2e.ti.com/support/embedded/starterware/f/790/t/160340.aspx>
Serial port only code (no USB)
<http://e2e.ti.com/support/embedded/starterware/f/790/t/151682.aspx#570450>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20120202/c8621cf1/attachment.html>
More information about the arm-gnu
mailing list