We're loosing serial bytes from PC to phone

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Sun Mar 21 16:02:08 UTC 2010


Just another intermediate update:

1) I've pushed my current debugging code to the uart-debug branch

   Simply run osmocon + layer23 and the hello_world.bin image.  layer23
   will send a 62 byte sized HLDC message every 10 seconds to the phone,
   and various instances of the code will print what they see.  The
   payload of the packet is supposed to be 
	0a 00 00 01 02 03 04 05 06 07 00 01 02 03 04 05 06 07 
	      00 01 02 03 04 05 06 07 00 01 02 03 04 05 06 07
	      00 01 02 03 04 05 06 07 00 01 02 03 04 05 06 07
	      00 01 02 03 04 05 06 07 00 01 02 03 04 05

   but what the firmware sees is:
	0a 00       02 03 04 05 06 07       02 03 04 05 06 07
                    02 03 04 05 06 07       02 03 04 05 06 07
		    02 03 04 05 06 07       02 03 04 05 06 07
		    02 03 04 05 06 07	    02 03 04 05

   So as you can see, every '00 01' sequence has been chopped out,
   despite 10ms delays between the characters. If you change the
   payload to not include zero-bytes, all bytes are received fine.

2) Enabling various misc UART interrupt sources and checking for error
   conditions in LSR does not help

Regards,
	Harald
-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the baseband-devel mailing list