sheepslinky Posted January 9, 2005 Report Posted January 9, 2005 Hi, I burned the bootstrap program onto my PIC in MPLAB. I did not know where to set the ID information in MPLAB IDE. So, I assumed that the .hex I downloaded from ucapps would be 0x00 for a standard character display. However -- The device ID is, in fact, 0x70 (I saw that on MIDI OX and MIDI monitor (mac)). When I loaded MIOS for ID 0x70 everything works -- I even get random MIDI data when I load the midibox64 program. My LCD does not work, though. I checked all connections and they are fine. How do I verify that the LCD was set up correctly in the PIC, or do I need to remove my PIC and reburn the bootstrap program? If I do so, how do I set the correct ID in MPLAB? Would you reccomend compiling the assembler files instead of using the compiled .hex versions? By the way, I am using a standard character display (hitachi type, 2X24) ThanksSorry to ask a question that gets asked so many times (how do I make it work?)... However, I couldn't find any info on burning the PIC with MPLAB searching the forum.
shed Posted January 9, 2005 Report Posted January 9, 2005 perhaps this page might help http://www.ucapps.de/mios_bootstrap.htmlit lists the place in the hex file to edit the device id
TK. Posted January 9, 2005 Report Posted January 9, 2005 See this articlehttp://www.midibox.org/cgi-bin/yabb/YaBB.cgi?board=troubleshooting;action=display;num=1053942064;start=11#11Best Regards, Thorsten.
sheepslinky Posted January 10, 2005 Author Report Posted January 10, 2005 Thanks so much, I assembled your work-around code in MPLAB and burned it with the correct ID. The PIC then loaded MIOS. The LCD works. I then loaded a small program and it did A to D quite well.Thanks, Lorin
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now