-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zolertia Z1: make login returns garbage #89
Comments
On Tue, 2013-01-22 at 05:58 -0800, Johannes Gilger wrote:
http://zolertia.sourceforge.net/wiki/index.php/Mainpage:Contiki_installation_Ubuntu Check: "(...) a packaged toolchain can be obtained from TinyProd, we have Tell me if this fix your problem. Regards, --Antonio |
Thanks for the quick reply. I found the site you're referring to about 5 minutes after posting my issue, and downloading the -4.7 toolchain actually worked for me. Thanks! |
Commits: 7e47e27f Merge pull request contiki-os#78 from pjonsson/cast-object 796676cc Merge pull request contiki-os#84 from pjonsson/use-arraylist 7872c816 Use ArrayList instead of LinkedList 965d7b35 Stop passing objects to String.format 2507b88e Merge pull request contiki-os#95 from pjonsson/no-minprio 13ca13d3 Merge pull request contiki-os#100 from pjonsson/fail-on-error 91a4f461 Merge pull request contiki-os#99 from pjonsson/error-no-display 4214c2ec Merge pull request contiki-os#98 from pjonsson/remove-applet-cfg e70e17a9 Merge pull request contiki-os#101 from pjonsson/cpus-expansion 4eb92b2d Enable Cooja to pass core count to make 232a63c9 build.xml: make run targets fail on error 204e899e Remove upstart crash when headless fb42a3a3 Remove leftover applet config c23801b3 Stop interfering with thread scheduler 28f487e8 Merge pull request contiki-os#91 from pjonsson/remove-unused-logger e6c1f244 Merge pull request contiki-os#92 from pjonsson/remove-unused-var ef1f43c5 Merge pull request contiki-os#89 from pjonsson/static-inner-classes a456ce18 Remove unused variable 14de8ba3 Remove unused logger 4f8f230e Make some inner classes static
Hi there,
whenever I take the plain Contiki examples (like "hello-world") and build them for the Zolertia Z1, I can't use the terminal console afterwards, since it just returns the same bytes that are incorrectly interpreted (i.e. something is wrong with the serial settings).
I tried calling serialdump-linux manually with different baud rates, and I also tried GNU screen with different baud rates and settings for parity bits, stop bits, etc. Example:
screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb
What am I doing wrong? The examples worked fine on my TelosB Motes. One major difference is that the Z1 uses uart0.h etc while the Sky uses the uart1. files.
FYI, here is the output of
../../tools/sky/serialdump-linux -x -b115200 /dev/ttyUSB0
AAAA5B41 BB2FE9BC 290EDAD5 BC0B8AC1 B4566EED ..[A./..)........Vn. 90983922 A5A8100E C29A98E2 98E298E2 98E298E2 ..9"................ 98E29882 A3EBE1B1 55DBC296 AB29DA99 A30E8A71 ........U....).....q 98D66B82 BB2FE9BC 29CE0932 DDB429AA D190AA16 ..k../..)..2..)..... B2DDBCCA D5BCA9A3 521A41A3 EBE1B155 DB85A309 ........R.A....U.... 8AD1B1EB C5B48AD1 B5D40BC2 C5BC29FE 9822F994 ..............)..".. C2C5B4AA 0B8AD1B1 EBC5B43E 964BD8A5 C5BA2FEB ...........>.K..../. CD901A5A D1B40BDA DDBA4B41 B8D63BC5 BBD64A88 ...Z......KA..;...J. D5B4EB51 90FF2BD1 B4F1 ...Q..+...^C
My system is Ubuntu 12.10. with Contiki from GitHub. The Zolertia Z1 are brand-new, just arrived via mail.
The text was updated successfully, but these errors were encountered: