2011-02-18, 21:11:02
(2011-02-15, 00:02:59)Mikael Gustafsson Wrote: I suspect you missed this line:
.equ DEV_MODE, 1 ;xxx comment or delete this line
Delete it and let us know if it didn't work out.
Mikael,
I'm sorry to bother you with such basic questions but I am still learning and I am a little unsure on some of the directions. I have built the bootloader and programmed it to my chip but the GUI has been unable to find it when I attempt to download a hex file.
I believe that it is because I do not have the TRIS/LAT register set up correctly. As I mentioned before I am not quite sure what you are asking for in the TRIS/LAT register section. Can you help me by explaining what the firmware is looking for?
Is it looking for the I/O port that the UART is on (for the dsPIC30F6014A this is TRISF Bit5)? Is it looking for the U2MODE register and the UARTEN and UTXEN bits? If it is looking for the U2MODE register what would the LAT register be?
Thanks for all the help,
Greg