I have been trying to find a way to use ldmicro and arp arduino uploader to program my arduino uno.
It would have been helpful if you had included a link to a description of 'ldmicro'. According to what I could find it supports some PIC and some AVR processors. Unfortunately the ATmega328 is not on the list of supported processors so the hex code that you are generating is not correct for your Arduino. I found the following statement at http://www.cq.cx/dl/ldmicro.txt so perhaps you should follow up on that."It would be easy to support more AVR or PIC16 chips, but I do not have
any way to test them. If you need one in particular then contact me and
I will see what I can do."
Don