Mon extrême début. deuxième partie.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mon extrême début. deuxième partie.

569 Views
pont
Contributor I

Bonjour, le 17 janvier 2012.

 

Bonne année à tout le monde, merci à tous ceux qui ont tenté de m'aider pour la première partie, dont je dresse le bilan:

 

1) un copain a réussi à charger le CW V6,3, et ça marche, mais on ne sait pas s'en servir, d'où  la Q1: y a-t-il un mode d'emploi, dans le cadre de l'assembleur uniquement?

 

2) j'ai appris sur ce V6,3 qu'il y avait une quantité de familles, définies par deux lettres, comme KS, PG.   etc.. d'où la Q2: où y a-t-il la liste de ces familles avec la description de leur équipement?

 

3) Nulle part on ne voit le source du moindre programme, ne serait-ce qu'un programme vide avec seulement l'entête et la fin, d'où la Q3: quelqu'un pourrait-il avair l'amabilité de me transcrire ici ce petit programme?

 

C'est tout pour aujourd'hui, mais j'ai plein d'autres questions en réserve ! ! ! En particulier je voudrais bien voir un programme, j'ai bien vu un qui présente un montage sur plaque à trous, avec belles photos en couleurs, mais zéro programme.

Très cordialement

pont

Labels (1)
0 Kudos
3 Replies

393 Views
bigmac
Specialist III

Bonjour,

 

1.  Go to the CW installation on your computer (on my computer it is at Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\ ).  Then navigate to Help\PDF\Assembler_HC08.pdf.

 

2.  At the top of this page is access to the Freescale website.  Select the sequence "Products -> 8-bit MCUs -> S08", and you will then see a list of the various device families for the MC9S08.

 

3.  A rudimentary assembly project example may be found within the CW installation, for each device type.  Navigate to ... CodeWarrior for Microcontrollers V6.3\CodeWarrior_Examples\HCS08\Assembly Examples\, and then to the specific device type.  These examples are for relocatable assembly (multiple .asm files allowed within a project).  Another alternative is an absolute assembly project (with a single .asm file allowed).  Absolute assembly makes use of ORG directives.  You should be able to find other assembly examples throughout this forum, using the forum search engine on this page.

 

When you create a new project, assembly or otherwise, the new project wizard should be used.  This should generate a .asm file with an empty framework, and incorporate the "include" files for the device you are using, within the project.

 

Regards,

Mac

 

0 Kudos

393 Views
pont
Contributor I

Hello and thank you BIGMAC for your answer, and all your indications, which I will try to use.

.

On my side, my correspondent found true a French tutorial but it is old, Version 6.1 and the directives undoubtedly changed. But it was a great pleasure for me of finally seeing my first sample program Freescale, bus on the forum it never has there, one would however say that the assembler is prohibited, it is the best language, the only one that the microcontroller can understand. I am very happy to have seen this program, finally, after months of research.

.

A second great success for me is  to have found the assembler manual for microcontrollers, in pdf, on 412 pages, but it is the version 6.1 which is old. This is why I did not print it, by hoping to find version 6.3 if it exists.

.

These two discovered, if I found them in current version, I would not need more anything, I would be autonomous in programming..  It will not any more remain me but to be learned how one welds 80 small wire with the 80 pins of the microcontroller, I suppose that one sticks it initially the back on the printed circuit so that there remains quiet while one welds, it is a true test ' of force '.

In a friendly way

pont

0 Kudos

393 Views
pont
Contributor I

Hello Mr BigMac; Monday January 23, 2012

 

Large thank you for your three réponces very clear. I made profitable your information, and already could in particular approach the families and also the assistance of CW V6,3. I have much advanced thanks to you.

 

In the families, for my future utility, I thought that the USB and conversion ADC 12 bits would be interesting what led me to the model MC9S08JM60 which is equipped with it..

 

But the help of CW uses the MC9S08GB60, therefore I thought that it was more advisable to ensure my results of exercises by working this one initially. Also I printed dated it sheet from the MC9S08GB60.

 

This printing was very heavy, sheet by sheet, 388 that pages makes a book of 20mm thickness, and this morning I am tired! 

 

I do not have any more questions for the moment, because opened you to me the door and maintaining is with me to work, there is to study much. I understand why many beginners prefer C, to avoid learning data sheet.

 

You are really essential in this forum and I hope that you will remain there eternally.

Better wishes for 2012.

Cordially

pont

 

0 Kudos