Anonymous avatar Anonymous committed 3506da9 Draft

doc fix sur la vitesse de transfert

Comments (0)

Files changed (2)

     
     .. code-block :: sh
 
-        putty -serial -sercfg 9600 /dev/ttyUSB0
+        putty -serial -sercfg 57600 /dev/ttyUSB0
 
+.. note::
+    
+    La vitesse (57600 dans l'exemple) dépend de la valeur saisie dans le fichier src/platform/stm32f4/SConscript
+    57600 fait référence à la valeur utilisée dans le dépôt https://bitbucket.org/tuck/pymite
 
 Pymite :
 --------
     o compiler ipm ::
         make ipm
         #démarrer la console ipm
-        python ipm.py -f ../platform/stm32f4/pmfeatures.py  --serial=/dev/ttyUSB0 --baud=9600
+        python ipm.py -f ../platform/stm32f4/pmfeatures.py  --serial=/dev/ttyUSB0 --baud=57600
 
-    o modifier la vitesse de transfert (9600 par défaut) ::
+    o modifier la vitesse de transfert (57600 par défaut) ::
         # modifier le fichier platform/stm32f4/SConscript et transformer la valeur 9600 en 57600
+        # si ce n'est pas déjà le cas ...
 
         vars.Add("PM_UART_BAUD", "Baud rate of the ipm serial connection.", "9600")
-        vars.Add("PM_UART_ALT_BAUD", "ALT Baud rate of the ipm serial connection.", "9600")
+        vars.Add("PM_UART_ALT_BAUD", "ALT Baud rate of the ipm serial connection.", "57600")
 
         # pour passer à 57600 bauds (nettement plus rapide :) )
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.