[arm-gnu] (no subject)

chen at chinstruments.com chen at chinstruments.com
Fri Feb 3 15:25:56 UTC 2012


resend again as plain text (no html or attachment)

---------------------------- Original Message ----------------------------
Subject: Compiler versions other than 2009q3-68 all fail??
Date:    Thu, February 2, 2012 2:20 pm
To:      arm-gnu at codesourcery.com
--------------------------------------------------------------------------

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
- Hide quoted text -
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>



More information about the arm-gnu mailing list