/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / REDIRECT

Username:     
Password:     
             

Forum

# 1   2008-03-24 13:02:39 REDIRECT (project: PrimerVirtualCom 1.1)

mocambo
New member
Registered: 2007-10-12
Posts: 2

REDIRECT (project: PrimerVirtualCom 1.1)

Hi all,
I'm very new with this tool and I have a little question.
Is there anybody that tried REDIRECT 1?
I can receive the data transmitted from PC(I make a breakpoint to EP3_OUT_Callback), but then I think something goes wrong and the CircleOS crashed...
Regards
mocambo

Offline

 

# 2   2008-03-24 16:33:48 REDIRECT (project: PrimerVirtualCom 1.1)

Stewee
Member
From: Dorset/England
Registered: 2007-10-11
Posts: 47
Website

Re: REDIRECT (project: PrimerVirtualCom 1.1)

Hi Mocambo,

REDIRECT 1 is a conditional compilation switch that requires you to write your own code to send/receive USB data to/from UART1   instead of reporting the USB test data sent/received on the primer display. REDIRECT 1 behaves like ST virtual COM project for the STM3210B.  http://www.st.com/stonline/products/sup … um0424.zip

REDIRECT 0   //USB <--> DISPLAY (default)
REDIRECT 1   //USB <--> UART      (requires RS232 hardware and more software like ST example)

My Primer has been modified with a RS232 level shifter chip on UART1, one day I may issue a new tested version of PrimerVirtualCOM that works with REDIRECT 1. This code was not included because it was assumed few people would be interested in modifying the hardware.

Incidentally, the reason why we set a baud rate at all is so that when REDIRECT is 1 we have a baud for the UART. However limiting the usb data rate is also helpful when the PC-ware that talks to the virtual com port may have trouble keeping up.

'Stewee'

Last edited by Stewee (2008-05-02 23:22:42)


( Please Give Blood http://www.blood.co.uk >50% can.  5% do. )

Offline

 

# 3   2008-03-27 15:46:44 REDIRECT (project: PrimerVirtualCom 1.1)

mocambo
New member
Registered: 2007-10-12
Posts: 2

Re: REDIRECT (project: PrimerVirtualCom 1.1)

Hi Stewee,
thanks for the help.

'mocambo'

Offline

 

Board footer