User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/omni-base_software.meta failed
tutorials:omni-base_software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:omni-base_software [2019/03/15 14:46] – [Requirement] bmoreratutorials:omni-base_software [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Omni-base software ======+====== Open-CoRoCo software ======
  
 ===== Environment setup ===== ===== Environment setup =====
Line 10: Line 10:
  
 ==== Required packages ==== ==== Required packages ====
-The follow packages should be installed:+The following packages should be installed:
  
-- arm-none-eabi-gdb +  - arm-none-eabi-gdb 
-- openocd+  - openocd 
 +  - STLINK
  
 ==== Debug ==== ==== Debug ====
-The process to debug the stm32f4-discovery is the follow:+The process to debug the stm32f4-discovery is the following:
  
-Connect the stm32f4-discovery with the programming and serial usb. +  * Connect the stm32f4-discovery with the programming and serial usb. 
-- `makeand `make flashthe program to debug. +  * ''make'' and ''make flash'' the program to debug. 
-Create a file with the name **openocd.cfg** and the follow content.+  Create a file with the name **openocd.cfg** with the follow content.
  
 <code> <code>
Line 29: Line 30:
 </code> </code>
  
-Open a terminal in the same directory where the file was created and run `openocd`. Keep that terminal open. +  * Open a terminal in the same directory where the file was created and run ''openocd''. Keep that terminal open. 
-Open another terminal where the program to debug is and run `arm-none-eabi-gdb`+  * If the before command doesn't work, change the ''interface stlink version'' and run again. 
-+  * Open another terminal where the program to debug is and run ''arm-none-eabi-gdb -tui <program to debug>.elf''. The ''-tui'' flag enables a kind of command window that shows the code
 +  * Into the dbg prompt run ''target extended-remote :3333'' to connect gdb to openocd. 
 +  * Now you can debug!!! 
 + 
 +==== Considerations ==== 
 +Sometimes openocd fails to detect ChibiOs and this is an [[https://github.com/Meta-Team/Insouled_ChibiOS_CPP/issues/1|open issue]]
 ===== Current repository state ===== ===== Current repository state =====
 TODO: sw structure TODO: sw structure
tutorials/omni-base_software.1552661168.txt.gz · Last modified: 2022/09/20 00:08 (external edit)