We are using UL865-EUR module in our project. We want to debug python by USB port. We are able to receive data using USB0 library. but we are unable to receive SER and printf statements on USB port. We alos tried AT#PORTCFG=3 command as well. below are python source code.
while (1==1): print ‘hello dear’ b = USB0.send(‘test n’) SER.send(‘HELLO 1’)
Thanks,
Diwakar
SER and print messages are sent to their respective hardware ports ie USIF0 and USIF1, see the 46.2.1 chapter in Telit HE910/UE910/UL865 Families Ports Arrangements User Guide document.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Dear Sir,
We are using UL865-EUR module in our project. We want to debug python by USB port. We are able to receive data using USB0 library. but we are unable to receive SER and printf statements on USB port. We alos tried AT#PORTCFG=3 command as well. below are python source code.
Please let me know, What we are doing wrong.
import SER
import USB0
print ‘SER_send_rcv.pyrn© 2009 Telit Communicationsr’
SER.set_speed(‘115200′,’8N1’)
while (1==1):
print ‘hello dear’
b = USB0.send(‘test n’)
SER.send(‘HELLO 1’)
Thanks,
Diwakar
SER and print messages are sent to their respective hardware ports ie USIF0 and USIF1, see the 46.2.1 chapter in Telit HE910/UE910/UL865 Families Ports Arrangements User Guide document.