Advertisement
Guest User

Untitled

a guest
Jun 6th, 2011
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. ========================================================================
  2. Enumeration: PASS
  3. usbwait -t 5 20b7:1540 && echo okay
  4. ------------------------------------------------------------------------
  5. okay
  6. ========================================================================
  7. LED: PASS
  8. echo >/dev/tty; echo 'Press [P]ass if the LED blinks, [F]ail if not' >/dev/tty; atrf-gpio -c -p xxxxxx1x.xxxxxxxx.xxxxxxxx delay=50 xxxxxx0x.xxxxxxxx.xxxxxxxx delay=200
  9. ------------------------------------------------------------------------
  10. ========================================================================
  11. GPIO scan (P_ON): PASS
  12. atrf-gpio -d usb -p HHHHoHxH.HxHxHxHh.ohzoHoHH '# reset state (H)' HHHH0HxH.HxHxHxHh.ohzoHoHH '# test SLP_TR (0)' HHHHoH0H.HxHxHxHh.ohzoHoHH '# test LED (0)' HHHHoHxH.HxHxHxHh.LhzoHoHH '# test IRQ_RF (0)' HHHHoHxH.HxHxHxHh.o0zoHoHH '# test nSEL (0)' HHHHoHxH.HxHxHxHh.ohz0HoHH '# test MOSI (0)' HHHHoHxH.HxHxHxHh.ohzoH0HH '# test SCLK (0)' 0000o0x0.0x0x0x0h.ohzo0o00 '# reset state (0)' 000010x0.0x0x0x0h.ohzo0o00 '# test SLP_TR (1)' 0000o010.0x0x0x0h.ohzo0o00 '# test LED (1)' 0000o0x0.0x0x0x0h.o1zo0o00 '# test nSEL (1)' 0000o0x0.0x0x0x0h.ohz10o00 '# test MOSI (1)' 0000o0x0.0x0x0x0h.ohzo0100 '# test SCLK (1)'
  13. ------------------------------------------------------------------------
  14. ========================================================================
  15. GPIO scan (TRX_OFF): PASS
  16. atrf-gpio -d usb HHHH0HzH.HxHxHxHh.oHzHHHHH '# TRX_OFF state (H)' HHHH0H0H.HxHxHxHh.oHzHHHHH '# test LED' HHHH0HzH.HxHxHxHh.o0zHHHHH '# test nSEL' HHHH0HzH.HxHxHxHh.oHz0HHHH '# test MOSI' HHHH0HzH.HxHxHxHh.oHzHH0HH '# test SCLK'
  17. ------------------------------------------------------------------------
  18. ========================================================================
  19. GPIO scan (INT): PASS
  20. atrf-gpio -d usb -p xxxxxxxx.xxxxxxxx.oxxxxxxx '# reset state' 0x04=1 '# IRQ_POLARITY = 1' xxxxxxxx.xxxxxxxx.hxxxxxxx '# test INT (1)' xxxxxxxx.xxxxxxxx.h0xxxxxx '# test INT (2)' xxxxxxxx.xxxxxxxx.h1xxxxxx '# restore nSEL' 0x04=0'# IRQ_POLARITY = 0' xxxxxxxx.xxxxxxxx.o1xxxxxx '# test INT again'
  21. ------------------------------------------------------------------------
  22. ========================================================================
  23. GPIO scan (SLP_TR): PASS
  24. atrf-gpio -d usb 02=9 delay '# enter PLL_ON' 02:9/0x1f '# verify state' frame '# one-byte frame' 0xf: '# clear interrupts' 0xe=8 '# enable TRX_END intr' xxxxxxxx.xxxxxxxx.oxxxxxxx '# confirm INT' slp_tr delay '# send frame' xxxxxxxx.xxxxxxxx.hxxxxxxx '# check INT'
  25. ------------------------------------------------------------------------
  26. ========================================================================
  27. GPIO scan (nRST): PASS
  28. atrf-gpio -d usb 02:8/0x1f '# verify TRX_OFF' reset '# reset transceiver' 02:0/0x1f '# verify P_ON'
  29. ------------------------------------------------------------------------
  30. ========================================================================
  31. Identification: PASS
  32. atrf-id -d usb
  33. ------------------------------------------------------------------------
  34. 20b7:1540 protocol 0.1 hw 2 (ATmega32U2)
  35. #79 Sun Jun 5 22:01:35 ART 2011
  36. AT86RF231, part 0x03 version 2 manufacturer xxxx001f (Atmel)
  37. ========================================================================
  38. Crystal frequency: FAIL
  39. atrf-xtal -d usb -p 50
  40. ------------------------------------------------------------------------
  41. -120.01 ppm (outside bounds)
  42. ------------------------------------------------------------------------
  43. exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement