vattern Posted June 2, 2007 Report Share Posted June 2, 2007 Hi there.I have a core board, which if I load the MIDI echo hex file, echo very nicely whatever I send it.However, if I load the bootloader : bootloader_v1_2b_pic18f452.hex using winpic, I keep getting the following messages on my input :00000001620872 ms | [90 78 20] Channel 1: Note On C9 velocity: 3200000001620873 ms | [C8 01 00] Channel 9: Program Change no: 100000001620874 ms | [C8 3F 00] Channel 9: Program Change no: 6300000001620874 ms | [FF] System Reset00000001620874 ms | [A0 78 20] Channel 1: Aftertouch C9 pressure: 3200000001622765 ms | [C8 01 00] Channel 9: Program Change no: 100000001622766 ms | [C8 3F 00] Channel 9: Program Change no: 6300000001622766 ms | [FF] System Reset00000001622766 ms | [A0 78 20] Channel 1: Aftertouch C9 pressure: 32I expect the sysex message, but dont get it.Any pointers ?ThanxThys Quote Link to comment Share on other sites More sharing options...
TK. Posted June 2, 2007 Report Share Posted June 2, 2007 Hi vattern,it looks like the wrong MIDI baudrate is selected. Maybe the ID header hasn't been programmed, or some bytes are swapped (see also http://www.midibox.org/dokuwiki/doku.php?id=jdm_with_winpic800)An "all-zero" ID is a save valueBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
vattern Posted June 2, 2007 Author Report Share Posted June 2, 2007 Thanks for the quick response ThorstenDumb question , but what should the bits be set to ? (Default config)I have two config words I can set. when I load the code into the programmer, they show up as FEFF and FFF3.Is this correct ?ThanksThys Quote Link to comment Share on other sites More sharing options...
TK. Posted June 2, 2007 Report Share Posted June 2, 2007 no, these are the flags for various hardware options (e.g. oscillator selection, brownout voltage, code protection). These two words should never be changed.The ID field is a number with 16 digits (8 bytes). It is "all-1" after erase, and if it won't be programmed, you will notice exactly the described effect.I just have downloaded WinPIC and searched for a possibility to change the ID field. It seems that the GUI doesn't allow this. But under "Device->Program ID locations" you can program it, propably with the values which are embedded in the .hex file (and in this file I've written the all-zero header)So, just try this function, hope that it helps.If not, the "TEST SW2" workaround of the MIDI troubleshooting page could helpBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
vattern Posted June 3, 2007 Author Report Share Posted June 3, 2007 Hi ThorstenI got the problem solved by using ICProg.In order to use ICProg under XP I had to use porttalk and allowio to get access to the parrallel port.ThanxThys Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.