RoboMaster / RoboRTS-Firmware

RoboRTS infantry control firmware
Other
378 stars 201 forks source link

What is a good way to debug RTOS? #13

Closed AK51 closed 5 years ago

AK51 commented 5 years ago

Breakpoint and watch window do not really work, may I know what is a typical way to debug a rtos program? Thx

bzrobotics commented 5 years ago

we suggest that you connect PC xshell software and development board usart6 via usb to TTL tool and use ulog. it is a rt-thread logging component.

AK51 commented 5 years ago

Is there any quick tutorial or video I can follow? We tried to run your code in our robot but it stopped at some initialization... we can just use the LED blink to guess where it stops... I saw in the code that I can damp all parameter out, how to saw all variable? Sorry, I am new to RTOS. Is there any good link for me to pick up fast? Thx

bzrobotics commented 5 years ago

rtos: https://www.keil.com/pack/doc/CMSIS/RTOS/html/group__CMSIS__RTOS.html ulog: https://www.rt-thread.org/document/site/programming-manual/ulog/ulog/ mdk: http://www2.keil.com/mdk5/docs Please provide the team name and contact details. and do you need an English readme? we provide it as soon as possible.

AK51 commented 5 years ago

How can I send a private message? Github blocked it I think... Btw, I can read Chinese. Thx

bzrobotics commented 5 years ago

email: robomaster@dji.com

AK51 commented 5 years ago

「curtaihvyn notifications@github.com」在 2019年3月4日 週一,下午7:26 寫道:

email: robomaster@dji.com

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RoboMaster/RoboRTS-Firmware/issues/13#issuecomment-469218782, or mute the thread https://github.com/notifications/unsubscribe-auth/AIE49MSMMq7INfKVzRVatb59gjdxC7hmks5vTQLvgaJpZM4bUMa6 .

bzrobotics commented 5 years ago

ok,已经有相关人员发送好友申请,我们可以通过微信解答

JorgePerC commented 3 years ago

rtos: https://www.keil.com/pack/doc/CMSIS/RTOS/html/group__CMSIS__RTOS.html ulog: https://www.rt-thread.org/document/site/programming-manual/ulog/ulog/ mdk: http://www2.keil.com/mdk5/docs Please provide the team name and contact details. and do you need an English readme? we provide it as soon as possible.

Hello There, I don't know how to read chinese would it be too much to ask for a readme in english? thanks in advance :)

Jorge Pérez: jorgeperez_1@live.com from Telpochcalli :)