Hi, thanks for the great work on putting together freertos and segger systemview. I would like to ask if you plan to make a video you mentioned using cmake and/or the make toolset to set up a project. It would be much appreciated.
Hi, thanks for the great work on putting together freertos and segger systemview. I would like to ask if you plan to make a video you mentioned using cmake and/or the make toolset to set up a project. It would be much appreciated.
Hi bro. I am facing one error during install Stm32 packages in ARM MDK Keil software .So please give the solution for below error (E: the specified CMSIS Pack Root directory does NOT exist! Please take a moment to review if the value is correct or create a new one via `cpackget init command )
Hi! Thank you for the video! Has someone solved the error "Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino"? I have tried all the possible solutions including baud rate, dialout, updating, changing the buffer size, different cables, etc,... I will be so grateful for the help!!!
1. Verify name of device file after connecting it to your ROS system, e.g. run below command from terminal after connecting your board: $ dmesg or $ dmesg | grep tty 2. Set huart2.Init.BaudRate to desired baud rate in CPP file, e.g. 57600 3. Set same baud rate for your board that you are connecting to ROS 4. Based on what dmesg returned as being your device file, e.g. "cdc_acm 2-1:1.2: ttyACM0: USB ACM device"; Run following command replacing baud and device file name appropriately: e.g. $ rosrun rosserial_python serial_node.py _baud:=57600 _port:=/dev/ttyACM0 5. If error is still present you need to add the user to dialout group (dialout: Full and direct access to serial ports), running below command replacing UserName with your linux user name $ sudo adduser UserName dialout You can get current user name on a linux machine running command: $ whoami Do a log off and log in again or restart the machine after adding the user to dialout group. 5". Also you could try: $ sudoedit /etc/udev/rules.d/50-myusb.rules Add this text: KERNEL=="ttyUSB[0-9]*",MODE="0666" KERNEL=="ttyACM[0-9]*",MODE="0666" Hope this helps!
Hi! Thank you for the video! Has someone solved the error "Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino"? I have tried all the possible solutions including baud rate, dialout, updating, changing the buffer size, different cables, etc,... I will be so grateful for the help!!!
Yes I have something in mind, need to find time, I have lots of projects and ideas that I want to share. Until then maybe you find useful the CMake setup for STM32 from one of my repositories github.com/LearnEmbeddedSystemsWithGeorge/STM32CMake_Example to get the idea how to take together some sources and compile them producing the elf or hex file. I will use CMake for bare metal projects when I will start.
First of all thanks for this amazing video, I want to ask you that why do you upload the code to the card from STM32 Utilities instead of CubeIDE itself?
I will redo the setup and start a bare metal programming video session in near future, really need to find the time. Until then maybe you could take some inspirations from this CMake example project and do it on your side: github.com/LearnEmbeddedSystemsWithGeorge/STM32CMake_Example
Hello, if someone could help me it would be great, actually I am trying to connect a stm32 L4 model but I recive this message on console "Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino" the problem is not the baudrate it is the same that the uart baud in the ioc, and the project aparently is correct because i change the libraries to l4 and the drivers are correct, the only change that I made is that the src and inc folder are now in the core folder, but the rosserial does not link the device, please help...
THANK YOU !! I finally managed to make it work from my windows/VM/noetic machine to my stmF4 bigtreetech gtrV1. I also managed to make it work with melodic version on ubuntu/raspberry Very great video
Thanks George, I am able to integrate freeRTOS and SEGGER system following your video's (part1 and 2). When load SVdat file to Segger System View APP i can see context, event and details columns properly except "Time" (Timestamp) column that is showing 0.000 000 000 and in info window also Time offset shows 0. 000 000 ms when I load SVdat file. Any steps missed by me? I used same STM32 F446RE board . Thank you once again!!
I am able to resolve the time stamp issue, which is due to DWT_CTRL register handling for cycle counter, after adding patch/fix in SEGGER_SYSVIEW_Conf issue got resolved. Great learning from your video's. Thank you!
@@dharmpalk2602 Hello, i am facing the same problem which you had right now. Can you provide a more precise explanation on how did you fix the problem? What do i have to change in comparision to video above?
Hello Vadim, I was thinking it will be helpful to show how you can add manually the latest FreeRTOS inside a project, and I wanted to highlight what modifications need to be done and where in order to have the SEGGER and FreeRTOS running on a STM32 controller, so later you can adapt the steps to other microcontrollers or the same controller but using proprietary libraries not the ones from CubeMX.
Hi George, I did what you did in your video but unfortunately I couldn't see the topics on my computer. I get "Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino". Couldn't solve it yet, hope you or somebody else can help me ://
Hello thank you for appreciation. For the error that you receive please try to add your user to group dialout: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MLqH8axh7ss.html
@@learnembeddedsystemswithge6621 Thanks for your answer! Unfortunately, my user is already in the group dialout. I've tried with a different microcontroller to see if it is a hardware problem but the outcomes stay the same. I use ROS melodic, Nucleo F303RE and MCUs default UART periph. to communicate via mini USB. I can establish rosserial communication by flashing code using Platformio (and using Arduino framework). But couldn't make it work using CubeIDE :/ I do not know which point I am missing...
Sure I will recommend one, and also I will recommend all books written by Muhammad Ali Mazidi, either we are speaking about PIC, AVR, ARM, or 8051. I started the journey of embedded programming with AVR and with the book "AVR Microcontroller and Embedded Systems: Using Assembly and C" - by Muhammad Ali Mazidi. So the recommendation for starting ARM assembler is: "ARM Assembly Language Programming & Architecture" - by Muhammad Ali Mazidi, Sarmad Naimi, Sepehr Naimi, Shujen Chen.