Giter Club home page Giter Club logo

d6-arduino-nrf5's Issues

size in package_nRF5_boards_index.json (wrong?)

I'm experimenting with building the watch firmware with arduino-cli in linux
I thought I had it working then things started dieing
apparently a newer version of arduino cli is checking size

is 10287947 should be 15614691

in
https://atc1441.github.io/D6Library/package_nRF5_boards_index.json
Size is worng

      "url": "https://github.com/atc1441/D6-arduino-nRF5/archive/0.7.5.tar.gz",
      "archiveFileName": "D6-arduino-nRF52-0.7.5.tar.gz",
      "checksum": "MD5:6226d5c3e01d949976f42dab6cdd5dcb",
    "size": "10287947",

elazar2@elazar-HP-ENVY:~/.arduino15$ ls -l staging/packages/D6-arduino-nRF52-0.7.5.tar.gz
-rw-rw-r-- 1 elazar2 elazar2 15614691 Dec 27 15:17 staging/packages/D6-arduino-nRF52-0.7.5.tar.gz

Sorry if I am mistaken if so please let me know if I got it wrong

BLE-DFU works for Micropython, but not for Arduino, any hints?

Hi,

Like your videos about D6Flasher and DaFlasher, thanks for sharing!

I could use your help in flashing Arduino firmware in my Nrf52832 module (E104-BT5032A nRF52832). After I want to shift to an Nrf52832 Smartwatch.

Flashing bootloader and softdevice via OpenOcd/ST-Link works OK and:

  • flashing Micropython@fanoush via NrfConnect works OK (details below).
  • flashing Micropython@fanoush via your D6Flasher App works OK too.

But uploading an Arduino hex file compiled for NRF52832 using NrfConnect or D6Flasher App fails every time. NrfConnect disconnects after some seconds without uploading.

I guess the bootloader+softdevice that works for micropython is not right for Arduino.

I have been reading for days and experimenting with different bootloaders, different softdevices, but without success. The BLE upload always fails.

Would be great if you could point me in the right direction, Iโ€™m not sure where my mistake is.

Greetings.

DETAILED INFO

  • OpenOCD command on Apple iMac:
    iMac19-9:espruino gerard$ openocd -f interface/stlink-v2.cfg -f target/nrf52.cfg -d2 -c init -c "reset init" -c halt -c "nrf5 mass_erase" -c "program s132_nrf52_6.1.1_softdevice.hex verify" -c "program dsd6_nrf52832_bootloader-0.2.11-3-gfb847b9-dirty-nosd.bin verify 0x78000" -c "flash write_bank 1 dsd6-uicr.bin" -c "flash banks" -c reset -c exit

  • AdaDFU device appears in NrfConnect App, after connecting, I can upload the micropython binary

  • the micropython binary works fine using Webbluetooth in Chrome browser.

  • AdaDFU device appears in D6Flasher App, after connecting, I can upload the micropython binary

  • the micropython binary works fine using Webbluetooth in Chrome browser.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.