2015-06-03, 15:40:19
I think I misunderstood the meaning of "USE_TXENABLE" for some reason I thought it meant to allow the TXD pin to work, which is silly because the boot loader has to have two way communication anyway. After reading your manual I realize this is just a method to assign a TX enable function through an input pin when we are using the RS485 method of communication. I have now commented out this as follows: ;#define USE_TXENABLE 1
The other thing that I don't seem to understand and perhaps is related to why I can't make this work is why do I keep getting a compilation error on this line of the ds30loader.asm Enable digital i/o ;
#ifdef ADCON1
error Do you need to configura uart pins to be digital? If not, remove this line
#endif
So I had to do the following which is comenting this line out: ; error Do you need to configura uart pins to be digital? If not, remove this line
I don't understand why I get this error unless ADCON1 has been defined as true, where does ADCON1 get set to true?
For some reason my TXD in from my UART is just not working, however everything works fine with my UART when I program other code instead of the s30 loader
The other thing that I don't seem to understand and perhaps is related to why I can't make this work is why do I keep getting a compilation error on this line of the ds30loader.asm Enable digital i/o ;
#ifdef ADCON1
error Do you need to configura uart pins to be digital? If not, remove this line
#endif
So I had to do the following which is comenting this line out: ; error Do you need to configura uart pins to be digital? If not, remove this line
I don't understand why I get this error unless ADCON1 has been defined as true, where does ADCON1 get set to true?
For some reason my TXD in from my UART is just not working, however everything works fine with my UART when I program other code instead of the s30 loader