I followed the recipe on the above link, had some troubles on my installation of lua, but after some quick fixes I was able to compile it. I will now try to use it on my board, let’s see what will happen…

First I generated an test file from sdcc, the same program as before, but compiling in Linux. This is the command line.

sdcc -mmcs51 –model-small teste1.c

After that, let’s install stcdude….

The procedure to install stcdude is simple: ( first install git, in case you don have it…

Not sure about makebin, I used hex2bin. Try different baudrates, make sure no modemmanager’s running. I haven’t had any STC89* around, when I wrote stcdude, so these are untested – they may have different protocol. If so – send me some logic analyzer dumps from the win version, with different baudrates/crystals and I’ll see if I can add support.