Comments (15)
Check out this issue: NordicSemiconductor/IOS-DFU-Library#8
Maybe adding 1.5 sec fixes the issue.
from ios-nrf-toolbox.
Thanks @philips77 . to double check, the fix might be apply a 1.5 s delay before calling my equvalient of https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/blob/master/nRF%20Toolbox/DFU/DFUViewController/DFUViewController.m#L132 ?
i'll give that a shot. but what is pretty interesting is i did not have this issue occur with the current version in the app store. is there a delta between the two?
from ios-nrf-toolbox.
The complete source is available here. The current version from master will be available as 3.0.1 soon, but you'll find a commit with version 3.0. But I see no reason why would such a difference in behavior exists.
from ios-nrf-toolbox.
Hi @philips77 I'm not 100%, since my failures are intermittent, but I'm trying things with the 1.5 second delay and I 'think' it seems better (as per your suggestion) . Do you have any thoughts as why that would make a difference?
from ios-nrf-toolbox.
It may be related to the flash operations timings. It depends when do you get this error, just after sending Start DFU command and sizes? Or later. You may ask this question on the DevZone, at nordicsemi.com. Our support team will be much more qualified to speak about the bootloader.
from ios-nrf-toolbox.
@foobar8675 Sorry to refresh the old issue, did you get this working ? we have just released v4.0.4 and would like you to try it and see if your issue still reproduces, I'll give it a couple of days before closing this issue since it's been "resolved" for a few months now ๐ , just feel free to reopen if you still encounter issues later
from ios-nrf-toolbox.
Sometimes also meet this issue...
And I found the reason is my phone try to re-connect the device nor to update it, so the device is in invalid state.
But I also have a little problem,when I update the device successful(StateCompleted),I have to re-scan the retrieveConnectedArray,wait the device name appear and can be connected.
Does anything matter in my update process?Is there anything method to auto-connect the device after the updating is successful?
Thanks a lot ~
from ios-nrf-toolbox.
Fyi. If the previous DFU operation failed during uploading and you try to repeat it, the device will be in a state that allows resuming only. Sending Start DFU command will respond with Invalid State. The next retry will succeed.
We don't have resuming implemented in legacy DFU in ios nor Android. However, since 0.6.3(?) Android DFU library will try to reconnect itself if Invalid State error received.
from ios-nrf-toolbox.
@liuyan3176 Your issue is different it seems, first of all the library is only responsible for flashing, anything happening after that is up to you as a developer.
regarding the invalid state is that if you disconnect you will have to restart the whole process since we don't support resuming in the Legacy DFU mode.
from ios-nrf-toolbox.
@mostafaberg we have a delayed timer which seems to fix things but can you share what is different in 4.0.4 that would make this behave better?
from ios-nrf-toolbox.
Version 4.0.4(12). IOS 10 The above all this problem.
from ios-nrf-toolbox.
@foobar8675 Can you take a look at today's release and see if there's anything different than what you're doing ?
from ios-nrf-toolbox.
Hi, I'm not working on this project anymore, but am cc'ing a couple people
who are.
On Tue, Oct 4, 2016 at 9:48 AM, Mostafa Torbjรธrn Berg <
[email protected]> wrote:
@foobar8675 https://github.com/foobar8675 Can you take a look at today's
release
https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/releases/tag/4.1.0
and see if there's anything different than what you're doing ?โ
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABm4xPIW23334nZE-a4cGLludt_LLBqcks5qwoNrgaJpZM4INF7o
.
Regards,
Matt
from ios-nrf-toolbox.
that's great, keep us posted, if we don't hear back in a couple of days we'll assume issue is resolved, you can ask the new person responsible to re-open a new issue if the bug is still there
from ios-nrf-toolbox.
Issue resolved ? :)
from ios-nrf-toolbox.
Related Issues (20)
- KThawadi8118
- Project setup is wrong HOT 1
- Icons too big on iOS before 13
- Question: BLE Device simulator and/or compatible DevKit HOT 2
- Incorrect unit for blood pressure HOT 2
- Question: Obtain device hardware and firmware versions in DFU mode HOT 1
- Object-c demo? HOT 1
- MCUManager vs SwiftCBOR target difference build error HOT 4
- iphone connecting to bluetooth bug
- Missing package product 'McuManager package' HOT 11
- Dfu hangs on "Enabling DFU Mode" HOT 1
- Unlock sun?
- Danalock V3 Smart Lock nRF DFU firmware rewrite twice
- Version 5.0.6 of nRF Toolbox on Mac OS X won't load from Finder App. HOT 1
- Can I choose different service ID for UART terminal? HOT 1
- nRF
- iOS nRF
- install
- App crashes after lauching with error message "nRF" Toolbox quit unexpectedly".
- I thought we are friends ๐ข HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-nrf-toolbox.