Commit Graph

51 Commits

Author SHA1 Message Date
fanoush
90e3149050
fix block alignment bug also in dfu_sd_image_validate 2019-05-24 13:07:32 +02:00
hathach
5eac387b5a
clean up BLEDIS firmware version 2019-04-24 17:13:41 +07:00
hathach
b3b9e089f4
clean up 2019-04-24 16:51:31 +07:00
hathach
57aa554430 update tinyusb to latest for scsi write10 complete fix 2019-02-22 14:46:16 +07:00
hathach
d9b275c321
increase buffer depth to fix OTA issue with nrfConnect on iOS
- also add optional debug helper
- increase led conn cycle when ble connected for easier recognition
2019-02-15 12:12:11 +07:00
hathach
981a6976e2 change HCI_RX_BUF_QUEUE_SIZE back to 4 2019-01-31 22:50:42 +07:00
hathach
7ec0ff51f0
Merge pull request #40 from se7ensong/OTA_fix
Fix OTA using nRF toolbox on iPhone (tested on SE and XS)
2019-01-31 22:35:12 +07:00
hathach
3737d4bc12 update segger project, cleanup 2019-01-31 21:39:02 +07:00
Song Luan
04f05dac64 Fix OTA using nRF toolbox on iPhone (tested on SE and XS) 2019-01-10 13:09:24 +00:00
hathach
5c38bc8957
fix issue nrf52840 not reset properly when upgrading bootloader+sd combo
- root cause tusb_task()/cdc task is called when usb is not inited (in
case of sd upgrade)
2018-12-20 00:50:14 +07:00
hathach
fc13287837
clean up 2018-12-19 23:27:29 +07:00
hathach
64f2f671f6 fixed the incosnsitent led pattern by using systick to call led_tick() 2018-12-19 17:08:23 +07:00
Scott Shawcroft
2ece2daf90
Rework LED flashing and add Particle's boards 2018-12-04 13:45:55 -08:00
hathach
4f48b8b51a
rename led blink fast name 2018-11-23 11:46:21 +07:00
hathach
94e23a928c feed wdt in bootloader if enabled. Since it is impossible to disable wdt 2018-11-19 17:01:45 +07:00
hathach
cb1ae6d947 add need_erase for flash_nrf5x. Only uf2 erase when flush, dfu serial (uart and cdc) will prepare erase in advance. 2018-10-02 20:41:53 +07:00
hathach
51411ff85d finally fix #31 using erasing in advance and skip erase on the fly for nrf52832.
Note A small amount of delay (10 ms) is also added by adafruit-nrfutil
after each 4KB to be safe.
2018-10-02 16:55:55 +07:00
hathach
f14aebba1d rename flash_ to flash_nrf5x_ 2018-09-28 23:45:27 +07:00
hathach
89c547f0cc fix build issue with non-optimization 2018-09-28 13:12:14 +07:00
hathach
8b30c417f8 fix adv issue with SD 6.1.0. Add binaries for 6.1.0r0 2018-08-22 13:28:29 +07:00
hathach
6feea4e069 fix issue with dfu startup on nrf52832, change to adafruit-nrfutil
clean up dfu startup
2018-08-21 14:14:23 +07:00
hathach
e585ffc26c clean up 2018-08-16 03:50:11 +07:00
hathach
ab8d24f935 OTA cannot start with SD v6.1.0, but start without issue with 6.0.0
force ota for testing.
2018-08-14 18:54:49 +07:00
hathach
586679278e clean up 2018-08-14 18:42:19 +07:00
hathach
85ad6e6b65 add boards.c , remove msc_uf2.h lots of clean up and refactor 2018-08-14 15:56:24 +07:00
hathach
4eee219b5a use PWM0 & PWM1 for led blinky fix #14 2018-08-14 00:56:51 +07:00
hathach
1c2911a63c close #18, close #19
softdevice is only enabled with OTA mode
2018-08-13 21:50:55 +07:00
hathach
fe712fb588 resolve #18, dfu serial able to run without SD 2018-08-13 18:11:47 +07:00
hathach
648d50b893 clean up 2018-08-13 17:17:00 +07:00
hathach
e946aabd6d uf2 does not depend on softdevice 2018-08-11 11:43:57 +07:00
hathach
352c44c90d prevent dfu 832 bootloader on 840 and vice versa 2018-08-09 12:37:39 +07:00
hathach
25d3da0511 change dev-type for nrf52840
- add all-board, all-beta, all-release target
2018-08-09 11:35:05 +07:00
hathach
f41c039228 move boards.h to src 2018-08-08 15:19:02 +07:00
hathach
6f40f02537 more clean up 2018-08-08 00:41:41 +07:00
hathach
8c33712848 move a file 2018-08-07 22:19:57 +07:00
hathach
0e9d4f4341 clean up blue led blink 2018-08-07 22:09:51 +07:00
hathach
91c1ddde50 clean up 2018-08-07 21:44:38 +07:00
hathach
b1c6276a93 bootloader for nrf52832 seems to work well 2018-08-07 16:51:08 +07:00
hathach
dfd5613a7e able to build with pca10056 & feather52832 2018-08-07 14:36:38 +07:00
hathach
907272b68f supporting feather52832 2018-08-07 00:55:25 +07:00
hathach
98a1304881 update tusb 2018-07-15 00:02:44 +07:00
hathach
e727bd215c disable CFG_TUD_CDC_FLUSH_ON_SOF to prevent usbd overflow 2018-06-23 13:24:21 +07:00
hathach
3f8fba843c adding uf2 files 2018-06-19 22:12:01 +07:00
hathach
f5682831ec improve dfu ble 2018-05-25 21:33:47 +07:00
hathach
0a1aa554bc adjust bootloader debug size 2018-04-19 20:14:22 +07:00
hathach
6127ca3b6d add Debug Size++ ses config for easy debugging 2018-04-17 22:12:31 +07:00
hathach
f7c79d4c39 comment out sd_app_evt_wait() since it does affect response time of USB !! 2018-04-16 18:42:12 +07:00
hathach
1739f79d51 clean up 2018-04-16 18:15:17 +07:00
hathach
53fbcc09d2 stop usb before jumping to application. Correct irq disable for nrf52840 2018-04-16 17:29:24 +07:00
hathach
a9267cd9ff working on migrate hci from uart to usb 2018-04-09 18:52:46 +07:00