Hi,
We've purchased the DA14581 basic dev kit and are trying to test the very first "Blinky" project. The LED did blink, but there is no printouts on the Tera Term (meaning the UART is not set correctly). In PC's Device manager, the following new devices are listed when I plugged in the dev kit:
Under Ports(COM & LPT):
J-Link CDC UART Port (COM3)
Under USB controller:
J-Link driver
USB composite device
我们使用COM3Tera Term to monitor the UART printouts. J-link driver and FTDI driver are already installed on the PC. Do you have any suggestions on this issue?
Thanks,
Hanfeng
Keywords:
Device:
Hi enormous,
The port that you are choosing is correct, normally the program doesn't requires a different configuration for operating with 581 chip, just make sure that you choose the correct baud rate and settings in your terminal (you can check the proper uart settings in the user_periph_setup.h) and that your UART is mapped in the GPIO_PIN_4 for TX and GPIO_PIN_5 for your RX. Also if the probelm persist, can you check with an FTDI and connect the UART pins of the 580 directly to it and check if the printing works ?
Thanks MT_dialog
I've chosen the correct baud rate which is defined in user_periph_setup.h as 115200 and the other settings are also consistent. I also tried to use another FDTI device and the printing works well. Looks like the FTDI setting inside Atmel is not configured properly. Any hints?
Hi enormous,
I am not aware if you can disable the UART by configuration but you can use the Jlink commander and read the configuration with the rconf command, the configuration table from a UART working basic kit is like the attached image. If you find any difference you can use wconf command and correct any differences between your configuration table and the table on the image. Also i suppose that the jumper on P04 is placed on your dev kit.
Thanks MT_dialog
I've checked the configuration table and it's consistent with the image you attached. I've listed the new devices added in Windows device manager after connecting the dev kit in previous post. The problem is that there is no USB serial converter and USB Serial Port listed. When I connect an UART to USB converter to the PC, those two devices are listed.
Hi enormous,
The basic kit doesn't have an FTDI (the pro and the expert has) the only thing you should see when connecting the basic kit on your pc under the your COM ports is the JLink CDC UART Port (COM x).
Thanks MT_dialog
If that's the case, this JLink CDC UART Port is communicating with DA14581 through UART (P0_4 ~ P0_7), right? So when I run the "Blinky" project, I should see printouts coming from this UART port. But the problem is that there is nothing printed out on JLink CDC UART Port (which in my case is COM3). I've already configured COM3 as 115200 bps 8/N/1/N. And all the jumpers on the dev kit are in their default position which is the UART configuration.
Hi enormous,
Yes, the 581 communicates through this port and you should be able to see the printing when loading the BLINKY project, the UART ports/pins are from P0_4 ~ P0_7. Have you tried downloading the uart example to check if nothing is printed or tried the dev kit in a different pc in order to check if probably is a driver issue?
Thanks MT_dialog
你是指SDK的UART的例子吗?I have not tried that yet. I haven't tried another PC either. But based on the devices listed in Device Manager, it looks like the driver is properly installed. I didn't get any error or warning signs in my Device Manager.
Hi enormous,
Yes, thats right, try the uart example in the SDK. The basic kit should print the blinky output out of the box since the proper drivers are installed without any modifications.Idont think that by changing the printing project will make any difference but just to make sure give it a try.Now since you are able to print by using a seperate FTDI it should be a problem with the driver, try to unistall and reinstall your drivers. Also can you please try using another usb cable ? Have a look at the attachment for what you suppose to see in your device manager and the port that you should connect to your terminal in order to see the 581 printing.
Thanks MT_dialog