atc1441 / DaFlasherFiles

Additional files for the DaFlasher App and the ATCwatch Firmware for the P8 Smartwatch
GNU General Public License v3.0
119 stars 20 forks source link

DFU Not Flashing #12

Open faustolnx opened 3 years ago

faustolnx commented 3 years ago

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

atc1441 commented 3 years ago

Hey. Please try nRFConnect and see if it works

faustolnx commented 3 years ago

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

atc1441 commented 3 years ago

You can hold the button for 15 seconds

faustolnx commented 3 years ago

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.

atc1441 commented 3 years ago

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

faustolnx commented 3 years ago

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

atc1441 commented 3 years ago

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

faustolnx commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 faustolnx@gmail.com. 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

kennwalter commented 3 years ago

@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 commented 3 years ago

@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.

atc1441 commented 3 years ago

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

kennwalter commented 3 years ago

@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?

atc1441 commented 3 years ago

Unfortunately the price is not an indicator.

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

kennwalter commented 3 years ago

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

atc1441 commented 3 years ago

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