Anonymous avatar Anonymous committed e4dcf07

para sur baud/ipm

Comments (0)

Files changed (1)

         #démarrer la console ipm
         python ipm.py -f ../platform/stm32f4/pmfeatures.py  --serial=/dev/ttyUSB0 --baud=9600
 
+    o modifier la vitesse de transfert (9600 par défaut) ::
+        # modifier le fichier platform/stm32f4/SConscript et transformer la valeur 9600 en 57600
+
+        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")
+
+        # pour passer à 57600 bauds (nettement plus rapide :) )
+
+        vars.Add("PM_UART_BAUD", "Baud rate of the ipm serial connection.", "57600")
+        vars.Add("PM_UART_ALT_BAUD", "ALT Baud rate of the ipm serial connection.", "57600")
+        
+        # recompiler ensuite le binaire et recharger le main.elf sur le STM32F4
+        scons PLATFORM=stm32f4
+
 .. note::
 
-    Pour rappel (comme toujours) tout doit être exécuté, compilé avec python 2.6
+    Pour rappel (comme toujours) tout doit être exécuté et compilé avec python 2.6
 
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.