Can using dtostrf function messup the moteino ?

Started by VdesmedT, June 12, 2017, 04:02:45 PM

WhiteHare

Quote from: VdesmedT on June 13, 2017, 12:53:28 PM
They are R4 bought in January 2014.  I guess I'm in for a AVR ISP MKii but is hard to find those days and is replaced by the AVR ICE which costs more than 100 eur. Do you know another source for cheaper yet sure quality ISP ?
Atmel Dragon will do it.

VdesmedT

Well, just received the AVR Ice, lauched Atmel studio and re burned the optiboot (What is V5 btw). Success  ;D

But guess what I have discovered on the way...  it is not the usage of the method that causes the issue but the fact that I was programming against Arduino Uno and not moteino and that the IDE let me pushed something that exceed moteino's memory..  just that line was too much !

Damn u8g takes so much space !

Thanks to all of you for the support, I've made it to a step forward with the Atmel 328p :-)

TomWS

Quote from: VdesmedT on June 15, 2017, 05:24:09 PM
I was programming against Arduino Uno and not moteino and that the IDE let me pushed something that exceed moteino's memory..  just that line was too much !
The boot loader lock bits would have protected against this.  Make sure you use the right settings for your fuses.

Good to hear that you've gotten it working!
Good persistence!
Tom
BTW, look into the settings for the graphics library.  There are a MILLION settings, some of which will significantly reduce the amount of memory required if you're not using specific functions.