Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test uart example - what is baudrate? #1

Open
mathben opened this issue Oct 28, 2016 · 1 comment
Open

test uart example - what is baudrate? #1

mathben opened this issue Oct 28, 2016 · 1 comment

Comments

@mathben
Copy link

mathben commented Oct 28, 2016

Hi,
I used NUCLEO-F401RE example uart04.
Compilation and linkage work.

I flash my board.
openocd -f board/st_nucleo_f4.cfg -c "program uart04.gcc.thumb2.flash.elf verify reset exit"

What config I need to test with minicom?

I am on Linux, the device /dev/ttyACM0 appears.
When I open minicom on it, nothing happen.

Thanks for you help.

@dwelch67
Copy link
Owner

my minicom config file then I use

minicom acm0

to use it. dont know if running as root or sudo-ing it is required.

does using openocd like that work for other examples? ones that blink
leds for example, are you sure it is loading and running the program?
and or maybe you need to press the reset button.

despite saying machine generated, I generally copy one and change the
ttyWHATEVER to make more of them.

cat /etc/minicom/minirc.acm0

Machine-generated file - use "minicom -s" to change parameters.

pu port /dev/ttyACM0
pu mhangup
pu rtscts No

On 10/28/2016 05:43 PM, Mathieu Benoit wrote:

Hi,
I used NUCLEO-F401RE example uart04.
Compilation and linkage work.

I flash my board.
openocd -f board/st_nucleo_f4.cfg -c "program
uart04.gcc.thumb2.flash.elf verify reset exit"

What config I need to test with minicom?

I am on Linux, the device /dev/ttyACM0 appears.
When I open minicom on it, nothing happen.

Thanks for you help.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXjrDic0s1OuTv20uI8noXVj0bGSbfFks5q4mx_gaJpZM4Kj5E7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants