DaFlasherFiles icon indicating copy to clipboard operation
DaFlasherFiles copied to clipboard

DFU Not Flashing

Open faustolnx opened this issue 4 years ago • 18 comments
trafficstars

Hi Aaron, congratulations for the work done. I have a P8b MOY-TON 1.8.4 where I installed your softwrare via ST-LINK. I have modified the accl.c code to read the accelerometer of the P8b, and I would like to update the FW via BLE. I put the P8b in boot mode (it displays a red square and ATCnetz.de). From DaFlasher it connects, I select the DFU file but it is not transferred. After about 30 seconds I have the GATT ERROR. Do you have any suggestions for upgrading the P8b via bluetooth. Thanks in advance. Fausto

faustolnx avatar Jun 17 '21 13:06 faustolnx

Hey. Please try nRFConnect and see if it works

atc1441 avatar Jun 17 '21 13:06 atc1441

In the nRFConnect App, I can't find any command to activate DFU.

faustolnx avatar Jun 17 '21 13:06 faustolnx

You can hold the button for 15 seconds

atc1441 avatar Jun 17 '21 13:06 atc1441

The watch is in DFU I see the red square and ATCnetz.de I can't find the command to transfer the file in the nRFConnect App.

faustolnx avatar Jun 17 '21 13:06 faustolnx

Reconnect while in dfu and top right will be the dfu icon

atc1441 avatar Jun 17 '21 13:06 atc1441

Excuse me Aaron, the DFU icon at the top right of the NRfConnect App?

faustolnx avatar Jun 17 '21 14:06 faustolnx

Yes like shown here https://youtu.be/jnX7WwYDiDE

atc1441 avatar Jun 17 '21 14:06 atc1441

OK thanks. For your help. It appears that it does not connect, and consequently the DFU icon does not appear. I try to reset everything.

faustolnx avatar Jun 17 '21 14:06 faustolnx

Hi Aaron, after the reset he connected the DFU icon appeared, I tried to load the .zip file but there is no transfer. A few more suggestions. Thanks in advance

faustolnx avatar Jun 17 '21 14:06 faustolnx

438 / 5000 Risultati della traduzione I Aaron, OK whit nRFConnect your firmware is successfully transferred and started. BUT my signature is not transferred and exits the transfer procedure. I created the dfu with the following parameters: nrfutil.exe pkg generate --hw-version 52 --application-version 1 --application ATCwatch.ino.bin --sd-req 0x9D --key-file myprivate.key ATCSB-dfu.zip. Are they correct or is something missing? Thanks again for your help. Fausto

faustolnx avatar Jun 17 '21 15:06 faustolnx

Hi Aaron, I am contacting you because we would like to add the reception of eddyston beacons to the software developed by you. You would be willing to collaborate to include this function. In practice, in the loop it should perform the reading of the sensors, transmit the edyston for 1 sec, pass in reception for 500 mS. If you are interested contact me at my email [email protected]. I take this opportunity to ask you which parameters to enter for nrfutil to generate the DFU file with the new firmware. At the moment what I have generated is not recognized by the watch put in DFU mode. Thank you Best regards Fausto

faustolnx avatar Jun 18 '21 15:06 faustolnx

@atc1441 Hello Aaron, I love making stuffs specially in electronics both in hardware and software too. I am currently replicating what you have done on the P8 smart watch, and later I would use in a project with my own needs, I just want to learn how to program it first. I received mine today, but its name says " P8-b" unlike yours which is "P8-a", thus I can't flash the bootloader and so does the firmware. I just want to program the watch using the portable Arduino IDE, control its heartrate sensor(and oximeter), the accelerometer, and do something in the screen with it. What should I do, it will take a month if I order a new and compatible one (the p8-a), it's so careless of me I thought it would be the same. I also tried using the ST Link and still I have no luck, any suggestions?? It would help me a lot, thank you in advance.

kennwalter avatar Jun 21 '21 14:06 kennwalter

@faustolnx Hello Sir... May I know how did you flash the software by Sir Aaron via ST-Link? I have a P8-b and I also have an ST-Link V2 but I have no luck of loading the software to it. Thank You in advance.

kennwalter avatar Jun 21 '21 14:06 kennwalter

Hey.

The Problem with the P8-b watch is that it is not an nRF SOC inside anymore.

That watch is not compatible and unfortunately it is not easy to tell which one you get ordering anywhere.

20210622_002619

atc1441 avatar Jun 22 '21 04:06 atc1441

@atc1441 I bought the $20 one (there was no description about the chipset), there's another whos price is $50 and says that says the chipset is NRF52832 maybe I should try it, right?

kennwalter avatar Jun 22 '21 05:06 kennwalter

Unfortunately the price is not an indicator.

It's better to buy three different cheap ones and hope one is nRF

atc1441 avatar Jun 22 '21 05:06 atc1441

@atc1441 Sir do you have a recommended Hackable Smart Watch that I can program on Arduino?

kennwalter avatar Jun 22 '21 05:06 kennwalter

The best one would be the PineTime currently, it has nice support

atc1441 avatar Jun 22 '21 05:06 atc1441