Re: Writing to UART_B of D2000 with Zephyr
toggle quoted messageShow quoted text
Feel free to ask any questions, I will be happy to help you :)
- did you configured the uart connection parameteres? eg.: baud rate, start/stop bit?
- Also, in pinmux check if these pins are set to behave as uart function before you use/configure the uart;
- Check the platform pin-mux to see if uart pins that goes to your pc match with the uart that you're trying to use;
- Did you check the pointer received to you dev_b variable after a call of device binding? is it null?
Hi Vasily! How are you doing?some points that can help you:
2017-01-31 7:56 GMT-02:00 MIKHALEV, Vasily <vasily.mikhalev@...>:
Writing to UART_B of D2000 with Zephyr
MIKHALEV, Vasily <vasily.mikhalev@...>
I am developing for D2000 with Zephyr and I currently need to be able to write to the UART B and to monitor it. However, I cannot manage to do it.
For writing to the UAR I am using the function uart_poll_out(). For example.:
struct device *dev_b = device_get_binding("UART_1");
After flashing the program to D2000, I set the jumpers J9, J10, J11 in the CTS, TXD and N/C positions, open terminal on the virtual serial port, but it seems that there is no signal – nothing happens when I press the “reset” button . With the same settings I am able to monitor UART B of D2000 with QMSI. Also the same code works well for the UART A, e.g.:
struct device *dev_a = device_get_binding("UART_0");
Did anyone have the similar issues and was able to solve them?
I would really appreciate your help.
Re: [devel] Zephyr SDK 0.9 released
On Wed, 25 Jan 2017 20:47:22 +0000
"Nashif, Anas" <email@example.com> wrote:
Hi,Based on md5sum, that's the same file as had been announced a week
before. So, people who downloaded it may check their md5 and save some
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog