Problem with output file from Repetier-Firmware configuration tool for version 1.0.4
I get the following error when i compile the repetier.ino to upload to my board. Eeprom.cpp:1:1: error: stray '\357' in program
I have done everything I can find on the internet of how to fix it and nothing works.
I have changed the lcd on my printer because it died and need to change it in the .ino file.
I am going crazy trying to get this sorted.
Can anyone HELP PLEASE.
Thanks Mark
/*
^
Eeprom.cpp:1:2: error: stray '\273' in program
/*
^
Eeprom.cpp:1:3: error: stray '\277' in program
/*
^
exit status 1 stray '\357' in program
I have done everything I can find on the internet of how to fix it and nothing works.
I have changed the lcd on my printer because it died and need to change it in the .ino file.
I am going crazy trying to get this sorted.
Can anyone HELP PLEASE.
Thanks Mark
Comments
Jack Daniels PLEASE HELP
error received
Mark
/*
when i verify compile it fails. it is always the same with EVERY file I download. I know it is something I am doing but I can not figure it out. How can i do it different.
Mark
So in Notepad++ I open the Eeprom.CPP and remove the comment / or the /* at the very top of the file? Then save and reopen the Repetier.ino in IDE
I have tried several different removals from the begining of the /* */ * /
individually one at a time from the beginning of the Eeprom.cpp file.
the errors change but will not compile
I am suppressed I am thei only one having this problem. I have some old .ino files that will all compile but if i upload them to the config tool and download they all have the errors and will not compile.
mark
so i added 1 at a time to the old file in the old config tool and it all loaded fine but the lcd did not work correctly. so thinking it was the config tool not allowing the lcd to work i then took the confugured file to the 1.04 but the same problem came back will not compile. I then went to the newest config tool and statred with the .92 file and it loaded fine in the tool adjusted the things that were not there for some reason downloaded the full file and opened it in IDE and it compiled just fine. I installed it to the printer and No LCD and all the steppers were making strange noise. I hit the reset and same thing.
I am done...................
Mark
I have updated the files to config tool hoping that the char is now gone as I deleted that part and inserted it new again. So if you redownload zip it should also be fixed now.
Stepper noise is when you loose steps. Normally happens when you increase speed too fast or have not enough torque or axis is blocked. Check especially steps per mm as it can be off quite a bit depending on microstep setting.
LCD is sometimes hard especially if the board/display combination is not officially supported, but without knowing them I can not much.
I uploaded my file to config tool 1.04
I downloaded the full file
opened Repetier.ino and checked verify compile
failed
opened the Eeprom.cpp and it had the comment still there so i deleted it as you described and saved it and opened it again to check it and it saved correctly
then i reopened the repetier.ino and checked compole
it failed with the following
efectively the same as before
I just do not understand why it does this
is there a way for me to send the downloaded complete file from the config tool so you can see what i am working with
thanks Mark
How to I do a set_controller_11 from the IDE? I can not find that but I think it is possible.
Still have not sorted the stray in probram thing
Mark
The stray error messages come from wrong font encoding. I also found why I did not solve it - you are using the older 1.0.4 version and and current dev version 1.0.5, right? Now also updated 1.0.4.
as for the Feature line is there a way to insert the feature as a single insert with IDE. Basically from the IDE type the command and change the type of display from say 4 to 11. I saw something when I was looking for a fix. I got the basic 1.04 workint from an okd file i had but it had the wrong display and when i changed it in config tool it corrupted that.
anyway thanks for the help I will try them both tomorrow. I have never been interested in learning to code but this has me pumped now and I am working hard to learn it.
Mark
I did get the 1.05 to load after your changes THANKS
Making headway and hope to be up and running today
I will report probress
Mark
So now i think maybe the display is not actually moving the extruder correctly and think I will install the server and host as I hav used prior. I realize I still have the steps per MM to deal with but now I discover the next real problem and it is not with my inability to code but with my disability.
THERE IS NO LOW VISION SETTINGS FOR THE SERVER AND HOST. THERE IS NOT EVEN A WAY TO CHANGE THE PALE BLUE FONT SIZE OR ITS COLOR TO HELP WITH THE PROBLEM WE VISION IMPAIRED USERS ARE FACED WITH.
NOT COOL
I can see the need to invest agate other firmware after a week of dealing with the first issue.
NOT COOL
Where do we use pale blue in server? Serve rhas light and dark mode. In light mode the only blue I know is dark blue that is nearly black.
Or are you talking about the printer LCD display you needed FEATURE_CONTROLLER for? 90% of these are blue/white but they are monochrome and it is not possible to change the color of these displays. Content comes from firmware.
Now for the light and dark theam thing, I can not find any way to get the dark theam in Host or Server. The other and more issue is the font size. It is way too small for any type of vision problem. I could live with the soft color but the font is the real problem. I would appreciate any help on that for now and PLEASE think about the visually impared when you do the next issue of Repetier control pages. When a visually impaired person looks at the internet it is easy to enlarge the page to sort that out. However In almost all programs there is not an easy way to enlarge because of all thesections in the app that need to overlap as they are enlarged. It just does not work well. In my Humble opinion it is far easier for well sighted people to read larger print than it is for vision empaired people to read very small print.
Now for the printer issue I have it working now thanks to you sorting out the software. since you did that I have been able to upload everythng. THANKS LOADS
Now i am farather along with the resetup of this printer. The only problem I am having now is I purchased the NTC 3950 thermistors for this rebuild. I uploaded with every possible combination and it still reads at best -55c and with the correct sensor picked in config tool it is reading -187 or there about. The only way I got the printer to print is changing the safty values to non save amounts and setting the max temp to 99. What am i missing. If i leave it correct it decouples and shuts down.
Sorry I am lost again.
Mark
Note that sensor 1 for board is the bed pin if there is a special one. Easy solution is to switch between connectors until you see a value change. If you use preset names it is at least reading one of the thermistor pins.
Regarding dark mode - go to dashboard. There are some icons on top and one is for light/dark mode selection. Maybe dark mode is easier to read also there is still blue/white as secondary color. But honestly it is the first time I hear it is a problem blue/white. red/green is well known.
For host there is no way to change colors or font size - this is fixed due to the way it is implemented.
Today i tried anoother attempt at the 100k NTC celection and it now reads -187 at room temp and prints at a max temp set to 99 and the display shows the 99c while printing.
now am i missing something like should I have the pullup resistor installed. I have never used that and do not have one made or in place. so if i do need to have the pull up setup in place can you telll me what discription page to i follow and what size resistors. also can you tell me what should I select in the config tool if other than the NTC 100K. sORRY I have become very confused and not sure what to do. If you could explain what to make and what to set the config to it would be a big help. I am trying to get a coouple of things done for christmas. All else is working well just the problem with the thermistor. this is the confiig.h
Thandks a lot
Mark
What I mean is that the sockets are not necessairily the one you think you have configured, so switch sensor to othe rsockets to see if you suddenly get something like room temperature.
>Today i tried anoother attempt at the 100k NTC celection and it now reads -187 at room temp and prints at a max temp set to 99 and the display shows the 99c while printing.
means you have correct pin, but temperatures make no sense so there is an error. One might be the 4.7k resistor is not 4.7k or defect or it is the thermocouple pin. These have no resistors at all and only work with correct amplifier boards (or amplifier is on board for that pin).
Thanks and I am sure I will be in touch again. I just wish I had time to print the gifts I was going to do.
Merry Christmas to All and to All a good night.
Mark
Mark
'Thanks
Mark
If i wanted to use the Z max stop I think I would need the - and the signal. and set the config tool to the z max pin. I understand that but what do i use if I was wanting to use one of the less discriptive selections in the config tool.
I will get this I just need a bit of understanding. Keep in mind I am aalmost Blind REALLY and doing lots of reading is hard for me.
Thanks for being understanding I really want to learn this stuff.
Mark
All pins are digital outputs if using Dxx pin number. As output they switch between 0v and +5V with max. 20mA output power. Drawing more current will break the AVR chip and at least that pin will stop working at all. So what you want is use one of the working 5V pins to a new mosfet setup where the pin is controlling the mosfet. The 2 other pins are main power - bed - ground I guess. Plus eventually some resistors but if you have an extra board it should be clear. the 5V pin is the signal plus that the board needs 12 or 24V + GND. Eventually additinally 5V always on for some electronics, but not necessarily. I'm also no electron guy, only software.
I am now looking to build another Printer. I would also like to make it bigger and better.
Thinking about going to a 32bit board. The BIGTREETECH SKR 2 seems like a really complete board as well as the Bigtreetech Octopus V1.1 Board. My confusion is even though I find questions that you have answered as to how to setup the stm32 boards there is no info I can find on how to even start in the configuration tool.
Where do I start and is it available.
Thanks for your help
Mark
V2 firmware supports SKR 2, but not Octopus 1.1. It has no config tool so you need to write config manually. So have a look before you do as it is quite different to other firmwares, but has good documentation on supported features.