Git Product home page Git Product logo

Comments (11)

ghoti57 avatar ghoti57 commented on June 27, 2024

You refer to the device as a nanoculV3. Did this device come loaded with CUL firmware?

If so the chances are it has a bootloader that is incompatible with the Arduino GUI and avrdude.

I'll try to find some information about how to load evofw3 on this device

from evofw3.

ghoti57 avatar ghoti57 commented on June 27, 2024

It probably has the DFU bootloader.

See this page
https://www.smarthome-agentur.de/blog/der-neue-cul-stick/

from evofw3.

ghoti57 avatar ghoti57 commented on June 27, 2024

It's also possible that the connections between the 32u4 and cc1101 are not the same as the firmware expects. That can be resolved if you can get the firmware loaded.

from evofw3.

kdw2060 avatar kdw2060 commented on June 27, 2024

yes, i also found that information, it has the dfu bootloader and culfw installed. I presumed it was compatible with evofw3 because of the link in the wiki. Is it possible to flash evofw3 with the dfu tool? I see this requires a hex file, is that something that can be compiled from the arduino files?

Thank you for your quick response btw, much appreciated.

from evofw3.

brucemiranda avatar brucemiranda commented on June 27, 2024

Check what version of CULFW is on the NanoCUL. See https://www.smarthome-agentur.de/blog/tutorial-nanocul-stick-testen-debugen/ download the HTerm software, use the configuration file and then send a "V".
Then you need the DFU-Flash tool https://www.smarthome-agentur.de/wp-content/download/DFUGUI.zip also see https://www.smarthome-agentur.de/blog/der-neue-cul-stick/

You then compile the evofw3 in Arduino with the 32u4 settings and point the DFU-Flash tool at the .HEX file that Arduino generates.

Assuming you have CULFW on the NanoCUL, on HTerm issue the "B" command, this will put the NanoCUL into bootloader mode.

Then using the DFU tool perform an Erase. then load the HEX generated by Arduino.

Once you have evofw3 loaded on to the NanoCUL, it too has a DFU bootloaded mode and uses the same "B" command, that you send via the terminal software (e.g. HTerm)

from evofw3.

ghoti57 avatar ghoti57 commented on June 27, 2024

Thanks Bruce.

btw The evofw3 boot command is actually !B

from evofw3.

brucemiranda avatar brucemiranda commented on June 27, 2024

While I remember, the Board settings for the CULV3 hardware in Arduino are "HW UART", "3.3V 8MHz" and "SHA atmega32u4"

from evofw3.

kdw2060 avatar kdw2060 commented on June 27, 2024

thank you Bruce, those steps are getting me further. Not fully successful however. I can put the stick in bootloader mode, but then I'm stuck at the erasing with DFUGUI. In the windows command line feedback i can see 'dfu-programmer: no device present'.

btw, the arduino compilation gives you 2 hex files, one with and one without bootloader. I presume i need to use the one without bootloader in the next step.

from evofw3.

brucemiranda avatar brucemiranda commented on June 27, 2024

Look at the Windows Device Manager. When you first plug the CULV3 in you will get a normal COM port allocated. wWhen you put the CULV3 into boot loader mode you should see that COM disappear and another ATMEL device appear. If not, then you might not have the ATMEL device drivers loaded. You will need them otherwise in bootloader mode, the DFU tool won't find your CULV3.
Also yes, you should ALWAYS use the Arduino Hex without the bootloader.

from evofw3.

kdw2060 avatar kdw2060 commented on June 27, 2024

ok, think I got it going, seeing the expected packets in packets log of evohome_cc, now figuring out how to actually send commands.
Thanks a lot guys, closing this issue.

from evofw3.

PAGR-coder avatar PAGR-coder commented on June 27, 2024

Thx a lot, it helped me as well

from evofw3.

Related Issues (20)

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.