Commit Graph

  • 4cbdc7cf18 fix LED switching on/off King Kévin 2018-07-04 16:36:17 +02:00
  • 86f48fc962 minor style change: use ARRAY_SIZE King Kévin 2018-07-04 14:15:39 +02:00
  • 1200a5228f sniffer: add waiting time WT update King Kévin 2018-07-04 10:18:03 +02:00
  • fe763b7698 sniffing: decrease USB IRQ prioprity to prevent USART overrun Kévin Redon 2018-07-03 16:17:56 +02:00
  • c9bd715289 sniffing: fix procedure byte handling and make TPDU parsing more strict Kévin Redon 2018-07-03 16:17:00 +02:00
  • 35e8bdf879 sniffer: also send incomplete (e.g. timeout) data (PPS/ATR/TPDU) Kévin Redon 2018-07-03 16:15:58 +02:00
  • 709a431ab9 sniffing: move conversion convertion and flag processing from ISR to main loop to keep ISR fast and focus on data capture Kévin Redon 2018-07-03 16:10:04 +02:00
  • 30f90a78fc console: drop data to be send when buffer is already full Kévin Redon 2018-07-03 15:59:51 +02:00
  • 7406337a7f sniffer: display F and D values frim PPS Kévin Redon 2018-07-03 15:57:03 +02:00
  • 6e3f1121e6 host USB: add host application to receive and display USB sniffing messages sent by firmware Kévin Redon 2018-07-01 18:24:42 +02:00
  • de97fd25bd sniffer USB: implement USB communication and send parsed messages Kévin Redon 2018-07-01 18:23:23 +02:00
  • 012940f48e USB device: add USB message structure for sniffer communication Kévin Redon 2018-07-01 18:21:30 +02:00
  • e2f84f6a8b host USB: use central SIMtrace USB ID definition header Kévin Redon 2018-07-01 18:19:36 +02:00
  • 4d6a4b949c host usb_util fix: used provided class, sub-class, and interfave when finding matching interfaces Kévin Redon 2018-07-01 18:17:06 +02:00
  • a1012b170a USB: add central file to define USB IDs, classes, and endpoints Kévin Redon 2018-07-01 18:11:01 +02:00
  • 42bd026416 minor: fix typos in comment Kévin Redon 2018-06-27 16:43:23 +02:00
  • 638cec820f sniff: add WT timeout detection using USART timeout (TC is not required) Kévin Redon 2018-06-27 16:42:56 +02:00
  • 00ec89d73f sniff: add TPDU parsing (TPDUs become APDUs on the upper layer) Kévin Redon 2018-06-27 16:41:52 +02:00
  • cf59919494 sniff: print parsed ATR and PPS; use red LED to show main application is running; use green LED to indicate activity (message parsed) Kévin Redon 2018-06-27 16:38:31 +02:00
  • 11914d9658 LED: add short LED pulse blinking pattern Kévin Redon 2018-06-27 16:33:01 +02:00
  • 3113e3d2e5 update_fidi: remove debug output since this function is called in time critical ISR Kévin Redon 2018-06-27 16:29:38 +02:00
  • 9def7631ba DFU: switch green LED on to indicate DFU mode, and red LED to indicate flashing activity Kévin Redon 2018-06-27 16:27:41 +02:00
  • ca9e4bf4ba board: fix LED pin definition Kévin Redon 2018-06-27 16:26:21 +02:00
  • 8210ec3f62 DFU: remove force bootloader button debug message since the console is output message is not initialized yet Kévin Redon 2018-06-27 16:25:35 +02:00
  • 8fa6ff5979 sniffer: use ISR to store sniffed data in buffer, add ATR and PPS parsing, and PPS related FiDi update Kévin Redon 2018-06-25 16:00:33 +02:00
  • 866d20b10e trace: increase watchdog for 500 to 2000 ms to provide more time handling buffered data Kévin Redon 2018-06-25 15:57:44 +02:00
  • 4fe99fad59 ISO7816: change update_fidi to use provided USART Kévin Redon 2018-06-25 15:53:19 +02:00
  • 7be52ec1ce SIMtrace: enable interrupt on edge dection for SIM_RST pin to reset the sniffer ISO state Kévin Redon 2018-06-25 15:49:28 +02:00
  • a2b367633c SIMtrace: fix default SIM_RST pin state to allow phone controlled reset Kévin Redon 2018-06-24 11:31:36 +02:00
  • 927ffb46eb SIMtrace: only enable main sniffing mode on SIMtrace board Kévin Redon 2018-06-24 11:30:31 +02:00
  • d7a6de57d2 sniffer: add state definitions, improve IRQ handling, update pins configuration Kévin Redon 2018-06-11 13:46:35 +02:00
  • 353351ddf4 simtrace: add support for sniffing on both USART Kévin Redon 2018-06-11 13:45:16 +02:00
  • 4091d78c4b board: comment USART definitions and add corresponding IRQ numbers Kévin Redon 2018-06-11 13:43:27 +02:00
  • ee62a9da56 simtrace: add dedicated power pins configuration for sniffing Kévin Redon 2018-06-11 13:42:23 +02:00
  • 45ad62d8d4 sniff: use USART 0 instead of USART 1 Kévin Redon 2018-06-07 18:56:41 +02:00
  • 2c4e2af21f SIMtrace board: comment and fix pin definition Kévin Redon 2018-06-06 17:02:33 +02:00
  • 7b73462442 sniff mode: handle USART 1 RX interrupt to show sniffer data Kévin Redon 2018-06-06 16:13:48 +02:00
  • 36abece0b1 enable (empty) sniffer support for SIMtrace board Kévin Redon 2018-06-04 16:30:01 +02:00
  • f9997e9d26 copy working cardem app to trace Kévin Redon 2018-06-04 16:21:23 +02:00
  • 05cc7f6531 ringbuffer: Don't print/TRAC from ringbuffer Harald Welte 2018-07-04 04:39:40 +02:00
  • 46893451de echo all command characters entered on serial console Harald Welte 2018-07-03 22:30:30 +02:00
  • f48aac560c sniffing: decrease USB IRQ prioprity to prevent USART overrun kredon/simtrace Kévin Redon 2018-07-03 16:17:56 +02:00
  • d28d3fc4c0 sniffing: fix procedure byte handling and make TPDU parsing for strict Kévin Redon 2018-07-03 16:17:00 +02:00
  • 50d071fb0e sniffer: also send incomplete (e.g. timeout) data (PPS/ATR/TPDU) Kévin Redon 2018-07-03 16:15:58 +02:00
  • 36be182ea2 sniffing: move conversion convertion and flag processing from ISR to main loop to keep ISR fast and focus on data capture Kévin Redon 2018-07-03 16:10:04 +02:00
  • bdb0795e61 buffer: increase buffer size to 512 to cope with fast and long TPDUs Kévin Redon 2018-07-03 16:03:17 +02:00
  • b65e4b6823 console: drop data to be send when buffer is already full Kévin Redon 2018-07-03 15:59:51 +02:00
  • 05cc8bd36a sniffer: display F and D values frim PPS Kévin Redon 2018-07-03 15:57:03 +02:00
  • de6e3488a0 Merge branch 'kredon/simtrace' of ssh://gerrit.osmocom.org:29418/simtrace2 into kredon/simtrace Kévin Redon 2018-07-01 19:02:40 +02:00
  • f6c2f4def3 host USB: add host application to receive and display USB sniffing messages sent by firmware Kévin Redon 2018-07-01 18:24:42 +02:00
  • f9f1261c18 sniffer USB: implement USB communication and send parsed messages Kévin Redon 2018-07-01 18:23:23 +02:00
  • 310ad81bad USB device: add USB message structure for sniffer communication Kévin Redon 2018-07-01 18:21:30 +02:00
  • 1c84e5e312 host USB: use central SIMtrace USB ID definition header Kévin Redon 2018-07-01 18:19:36 +02:00
  • c06b1d6f7c host usb_util fix: used provided class, sub-class, and interfave when finding matching interfaces Kévin Redon 2018-07-01 18:17:06 +02:00
  • 0c9079f1ae USB: add central file to define USB IDs, classes, and endpoints Kévin Redon 2018-07-01 18:11:01 +02:00
  • cb700ef087 reintroduce adc2uv used in boardver_adc.c and mode_cardemu.c Kévin Redon 2018-07-01 17:12:14 +02:00
  • 4635c71c06 minor: fix typos in comment Kévin Redon 2018-06-27 16:43:23 +02:00
  • 6123460055 sniff: add WT timeout detection using USART timeout (TC is not required) Kévin Redon 2018-06-27 16:42:56 +02:00
  • 15a3384e9a sniff: add TPDU parsing (TPDUs become APDUs on the upper layer) Kévin Redon 2018-06-27 16:41:52 +02:00
  • f40c10d2f2 sniff: print parsed ATR and PPS; use red LED to show main application is running; use green LED to indicate activity (message parsed) Kévin Redon 2018-06-27 16:38:31 +02:00
  • 8fd88b8a59 LED: add short LED pulse blinking pattern Kévin Redon 2018-06-27 16:33:01 +02:00
  • 10553e7f0c update_fidi: remove debug output since this function is called in time critical ISR Kévin Redon 2018-06-27 16:29:38 +02:00
  • 833a540efa DFU: switch green LED on to indicate DFU mode, and red LED to indicate flashing activity Kévin Redon 2018-06-27 16:27:41 +02:00
  • 23d7306ef0 board: fix LED pin definition Kévin Redon 2018-06-27 16:26:21 +02:00
  • 4646e04d1f DFU: remove force bootloader button debug message since the console is output message is not initialized yet Kévin Redon 2018-06-27 16:25:35 +02:00
  • 216a2149e1 sniffer: use ISR to store sniffed data in buffer, add ATR and PPS parsing, and PPS related FiDi update Kévin Redon 2018-06-25 16:00:33 +02:00
  • 13f720b650 trace: increase watchdog for 500 to 2000 ms to provide more time handling buffered data Kévin Redon 2018-06-25 15:57:44 +02:00
  • ae1ce57d4c ISO7816: change update_fidi to use provided USART, and disable write protection for USART register if required Kévin Redon 2018-06-25 15:53:19 +02:00
  • 5dce338c6b SIMtrace: enable interrupt on edge dection for SIM_RST pin to reset the sniffer ISO state Kévin Redon 2018-06-25 15:49:28 +02:00
  • ad6e7eff00 SIMtrace: fix default SIM_RST pin state to allow phone controlled reset Kévin Redon 2018-06-24 11:31:36 +02:00
  • 5b63e437bc SIMtrace: only enable main sniffing mode on SIMtrace board Kévin Redon 2018-06-24 11:30:31 +02:00
  • 915f1636b0 sniffer: add state definitions, improve IRQ handling, update pins configuration Kévin Redon 2018-06-11 13:46:35 +02:00
  • 04a63b386e simtrace: add support for sniffing on both USART Kévin Redon 2018-06-11 13:45:16 +02:00
  • b88c73bcfd board: comment USART definitions and add corresponding IRQ numbers Kévin Redon 2018-06-11 13:43:27 +02:00
  • 1225e41aad simtrace: add dedicated power pins configuration for sniffing Kévin Redon 2018-06-11 13:42:23 +02:00
  • 7ddf46ce1c sniff: use USART 0 instead of USART 1 Kévin Redon 2018-06-07 18:56:41 +02:00
  • 5a7c848b43 SIMtrace board: comment and fix pin definition Kévin Redon 2018-06-06 17:02:33 +02:00
  • aa70887ce0 sniff mode: handle USART 1 RX interrupt to show sniffer data Kévin Redon 2018-06-06 16:13:48 +02:00
  • baff8d2c22 add more USB configuration checks and error messages Kévin Redon 2018-06-04 16:30:48 +02:00
  • 7bcbae3ad9 enable (empty) sniffer support for SIMtrace board Kévin Redon 2018-06-04 16:30:01 +02:00
  • 33d62aa17a copy working cardem app to trace Kévin Redon 2018-06-04 16:21:23 +02:00
  • e4cd52c2e3 fix: remove unused code Kévin Redon 2018-05-21 17:51:14 +02:00
  • cb6e20596e contrib/jenkins.sh: Also run firmware tests + build-test host software Harald Welte 2018-06-29 22:16:35 +02:00
  • bb2eb19fb1 firmware/test: Add more include paths Harald Welte 2018-07-01 08:41:16 +02:00
  • 9d90d284ed Use system include <foo.h> notation for libosmocore headers Harald Welte 2018-06-29 22:25:42 +02:00
  • ebe8b2069c Makefile: fix automatic creation of obj directory Harald Welte 2018-06-29 21:43:42 +02:00
  • 105c1dce4f add contrib/jenkins.sh for build verification Harald Welte 2018-06-29 21:35:28 +02:00
  • 1cfc2614dd apps/dfu/main.c: Avoid variable declaration in for loop initial Harald Welte 2018-06-29 21:07:41 +02:00
  • a9bca48914 ring buffer: increase buffer size from 128 to 256 to cope with large debug output Kévin Redon 2018-06-25 15:56:33 +02:00
  • eac1bec428 console: use buffer and interrupts instead of busy loops for UART debug output Kévin Redon 2018-06-25 15:55:33 +02:00
  • 51c128bc35 DFU: fix typo in USB strings Kévin Redon 2018-06-24 11:27:09 +02:00
  • 869dbfafe4 DFU: incread watchdog timeout and restart watchdog before writing in flash to prevent the watchdog to trigger while flashing Kévin Redon 2018-06-17 22:36:44 +02:00
  • 80303c135b DFU: only boot the application if it has a valid start Kévin Redon 2018-06-17 22:35:17 +02:00
  • d86cab0080 DFU: uncomment print message when DFU is forced using the button Kévin Redon 2018-06-17 22:34:47 +02:00
  • b73f0a00bc DFU: unlock the flash before writing, verify written data, and relock it Kévin Redon 2018-06-17 22:33:29 +02:00
  • f5869d4a59 USB: implement USB reset by setting the on-board pull-up on D+ low Kévin Redon 2018-06-17 22:31:21 +02:00
  • 4136c242a8 USBD: send empty packet when non-existing descriptor string is requested Kévin Redon 2018-06-06 17:03:15 +02:00
  • 318309f30f dfu: fix address destination check and add stack overwrite check in USBDFU_handle_dnload Kévin Redon 2018-06-01 11:02:49 +02:00
  • 0828b914e7 README: rewrite to better explain environment variables and point to the wiki for flashing Kévin Redon 2018-05-21 19:35:56 +02:00
  • 76be7c806e fix pointer casting warning Kévin Redon 2018-05-21 19:33:50 +02:00