USB-CONSOLE, M4 GPIO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

USB-CONSOLE, M4 GPIO

跳至解决方案
2,118 次查看
cagrikeserer
Contributor I

Hello everyone,

I'm using Colibri VF61 Board which is great but i have some questions needed to be answered.

1-) Is there any chance to convert USB-OTG to USB-CONSOLE or any other way to done it? I need console port because i want to reach my board while it works in the field.

2-) I searched all PDF's about VF61 GPIO's on M4 but i couldnt find nothing. Does it make any difference whether GPIO's are connected to A5 or M4 while coding them using Linux Kernel ?

Thanks for your answers.

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,918 次查看
falstaff
Senior Contributor I

Hi Cagri,

1) What do you mean by "USB-CONSOLE" exactly? I guess you would like to use a Serial Console on a CDC ACM (serial communication) USB function. This is implemented by default with the later images, just connect the board to your host and a CDC ACM device should appear. On Linux, you can use the TTY /dev/ttyACMX to connect to it.

2) The two cores share the complete peripheral bus, hence all GPIO's are available from both cores. However, you should make sure that each GPIO is only assigned to one core (or even better, a complete bank of GPIO's). What kind of firmware are you planning to use on the M4 core?

--

Stefan

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,919 次查看
falstaff
Senior Contributor I

Hi Cagri,

1) What do you mean by "USB-CONSOLE" exactly? I guess you would like to use a Serial Console on a CDC ACM (serial communication) USB function. This is implemented by default with the later images, just connect the board to your host and a CDC ACM device should appear. On Linux, you can use the TTY /dev/ttyACMX to connect to it.

2) The two cores share the complete peripheral bus, hence all GPIO's are available from both cores. However, you should make sure that each GPIO is only assigned to one core (or even better, a complete bank of GPIO's). What kind of firmware are you planning to use on the M4 core?

--

Stefan

0 项奖励
回复
1,918 次查看
cagrikeserer
Contributor I

Hi Stefan,

Thank you for your help.

Actually i am designing a carrier board for 'Colibri VF61' that's why i mentioned like "USB-CONSOLE". I figured it out that console pins are connected to UART_A pins on Colibri. So I am going to connect these pins to a micro USB for reaching board while it operates (for debug etc.).

I am planning to load Kernel to A4 and using GPIO's from M4. It's not a big code just several LED's or something like that.

Thanks again,

Regards.

0 项奖励
回复
1,918 次查看
falstaff
Senior Contributor I

Hi Cagri,

If you plan to make lots use of the M4, I would also suggest to make UART_B easily accessible (as Debug console for the M4 core)...

--

Stefan

0 项奖励
回复
1,918 次查看
cagrikeserer
Contributor I

A5 i mean.

0 项奖励
回复
1,918 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can yuo help here?

0 项奖励
回复
1,918 次查看
timesyssupport
Senior Contributor II

Hello karinavalencia​,

Stefan is best suited to handle this as the Colibri VF6 hardware is by Toradex, and in addition to hardware differences from TWR-Vybrid, also uses a different OS stack (kernel, bootloader, etc.). Stefan, if you would like our assistance, please let us know however.

Regards,

Timesys Support