Commit Graph

  • a38a126361 fix: initialize uninitialized variable in USBDFU_DFU_RequestHandler Kévin Redon 2018-05-21 18:52:06 +02:00
  • a484b02271 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
  • 8643420daa 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
  • 0aafbac7eb 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
  • 67e181fb15 console: use buffer and interrupts instead of busy loops for UART debug output Kévin Redon 2018-06-25 15:55:33 +02:00
  • 2bac56494f 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
  • f908f659fc 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
  • 42af4949a7 SIMtrace: fix default SIM_RST pin state to allow phone controlled reset Kévin Redon 2018-06-24 11:31:36 +02:00
  • 4814b15bbf SIMtrace: only enable main sniffing mode on SIMtrace board Kévin Redon 2018-06-24 11:30:31 +02:00
  • 78a8ab71e1 DFU: fix typo in USB strings Kévin Redon 2018-06-24 11:27:09 +02:00
  • 6b38297e20 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
  • 3f8a4c28e8 DFU: only boot the application if it has a valid start Kévin Redon 2018-06-17 22:35:17 +02:00
  • 41d01b9d54 DFU: uncomment print message when DFU is forced using the button Kévin Redon 2018-06-17 22:34:47 +02:00
  • 88b2b077ef DFU: unlock the flash before writing, verify written data, and relock it Kévin Redon 2018-06-17 22:33:29 +02:00
  • 9a921ac630 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
  • 2ab8f8e3fd sniffer: add state definitions, improve IRQ handling, update pins configuration Kévin Redon 2018-06-11 13:46:35 +02:00
  • a34471d923 simtrace: add support for sniffing on both USART Kévin Redon 2018-06-11 13:45:16 +02:00
  • 762276e271 board: comment USART definitions and add corresponding IRQ numbers Kévin Redon 2018-06-11 13:43:27 +02:00
  • 2d972f5910 simtrace: add dedicated power pins configuration for sniffing Kévin Redon 2018-06-11 13:42:23 +02:00
  • d0b4a9da81 sniff: use USART 0 instead of USART 1 Kévin Redon 2018-06-07 18:56:41 +02:00
  • 7f4f8983dd USBD: send empty packet when non-existing descriptor string is requested Kévin Redon 2018-06-06 17:03:15 +02:00
  • 86ea4faef6 SIMtrace board: comment and fix pin definition Kévin Redon 2018-06-06 17:02:33 +02:00
  • a1f198276d sniff mode: handle USART 1 RX interrupt to show sniffer data Kévin Redon 2018-06-06 16:13:48 +02:00
  • b53ab5b4ef add more USB configuration checks and error messages Kévin Redon 2018-06-04 16:30:48 +02:00
  • 38a467e630 enable (empty) sniffer support for SIMtrace board Kévin Redon 2018-06-04 16:30:01 +02:00
  • 7b51f72e83 copy working cardem app to trace Kévin Redon 2018-06-04 16:21:23 +02:00
  • f79ae1c54a 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
  • de2d03ca22 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
  • fe72bf11fd fix pointer casting warning Kévin Redon 2018-05-21 19:33:50 +02:00
  • 0471d2a390 fix: initialize uninitialized variable in USBDFU_DFU_RequestHandler Kévin Redon 2018-05-21 18:52:06 +02:00
  • 5be1b612f7 fix: remove unused code Kévin Redon 2018-05-21 17:51:14 +02:00
  • 6822716428 add printf attribute declaration to remove warning Kévin Redon 2018-05-21 17:18:21 +02:00
  • a93f7273b3 fix: remove duplicate volatile declaration Kévin Redon 2018-05-21 17:17:20 +02:00
  • 432ba5140e add copyright notice Kévin Redon 2018-05-21 17:13:40 +02:00
  • 849d20e29e Add firmware/TODO.txt that was not committed so far Harald Welte 2018-05-11 15:49:31 +02:00
  • e48d6f2321 Add README.md Harald Welte 2018-05-11 15:48:54 +02:00
  • af616ec4e2 CCID driver: Use USBD_GetDriver() instead of non-initialized state variable Harald Welte 2017-11-29 00:45:23 +01:00
  • 6051e126da CCID: re-enable control request handler for CCID class requests Harald Welte 2017-11-29 00:26:34 +01:00
  • 7f62c24532 USB: Handle DFU requests by USBD.c to keep application callback Harald Welte 2017-11-29 00:24:28 +01:00
  • 75cf93e04d rename ccid.c to mode_ccid.c to align with mode_cardemu.c Harald Welte 2017-11-28 23:00:40 +01:00
  • 2afd57f00a cardem: Don't dispatch UART IRQs to possible NULL pointers Harald Welte 2017-11-28 22:52:56 +01:00
  • 0633b25974 iso7816_4: Re-trigger watchdog while waiting for character Harald Welte 2017-11-28 22:47:09 +01:00
  • c1e2254854 simtrace: Boot into DFU when BOOTLOADER button is pressed Harald Welte 2017-11-28 22:29:53 +01:00
  • 27f5fc681c DFU: Move "Override DFU" (force DFU) code to board-specific section Harald Welte 2017-11-28 22:15:56 +01:00
  • 7b250bfc8d board_simtrace: Add minimal debug menu on debug USART Harald Welte 2017-11-28 22:10:49 +01:00
  • ed75c62acf {ccid,sniffer}.c: Add comments on USB callbacks Harald Welte 2017-11-28 21:23:12 +01:00
  • 5c081911a9 remove dead code (source/phone.c), superseded by card_emu.c/mode_cardemu.c Harald Welte 2017-11-28 21:21:50 +01:00
  • 5e6e8dcbde Make build of CCID code succeed again on BOARD=simtrace Harald Welte 2017-11-28 20:58:06 +01:00
  • c35998e20d Makefile: Disable -Wundef and -Wsign-compare for now Harald Welte 2017-11-28 20:47:23 +01:00
  • ba2ad563cc fix build of APP=cardem on BOARD=simtrace Harald Welte 2017-11-28 19:49:41 +01:00
  • fc87c24326 mode_cardem: Build on platforms without WWAN_PERST suppotrt Harald Welte 2017-11-28 19:17:27 +01:00
  • f231541601 Fix typos in usb.c, llist_irqsafe.h and dfu.h Harald Welte 2017-11-28 19:16:10 +01:00
  • 119624f46f WIP: use local_irq_{save,restore}() Harald Welte 2017-11-04 12:28:30 +01:00
  • 7b36306113 [firmware] WIP: make talloc irq-safe Harald Welte 2017-11-04 00:06:03 +01:00
  • eb50c9f914 [firmware] sim_switch + wwan_perst: Don't re-initialize Harald Welte 2017-11-03 20:50:47 +01:00
  • 965d5c918a [firmware] cardemu: Skip CARD_INSERT if board doesn't support it Harald Welte 2017-11-03 20:47:12 +01:00
  • 514c6d1da0 [firmware] wwan_perst: Print index when releasing WWAN_PERST Harald Welte 2017-11-03 20:40:56 +01:00
  • e7f2f9a5e0 [firmware] wwam_led: use 0/1 instead of 1/2 Harald Welte 2017-11-03 20:38:31 +01:00
  • 4e837d45db [firmware] card_pres: use modem number at start of line Harald Welte 2017-11-03 20:35:55 +01:00
  • b52b886186 [firmware] card_pres: Use 0/1 index number instead of 1/2 Harald Welte 2017-11-03 20:33:10 +01:00
  • c47fc5febf set local slot LED according to remote/local state. Harald Welte 2017-05-11 16:51:57 +02:00
  • 02d0ec6e08 uart_console: Re-start watchdog during busy-waiting for serial chars Harald Welte 2017-05-20 14:46:29 +01:00
  • 3b646955b9 Fix swapped manufacturer/product strings 0.4 Harald Welte 2017-05-14 23:13:52 +02:00
  • a601635885 host: Allow matching of device to USB path, not just address 0.3 v0.3 Harald Welte 2017-05-11 01:31:45 +02:00
  • 37ad41e092 host: Ignore some more libusb error return codes Harald Welte 2017-05-11 01:13:58 +02:00
  • 66de830f55 host: Switch SIM to remote and issue modem reset on startup Harald Welte 2017-05-11 01:12:50 +02:00
  • 23c00b6ad3 cardemu: Fix interpretation of MSGC_MODEM messages Harald Welte 2017-05-11 01:11:43 +02:00
  • 253991789a dfu: make sure to not bloat the loader with main board init stuff. Harald Welte 2017-05-11 00:47:29 +02:00
  • 0709d2d842 perst/sim_switch: Log events using TRACE_INFO Harald Welte 2017-05-11 00:06:00 +02:00
  • 44622dfd8d consistently use 0-based counting of modems/slots Harald Welte 2017-05-11 00:04:50 +02:00
  • b91f6ad848 firmware: fix various compiler warnings Harald Welte 2017-05-10 22:51:30 +02:00
  • 9f38dddfcc host: fix various compiler warnings Harald Welte 2017-05-10 22:49:02 +02:00
  • d03960525e host: Split transport from slot Harald Welte 2017-05-10 22:19:26 +02:00
  • 08b77ba9ee host: split the transport layer from card emulation Harald Welte 2017-05-09 15:11:53 +02:00
  • 296c401275 host: cosmetic cleanup, function renaming Harald Welte 2017-05-09 15:02:52 +02:00
  • 5c583d3535 Generalize SIM switching code and allow local/remote switching via USB Harald Welte 2017-05-09 06:46:47 +02:00
  • 114e74d322 wwan_perst: Warn if somebody failed to initialize us Harald Welte 2017-05-09 06:45:27 +02:00
  • 2e9254ac3f cardem: Implement WWAN Modem reset via USB Harald Welte 2017-05-09 06:30:04 +02:00
  • cb093ce878 wwan_perst: Support varying timeout and permanent active/inactive Harald Welte 2017-05-08 22:28:41 +02:00
  • 25a9a80ff5 Convert to new generalized SIMTRACE2 USB protocol Harald Welte 2017-05-08 13:30:09 +02:00
  • ed1efc5035 qmod: debug_cmd: Avoid 'Unknown command' for valid commands Harald Welte 2017-05-07 22:49:45 +02:00
  • f8c83a4d64 Make hardfault handler a bit more verbose Harald Welte 2017-05-07 22:44:31 +02:00
  • 28174982b6 qmod: Initialize ST12 specific I/O pins only on ST12 Harald Welte 2017-05-07 16:45:10 +02:00
  • 8e7fca3255 migrate from req_ctx to msgb Harald Welte 2017-05-07 16:14:33 +02:00
  • eb81d23a56 import libosmocore msgb handling (and dependencies) Harald Welte 2017-05-07 13:18:36 +02:00
  • 0380d74405 Makefile: remove .p files during 'make clean' Harald Welte 2017-05-07 11:20:40 +02:00
  • 9457bf765d Makefile: Don't warn about failed inlines Harald Welte 2017-05-07 11:20:24 +02:00
  • 9ac794c770 Add llist_add_irqsafe() similar to llist_add_tail_irqsafe() Harald Welte 2017-05-07 11:19:45 +02:00
  • 41eb98b78d board_gpio.gnumeric: Update to QMOD v3 (SIMPRES1/SIMPRES2) Harald Welte 2017-05-05 22:54:35 +02:00
  • caca0b1e7a Makefile: Add new 'combined' target to build combined DFU+APP image Harald Welte 2017-05-05 22:29:15 +02:00
  • 6d1128e9d1 QMOD: Add code to determine SIM Card presence Harald Welte 2017-05-05 20:23:10 +02:00
  • 7e4390f181 qmod: wwan_led.c: Fix handling of LED for second Modem Harald Welte 2017-05-05 20:23:23 +02:00
  • 9164a6d335 qmod: Disable various console commands on ST34 Harald Welte 2017-05-05 20:55:21 +02:00
  • 2cbc9b29f3 use same USB Product ID for DFU and runtime mode Harald Welte 2017-05-05 00:34:28 +02:00
  • 8196e4d1be remove old python userspace code Harald Welte 2017-03-08 15:34:23 +01:00
  • 601e0d3e35 update + split README into general and firmware-specific part Harald Welte 2017-03-08 15:33:33 +01:00
  • 3d4869cbb4 add missing usbstring.c Harald Welte 2017-03-07 15:51:49 +01:00
  • 353330dcc7 qmod: Fix polarity of SPDT switch Harald Welte 2017-03-07 08:17:19 +01:00
  • 3bbaba0090 DFU: Disable LED blinking code Harald Welte 2017-03-06 22:47:06 +01:00
  • e8869fb8ff DFU: Resolve DFU runtime descriptor dynamically from descriptors Harald Welte 2017-03-06 22:42:11 +01:00