Commit Graph
84 Commits
Author SHA1 Message Date
hathach 0889a68a7a comment out ble event string due to lack of flash 2021-09-17 21:18:44 +07:00
hathach 1a6d8eae97 clean up 2021-08-04 19:05:30 +07:00
hathach dedbb74562 increase app reserved size to 40KB to match circuitpython for 840
along with other clean up
2021-08-04 16:35:42 +07:00
hathach eae198000c clean up
- mostly whitespace
- use ceil div
2021-08-03 23:17:57 +07:00
Ha Thach 4f74d41871 Merge pull request #160 from KK1423/fix-paired-ota
Resolve OTA failure with bond shared from application
2021-04-04 15:09:01 +07:00
hathach 5f39316cd9 fix side-effect prevent dfu when disable timeout 2020-09-04 18:20:07 +07:00
hathach bf4e000e93 remove dfu timeout 2020-09-04 15:13:42 +07:00
Karthik Karyamapudi 8ba551c07e Fix ota failure when paired 2020-08-17 17:26:16 -04:00
Michal Moskal 6642747a2d Disable timeout in OTA mode; add comments 2020-07-09 11:03:06 -07:00
Michal Moskal 6b4cf21ba2 Reset into app, if no USB connection in 3s
(only applies in SINGLE_TAP_RESET mode (MakeCode))
2020-07-08 13:49:53 -07:00
hathach 013458ad97 makefile to generate bootloader-nosd.uf2
everything seems working
2020-05-12 14:33:56 +07:00
hathach afeb645a87 correct the DFU_BL_IMAGE_MAX_SIZE
skip populate MBR_BOOTLOADER_ADDR/MBR_PARAM_PAGE_ADDR
2020-05-12 00:48:06 +07:00
hathach 348f268113 app is invalid if both of its 2 first words are empty mask 2020-05-08 12:17:47 +07:00
hathach 6adf9810a6 read back full app size for simplicity 2020-05-08 11:23:11 +07:00
hathach 609473760a mark app as invalid when updating Softdevice only as application in uf2 mode
able to flash combine SD + cpy as single uf2. still has issue writing
back CURRENT.UF2
2020-05-08 00:45:01 +07:00
hathach 447207b875 add failed safe mbr forward address 2020-05-07 12:18:58 +07:00
hathach 570bd5b664 more clean up, everything look good
usb example work without SD, which means ISR forwarding is working.
2020-05-06 23:45:17 +07:00
hathach dad8e10f6c bootloader_app_start() correct set
- use sd vector table set if existed
- otherwise use mbr to set to application (0x1000)
2020-05-06 23:12:07 +07:00
hathach bce102e34a remove address from checking app valid function
either use address after SD or MBR
2020-05-06 16:25:50 +07:00
hathach 74c650851e more update 2020-05-06 15:53:31 +07:00
hathach af105128f3 populate bootloader address and mbr param if not available in MBR
check SD MAGIC before using sd API when init usb
2020-05-06 00:11:29 +07:00
Ha Thach 3426778a27 Merge branch 'self-uf2' into master 2020-05-05 12:55:22 +07:00
hathach 1c1104e989 added RTT printf for debugging 2020-05-04 16:50:56 +07:00
hathach 3bf0635676 updating wip 2020-04-23 13:42:30 +07:00
hathach b062026606 fix potential issue with interrupts_disable
also clean up
2020-03-27 11:59:37 +07:00
hathach e92937e9d5 still clean up 2020-03-26 16:32:41 +07:00
hathach c467875ca3 clean up 2020-03-26 13:06:44 +07:00
hathach 2128d60cc9 enable most warning option, fix all warnings 2020-03-25 18:39:39 +07:00
hathach 09fdd7dee2 remove unused dual banks 2020-03-25 17:34:49 +07:00
hathach 79ae930f15 fix some warnings with Wextra 2020-03-25 00:31:27 +07:00
Yihui Xiong be87aac09d step to no softdevice 2020-02-03 03:08:59 +00:00
hathach e3449cd771 able to build with 52833 2019-11-29 01:02:05 +07:00
hathach 126115a2cb update repo to work with latest tinyusb and nrfx module 2019-11-11 15:27:44 +07:00
fanoush 4ce961f25b fix block alignment bug also in dfu_sd_image_validate 2019-05-24 13:22:57 +02:00
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