# Question about GCC and ARM compiler

**URL:** <https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635>\
**Category:** Development tools\
**Created:** [August 25, 2006, 2:02pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635 "2006-08-25T14:02:45Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![gioiese](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@gioiese](https://forum.sierrawireless.com/u/gioiese)\
**Post date:** [August 25, 2006, 2:02pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/1 "2006-08-25T14:02:45Z")

</div>

Hi,  
I’m new to wavecom and OPEN AT.  
I’ m very confusing.  
My question is:  
Can I use OPEN AT with only GCC compiler or I must work with both (GCC + ARM)?

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [August 25, 2006, 2:45pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/2 "2006-08-25T14:45:46Z")

</div>

Hi gioiese,

You can use it with just the GCC compiler (it is a compiler that generates code for the ARM architecture). You don’t need the commercial ARM compiler that was required with older versions of OpenAT. For debugging you will need Visual C++.

Best Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![gioiese](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@gioiese](https://forum.sierrawireless.com/u/gioiese)\
**Post date:** [August 25, 2006, 4:16pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/3 "2006-08-25T16:16:01Z")

</div>

Hi jan,  
My previous question is relative to the debugging mode of Hello\_Word.  
I’m using Fastrack M1306B, OPEN AT V310, Visual [C++.NET](http://C++.NET) 2003 and when I press the button start of the “Remote Task Monitor” in the window of the TMT I read :

Trace HWL 1 Arm exception 1 12c0a84 900  
Trace GRR 1 Unable to find the string of the remote trace in the file (ID = 4514)  
Trace HWL 1 Arm exception 1 1340a90 900

and in the RTM I read :

+WIND: 3

+CGREG: 0

+CREG: 0

+CGREG: 0

+WIND: 1

+CREG: 2

+WIND: 3

+CGREG: 0

and after null .

Can You Help me?  
Thanks  
Hi

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [August 25, 2006, 10:50pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/4 "2006-08-25T22:50:15Z")

</div>

Hi Gioiese

Are you useing the 655 firmware supplied with openat 3.10?  
You normally get the arm exception error if you use the wrong Firmware  
You can check using ATI3 command  
or you might already have an application running on the modem  
You can stop it with:  
AT+WOPEN=0  
AT+WOPEN=3  
AT+WOPEN=4

Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![gioiese](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@gioiese](https://forum.sierrawireless.com/u/gioiese)\
**Post date:** [August 25, 2006, 11:25pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/5 "2006-08-25T23:25:06Z")

</div>

Hi Walter  
Yes, I’m using the 655 firmware supplied with openat 3.10.

But for Fastrack M1306B wich firmware or open at version can I use?

Thanks  
Hi

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [August 26, 2006, 1:50pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/6 "2006-08-26T13:50:14Z")

</div>

Hi Gioiese  
You can use the following OpenAT versions  
V3.03 OS 6.51a or 6.52  
V3.04 OS 6.52  
V3.10 OS 6.55

So you app should work fine.  
try to reload the “w.dwl”

Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![gioiese](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@gioiese](https://forum.sierrawireless.com/u/gioiese)\
**Post date:** [August 28, 2006, 11:05am UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/7 "2006-08-28T11:05:49Z")

</div>

Hi Walter  
I’m checking ATI3 and AT+WOPEN=2 and this is the result:

641b09gg.Q2406B 1339080 041604 16:04

+WOPEN: 2,“AT v02.10”

In the file “OPEN AT READ ME” in the section “Open AT Samples”  
–\> “Hello World” I read :

“”"""""""""""""""""""""""""""""  
Release version:  
3.10  
Changes  
V2.00 : Initial revision  
V3.00 : No changes  
“”"""""""""""""""""""""""""""""

My question is:

What does not make to work the “OPEN AT SAMPLES”??? The firmware???

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 8, 2006, 10:09pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/8 "2006-09-08T22:09:22Z")

</div>

Hi gioiese  
Sorry for only replying now  
Yes it is the firmware that is preventing the application from working.  
You have to use X-modem to load 6.55 firmware on the modem first and then the openat 3.10 will work  
6.41b is not compatable with openat 3.10 it will only work with openat2.10  
you can find the firmware in the following directory  
C:\OpenAT\Tools\CoreSW\655  
you have to load the firmware in the following order  
dwl.dwl  
655\_\_full\_q2406b.dwl  
655\_w.dwl  
but you must get another file from your distributor  
“dota.dwl”  
and after you have loaded these files into the modem then only will openat3.10 work on your modem  
Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![hslai](https://avatars.discourse-cdn.com/v4/letter/h/85f322/32.png) [@hslai](https://forum.sierrawireless.com/u/hslai)\
**Post date:** [September 12, 2006, 3:48pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/9 "2006-09-12T15:48:19Z")

</div>

Hi Walter,

I am also new to OPEN-AT development. I have the same problem as gioiese. I got those ‘HWL 1 Arm exception’ and ‘Unable to find the string’ error messages.

I am using a Q2400A module. The module is running “AT v02.11”

In my C:\OpenAT\V303\Wavecore Core Software\ directory, I found these files:  
dwl.dwl  
351a\_full\_q2400a.dwl  
351a\_w.dwl

Should I download the above files to the module? Will it compatable will OpenAT3.03?

Thank Millions!  
Andrew

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 12, 2006, 4:15pm UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/10 "2006-09-12T16:15:11Z")

</div>

Hi Andrew  
Yes you have to load the files first  
Here is a compatibility Table for OpenAT thanks to Wavecom  
If you follow this table it will always work 😉  
Best regards  
Walter  
 ![](http://www.senekal.net/openat/ftp/openat_vs_at.jpg)

---

<div class="post-metadata">

**Author:** ![hslai](https://avatars.discourse-cdn.com/v4/letter/h/85f322/32.png) [@hslai](https://forum.sierrawireless.com/u/hslai)\
**Post date:** [September 13, 2006, 3:24am UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/11 "2006-09-13T03:24:34Z")

</div>

Hi Walter,

Thank you so much indeed. It works now.

However, occassionally TMS will show these messages:

- Trace L3RR 1 Unable to find the string of the remote trace in the file (ID = 4102)
- Trace L3RR 1 Unable to find the string of the remote trace in the file (ID = 4795)

Is it normal and should I do something to handle it?

Also, some programming questions:

1. I want to write an application which will start automatically when the module is powered on. Is there any sample code or setup procedure?

2. There are very limited information on OPEN-AT programming on the SDK CD. Is there any useful references on the Internet?

Many thanks!  
Andrew

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 13, 2006, 7:06am UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/12 "2006-09-13T07:06:25Z")

</div>

Hi Andrew  
Any other trace except CUS4 you can ignore  
L3RR = radio resource on layer 3  
The data received is encypted and you need a propper work space to decrypt it.  
And you do not have this kind of file.  
So don’t worry about those kind of strings.  
You only need to worry about  
“HWL 1 Arm exception”  
and “CUS4 traces”  
If you load any application on the modem and you activate with AT+WOPEN=1,then it will start everytime you start the modem.  
For documentation you have to read the ADL user guide  
it is the best resource that you can use.  
Best rgards  
Walter

---

<div class="post-metadata">

**Author:** ![von](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@von](https://forum.sierrawireless.com/u/von)\
**Post date:** [April 3, 2007, 9:24am UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/13 "2007-04-03T09:24:58Z")

</div>

hello,

I tried to download the following files in sequence and i dowload it succesully using xmodem protocol:

dwl.dwl  
657\_\_full\_q2406b.dwl  
w.dwl

But when i reset the modem by issuing AT+CFUN=1 it sends a message “FAULT 04 00000000”. same happen when i power it off and then power on. Please advice. I dowloaded those files to the module to upgrade the firmware of my Q2406B module for me to use OPEN AT 3.12.

Thanks in advance.

Regards,  
Vonlie

---

<div class="post-metadata">

**Author:** ![tomalex](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@tomalex](https://forum.sierrawireless.com/u/tomalex)\
**Post date:** [April 3, 2007, 10:12am UTC](https://forum.sierrawireless.com/t/question-about-gcc-and-arm-compiler/635/14 "2007-04-03T10:12:59Z")

</div>

[http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?t=263&highlight=fault](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?t=263&highlight=fault)

cheers,  
tom
