Serial port not working on EM1202-EV board
I've been trying to create a couple of small test programs to communicate with serial devices using the EM1202-EV's built in DB9 connector, but I've not been able to verify any communication with the devices. I decided to try uploading the binary through TIDE as a serial transport and get no response, TIDE sits there with a messing saying "Uploading..." and the EM1202 LEDs don't show an upload in progress. Uploads as UDP transports work fine.
Could it be that I have a bad board?
Could it be that I have a bad board?
4
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?I've used IO Ninja to verify that the devices are indeed communicating. Just nothing with the EM1202
-
Inappropriate?It does sound like there are problems with the serial side. So, just to double sure, even if you try to update the EM1202's firmware using Device Explorer through the serial connection, it will not initiate the upgrade, right?
Have you tried the same cable with another Tibbo Device? Does it work properly with the other Tibbo Device? -
Inappropriate?Uploading firmware using Device Explorer works, uploading a project from TIDE doesn't.
I do not currently have another Tibbo device to test with.
The code I'm using to initialise the port to 2400 baud, 8 bits, no parity, 1 or 2 stop bits:
ser.num=0
ser.interchardelay=2
ser.bits=PL_SER_BB_8
ser.parity=PL_SER_PR_NONE
ser.flowcontrol=DISABLED
ser.baudrate=ser.div9600*4 '2400 bud
ser.enabled=YES
Using this, on_ser_data_arrival() never triggers. -
Inappropriate?Anyone got anything else to try before I return the unit?
-
Inappropriate?Hi Max,
Just to make sure I understand your problem...
1. You can upload firmware using the serialport ?
2. upload of your appl. works when using Eth (eg. UDP or TCP) but not working when using the serialport ?
3. serial upload of your appl. works, but your appl. can not send or receive anything using the serialport ?
If 1 & 2 = yes
- try to turn off "debug mode" if on. (found under "project - settings"
and try again.
Best regards
/Anders -
Inappropriate?i have a similar problem..
i can't upload appl. from serial and from appl. i can't send/recive anything.. any help please?
Regards, Lorenzo
p.s. i have already tried without debug mode
I’m frustrated
-
try this : http://getsatisfaction.com/tibbo/topi... -
Inappropriate?I also have the same problem using EM-1000TEV, TIDE cannot uploading application using serial port, but uploading firmware is ok. Thats weird.
I’m hungry
-
This reply was removed on 04/11/09.
see the change log -
Inappropriate?I had the same serial no working problem with EM1202EV-RS board - impossibile to receive or transmit data.
Solved the problem adding buffalloc in on_sys_init in this way:
sub on_sys_init
ser.num=0
ser.mode=PL_SER_MODE_UART
ser.flowcontrol=DISABLED
ser.bits=PL_SER_BB_8
ser.interface=PL_SER_SI_FULLDUPLEX
ser.parity=PL_SER_PR_NONE
ser.baudrate=ser.div9600
ser.rxbuffrq(1)
ser.txbuffrq(1)
sys.buffalloc
ser.enabled=YES ' enabling serial after bufalloc
end sub
sub on_button_pressed
' now works
ser.num = 0
ser.setdata("TEST")
ser.setdata(chr(13)+ chr(10))
ser.send
end sub
I’m happy
Loading Profile...





