Open matt2005 opened 7 years ago
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
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?
Does the ESP download correctly from the Arduino IDE? I'd be confirming that some of the demo sketches work first on the ESP side.
On Fri, Mar 10, 2017, 8:23 AM matt2005 notifications@github.com wrote:
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?
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/darrylb123/blackboard-STC15/issues/1#issuecomment-285502906, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcqVSMVxoPGS2_4oEm9gyGfd4loN8b3ks5rkHvbgaJpZM4MXWvf .
Yes ESP works fine, can you add a compiled version for the STC.
There you go. Do another git pull.
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?
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?
Ok, I haven't powered it off the batteries.
On Sun, 12 Mar 2017, 10:03 matt2005 notifications@github.com wrote:
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?
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/darrylb123/blackboard-STC15/issues/1#issuecomment-285910460, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcqVU4znlNQ2IFOMxnMlm8BRvIElr0lks5rkzZAgaJpZM4MXWvf .
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
I'm having trouble compiling. I'm using a RPi with Debian Jessie. Here is the error after editing the makefile to used sdcc instead of sdcc-sdcc
Here is the output from the sdcc-v command
I have also tried compiling on windows via cygwin, however i get a different error.
Windows is using the following version
I have managed to get it to compile under windows by commenting out the putchar function in main.c but i think this has broken something else.