TP4 bosio@lirmm.fr.

Slides:



Advertisements
Présentations similaires
How to play Divide class into 2 teams Teams take in turns to pick a number, read the word aloud & identify the word class and decide if they want to keep.
Advertisements

Primary French Presentation 2 Saying How You Are.
Dans ma région il y a… Le but: In this lesson you will learn how to say what facilities are in your area.
Eri Prasetyo Universitas Gunadarma
Saying what you have been doing
Notes for teachers: Olympics 2012 Project – parts of body Instructions for using these slides & attaching soundfiles if desired are in the notes pages.
Voici une liste de mots FLASH! Lis les aussi vite que tu lis ton nom 
VOICI UNE LISTE DE MOTS FLASH! LIS LES AUSSI VITE QUE TU LIS TON NOM Mots de haute fréquence pour la troisième année – un Power Point pour pratiquer et.
VOICI UNE LISTE DE MOTS FLASH! LIS LES AUSSI VITE QUE TU LIS TON NOM Mots de haute fréquence pour la sixième année – un Power Point pour pratiquer et développer.
FORMING QUESTIONS ????????????????? ??. 3 WAYS TO ASK YES/NO QUESTIONS 1. Make your voice rise at the end of a sentence (Note: Your voice WILL rise at.
Let’s go back to the verb endings. What are our 3 infinitive endings? ER IR RE What is an infinitive? An unconjugated verb In other words, a verb in the.
Qui est présent? Écoutons Les préférences Vocabulaire: les activités Panorama Culturel.
2 La négation Les normes: –Communication 1.2 –Comparisons 4.1:
En classe avec M. Rocque Aim: to be able to write to a hotel or campsite in France. Une lettre.
SPLUS Comment ouvrir SPLUS?  Logiciels… Biologie/Biology… SPLUS Où sont les données?  G:\DATA\BIOLOGY\Bio4x18\Lab Data\SPLUS 
VOICI UNE LISTE DE MOTS FLASH! LIS LES AUSSI VITE QUE TU LIS TON NOM Mots de haute fréquence pour la Deuxième année – un Power Point pour pratiquer et.
Nous parlons des matières Buts: To be able to give extended opinions on school subjects To express agreement or disagreement.
Flash-on-flash-off! You will see some French text in a minute but it will only be on the board for a minute then it will disappear.
Persuasif. 12.5% of test (1/8) You will read a source, interpret a graphic and listen to an audio source. YOU MUST REFERENCE ALL 3 SOURCES IN YOUR ESSAY!!!!!
The 4th Power Places and Forms of power How reliable are our sources of information today ? The media.
Put these phrases into 4 categories, and decide on a title for each category. There may be more than one possible answer! boire de l’eau manger des fruits.
Making PowerPoint Slides Avoiding the Pitfalls of Bad Slides.
1 Case Study 1: UNIX and LINUX Chapter History of unix 10.2 Overview of unix 10.3 Processes in unix 10.4 Memory management in unix 10.5 Input/output.
IP Multicast Text available on
Les devoirs - homework Instructions:
Notes le 2 mars Le verbe ALLER.
Contractions with à and de
LES MODULES PLAN DE DEVELOPPEMENT PERSONNEL LEADERSHIP ART ORATOIRE.
Téléchargement IOS - Commande tftpdnld du ROM Monitor
TP3
Qu’est-ce qu’ils aiment faire?
l y a which we have already learned means “there is/are l y a which we have already learned means “there is/are.” When we put a measure of time.
Quantum Computer A New Era of Future Computing Ahmed WAFDI ??????
Warm-Up: In your notebook, please write the date, the following question (the part in bold), and your answer. Once you know someone, what’s something you.
Present Perfect Simple X Present Perfect Continuous.
Conditional Clauses By Mª Mercedes Sánchez Year
F RIENDS AND FRIENDSHIP Project by: POPA BIANCA IONELA.
in French and in English
Essai
Contractions with à and de
Qu’est-ce que tu as dans ta trousse?
Respond to bullet points – 90 words [16 marks]
Les Couleurs.
LES MEMOIRES.
Qu’est-ce que tu as dans ta trousse?
Classroom Expressions
Essaie Persuasif.
Roots of a Polynomial: Root of a polynomial is the value of the independent variable at which the polynomial intersects the horizontal axis (the function.
Quelle est la date aujourd’hui?
1-1 Introduction to ArcGIS Introductions Who are you? Any GIS background? What do you want to get out of the class?
Vulnerability Analysis by : Wail Belhouchet Dr Djouad Tarek 1.
Question formation In English, you can change a statement into a question by adding a helping verb (auxiliary): does he sing? do we sing? did they sing.
Global Challenge Capteur de nuit Leçon 2.
Making PowerPoint Slides Avoiding the Pitfalls of Bad Slides.
POWERPOINT PRESENTATION FOR INTRODUCTION TO THE USE OF SPSS SOFTWARE FOR STATISTICAL ANALISYS BY AMINOU Faozyath UIL/PG2018/1866 JANUARY 2019.
© by Vista Higher Learning, Inc. All rights reserved.4A.1-1 Point de départ In Leçon 1A, you saw a form of the verb aller (to go) in the expression ça.
Point de départ You’ve learned how the passé composé can express past actions. Now you’ll learn another past tense, the imparfait (imperfect). © 2015.
L’école La maîtresse La cour En classe En rangs Le surveillant Le directeur Le chouchou Les camarades L’élève Les cahiers Le bureau Sage Embêté Meilleur.
C021TV-I1-S4.
5S Methodology How to implement "5S" and get extraordinary results.
Répondez aux 5 questions – Travaillez à deux
Avoiding the Pitfalls of Bad Slides Tips to be Covered Outlines Slide Structure Fonts Colour Background Graphs Spelling and Grammar Conclusions Questions.
Le Passé Composé (Perfect Tense)
Lequel The Last Part.
University : Ammar Telidji Laghouat Faculty : Technology Department : Electronics 3rd year Telecommunications Professor : S.Benghouini Student: Tadj Souad.
Réflexifs.
Presented by:  RAMMACHE Soumia  KAISSARI Kawther.
Transcription de la présentation:

TP4 bosio@lirmm.fr

Flash Memory Flash memory is a non-volatile computer storage chip that can be electrically erased and reprogrammed Flash memory is non-volatile, meaning no power is needed to maintain the information stored in the chip Flash memory offers fast read access times (although not as fast as volatile DRAM memory used for main memory in PCs) and better kinetic shock resistance than hard disks Limitations: - although it can be read or programmed a byte or a word at a time in a random access fashion, it can only be erased a "block" at a time (once a bit has been set to 0, only by erasing the entire block can it be changed back to 1)

Flash Memory Flash is Memory Mapped: can be accesses trough its address Your code is written from address 0x0800 0000 Your Board has 256Kbyte of FLASH, how many blocks are available?

Flash Organization The memory organization is based on 128 pages of 2 Kbytes STM32F303xB/C and STM32F358xC devices, 256 pages of 2 Kbytes STM32F303xD/E An information block Internal Registers

How to… I want to store data in flash. How can I store data in flash memory? Unlock the Flash Clear All pending flags Erase the FLASH page Program Flash Bank1 (write) Lock the Flash Now you can read stored data...

Exercice 1 Télécharger le programme http://www.lirmm.fr/~bosio/L3/Flash.c Utiliser le debugger pour vérifier le fonctionnement du programme Option “Memory Browser” pour visualiser le contenu de la memoire FLASH

Exercice 2 Ecrire un programme pour compter le nombre de  “double- click” sur le bouton dans un intervalle de 30 seconds. Pendant le 30 seconds, le LED4 doit rester allumé Apres 30 seconds (le LED4 s'eteign) et le programme écrit dans la flash le nombre de doubleclick. Enfin, dès qu’il y a un double-click sur le bouton, le programme va lire la valeur sauvegardée dans la flash et : Allume le LED3 si la valeur est inférieur à 5 Allume le LED7 si la valeur est supérieur ou égale à 5

Exercice 3 Ecrire un programme pour compter le nombre de  “double-click” sur le bouton dans un intervalle de 30 seconds. Pendant le 30 seconds, le LED4 doit rester allumé Apres 30 seconds (le LED4 s'eteign) et le programme écrit dans la flash le nombre de doubleclick. Debrancher la carte Rebrancher la carte (sans reprogrammer la carte avec le debugger) : Le programme doit lire dans la flash la valeur sauvegardée et : Allume le LED3 si la valeur est inférieur à 5 Allume le LED7 si la valeur est supérieur ou égale à 5

Exercice 4 (optionel) Modifier l'exercice 3 pour permettre de re- initaliser le programme Pouvoir sauvegarder une nouvelle valuer de doubleclick