Code Monkey home page Code Monkey logo

Comments (9)

darrylb123 avatar darrylb123 commented on September 16, 2024

Debian Jessie has sdcc 3.4 while Fedora uses 3.6
The older version needed an extra compiler option to handle inline functions.
I can compile on RPi raspian jessie with this option set. You will still need to change the Makefile to make sdcc-sdcc into sdcc for debian. I've tested the compile on Fedora to and it still compiles with the --std-c99 compiler option.
I have not downloaded it into the target. Let me know how you go.

git pull to get the revised Makefile

Darryl

from blackboard-stc15.

matt2005 avatar matt2005 commented on September 16, 2024

It now compiles but it doesn't seem to work, after flashing the DTC and ESP. Then power on with the jumpers in the original positions WiFi Rx and tx the unit beeps once and the 3 LEDs light up but nothing else, WiFi has been assigned IP but IP not presenting http. Could this be compilation issue?

from blackboard-stc15.

darrylb123 avatar darrylb123 commented on September 16, 2024

from blackboard-stc15.

matt2005 avatar matt2005 commented on September 16, 2024

Yes ESP works fine, can you add a compiled version for the STC.

from blackboard-stc15.

darrylb123 avatar darrylb123 commented on September 16, 2024

There you go. Do another git pull.

from blackboard-stc15.

darrylb123 avatar darrylb123 commented on September 16, 2024

I don't understand your error. If the ESP does not respond to http requests, this is nothing to do with the STC. The ESP simply reads a memory region that is updated ny the modbus protocol.
Does the ESP respond to pings?

from blackboard-stc15.

matt2005 avatar matt2005 commented on September 16, 2024

I've worked out the issue. I needed to power the module via a 5v adaptor and not via the battery pack.

The ESP module was not initiating correctly, i ended up only being able to connect at 74880 baud and then i was able to see the boot crash.

Maybe update the instructions to include this?

from blackboard-stc15.

darrylb123 avatar darrylb123 commented on September 16, 2024

from blackboard-stc15.

codedmind avatar codedmind commented on September 16, 2024

Hello, when trying to flash the main.ihx i only see the msg

Waiting for MCU, please cycle power:

And everything is connect.. only ear the anoyin beep... any help?

Thanks

from blackboard-stc15.

Related Issues (1)

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.