I am using Flowcode 6 Pro and PIC 16F877 and receiving an error when compiling that I have never had before. It is C:\Program Files\Flowcode 6\compilers\pic\boostc\boostlink_picmicro.exe reported error code -2.
This error shows up when I use the component macro WLAN_ESP8266. As soon as I put the component macro into the flow chart and initialize I receive this error. If I delete the macro I still get the error until I remove it from the system panel. I have searched the forum for hours and found others with the errors and have tried some of the recommendations such as turning off anti-virus, repair and replace of the software. This is happening with Windows 7 Pro and Windows 10. I even used some software to look at dll files and found a question mark on MSVCR90.dll. Not sure if this is the problem or not. Any ideas would be welcome.
Thanks,
Dale
Compiling Error with WLAN ESP8266
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Compiling Error with WLAN ESP8266
Hi Dale,
Could you try reducing the size of the "Receive Buffer Size" and the "Scan Buffer Size" properties of the WLAN component, say to 64.
If that does not help then please could you attach your project file.
Leigh
Could you try reducing the size of the "Receive Buffer Size" and the "Scan Buffer Size" properties of the WLAN component, say to 64.
If that does not help then please could you attach your project file.
Leigh
Re: Compiling Error with WLAN ESP8266
Hi Leigh,
The program I had was just a LCD macro with start and the WLAN macro with initialize and that was all. I changed the receive and scan buffers to 64 and it compiled with no errors. I then opened up a sample program for a WiFi scan that Benj wrote and changed the buffers to 64 and I am receiving the same error with it. I will attach the file that Benj wrote.
Thanks,
Dale
The program I had was just a LCD macro with start and the WLAN macro with initialize and that was all. I changed the receive and scan buffers to 64 and it compiled with no errors. I then opened up a sample program for a WiFi scan that Benj wrote and changed the buffers to 64 and I am receiving the same error with it. I will attach the file that Benj wrote.
Thanks,
Dale
- Attachments
-
- ESP8266_WifiScan.fcfx
- ESP8266_WifiScan
- (12.13 KiB) Downloaded 251 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Compiling Error with WLAN ESP8266
You probably need to reduce the buffers further, depending upon what other memory allocation is needed,
there's not a lot of RAM on 877
there's not a lot of RAM on 877
Re: Compiling Error with WLAN ESP8266
Leigh,
I reduced the buffers further and the sample program from Benj is now compiling. Wow. I will have more time tomorrow to continue with it, but it looks like you figured it out for me.
Thanks so much!
Dale
I reduced the buffers further and the sample program from Benj is now compiling. Wow. I will have more time tomorrow to continue with it, but it looks like you figured it out for me.
Thanks so much!
Dale