Simulavr and GDB
Simulavr and GDB are parts of WinAVR project. Simulavr simulates AVR running, offers socket connection to the GNU debugger (GDB) over TCP port 1212. The software developer interacts with GNU debugger front end , which communicates with simulavr. Theoretically, AVRStudio from Atmel has a built-in simulator, and can load WinAVR code for simulation. However AVRStudio always prompts me a system fatal error and exits.
To invoke Simulavr, type following command in one DOS command session.
simulavr –d atmega128 –g
The command stands for simulation of ATMEGA128 and waiting for a GDB connection. You will see the ATMEGA128's registers are listed on screen. Some of the registers are not fully implemented in the simulator, which are marked as TODO. The simulavr will display invalid access to register in case the user code try to access the unimplemented registers.
To use GDB, goes to the source directory, open another DOS command session, and type
Lo schema elettrico può essere suddiviso in 5 blocchi:
Alimentazione
Microcontroller
Ingressi
Uscite
GSM
Tramite il vostro cellulare è possibile attivare e disattivare, in modo permanente o impulsivo, apparati remoti tramite una chiamata senza costo o inviando un SMS al dispositivo (al numero di telefono della SIM inserita).
Il dispositivo risponde dando conferma dell’evento avvenuto tramite SMS di risposta o RING (squillo) di segnalazione.
IperGATE è fornito in contenitore per montaggio su guida/barra DIN
L’idée est née de la conscience qui chacun a dans le tiroir au moins un téléphone mobile vieux que pour des variées raisons n'est pas utilisé! La suivante application je l'ai réalisée personnellement en utilisant un micro contrôleurs PIC relié à un portable Ericsson T18, en testant la compatibilité même avec A1018 et T28. Mais ensuite l’idée n'a pas été commercialisée pour des raisons de difficile reperibilite des connecteurs, il peut être très intéressante, par contre, pour emploie de HOBBY.
En outre à la fin du post tu peux voir les links pour avoir autres combinations de Microcontroller et portables.
L'objectif est d'activer de la distance (la chaudière,l' irrigazione..etc.) ou bien recevoir SMS en cas d'alarme (le gaz ou le dispositif antivol) en redonnant de la vie de cette manière à notre vieux “cellulaire”.
GSM2 [ Télécontrôlle GSM bidirectionnel - l'activeur lointain- le récepteur des alarmes SMS - ]
Celle-ci est la photo de projet fini, les composants manquants sont facultatifs, comme, par exemple, le Quartz Y1 (il a été employé celui interne PIC) ou du connecteur J1 (Connecteur PS2 pour la programmation des messages par le clavier). Le connecteur J2 est utilisé pour joindre GSM2 au portable, donc il faudra employer un câble avec des connecteurs adaptés évidemment au portable employé.

De suivi TOUTE la documentation pour la réalisation de ce projectGSM2
Pour envoyer SMS (Short_Message_Service) avec le module TELIT GM862:
(je rappelle que l'équivalent à Carriage Return, ASCII 13 dans décimal)
Je vous rappelle toujours de faire référence aux commandements AT présentes dans le manuel du GM862
Pour SETE la SIM comme mémoire predéfinie:
AT+CPBS="SM"
Pour TROUVER un nombre de TÉL de la SIM par le NOM
ATD+3900000000;
Pour appeler un nombre international de téléphone.
Les zéro représentent le nombre pendant qu’il est le return équivalent aux ascii décimal 13)
ATD>x
Pour appeler le nombre x de la rubrique dans la SIM.
ATTENTION en ce dernier cas ils sont nécessaires les suivants configurations:
En développant un appareil qui utilise le module GM862 Telit,
j'ai découvert que les sms qu'ils ne réussissont pas à rejoindre, ils vont à le centre des services, où ils sont parqués et pas toujours ils y sont envoyés quand nous sommes accessibles! Parfois ils sont mis dans un black-list, autres fois ils ne sont pas vraiment envoyés ! Le problème est de protocole GSM, il semble être un bug ! Quand un terminal se joint au network, le network ne s'apercevoit pas des riconnexions, donc nous devons faire “entendre” la notre présence. En envoyant SMS, un appel, ou une demande au network, comme le dernier nous répondra, alors il nous enverra tous le sms non-envoiés!
The idea was born from the knowledge that everyone of us has in the drawer at least one old GSM phone, that, for varied reasons, we do not use! The following application is realized using a PIC microcontroller connected to Ericsson T18 phones, testing the compatibility also with A1018 and T28. But it is not commercialized for reasons of difficult availability of the connectors, instead it can be a lot interesting for hobby use.
Moreover at the end of the post you can view the links for having other combinations of Microcontroller and cell phones.
The target is remote activated (boiler, control relais..etc.) or receiving SMS in alarm case (gas or burglar alarm) to give again a life to our old cellular
GSM2 [ bidirectional GSM Remote Control - remote activator - receiver of SMS alarms - ]
This is the picture of the ended project, the missed components are optional (Quartz Y1 and J1 connector...).The J2 connector is used in order to connect GSM2 to phone, therefore you will have to use a cable with connectors evidently adaptable to the used telephone.

This is ALL the documentation for the realization of GSM2 design.
For setting the SIM Card like predefined memory:
AT+CPBS="SM" < CR>
TO FIND a PHONE NUMBER from the SIM CARD by inserting the NAME
|